Searched refs:contexts_idr (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/drivers/misc/cxl/ |
H A 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()
|
H A 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()
|
H A 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()
|
H A D | cxl.h | 492 struct idr contexts_idr; member
|
H A D | guest.c | 668 idr_destroy(&afu->contexts_idr); in guest_release_afu()
|
H A D | native.c | 1194 ctx = idr_find(&afu->contexts_idr, ph); in native_irq_multiplexed()
|
H A D | pci.c | 826 idr_destroy(&afu->contexts_idr); in cxl_pci_release_afu()
|
/openbmc/linux/drivers/misc/ocxl/ |
H A 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()
|
H A D | ocxl_internal.h | 48 struct idr contexts_idr; member
|
H A D | core.c | 27 idr_init(&afu->contexts_idr); in alloc_afu() 37 idr_destroy(&afu->contexts_idr); in free_afu()
|