Searched refs:ctx_idr (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/gpu/drm/ |
A D | drm_context.c | 67 idr_remove(&dev->ctx_idr, ctx_handle); in drm_legacy_ctxbitmap_free() 85 ret = idr_alloc(&dev->ctx_idr, NULL, DRM_RESERVED_CONTEXTS, 0, in drm_legacy_ctxbitmap_next() 104 idr_init(&dev->ctx_idr); in drm_legacy_ctxbitmap_init() 122 idr_destroy(&dev->ctx_idr); in drm_legacy_ctxbitmap_cleanup() 191 map = idr_find(&dev->ctx_idr, request->ctx_id); in drm_legacy_getsareactx() 252 if (IS_ERR(idr_replace(&dev->ctx_idr, map, request->ctx_id))) in drm_legacy_setsareactx()
|
/linux/include/drm/ |
A D | drm_device.h | 322 struct idr ctx_idr; member
|
/linux/drivers/misc/ |
A D | fastrpc.c | 213 struct idr ctx_idr; member 363 idr_remove(&cctx->ctx_idr, ctx->ctxid >> 4); in fastrpc_context_free() 493 ret = idr_alloc_cyclic(&cctx->ctx_idr, ctx, 1, in fastrpc_context_alloc() 1656 idr_init(&data->ctx_idr); in fastrpc_rpmsg_probe() 1706 ctx = idr_find(&cctx->ctx_idr, ctxid); in fastrpc_rpmsg_callback()
|
Completed in 13 milliseconds