Lines Matching full:pools
100 * The hash is important to spread CPUs across all the pools. For example,
102 * with 4 pools all primary threads would map to the same pool.
252 pool = &(tbl->pools[pool_nr]); in iommu_range_alloc()
280 pool = &(tbl->pools[0]); in iommu_range_alloc()
299 /* Now try scanning all the other pools */ in iommu_range_alloc()
302 pool = &tbl->pools[pool_nr]; in iommu_range_alloc()
429 p = &tbl->pools[pool_nr]; in get_pool()
755 p = &tbl->pools[i]; in iommu_init_table()
1122 spin_lock_nest_lock(&tbl->pools[i].lock, &tbl->large_pool.lock); in iommu_take_ownership()
1132 spin_unlock(&tbl->pools[i].lock); in iommu_take_ownership()
1144 spin_lock_nest_lock(&tbl->pools[i].lock, &tbl->large_pool.lock); in iommu_release_ownership()
1152 spin_unlock(&tbl->pools[i].lock); in iommu_release_ownership()