Searched refs:nr_pools (Results 1 – 2 of 2) sorted by relevance
211 pool_nr = __raw_get_cpu_var(iommu_pool_hash) & (tbl->nr_pools - 1); in iommu_range_alloc()268 } else if (pass <= tbl->nr_pools) { in iommu_range_alloc()271 pool_nr = (pool_nr + 1) & (tbl->nr_pools - 1); in iommu_range_alloc()389 BUG_ON(pool_nr > tbl->nr_pools); in get_pool()679 tbl->nr_pools = IOMMU_NR_POOLS; in iommu_init_table()681 tbl->nr_pools = 1; in iommu_init_table()684 tbl->poolsize = (tbl->it_size * 3 / 4) / tbl->nr_pools; in iommu_init_table()686 for (i = 0; i < tbl->nr_pools; i++) { in iommu_init_table()
72 unsigned long nr_pools; member