Lines Matching defs:tfile

587  * @tfile: Pointer to a struct ttm_object_file on which to register the user
597 struct ttm_object_file *tfile,
622 ret = ttm_prime_object_init(tfile,
651 * @tfile: Identifying the caller.
654 struct ttm_object_file *tfile)
664 if (likely(ttm_ref_object_exists(tfile, &vmw_user_bo->prime.base)))
678 * @tfile: Identifying the caller.
685 * A blocking grab will be automatically released when @tfile is closed.
688 struct ttm_object_file *tfile,
721 ret = ttm_ref_object_add(tfile, &user_bo->prime.base,
734 * @tfile: Identifying the caller.
738 struct ttm_object_file *tfile,
742 return ttm_ref_object_base_unref(tfile, handle,
768 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile;
782 ret = vmw_user_bo_lookup(tfile, arg->handle, &vbo,
789 ret = vmw_user_bo_synccpu_grab(user_bo, tfile, arg->flags);
800 ret = vmw_user_bo_synccpu_release(arg->handle, tfile,
845 ret = vmw_user_bo_alloc(dev_priv, vmw_fpriv(file_priv)->tfile,
882 return ttm_ref_object_base_unref(vmw_fpriv(file_priv)->tfile,
891 * @tfile: The TTM object file the handle is registered with.
902 int vmw_user_bo_lookup(struct ttm_object_file *tfile,
909 base = ttm_base_object_lookup(tfile, handle);
937 * @tfile: The TTM object file the handle is registered with.
953 vmw_user_bo_noref_lookup(struct ttm_object_file *tfile, u32 handle)
958 base = ttm_base_object_noref_lookup(tfile, handle);
980 * @tfile: The TTM object file to register the handle with.
985 int vmw_user_bo_reference(struct ttm_object_file *tfile,
997 return ttm_ref_object_add(tfile, &user_bo->prime.base,
1058 ret = vmw_user_bo_alloc(dev_priv, vmw_fpriv(file_priv)->tfile,
1086 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile;
1090 ret = vmw_user_bo_lookup(tfile, handle, &out_buf, NULL);
1114 return ttm_ref_object_base_unref(vmw_fpriv(file_priv)->tfile,