Searched refs:ufence (Results 1 – 6 of 6) sorted by relevance
38 mmdrop(ufence->mm); in user_fence_destroy()39 kfree(ufence); in user_fence_destroy()62 ufence = kzalloc(sizeof(*ufence), GFP_KERNEL); in user_fence_create()63 if (!ufence) in user_fence_create()66 ufence->xe = xe; in user_fence_create()68 ufence->addr = ptr; in user_fence_create()71 mmgrab(ufence->mm); in user_fence_create()73 return ufence; in user_fence_create()82 if (copy_to_user(ufence->addr, &ufence->value, sizeof(ufence->value))) in user_fence_worker()96 queue_work(ufence->xe->ordered_wq, &ufence->worker); in kick_ufence()[all …]
36 return !!sync->ufence; in xe_sync_is_ufence()39 struct xe_user_fence *__xe_sync_ufence_get(struct xe_user_fence *ufence);41 void xe_sync_ufence_put(struct xe_user_fence *ufence);42 int xe_sync_ufence_get_status(struct xe_user_fence *ufence);
21 struct xe_user_fence *ufence; member
1013 if (vma->ufence) { in xe_vma_destroy_late()1014 xe_sync_ufence_put(vma->ufence); in xe_vma_destroy_late()1015 vma->ufence = NULL; in xe_vma_destroy_late()2374 if (vma->ufence) { in check_ufence()2380 vma->ufence = NULL; in check_ufence()2615 if (vma->ufence) in vma_add_ufence()2617 vma->ufence = __xe_sync_ufence_get(ufence); in vma_add_ufence()2647 struct xe_user_fence *ufence; in vm_bind_ioctl_ops_fini() local2653 if (ufence) in vm_bind_ioctl_ops_fini()2662 if (ufence) in vm_bind_ioctl_ops_fini()[all …]
123 struct xe_user_fence *ufence; member
564 struct vmw_user_fence *ufence = in vmw_user_fence_destroy() local567 ttm_base_object_kfree(ufence, base); in vmw_user_fence_destroy()573 struct vmw_user_fence *ufence = in vmw_user_fence_base_release() local575 struct vmw_fence_obj *fence = &ufence->fence; in vmw_user_fence_base_release()588 struct vmw_user_fence *ufence; in vmw_user_fence_create() local592 ufence = kzalloc(sizeof(*ufence), GFP_KERNEL); in vmw_user_fence_create()593 if (unlikely(!ufence)) { in vmw_user_fence_create()601 kfree(ufence); in vmw_user_fence_create()624 *p_fence = &ufence->fence; in vmw_user_fence_create()625 *p_handle = ufence->base.handle; in vmw_user_fence_create()[all …]