Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/sparc/kernel/
A 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()
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
231 if (large_pool && entry >= largepool_start) { in get_pool()
[all …]
/linux-6.3-rc2/arch/sparc/include/asm/
A Diommu-common.h31 struct iommu_pool large_pool; member
39 bool large_pool, u32 npools,
/linux-6.3-rc2/arch/powerpc/kernel/
A Diommu.c238 pool = &(tbl->large_pool); in iommu_range_alloc()
299 pool = &tbl->large_pool; in iommu_range_alloc()
408 unsigned long largepool_start = tbl->large_pool.start; in get_pool()
412 p = &tbl->large_pool; in get_pool()
750 p = &tbl->large_pool; in iommu_init_table()
1104 spin_lock_irqsave(&tbl->large_pool.lock, flags); in iommu_take_ownership()
1106 spin_lock_nest_lock(&tbl->pools[i].lock, &tbl->large_pool.lock); in iommu_take_ownership()
1117 spin_unlock_irqrestore(&tbl->large_pool.lock, flags); in iommu_take_ownership()
1127 spin_lock_irqsave(&tbl->large_pool.lock, flags); in iommu_release_ownership()
1129 spin_lock_nest_lock(&tbl->pools[i].lock, &tbl->large_pool.lock); in iommu_release_ownership()
[all …]
/linux-6.3-rc2/arch/powerpc/include/asm/
A Diommu.h104 struct iommu_pool large_pool; member
/linux-6.3-rc2/arch/powerpc/platforms/pseries/
A 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()

Completed in 11 milliseconds