Searched refs:object_idr (Results 1 – 10 of 10) sorted by relevance
/drivers/gpu/drm/ |
D | drm_gem.c | 268 obj = idr_find(&filp->object_idr, handle); in drm_gem_handle_delete() 276 idr_remove(&filp->object_idr, handle); in drm_gem_handle_delete() 335 ret = idr_alloc(&file_priv->object_idr, obj, 1, 0, GFP_NOWAIT); in drm_gem_handle_create_tail() 362 idr_remove(&file_priv->object_idr, *handlep); in drm_gem_handle_create_tail() 559 obj = idr_find(&filp->object_idr, handle); in drm_gem_object_lookup() 701 idr_init(&file_private->object_idr); in drm_gem_open() 740 idr_for_each(&file_private->object_idr, in drm_gem_release() 742 idr_destroy(&file_private->object_idr); in drm_gem_release()
|
/drivers/gpu/drm/via/ |
D | via_mm.c | 151 retval = idr_alloc(&dev_priv->object_idr, item, 1, 0, GFP_KERNEL); in via_mem_alloc() 187 obj = idr_find(&dev_priv->object_idr, mem->index); in via_mem_free() 193 idr_remove(&dev_priv->object_idr, mem->index); in via_mem_free()
|
D | via_map.c | 103 idr_init(&dev_priv->object_idr); in via_driver_load() 123 idr_destroy(&dev_priv->object_idr); in via_driver_unload()
|
D | via_drv.h | 98 struct idr object_idr; member
|
/drivers/gpu/drm/sis/ |
D | sis_drv.c | 50 idr_init(&dev_priv->object_idr); in sis_driver_load() 61 idr_destroy(&dev_priv->object_idr); in sis_driver_unload()
|
D | sis_mm.c | 133 retval = idr_alloc(&dev_priv->object_idr, item, 1, 0, GFP_KERNEL); in sis_drm_alloc() 172 obj = idr_find(&dev_priv->object_idr, mem->free); in sis_drm_free() 178 idr_remove(&dev_priv->object_idr, mem->free); in sis_drm_free()
|
D | sis_drv.h | 67 struct idr object_idr; member
|
/drivers/gpu/drm/msm/ |
D | msm_gem_submit.c | 105 obj = idr_find(&file->object_idr, submit_bo.handle); in submit_lookup_objects()
|
/drivers/gpu/drm/i915/ |
D | i915_gem_execbuffer.c | 108 obj = to_intel_bo(idr_find(&file->object_idr, exec[i].handle)); in eb_lookup_vmas()
|
D | i915_debugfs.c | 509 idr_for_each(&file->object_idr, per_file_stats, &stats); in i915_gem_object_info()
|