Home
last modified time | relevance | path

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

/linux/drivers/misc/cxl/
H A Dcontext.c94 i = idr_alloc(&ctx->afu->contexts_idr, ctx, 0, in cxl_context_init()
303 idr_for_each_entry(&afu->contexts_idr, ctx, tmp) { in cxl_context_detach_all()
347 idr_remove(&ctx->afu->contexts_idr, ctx->pe); in cxl_context_free()
H A Dmain.c94 idr_for_each_entry(&afu->contexts_idr, ctx, id) in cxl_slbia_core()
255 idr_init(&afu->contexts_idr); in cxl_alloc_afu()
H A Dsysfs.c256 if (!idr_is_empty(&afu->contexts_idr)) { in reset_store_afu()
396 if (!idr_is_empty(&afu->contexts_idr)) in mode_store()
H A Dcxl.h492 struct idr contexts_idr; member
H A Dguest.c668 idr_destroy(&afu->contexts_idr); in guest_release_afu()
H A Dnative.c1194 ctx = idr_find(&afu->contexts_idr, ph); in native_irq_multiplexed()
H A Dpci.c820 idr_destroy(&afu->contexts_idr); in cxl_pci_release_afu()
/linux/drivers/misc/ocxl/
H A Dcontext.c19 pasid = idr_alloc(&afu->contexts_idr, ctx, afu->pasid_base, in ocxl_context_alloc()
266 idr_for_each_entry(&afu->contexts_idr, ctx, tmp) { in ocxl_context_detach_all()
287 idr_remove(&ctx->afu->contexts_idr, ctx->pasid); in ocxl_context_free()
H A Docxl_internal.h48 struct idr contexts_idr; member
H A Dcore.c27 idr_init(&afu->contexts_idr); in alloc_afu()
37 idr_destroy(&afu->contexts_idr); in free_afu()