Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/
Ddrm_context.c66 idr_remove(&dev->ctx_idr, ctx_handle); in drm_legacy_ctxbitmap_free()
84 ret = idr_alloc(&dev->ctx_idr, NULL, DRM_RESERVED_CONTEXTS, 0, in drm_legacy_ctxbitmap_next()
102 idr_init(&dev->ctx_idr); in drm_legacy_ctxbitmap_init()
119 idr_destroy(&dev->ctx_idr); in drm_legacy_ctxbitmap_cleanup()
186 map = idr_find(&dev->ctx_idr, request->ctx_id); in drm_legacy_getsareactx()
246 if (IS_ERR(idr_replace(&dev->ctx_idr, map, request->ctx_id))) in drm_legacy_setsareactx()
/linux-6.6.21/include/drm/
Ddrm_device.h350 struct idr ctx_idr; member
/linux-6.6.21/drivers/misc/
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()