Searched refs:large_pool (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/arch/sparc/kernel/ |
D | iommu-common.c | 56 bool large_pool, u32 npools, in iommu_tbl_pool_init() argument 60 struct iommu_pool *p = &(iommu->large_pool); in iommu_tbl_pool_init() 74 if (large_pool) in iommu_tbl_pool_init() 77 if (!large_pool) in iommu_tbl_pool_init() 88 if (!large_pool) in iommu_tbl_pool_init() 111 bool large_pool = ((iommu->flags & IOMMU_HAS_LARGE_POOL) != 0); in iommu_tbl_range_alloc() local 112 bool largealloc = (large_pool && npages > iommu_large_alloc); in iommu_tbl_range_alloc() 126 pool = &(iommu->large_pool); in iommu_tbl_range_alloc() 227 unsigned long largepool_start = tbl->large_pool.start; in get_pool() 228 bool large_pool = ((tbl->flags & IOMMU_HAS_LARGE_POOL) != 0); in get_pool() local [all …]
|
/Linux-v6.6/arch/sparc/include/asm/ |
D | iommu-common.h | 31 struct iommu_pool large_pool; member 39 bool large_pool, u32 npools,
|
/Linux-v6.6/arch/powerpc/kernel/ |
D | iommu.c | 250 pool = &(tbl->large_pool); in iommu_range_alloc() 311 pool = &tbl->large_pool; in iommu_range_alloc() 420 unsigned long largepool_start = tbl->large_pool.start; in get_pool() 424 p = &tbl->large_pool; in get_pool() 762 p = &tbl->large_pool; in iommu_init_table() 1120 spin_lock_irqsave(&tbl->large_pool.lock, flags); in iommu_take_ownership() 1122 spin_lock_nest_lock(&tbl->pools[i].lock, &tbl->large_pool.lock); in iommu_take_ownership() 1133 spin_unlock_irqrestore(&tbl->large_pool.lock, flags); in iommu_take_ownership() 1142 spin_lock_irqsave(&tbl->large_pool.lock, flags); in iommu_release_ownership() 1144 spin_lock_nest_lock(&tbl->pools[i].lock, &tbl->large_pool.lock); in iommu_release_ownership() [all …]
|
/Linux-v6.6/arch/powerpc/include/asm/ |
D | iommu.h | 107 struct iommu_pool large_pool; member
|
/Linux-v6.6/arch/powerpc/platforms/pseries/ |
D | iommu.c | 696 spin_lock_irqsave(&tbl->large_pool.lock, flags); in tce_exchange_pseries() 707 spin_unlock_irqrestore(&tbl->large_pool.lock, flags); in tce_exchange_pseries()
|