Lines Matching defs:tfile
597 * @tfile
607 struct ttm_object_file *tfile,
632 ret = ttm_prime_object_init(tfile,
661 * @tfile: Identifying the caller.
664 struct ttm_object_file *tfile)
674 if (likely(ttm_ref_object_exists(tfile, &vmw_user_bo->prime.base)))
688 * @tfile: Identifying the caller.
695 * A blocking grab will be automatically released when @tfile is closed.
698 struct ttm_object_file *tfile,
731 ret = ttm_ref_object_add(tfile, &user_bo->prime.base,
744 * @tfile: Identifying the caller.
748 struct ttm_object_file *tfile,
752 return ttm_ref_object_base_unref(tfile, handle,
778 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile;
792 ret = vmw_user_bo_lookup(tfile, arg->handle, &vbo,
799 ret = vmw_user_bo_synccpu_grab(user_bo, tfile, arg->flags);
810 ret = vmw_user_bo_synccpu_release(arg->handle, tfile,
855 ret = vmw_user_bo_alloc(dev_priv, vmw_fpriv(file_priv)->tfile,
892 return ttm_ref_object_base_unref(vmw_fpriv(file_priv)->tfile,
901 * @tfile: The TTM object file the handle is registered with.
912 int vmw_user_bo_lookup(struct ttm_object_file *tfile,
919 base = ttm_base_object_lookup(tfile, handle);
947 * @tfile: The TTM object file the handle is registered with.
963 vmw_user_bo_noref_lookup(struct ttm_object_file *tfile, u32 handle)
968 base = ttm_base_object_noref_lookup(tfile, handle);
990 * @tfile: The TTM object file to register the handle with.
995 int vmw_user_bo_reference(struct ttm_object_file *tfile,
1007 return ttm_ref_object_add(tfile, &user_bo->prime.base,
1068 ret = vmw_user_bo_alloc(dev_priv, vmw_fpriv(file_priv)->tfile,
1096 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile;
1100 ret = vmw_user_bo_lookup(tfile, handle, &out_buf, NULL);
1124 return ttm_ref_object_base_unref(vmw_fpriv(file_priv)->tfile,