Home
last modified time | relevance | path

Searched refs:nr_pools (Results 1 – 9 of 9) sorted by relevance

/linux-6.3-rc2/arch/sparc/kernel/
A Diommu-common.c64 iommu->nr_pools = IOMMU_NR_POOLS; in iommu_tbl_pool_init()
66 iommu->nr_pools = npools; in iommu_tbl_pool_init()
78 iommu->poolsize = num_entries/iommu->nr_pools; in iommu_tbl_pool_init()
80 iommu->poolsize = (num_entries * 3 / 4)/iommu->nr_pools; in iommu_tbl_pool_init()
81 for (i = 0; i < iommu->nr_pools; i++) { in iommu_tbl_pool_init()
109 unsigned int npools = iommu->nr_pools; in iommu_tbl_range_alloc()
176 boundary_size = iommu->poolsize * iommu->nr_pools; in iommu_tbl_range_alloc()
190 } else if (!largealloc && pass <= iommu->nr_pools) { in iommu_tbl_range_alloc()
192 pool_nr = (pool_nr + 1) & (iommu->nr_pools - 1); in iommu_tbl_range_alloc()
236 BUG_ON(pool_nr >= tbl->nr_pools); in get_pool()
A Dpci_sun4v.c716 for (pool_nr = 0; pool_nr < iommu->nr_pools; pool_nr++) { in probe_existing_entries()
A Dldc.c1108 num_tsb_entries = iommu->poolsize * iommu->nr_pools; in ldc_iommu_release()
/linux-6.3-rc2/arch/powerpc/kernel/
A Diommu.c286 } else if (pass <= tbl->nr_pools) { in iommu_range_alloc()
289 pool_nr = (pool_nr + 1) & (tbl->nr_pools - 1); in iommu_range_alloc()
296 } else if (pass == tbl->nr_pools + 1) { in iommu_range_alloc()
416 BUG_ON(pool_nr > tbl->nr_pools); in get_pool()
735 tbl->nr_pools = IOMMU_NR_POOLS; in iommu_init_table()
737 tbl->nr_pools = 1; in iommu_init_table()
742 for (i = 0; i < tbl->nr_pools; i++) { in iommu_init_table()
1105 for (i = 0; i < tbl->nr_pools; i++) in iommu_take_ownership()
1115 for (i = 0; i < tbl->nr_pools; i++) in iommu_take_ownership()
1128 for (i = 0; i < tbl->nr_pools; i++) in iommu_release_ownership()
[all …]
/linux-6.3-rc2/arch/sparc/include/asm/
A Diommu-common.h23 unsigned long nr_pools; member
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_npa.c340 req->aura_sz == NPA_AURA_SZ_0 || !req->nr_pools) in rvu_mbox_handler_npa_lf_alloc()
379 err = qmem_alloc(rvu->dev, &pfvf->pool_ctx, req->nr_pools, hwctx_size); in rvu_mbox_handler_npa_lf_alloc()
A Dmbox.h742 u32 nr_pools; /* No of pools */ member
/linux-6.3-rc2/arch/powerpc/include/asm/
A Diommu.h103 unsigned long nr_pools; member
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_common.c1477 npalf->nr_pools = hw->pool_cnt; in otx2_config_npa()

Completed in 34 milliseconds