Home
last modified time | relevance | path

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

/drivers/gpu/drm/
Ddrm_drv.c54 static struct idr drm_minors_idr; variable
256 r = idr_alloc(&drm_minors_idr, in drm_minor_alloc()
280 idr_remove(&drm_minors_idr, minor->index); in drm_minor_alloc()
301 idr_remove(&drm_minors_idr, minor->index); in drm_minor_free()
332 idr_replace(&drm_minors_idr, minor, minor->index); in drm_minor_register()
354 idr_replace(&drm_minors_idr, NULL, minor->index); in drm_minor_unregister()
384 minor = idr_find(&drm_minors_idr, minor_id); in drm_minor_acquire()
861 idr_init(&drm_minors_idr); in drm_core_init()
888 idr_destroy(&drm_minors_idr); in drm_core_init()
901 idr_destroy(&drm_minors_idr); in drm_core_exit()