Lines Matching defs:handle
155 * Unlike dma-buf, importing a syncobj creates a new handle (with its own
217 * @handle: sync object handle to lookup.
219 * Returns a reference to the syncobj pointed to by handle or NULL. The
223 u32 handle)
230 syncobj = idr_find(&file_private->syncobj_idr, handle);
366 * @handle: sync object handle to lookup.
379 u32 handle, u64 point, u64 flags,
382 struct drm_syncobj *syncobj = drm_syncobj_find(file_private, handle);
503 * drm_syncobj_get_handle - get a handle from a syncobj
506 * @handle: out parameter with the new handle
508 * Exports a sync object created with drm_syncobj_create() as a handle on
514 struct drm_syncobj *syncobj, u32 *handle)
533 *handle = ret;
539 u32 *handle, uint32_t flags)
548 ret = drm_syncobj_get_handle(file_private, syncobj, handle);
554 u32 handle)
559 syncobj = idr_remove(&file_private->syncobj_idr, handle);
616 u32 handle, int *p_fd)
618 struct drm_syncobj *syncobj = drm_syncobj_find(file_private, handle);
630 int fd, u32 *handle)
655 *handle = ret;
665 int fd, int handle)
673 syncobj = drm_syncobj_find(file_private, handle);
686 int handle, int *p_fd)
696 ret = drm_syncobj_find_fence(file_private, handle, 0, 0, &fence);
770 &args->handle, args->flags);
785 return drm_syncobj_destroy(file_private, args->handle);
805 return drm_syncobj_export_sync_file(file_private, args->handle,
808 return drm_syncobj_handle_to_fd(file_private, args->handle,
831 args->handle);
834 &args->handle);