Home
last modified time | relevance | path

Searched refs:object_idr (Results 1 – 10 of 10) sorted by relevance

/drivers/gpu/drm/
Ddrm_gem.c268 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/
Dvia_mm.c151 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()
Dvia_map.c103 idr_init(&dev_priv->object_idr); in via_driver_load()
123 idr_destroy(&dev_priv->object_idr); in via_driver_unload()
Dvia_drv.h98 struct idr object_idr; member
/drivers/gpu/drm/sis/
Dsis_drv.c50 idr_init(&dev_priv->object_idr); in sis_driver_load()
61 idr_destroy(&dev_priv->object_idr); in sis_driver_unload()
Dsis_mm.c133 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()
Dsis_drv.h67 struct idr object_idr; member
/drivers/gpu/drm/msm/
Dmsm_gem_submit.c105 obj = idr_find(&file->object_idr, submit_bo.handle); in submit_lookup_objects()
/drivers/gpu/drm/i915/
Di915_gem_execbuffer.c108 obj = to_intel_bo(idr_find(&file->object_idr, exec[i].handle)); in eb_lookup_vmas()
Di915_debugfs.c509 idr_for_each(&file->object_idr, per_file_stats, &stats); in i915_gem_object_info()