Lines Matching defs:handle
108 * Unlike dma-buf, importing a syncobj creates a new handle (with its own
178 * @handle: sync object handle to lookup.
180 * Returns a reference to the syncobj pointed to by handle or NULL. The
184 u32 handle)
191 syncobj = idr_find(&file_private->syncobj_idr, handle);
327 * @handle: sync object handle to lookup.
340 u32 handle, u64 point, u64 flags,
343 struct drm_syncobj *syncobj = drm_syncobj_find(file_private, handle);
502 * drm_syncobj_get_handle - get a handle from a syncobj
505 * @handle: out parameter with the new handle
507 * Exports a sync object created with drm_syncobj_create() as a handle on
513 struct drm_syncobj *syncobj, u32 *handle)
532 *handle = ret;
538 u32 *handle, uint32_t flags)
547 ret = drm_syncobj_get_handle(file_private, syncobj, handle);
553 u32 handle)
558 syncobj = idr_remove(&file_private->syncobj_idr, handle);
651 u32 handle, int *p_fd)
653 struct drm_syncobj *syncobj = drm_syncobj_find(file_private, handle);
665 int fd, u32 *handle)
699 *handle = ret;
709 int fd, int handle)
717 syncobj = drm_syncobj_find(file_private, handle);
730 int handle, int *p_fd)
746 ret = drm_syncobj_find_fence(file_private, handle, 0, 0, &fence);
784 ret = drm_syncobj_find_fence(file_private, handle, 0, 0, &fence);
860 &args->handle, args->flags);
875 return drm_syncobj_destroy(file_private, args->handle);
895 return drm_syncobj_export_sync_file(file_private, args->handle,
898 return drm_syncobj_handle_to_fd(file_private, args->handle,
921 args->handle);
924 &args->handle);