Searched refs:nr_pools (Results 1 - 9 of 9) sorted by path

/linux-master/arch/sparc/include/asm/
H A Diommu-common.h23 unsigned long nr_pools; member in struct:iommu_map_table
/linux-master/arch/powerpc/include/asm/
H A Diommu.h106 unsigned long nr_pools; member in struct:iommu_table
/linux-master/arch/powerpc/kernel/
H A Diommu.c248 pool_nr = raw_cpu_read(iommu_pool_hash) & (tbl->nr_pools - 1);
299 } else if (pass <= tbl->nr_pools) {
302 pool_nr = (pool_nr + 1) & (tbl->nr_pools - 1);
309 } else if (pass == tbl->nr_pools + 1) {
429 BUG_ON(pool_nr > tbl->nr_pools);
748 tbl->nr_pools = IOMMU_NR_POOLS;
750 tbl->nr_pools = 1;
753 tbl->poolsize = (tbl->it_size * 3 / 4) / tbl->nr_pools;
755 for (i = 0; i < tbl->nr_pools; i++) {
1122 for (i = 0; i < tbl->nr_pools;
[all...]
/linux-master/arch/sparc/kernel/
H A Diommu-common.c64 iommu->nr_pools = IOMMU_NR_POOLS;
66 iommu->nr_pools = npools;
78 iommu->poolsize = num_entries/iommu->nr_pools;
80 iommu->poolsize = (num_entries * 3 / 4)/iommu->nr_pools;
81 for (i = 0; i < iommu->nr_pools; i++) {
109 unsigned int npools = iommu->nr_pools;
176 boundary_size = iommu->poolsize * iommu->nr_pools;
190 } else if (!largealloc && pass <= iommu->nr_pools) {
192 pool_nr = (pool_nr + 1) & (iommu->nr_pools - 1);
236 BUG_ON(pool_nr >= tbl->nr_pools);
[all...]
H A Dldc.c1108 num_tsb_entries = iommu->poolsize * iommu->nr_pools;
H A Dpci_sun4v.c717 for (pool_nr = 0; pool_nr < iommu->nr_pools; pool_nr++) {
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Dmbox.h758 u32 nr_pools; /* No of pools */ member in struct:npa_lf_alloc_req
H A Drvu_npa.c340 req->aura_sz == NPA_AURA_SZ_0 || !req->nr_pools)
379 err = qmem_alloc(rvu->dev, &pfvf->pool_ctx, req->nr_pools, hwctx_size);
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_common.c1573 npalf->nr_pools = hw->pool_cnt;

Completed in 273 milliseconds