file_private 921 drivers/gpu/drm/drm_gem.c drm_gem_open(struct drm_device *dev, struct drm_file *file_private) file_private 923 drivers/gpu/drm/drm_gem.c idr_init_base(&file_private->object_idr, 1); file_private 924 drivers/gpu/drm/drm_gem.c spin_lock_init(&file_private->table_lock); file_private 937 drivers/gpu/drm/drm_gem.c drm_gem_release(struct drm_device *dev, struct drm_file *file_private) file_private 939 drivers/gpu/drm/drm_gem.c idr_for_each(&file_private->object_idr, file_private 940 drivers/gpu/drm/drm_gem.c &drm_gem_object_release_handle, file_private); file_private 941 drivers/gpu/drm/drm_gem.c idr_destroy(&file_private->object_idr); file_private 131 drivers/gpu/drm/drm_internal.h void drm_gem_open(struct drm_device *dev, struct drm_file *file_private); file_private 132 drivers/gpu/drm/drm_internal.h void drm_gem_release(struct drm_device *dev, struct drm_file *file_private); file_private 187 drivers/gpu/drm/drm_internal.h void drm_syncobj_open(struct drm_file *file_private); file_private 188 drivers/gpu/drm/drm_internal.h void drm_syncobj_release(struct drm_file *file_private); file_private 190 drivers/gpu/drm/drm_internal.h struct drm_file *file_private); file_private 192 drivers/gpu/drm/drm_internal.h struct drm_file *file_private); file_private 194 drivers/gpu/drm/drm_internal.h struct drm_file *file_private); file_private 196 drivers/gpu/drm/drm_internal.h struct drm_file *file_private); file_private 198 drivers/gpu/drm/drm_internal.h struct drm_file *file_private); file_private 200 drivers/gpu/drm/drm_internal.h struct drm_file *file_private); file_private 202 drivers/gpu/drm/drm_internal.h struct drm_file *file_private); file_private 204 drivers/gpu/drm/drm_internal.h struct drm_file *file_private); file_private 206 drivers/gpu/drm/drm_internal.h struct drm_file *file_private); file_private 208 drivers/gpu/drm/drm_internal.h struct drm_file *file_private); file_private 210 drivers/gpu/drm/drm_internal.h struct drm_file *file_private); file_private 160 drivers/gpu/drm/drm_syncobj.c struct drm_syncobj *drm_syncobj_find(struct drm_file *file_private, file_private 165 drivers/gpu/drm/drm_syncobj.c spin_lock(&file_private->syncobj_table_lock); file_private 168 drivers/gpu/drm/drm_syncobj.c syncobj = idr_find(&file_private->syncobj_idr, handle); file_private 172 drivers/gpu/drm/drm_syncobj.c spin_unlock(&file_private->syncobj_table_lock); file_private 316 drivers/gpu/drm/drm_syncobj.c int drm_syncobj_find_fence(struct drm_file *file_private, file_private 320 drivers/gpu/drm/drm_syncobj.c struct drm_syncobj *syncobj = drm_syncobj_find(file_private, handle); file_private 440 drivers/gpu/drm/drm_syncobj.c int drm_syncobj_get_handle(struct drm_file *file_private, file_private 449 drivers/gpu/drm/drm_syncobj.c spin_lock(&file_private->syncobj_table_lock); file_private 450 drivers/gpu/drm/drm_syncobj.c ret = idr_alloc(&file_private->syncobj_idr, syncobj, 1, 0, GFP_NOWAIT); file_private 451 drivers/gpu/drm/drm_syncobj.c spin_unlock(&file_private->syncobj_table_lock); file_private 465 drivers/gpu/drm/drm_syncobj.c static int drm_syncobj_create_as_handle(struct drm_file *file_private, file_private 475 drivers/gpu/drm/drm_syncobj.c ret = drm_syncobj_get_handle(file_private, syncobj, handle); file_private 480 drivers/gpu/drm/drm_syncobj.c static int drm_syncobj_destroy(struct drm_file *file_private, file_private 485 drivers/gpu/drm/drm_syncobj.c spin_lock(&file_private->syncobj_table_lock); file_private 486 drivers/gpu/drm/drm_syncobj.c syncobj = idr_remove(&file_private->syncobj_idr, handle); file_private 487 drivers/gpu/drm/drm_syncobj.c spin_unlock(&file_private->syncobj_table_lock); file_private 542 drivers/gpu/drm/drm_syncobj.c static int drm_syncobj_handle_to_fd(struct drm_file *file_private, file_private 545 drivers/gpu/drm/drm_syncobj.c struct drm_syncobj *syncobj = drm_syncobj_find(file_private, handle); file_private 556 drivers/gpu/drm/drm_syncobj.c static int drm_syncobj_fd_to_handle(struct drm_file *file_private, file_private 576 drivers/gpu/drm/drm_syncobj.c spin_lock(&file_private->syncobj_table_lock); file_private 577 drivers/gpu/drm/drm_syncobj.c ret = idr_alloc(&file_private->syncobj_idr, syncobj, 1, 0, GFP_NOWAIT); file_private 578 drivers/gpu/drm/drm_syncobj.c spin_unlock(&file_private->syncobj_table_lock); file_private 591 drivers/gpu/drm/drm_syncobj.c static int drm_syncobj_import_sync_file_fence(struct drm_file *file_private, file_private 600 drivers/gpu/drm/drm_syncobj.c syncobj = drm_syncobj_find(file_private, handle); file_private 612 drivers/gpu/drm/drm_syncobj.c static int drm_syncobj_export_sync_file(struct drm_file *file_private, file_private 623 drivers/gpu/drm/drm_syncobj.c ret = drm_syncobj_find_fence(file_private, handle, 0, 0, &fence); file_private 652 drivers/gpu/drm/drm_syncobj.c drm_syncobj_open(struct drm_file *file_private) file_private 654 drivers/gpu/drm/drm_syncobj.c idr_init_base(&file_private->syncobj_idr, 1); file_private 655 drivers/gpu/drm/drm_syncobj.c spin_lock_init(&file_private->syncobj_table_lock); file_private 676 drivers/gpu/drm/drm_syncobj.c drm_syncobj_release(struct drm_file *file_private) file_private 678 drivers/gpu/drm/drm_syncobj.c idr_for_each(&file_private->syncobj_idr, file_private 679 drivers/gpu/drm/drm_syncobj.c &drm_syncobj_release_handle, file_private); file_private 680 drivers/gpu/drm/drm_syncobj.c idr_destroy(&file_private->syncobj_idr); file_private 685 drivers/gpu/drm/drm_syncobj.c struct drm_file *file_private) file_private 696 drivers/gpu/drm/drm_syncobj.c return drm_syncobj_create_as_handle(file_private, file_private 702 drivers/gpu/drm/drm_syncobj.c struct drm_file *file_private) file_private 712 drivers/gpu/drm/drm_syncobj.c return drm_syncobj_destroy(file_private, args->handle); file_private 717 drivers/gpu/drm/drm_syncobj.c struct drm_file *file_private) file_private 732 drivers/gpu/drm/drm_syncobj.c return drm_syncobj_export_sync_file(file_private, args->handle, file_private 735 drivers/gpu/drm/drm_syncobj.c return drm_syncobj_handle_to_fd(file_private, args->handle, file_private 741 drivers/gpu/drm/drm_syncobj.c struct drm_file *file_private) file_private 756 drivers/gpu/drm/drm_syncobj.c return drm_syncobj_import_sync_file_fence(file_private, file_private 760 drivers/gpu/drm/drm_syncobj.c return drm_syncobj_fd_to_handle(file_private, args->fd, file_private 764 drivers/gpu/drm/drm_syncobj.c static int drm_syncobj_transfer_to_timeline(struct drm_file *file_private, file_private 772 drivers/gpu/drm/drm_syncobj.c timeline_syncobj = drm_syncobj_find(file_private, args->dst_handle); file_private 776 drivers/gpu/drm/drm_syncobj.c ret = drm_syncobj_find_fence(file_private, args->src_handle, file_private 796 drivers/gpu/drm/drm_syncobj.c drm_syncobj_transfer_to_binary(struct drm_file *file_private, file_private 803 drivers/gpu/drm/drm_syncobj.c binary_syncobj = drm_syncobj_find(file_private, args->dst_handle); file_private 806 drivers/gpu/drm/drm_syncobj.c ret = drm_syncobj_find_fence(file_private, args->src_handle, file_private 819 drivers/gpu/drm/drm_syncobj.c struct drm_file *file_private) file_private 831 drivers/gpu/drm/drm_syncobj.c ret = drm_syncobj_transfer_to_timeline(file_private, args); file_private 833 drivers/gpu/drm/drm_syncobj.c ret = drm_syncobj_transfer_to_binary(file_private, args); file_private 1046 drivers/gpu/drm/drm_syncobj.c struct drm_file *file_private, file_private 1078 drivers/gpu/drm/drm_syncobj.c static int drm_syncobj_array_find(struct drm_file *file_private, file_private 1104 drivers/gpu/drm/drm_syncobj.c syncobjs[i] = drm_syncobj_find(file_private, handles[i]); file_private 1136 drivers/gpu/drm/drm_syncobj.c struct drm_file *file_private) file_private 1152 drivers/gpu/drm/drm_syncobj.c ret = drm_syncobj_array_find(file_private, file_private 1159 drivers/gpu/drm/drm_syncobj.c ret = drm_syncobj_array_wait(dev, file_private, file_private 1169 drivers/gpu/drm/drm_syncobj.c struct drm_file *file_private) file_private 1186 drivers/gpu/drm/drm_syncobj.c ret = drm_syncobj_array_find(file_private, file_private 1193 drivers/gpu/drm/drm_syncobj.c ret = drm_syncobj_array_wait(dev, file_private, file_private 1204 drivers/gpu/drm/drm_syncobj.c struct drm_file *file_private) file_private 1220 drivers/gpu/drm/drm_syncobj.c ret = drm_syncobj_array_find(file_private, file_private 1237 drivers/gpu/drm/drm_syncobj.c struct drm_file *file_private) file_private 1253 drivers/gpu/drm/drm_syncobj.c ret = drm_syncobj_array_find(file_private, file_private 1270 drivers/gpu/drm/drm_syncobj.c struct drm_file *file_private) file_private 1288 drivers/gpu/drm/drm_syncobj.c ret = drm_syncobj_array_find(file_private, file_private 1342 drivers/gpu/drm/drm_syncobj.c struct drm_file *file_private) file_private 1359 drivers/gpu/drm/drm_syncobj.c ret = drm_syncobj_array_find(file_private, file_private 114 include/drm/drm_syncobj.h struct drm_syncobj *drm_syncobj_find(struct drm_file *file_private, file_private 122 include/drm/drm_syncobj.h int drm_syncobj_find_fence(struct drm_file *file_private, file_private 128 include/drm/drm_syncobj.h int drm_syncobj_get_handle(struct drm_file *file_private,