Home
last modified time | relevance | path

Searched refs:pool_size (Results 1 – 25 of 40) sorted by relevance

12

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_cnt.c19 unsigned int pool_size; member
36 unsigned int pool_size; in mlxsw_sp_counter_pool_validate() local
39 pool_size = MLXSW_CORE_RES_GET(mlxsw_sp->core, COUNTER_POOL_SIZE); in mlxsw_sp_counter_pool_validate()
43 if (total_bank_config > pool_size / MLXSW_SP_COUNTER_POOL_BANK_SIZE + 1) in mlxsw_sp_counter_pool_validate()
91 pool->pool_size = MLXSW_CORE_RES_GET(mlxsw_sp->core, COUNTER_POOL_SIZE); in mlxsw_sp_counter_pool_init()
92 map_size = BITS_TO_LONGS(pool->pool_size) * sizeof(unsigned long); in mlxsw_sp_counter_pool_init()
112 if (sub_pool->base_index + sub_pool->size > pool->pool_size) in mlxsw_sp_counter_pool_init()
113 sub_pool->size = pool->pool_size - sub_pool->base_index; in mlxsw_sp_counter_pool_init()
128 WARN_ON(find_first_bit(pool->usage, pool->pool_size) != in mlxsw_sp_counter_pool_fini()
129 pool->pool_size); in mlxsw_sp_counter_pool_fini()
[all …]
/Linux-v4.19/arch/m68k/atari/
Dstram.c49 static unsigned long pool_size = 1024*1024; variable
58 pool_size = memparse(arg, NULL); in atari_stram_setup()
98 stram_pool.start = (resource_size_t)alloc_bootmem_low_pages(pool_size); in atari_stram_reserve_pages()
99 stram_pool.end = stram_pool.start + pool_size - 1; in atari_stram_reserve_pages()
103 pool_size, &stram_pool); in atari_stram_reserve_pages()
122 stram_pool.end = stram_pool.start + pool_size - 1; in atari_stram_map_pages()
127 pool_size, &stram_pool); in atari_stram_map_pages()
/Linux-v4.19/arch/mips/cavium-octeon/executive/
Dcvmx-cmd-queue.c114 int pool_size) in cvmx_cmd_queue_initialize() argument
137 if ((pool_size < 128) || (pool_size > 65536)) in cvmx_cmd_queue_initialize()
156 if ((pool_size >> 3) - 1 != qstate->pool_size_m1) { in cvmx_cmd_queue_initialize()
185 qstate->pool_size_m1 = (pool_size >> 3) - 1; in cvmx_cmd_queue_initialize()
/Linux-v4.19/drivers/infiniband/core/
Dfmr_pool.c86 int pool_size; member
250 pool->pool_size = 0; in ib_create_fmr_pool()
280 for (i = 0; i < params->pool_size; ++i) { in ib_create_fmr_pool()
299 ++pool->pool_size; in ib_create_fmr_pool()
347 if (i < pool->pool_size) in ib_destroy_fmr_pool()
349 pool->pool_size - i); in ib_destroy_fmr_pool()
/Linux-v4.19/arch/arm/plat-iop/
Dadma.c126 .pool_size = PAGE_SIZE,
131 .pool_size = PAGE_SIZE,
136 .pool_size = 3 * PAGE_SIZE,
/Linux-v4.19/include/rdma/
Dib_fmr_pool.h59 int pool_size; member
/Linux-v4.19/arch/arm/mach-iop13xx/
Dsetup.c306 .pool_size = PAGE_SIZE,
311 .pool_size = PAGE_SIZE,
316 .pool_size = PAGE_SIZE,
/Linux-v4.19/block/
Dbio-integrity.c444 int bioset_integrity_create(struct bio_set *bs, int pool_size) in bioset_integrity_create() argument
450 pool_size, bip_slab)) in bioset_integrity_create()
453 if (biovec_init_pool(&bs->bvec_integrity_pool, pool_size)) { in bioset_integrity_create()
/Linux-v4.19/net/core/
Dpage_pool.c28 if (pool->p.pool_size) in page_pool_init()
29 ring_qsize = pool->p.pool_size; in page_pool_init()
/Linux-v4.19/arch/arm/include/asm/hardware/
Diop_adma.h112 size_t pool_size; member
/Linux-v4.19/include/net/
Dpage_pool.h62 unsigned int pool_size; member
/Linux-v4.19/drivers/mtd/ubi/
Dfastmap.c410 __be32 *pebs, int pool_size, unsigned long long *max_sqnum, in scan_pool() argument
431 dbg_bld("scanning fastmap pool: size = %i", pool_size); in scan_pool()
437 for (i = 0; i < pool_size; i++) { in scan_pool()
568 int ret, i, j, pool_size, wl_pool_size; in ubi_attach_fastmap() local
614 pool_size = be16_to_cpu(fmpl->size); in ubi_attach_fastmap()
619 if (pool_size > UBI_FM_MAX_POOL_SIZE || pool_size < 0) { in ubi_attach_fastmap()
620 ubi_err(ubi, "bad pool size: %i", pool_size); in ubi_attach_fastmap()
764 ret = scan_pool(ubi, ai, fmpl->pebs, pool_size, &max_sqnum, &free); in ubi_attach_fastmap()
/Linux-v4.19/drivers/dma/ppc4xx/
Dadma.h70 size_t pool_size; member
Dadma.c1797 for (; i < (ppc440spe_chan->device->pool_size / db_sz); i++) { in ppc440spe_adma_alloc_chan_resources()
4030 u32 id, pool_size; in ppc440spe_adma_probe() local
4038 pool_size = PAGE_SIZE << 1; in ppc440spe_adma_probe()
4060 pool_size = (id == PPC440SPE_DMA0_ID) ? in ppc440spe_adma_probe()
4062 pool_size <<= 2; in ppc440spe_adma_probe()
4090 adev->pool_size = pool_size; in ppc440spe_adma_probe()
4093 adev->pool_size, &adev->dma_desc_pool, in ppc440spe_adma_probe()
4098 adev->pool_size); in ppc440spe_adma_probe()
4232 dma_free_coherent(adev->dev, adev->pool_size, in ppc440spe_adma_probe()
4288 dma_free_coherent(adev->dev, adev->pool_size, in ppc440spe_adma_remove()
/Linux-v4.19/drivers/misc/
Dibmvmc.h111 __be16 pool_size; /* Maximum number of buffers supported per HMC member
/Linux-v4.19/drivers/char/
Drandom.c648 const int pool_size = r->poolinfo->poolfracbits; in credit_entropy_bits() local
686 unsigned int anfrac = min(pnfrac, pool_size/2); in credit_entropy_bits()
688 ((pool_size - entropy_count)*anfrac*3) >> s; in credit_entropy_bits()
692 } while (unlikely(entropy_count < pool_size-2 && pnfrac)); in credit_entropy_bits()
700 } else if (entropy_count > pool_size) in credit_entropy_bits()
701 entropy_count = pool_size; in credit_entropy_bits()
/Linux-v4.19/drivers/net/ethernet/ibm/
Dibmveth.h114 static int pool_size[] = { 512, 1024 * 2, 1024 * 16, 1024 * 32, 1024 * 64 }; variable
/Linux-v4.19/drivers/dma/
Dmv_xor.h125 size_t pool_size; member
Diop-adma.c437 int num_descs_in_pool = plat_data->pool_size/IOP_ADMA_SLOT_SIZE; in iop_adma_alloc_chan_resources()
1262 dma_free_coherent(&dev->dev, plat_data->pool_size, in iop_adma_remove()
1303 plat_data->pool_size, in iop_adma_probe()
1438 dma_free_coherent(&adev->pdev->dev, plat_data->pool_size, in iop_adma_probe()
/Linux-v4.19/drivers/net/ethernet/neterion/vxge/
Dvxge-config.c1115 blockpool->pool_size--; in __vxge_hw_blockpool_destroy()
1132 u32 pool_size, in __vxge_hw_blockpool_create() argument
1150 blockpool->pool_size = 0; in __vxge_hw_blockpool_create()
1157 for (i = 0; i < pool_size + pool_max; i++) { in __vxge_hw_blockpool_create()
1168 for (i = 0; i < pool_size; i++) { in __vxge_hw_blockpool_create()
1209 blockpool->pool_size++; in __vxge_hw_blockpool_create()
2293 blockpool->pool_size++; in vxge_hw_blockpool_block_add()
2326 if ((blockpool->pool_size + blockpool->req_out) < in __vxge_hw_blockpool_blocks_add()
2388 blockpool->pool_size--; in __vxge_hw_blockpool_malloc()
2408 if (blockpool->pool_size < blockpool->pool_max) in __vxge_hw_blockpool_blocks_remove()
[all …]
/Linux-v4.19/arch/powerpc/platforms/pseries/
Dlparcfg.c249 if (mpp_data.pool_size != -1) in parse_mpp_data()
251 mpp_data.pool_size); in parse_mpp_data()
/Linux-v4.19/arch/powerpc/include/asm/
Dhvcall.h422 unsigned long pool_size; member
/Linux-v4.19/arch/mips/include/asm/octeon/
Dcvmx-cmd-queue.h172 int pool_size);
/Linux-v4.19/drivers/md/
Draid5.h670 int pool_size; /* number of disks in stripeheads in pool */ member
Ddm.c2947 unsigned int pool_size = 0; in dm_alloc_md_mempools() local
2958 pool_size = max(dm_get_reserved_bio_based_ios(), min_pool_size); in dm_alloc_md_mempools()
2961 ret = bioset_init(&pools->io_bs, pool_size, io_front_pad, 0); in dm_alloc_md_mempools()
2964 if (integrity && bioset_integrity_create(&pools->io_bs, pool_size)) in dm_alloc_md_mempools()
2969 pool_size = max(dm_get_reserved_rq_based_ios(), min_pool_size); in dm_alloc_md_mempools()
2977 ret = bioset_init(&pools->bs, pool_size, front_pad, 0); in dm_alloc_md_mempools()
2981 if (integrity && bioset_integrity_create(&pools->bs, pool_size)) in dm_alloc_md_mempools()

12