Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/misc/cxl/
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()
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()
Dsysfs.c256 if (!idr_is_empty(&afu->contexts_idr)) { in reset_store_afu()
396 if (!idr_is_empty(&afu->contexts_idr)) in mode_store()
Dcxl.h492 struct idr contexts_idr; member
Dguest.c668 idr_destroy(&afu->contexts_idr); in guest_release_afu()
Dnative.c1199 ctx = idr_find(&afu->contexts_idr, ph); in native_irq_multiplexed()
Dpci.c835 idr_destroy(&afu->contexts_idr); in cxl_pci_release_afu()
/linux-6.1.9/drivers/misc/ocxl/
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()
Docxl_internal.h48 struct idr contexts_idr; member
Dcore.c27 idr_init(&afu->contexts_idr); in alloc_afu()
37 idr_destroy(&afu->contexts_idr); in free_afu()