Home
last modified time | relevance | path

Searched refs:large_pool (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/arch/sparc/kernel/
Diommu-common.c56 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-6.1.9/arch/sparc/include/asm/
Diommu-common.h31 struct iommu_pool large_pool; member
39 bool large_pool, u32 npools,
/linux-6.1.9/arch/powerpc/kernel/
Diommu.c240 pool = &(tbl->large_pool); in iommu_range_alloc()
301 pool = &tbl->large_pool; in iommu_range_alloc()
410 unsigned long largepool_start = tbl->large_pool.start; in get_pool()
414 p = &tbl->large_pool; in get_pool()
752 p = &tbl->large_pool; in iommu_init_table()
1106 spin_lock_irqsave(&tbl->large_pool.lock, flags); in iommu_take_ownership()
1108 spin_lock_nest_lock(&tbl->pools[i].lock, &tbl->large_pool.lock); in iommu_take_ownership()
1119 spin_unlock_irqrestore(&tbl->large_pool.lock, flags); in iommu_take_ownership()
1129 spin_lock_irqsave(&tbl->large_pool.lock, flags); in iommu_release_ownership()
1131 spin_lock_nest_lock(&tbl->pools[i].lock, &tbl->large_pool.lock); in iommu_release_ownership()
[all …]
/linux-6.1.9/arch/powerpc/include/asm/
Diommu.h104 struct iommu_pool large_pool; member
/linux-6.1.9/arch/powerpc/platforms/pseries/
Diommu.c677 spin_lock_irqsave(&tbl->large_pool.lock, flags); in tce_exchange_pseries()
688 spin_unlock_irqrestore(&tbl->large_pool.lock, flags); in tce_exchange_pseries()