Lines Matching refs:tfile
690 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_surface_destroy_ioctl() local
692 return ttm_ref_object_base_unref(tfile, arg->sid); in vmw_surface_destroy_ioctl()
716 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_surface_define_ioctl() local
847 ret = ttm_prime_object_init(tfile, res->guest_memory_size, in vmw_surface_define_ioctl()
939 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_buffer_prime_to_surface_base() local
966 ret = ttm_ref_object_add(tfile, base, NULL, false); in vmw_buffer_prime_to_surface_base()
987 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_surface_handle_reference() local
994 ret = ttm_prime_fd_to_handle(tfile, u_handle, &handle); in vmw_surface_handle_reference()
1040 ret = ttm_ref_object_add(tfile, base, NULL, require_exist); in vmw_surface_handle_reference()
1054 (void) ttm_ref_object_base_unref(tfile, handle); in vmw_surface_handle_reference()
1075 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_surface_reference_ioctl() local
1104 ttm_ref_object_base_unref(tfile, base->handle); in vmw_surface_reference_ioctl()
1510 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_gb_surface_define_internal() local
1651 ret = ttm_prime_object_init(tfile, res->guest_memory_size, &user_srf->prime, in vmw_gb_surface_define_internal()
2240 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_dumb_create() local
2326 ret = vmw_user_resource_lookup_handle(dev_priv, tfile, arg.rep.handle, in vmw_dumb_create()
2349 ttm_ref_object_base_unref(tfile, arg.rep.handle); in vmw_dumb_create()