Searched refs:file_private (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/drivers/gpu/drm/ |
D | drm_syncobj.c | 242 struct drm_syncobj *drm_syncobj_find(struct drm_file *file_private, in drm_syncobj_find() argument 247 spin_lock(&file_private->syncobj_table_lock); in drm_syncobj_find() 250 syncobj = idr_find(&file_private->syncobj_idr, handle); in drm_syncobj_find() 254 spin_unlock(&file_private->syncobj_table_lock); in drm_syncobj_find() 430 int drm_syncobj_find_fence(struct drm_file *file_private, in drm_syncobj_find_fence() argument 434 struct drm_syncobj *syncobj = drm_syncobj_find(file_private, handle); in drm_syncobj_find_fence() 587 int drm_syncobj_get_handle(struct drm_file *file_private, in drm_syncobj_get_handle() argument 596 spin_lock(&file_private->syncobj_table_lock); in drm_syncobj_get_handle() 597 ret = idr_alloc(&file_private->syncobj_idr, syncobj, 1, 0, GFP_NOWAIT); in drm_syncobj_get_handle() 598 spin_unlock(&file_private->syncobj_table_lock); in drm_syncobj_get_handle() [all …]
|
D | drm_internal.h | 171 void drm_gem_open(struct drm_device *dev, struct drm_file *file_private); 172 void drm_gem_release(struct drm_device *dev, struct drm_file *file_private); 232 void drm_syncobj_open(struct drm_file *file_private); 233 void drm_syncobj_release(struct drm_file *file_private); 235 struct drm_file *file_private); 237 struct drm_file *file_private); 239 struct drm_file *file_private); 241 struct drm_file *file_private); 243 struct drm_file *file_private); 245 struct drm_file *file_private); [all …]
|
D | drm_gem.c | 922 drm_gem_open(struct drm_device *dev, struct drm_file *file_private) in drm_gem_open() argument 924 idr_init_base(&file_private->object_idr, 1); in drm_gem_open() 925 spin_lock_init(&file_private->table_lock); in drm_gem_open() 938 drm_gem_release(struct drm_device *dev, struct drm_file *file_private) in drm_gem_release() argument 940 idr_for_each(&file_private->object_idr, in drm_gem_release() 941 &drm_gem_object_release_handle, file_private); in drm_gem_release() 942 idr_destroy(&file_private->object_idr); in drm_gem_release()
|
/linux-6.6.21/include/drm/ |
D | drm_syncobj.h | 118 struct drm_syncobj *drm_syncobj_find(struct drm_file *file_private, 126 int drm_syncobj_find_fence(struct drm_file *file_private, 132 int drm_syncobj_get_handle(struct drm_file *file_private,
|