Searched refs:contexts_idr (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/drivers/misc/cxl/ |
D | context.c | 94 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()
|
D | main.c | 94 idr_for_each_entry(&afu->contexts_idr, ctx, id) in cxl_slbia_core() 255 idr_init(&afu->contexts_idr); in cxl_alloc_afu()
|
D | sysfs.c | 256 if (!idr_is_empty(&afu->contexts_idr)) { in reset_store_afu() 396 if (!idr_is_empty(&afu->contexts_idr)) in mode_store()
|
D | cxl.h | 492 struct idr contexts_idr; member
|
D | guest.c | 668 idr_destroy(&afu->contexts_idr); in guest_release_afu()
|
D | native.c | 1199 ctx = idr_find(&afu->contexts_idr, ph); in native_irq_multiplexed()
|
D | pci.c | 835 idr_destroy(&afu->contexts_idr); in cxl_pci_release_afu()
|
/linux-6.1.9/drivers/misc/ocxl/ |
D | context.c | 19 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()
|
D | ocxl_internal.h | 48 struct idr contexts_idr; member
|
D | core.c | 27 idr_init(&afu->contexts_idr); in alloc_afu() 37 idr_destroy(&afu->contexts_idr); in free_afu()
|