Lines Matching refs:tfile

597 		      struct ttm_object_file *tfile,  in vmw_user_bo_alloc()  argument
622 ret = ttm_prime_object_init(tfile, in vmw_user_bo_alloc()
654 struct ttm_object_file *tfile) in vmw_user_bo_verify_access() argument
664 if (likely(ttm_ref_object_exists(tfile, &vmw_user_bo->prime.base))) in vmw_user_bo_verify_access()
688 struct ttm_object_file *tfile, in vmw_user_bo_synccpu_grab() argument
721 ret = ttm_ref_object_add(tfile, &user_bo->prime.base, in vmw_user_bo_synccpu_grab()
738 struct ttm_object_file *tfile, in vmw_user_bo_synccpu_release() argument
742 return ttm_ref_object_base_unref(tfile, handle, in vmw_user_bo_synccpu_release()
768 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_user_bo_synccpu_ioctl() local
782 ret = vmw_user_bo_lookup(tfile, arg->handle, &vbo, in vmw_user_bo_synccpu_ioctl()
789 ret = vmw_user_bo_synccpu_grab(user_bo, tfile, arg->flags); in vmw_user_bo_synccpu_ioctl()
800 ret = vmw_user_bo_synccpu_release(arg->handle, tfile, in vmw_user_bo_synccpu_ioctl()
845 ret = vmw_user_bo_alloc(dev_priv, vmw_fpriv(file_priv)->tfile, in vmw_bo_alloc_ioctl()
882 return ttm_ref_object_base_unref(vmw_fpriv(file_priv)->tfile, in vmw_bo_unref_ioctl()
902 int vmw_user_bo_lookup(struct ttm_object_file *tfile, in vmw_user_bo_lookup() argument
909 base = ttm_base_object_lookup(tfile, handle); in vmw_user_bo_lookup()
953 vmw_user_bo_noref_lookup(struct ttm_object_file *tfile, u32 handle) in vmw_user_bo_noref_lookup() argument
958 base = ttm_base_object_noref_lookup(tfile, handle); in vmw_user_bo_noref_lookup()
985 int vmw_user_bo_reference(struct ttm_object_file *tfile, in vmw_user_bo_reference() argument
997 return ttm_ref_object_add(tfile, &user_bo->prime.base, in vmw_user_bo_reference()
1058 ret = vmw_user_bo_alloc(dev_priv, vmw_fpriv(file_priv)->tfile, in vmw_dumb_create()
1086 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_dumb_map_offset() local
1090 ret = vmw_user_bo_lookup(tfile, handle, &out_buf, NULL); in vmw_dumb_map_offset()
1114 return ttm_ref_object_base_unref(vmw_fpriv(file_priv)->tfile, in vmw_dumb_destroy()