Home
last modified time | relevance | path

Searched refs:ctx_idr (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_context.c57 * in drm_device::ctx_idr, while holding the drm_device::struct_mutex
67 idr_remove(&dev->ctx_idr, ctx_handle); in drm_legacy_ctxbitmap_free()
77 * Allocate a new idr from drm_device::ctx_idr while holding the
85 ret = idr_alloc(&dev->ctx_idr, NULL, DRM_RESERVED_CONTEXTS, 0, in drm_legacy_ctxbitmap_next()
96 * Initialise the drm_device::ctx_idr
104 idr_init(&dev->ctx_idr); in drm_legacy_ctxbitmap_init()
122 idr_destroy(&dev->ctx_idr); in drm_legacy_ctxbitmap_cleanup()
175 * Gets the map from drm_device::ctx_idr with the handle specified and
191 map = idr_find(&dev->ctx_idr, request->ctx_id); in drm_legacy_getsareactx()
224 * drm_device::ctx_idr wit
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_context.c57 * in drm_device::ctx_idr, while holding the drm_device::struct_mutex
66 idr_remove(&dev->ctx_idr, ctx_handle); in drm_legacy_ctxbitmap_free()
76 * Allocate a new idr from drm_device::ctx_idr while holding the
84 ret = idr_alloc(&dev->ctx_idr, NULL, DRM_RESERVED_CONTEXTS, 0, in drm_legacy_ctxbitmap_next()
95 * Initialise the drm_device::ctx_idr
102 idr_init(&dev->ctx_idr); in drm_legacy_ctxbitmap_init()
119 idr_destroy(&dev->ctx_idr); in drm_legacy_ctxbitmap_cleanup()
171 * Gets the map from drm_device::ctx_idr with the handle specified and
186 map = idr_find(&dev->ctx_idr, request->ctx_id); in drm_legacy_getsareactx()
219 * drm_device::ctx_idr wit
[all...]
/kernel/linux/linux-5.10/include/drm/
H A Ddrm_device.h342 struct idr ctx_idr; member
/kernel/linux/linux-6.6/include/drm/
H A Ddrm_device.h350 struct idr ctx_idr; member
/kernel/linux/linux-5.10/drivers/misc/
H A Dfastrpc.c213 struct idr ctx_idr; member
372 idr_remove(&cctx->ctx_idr, ctx->ctxid >> 4); in fastrpc_context_free()
502 ret = idr_alloc_cyclic(&cctx->ctx_idr, ctx, 1, in fastrpc_context_alloc()
1666 idr_init(&data->ctx_idr); in fastrpc_rpmsg_probe()
1719 ctx = idr_find(&cctx->ctx_idr, ctxid); in fastrpc_rpmsg_callback()
/kernel/linux/linux-6.6/drivers/misc/
H A Dfastrpc.c271 struct idr ctx_idr; member
497 idr_remove(&cctx->ctx_idr, ctx->ctxid >> 4); in fastrpc_context_free()
627 ret = idr_alloc_cyclic(&cctx->ctx_idr, ctx, 1, in fastrpc_context_alloc()
2337 idr_init(&data->ctx_idr); in fastrpc_rpmsg_probe()
2416 ctx = idr_find(&cctx->ctx_idr, ctxid); in fastrpc_rpmsg_callback()

Completed in 8 milliseconds