Searched refs:pool_nr (Results 1 – 2 of 2) sorted by relevance
190 unsigned int pool_nr; in iommu_range_alloc() local211 pool_nr = __this_cpu_read(iommu_pool_hash) & (tbl->nr_pools - 1); in iommu_range_alloc()216 pool = &(tbl->pools[pool_nr]); in iommu_range_alloc()271 pool_nr = (pool_nr + 1) & (tbl->nr_pools - 1); in iommu_range_alloc()272 pool = &tbl->pools[pool_nr]; in iommu_range_alloc()387 unsigned int pool_nr = entry / tbl->poolsize; in get_pool() local389 BUG_ON(pool_nr > tbl->nr_pools); in get_pool()390 p = &tbl->pools[pool_nr]; in get_pool()
532 unsigned long i, pool_nr, cnt = 0; in probe_existing_entries() local536 for (pool_nr = 0; pool_nr < iommu->nr_pools; pool_nr++) { in probe_existing_entries()537 pool = &(iommu->pools[pool_nr]); in probe_existing_entries()