Lines Matching refs:file_priv
587 int vmw_user_fence_create(struct drm_file *file_priv, in vmw_user_fence_create() argument
593 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_user_fence_create()
706 struct drm_file *file_priv) in vmw_fence_obj_wait_ioctl() argument
713 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_fence_obj_wait_ioctl()
765 struct drm_file *file_priv) in vmw_fence_obj_signaled_ioctl() argument
772 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_fence_obj_signaled_ioctl()
800 struct drm_file *file_priv) in vmw_fence_obj_unref_ioctl() argument
805 return ttm_ref_object_base_unref(vmw_fpriv(file_priv)->tfile, in vmw_fence_obj_unref_ioctl()
865 struct drm_file *file_priv; in vmw_event_fence_action_seq_passed() local
871 file_priv = event->file_priv; in vmw_event_fence_action_seq_passed()
883 list_add_tail(&eaction->event->link, &file_priv->event_list); in vmw_event_fence_action_seq_passed()
885 wake_up_all(&file_priv->event_wait); in vmw_event_fence_action_seq_passed()
978 int vmw_event_fence_action_queue(struct drm_file *file_priv, in vmw_event_fence_action_queue() argument
987 struct vmw_fpriv *vmw_fp = vmw_fpriv(file_priv); in vmw_event_fence_action_queue()
1019 static int vmw_event_fence_action_create(struct drm_file *file_priv, in vmw_event_fence_action_create() argument
1033 ret = (file_priv->event_space < sizeof(event->event)) ? -EBUSY : 0; in vmw_event_fence_action_create()
1035 file_priv->event_space -= sizeof(event->event); in vmw_event_fence_action_create()
1057 event->base.file_priv = file_priv; in vmw_event_fence_action_create()
1062 ret = vmw_event_fence_action_queue(file_priv, fence, in vmw_event_fence_action_create()
1068 ret = vmw_event_fence_action_queue(file_priv, fence, in vmw_event_fence_action_create()
1082 file_priv->event_space += sizeof(*event); in vmw_event_fence_action_create()
1089 struct drm_file *file_priv) in vmw_fence_event_ioctl() argument
1095 struct vmw_fpriv *vmw_fp = vmw_fpriv(file_priv); in vmw_fence_event_ioctl()
1141 ret = vmw_execbuf_fence_commands(file_priv, dev_priv, in vmw_fence_event_ioctl()
1153 ret = vmw_event_fence_action_create(file_priv, fence, in vmw_fence_event_ioctl()
1169 ttm_ref_object_base_unref(vmw_fpriv(file_priv)->tfile, in vmw_fence_event_ioctl()