/linux-6.1.9/arch/m68k/atari/ |
D | stram.c | 48 static unsigned long pool_size = 1024*1024; variable 57 pool_size = memparse(arg, NULL); in atari_stram_setup() 97 stram_pool.start = (resource_size_t)memblock_alloc_low(pool_size, in atari_stram_reserve_pages() 101 __func__, pool_size, PAGE_SIZE); in atari_stram_reserve_pages() 103 stram_pool.end = stram_pool.start + pool_size - 1; in atari_stram_reserve_pages() 107 pool_size, &stram_pool); in atari_stram_reserve_pages() 126 stram_pool.end = stram_pool.start + pool_size - 1; in atari_stram_map_pages() 131 pool_size, &stram_pool); in atari_stram_map_pages()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_cnt.c | 22 u64 pool_size; member 139 &pool->pool_size); in mlxsw_sp_counter_pool_init() 145 pool->usage = bitmap_zalloc(pool->pool_size, GFP_KERNEL); in mlxsw_sp_counter_pool_init() 173 WARN_ON(find_first_bit(pool->usage, pool->pool_size) != in mlxsw_sp_counter_pool_fini() 174 pool->pool_size); in mlxsw_sp_counter_pool_fini() 231 if (WARN_ON(counter_index >= pool->pool_size)) in mlxsw_sp_counter_free() 250 u64 pool_size; in mlxsw_sp_counter_resources_register() local 259 pool_size = MLXSW_CORE_RES_GET(mlxsw_core, COUNTER_POOL_SIZE); in mlxsw_sp_counter_resources_register() 262 devlink_resource_size_params_init(&size_params, pool_size, in mlxsw_sp_counter_resources_register() 263 pool_size, bank_size, in mlxsw_sp_counter_resources_register() [all …]
|
/linux-6.1.9/kernel/dma/ |
D | pool.c | 79 static int atomic_pool_expand(struct gen_pool *pool, size_t pool_size, in atomic_pool_expand() argument 88 order = min(get_order(pool_size), MAX_ORDER-1); in atomic_pool_expand() 91 pool_size = 1 << (PAGE_SHIFT + order); in atomic_pool_expand() 101 arch_dma_prep_coherent(page, pool_size); in atomic_pool_expand() 104 addr = dma_common_contiguous_remap(page, pool_size, in atomic_pool_expand() 121 pool_size, NUMA_NO_NODE); in atomic_pool_expand() 125 dma_atomic_pool_size_add(gfp, pool_size); in atomic_pool_expand() 137 dma_common_free_remap(addr, pool_size); in atomic_pool_expand() 162 static __init struct gen_pool *__dma_atomic_pool_init(size_t pool_size, in __dma_atomic_pool_init() argument 174 ret = atomic_pool_expand(pool, pool_size, gfp); in __dma_atomic_pool_init() [all …]
|
/linux-6.1.9/drivers/net/ethernet/mscc/ |
D | ocelot_devlink.c | 359 buf_shr_i = ocelot->pool_size[OCELOT_SB_BUF][OCELOT_SB_POOL_ING] - in ocelot_setup_sharing_watermarks() 361 buf_shr_e = ocelot->pool_size[OCELOT_SB_BUF][OCELOT_SB_POOL_EGR] - in ocelot_setup_sharing_watermarks() 363 ref_shr_i = ocelot->pool_size[OCELOT_SB_REF][OCELOT_SB_POOL_ING] - in ocelot_setup_sharing_watermarks() 365 ref_shr_e = ocelot->pool_size[OCELOT_SB_REF][OCELOT_SB_POOL_EGR] - in ocelot_setup_sharing_watermarks() 391 if (buf_rsrv_i > ocelot->pool_size[OCELOT_SB_BUF][OCELOT_SB_POOL_ING]) { in ocelot_watermark_validate() 396 if (buf_rsrv_e > ocelot->pool_size[OCELOT_SB_BUF][OCELOT_SB_POOL_EGR]) { in ocelot_watermark_validate() 401 if (ref_rsrv_i > ocelot->pool_size[OCELOT_SB_REF][OCELOT_SB_POOL_ING]) { in ocelot_watermark_validate() 406 if (ref_rsrv_e > ocelot->pool_size[OCELOT_SB_REF][OCELOT_SB_POOL_EGR]) { in ocelot_watermark_validate() 515 pool_info->size = ocelot->pool_size[sb_index][pool_index]; in ocelot_sb_pool_get() 554 old_pool_size = ocelot->pool_size[sb_index][pool_index]; in ocelot_sb_pool_set() [all …]
|
/linux-6.1.9/arch/mips/cavium-octeon/executive/ |
D | cvmx-cmd-queue.c | 110 int pool_size) in cvmx_cmd_queue_initialize() argument 133 if ((pool_size < 128) || (pool_size > 65536)) in cvmx_cmd_queue_initialize() 152 if ((pool_size >> 3) - 1 != qstate->pool_size_m1) { in cvmx_cmd_queue_initialize() 181 qstate->pool_size_m1 = (pool_size >> 3) - 1; in cvmx_cmd_queue_initialize()
|
/linux-6.1.9/arch/csky/mm/ |
D | tcm.c | 133 u32 pool_size = (u32) (TCM_NR_PAGES * PAGE_SIZE) local 139 u32 pool_size = (u32) (CONFIG_DTCM_NR_PAGES * PAGE_SIZE) 149 ret = gen_pool_add(tcm_pool, tcm_pool_start, pool_size, -1); 156 __func__, pool_size, tcm_pool_start);
|
/linux-6.1.9/arch/arm/mach-iop32x/ |
D | adma.c | 100 .pool_size = PAGE_SIZE, 105 .pool_size = PAGE_SIZE, 110 .pool_size = 3 * PAGE_SIZE,
|
/linux-6.1.9/drivers/media/platform/mediatek/mdp3/ |
D | mtk-mdp3-vpu.c | 162 const size_t pool_size = sizeof(struct mdp_config_pool); in mdp_vpu_dev_init() local 183 if (pool + pool_size - (uintptr_t)vpu->work > mem_size) { in mdp_vpu_dev_init() 186 vpu->work_size, pool_size, mem_size); in mdp_vpu_dev_init() 194 &pool, pool_size, mem_size); in mdp_vpu_dev_init()
|
/linux-6.1.9/block/ |
D | bio-integrity.c | 425 int bioset_integrity_create(struct bio_set *bs, int pool_size) in bioset_integrity_create() argument 431 pool_size, bip_slab)) in bioset_integrity_create() 434 if (biovec_init_pool(&bs->bvec_integrity_pool, pool_size)) { in bioset_integrity_create()
|
/linux-6.1.9/include/linux/platform_data/ |
D | dma-iop32x.h | 103 size_t pool_size; member
|
/linux-6.1.9/drivers/mtd/ubi/ |
D | fastmap.c | 400 __be32 *pebs, int pool_size, unsigned long long *max_sqnum, in scan_pool() argument 421 dbg_bld("scanning fastmap pool: size = %i", pool_size); in scan_pool() 427 for (i = 0; i < pool_size; i++) { in scan_pool() 560 int ret, i, j, pool_size, wl_pool_size; in ubi_attach_fastmap() local 606 pool_size = be16_to_cpu(fmpl->size); in ubi_attach_fastmap() 611 if (pool_size > UBI_FM_MAX_POOL_SIZE || pool_size < 0) { in ubi_attach_fastmap() 612 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-6.1.9/drivers/dma/ppc4xx/ |
D | adma.h | 67 size_t pool_size; member
|
D | adma.c | 1783 for (; i < (ppc440spe_chan->device->pool_size / db_sz); i++) { in ppc440spe_adma_alloc_chan_resources() 4015 u32 id, pool_size; in ppc440spe_adma_probe() local 4023 pool_size = PAGE_SIZE << 1; in ppc440spe_adma_probe() 4045 pool_size = (id == PPC440SPE_DMA0_ID) ? in ppc440spe_adma_probe() 4047 pool_size <<= 2; in ppc440spe_adma_probe() 4075 adev->pool_size = pool_size; in ppc440spe_adma_probe() 4078 adev->pool_size, &adev->dma_desc_pool, in ppc440spe_adma_probe() 4083 adev->pool_size); in ppc440spe_adma_probe() 4216 dma_free_coherent(adev->dev, adev->pool_size, in ppc440spe_adma_probe() 4272 dma_free_coherent(adev->dev, adev->pool_size, in ppc440spe_adma_remove()
|
/linux-6.1.9/drivers/misc/ |
D | ibmvmc.h | 111 __be16 pool_size; /* Maximum number of buffers supported per HMC member
|
/linux-6.1.9/drivers/net/ethernet/intel/i40e/ |
D | i40e_dcb.c | 1633 u32 pool_size[I40E_MAX_TRAFFIC_CLASS]; in i40e_dcb_hw_calculate_pool_sizes() local 1665 pool_size[i] = high_wm[i]; in i40e_dcb_hw_calculate_pool_sizes() 1666 pool_size[i] += I40E_BT2B(I40E_STD_DV_TC(mfs_max, in i40e_dcb_hw_calculate_pool_sizes() 1670 pool_size[i] = (I40E_DCB_WATERMARK_START_FACTOR * in i40e_dcb_hw_calculate_pool_sizes() 1672 high_wm[i] = pool_size[i]; in i40e_dcb_hw_calculate_pool_sizes() 1674 total_pool_size += pool_size[i]; in i40e_dcb_hw_calculate_pool_sizes() 1685 pb_cfg->tc_pool_size[i] = pool_size[i]; in i40e_dcb_hw_calculate_pool_sizes()
|
/linux-6.1.9/drivers/md/ |
D | dm-table.c | 1007 unsigned int min_pool_size = 0, pool_size; in dm_table_alloc_md_mempools() local 1020 pool_size = dm_get_reserved_rq_based_ios(); in dm_table_alloc_md_mempools() 1031 pool_size = max(dm_get_reserved_bio_based_ios(), min_pool_size); in dm_table_alloc_md_mempools() 1037 if (bioset_init(&pools->io_bs, pool_size, io_front_pad, in dm_table_alloc_md_mempools() 1041 bioset_integrity_create(&pools->io_bs, pool_size)) in dm_table_alloc_md_mempools() 1044 if (bioset_init(&pools->bs, pool_size, front_pad, 0)) in dm_table_alloc_md_mempools() 1047 bioset_integrity_create(&pools->bs, pool_size)) in dm_table_alloc_md_mempools()
|
/linux-6.1.9/drivers/net/ethernet/ibm/ |
D | ibmveth.h | 105 static int pool_size[] = { 512, 1024 * 2, 1024 * 16, 1024 * 32, 1024 * 64 }; variable
|
/linux-6.1.9/drivers/dma/ |
D | mv_xor.h | 117 size_t pool_size; member
|
D | iop-adma.c | 427 int num_descs_in_pool = plat_data->pool_size/IOP_ADMA_SLOT_SIZE; in iop_adma_alloc_chan_resources() 1251 dma_free_coherent(&dev->dev, plat_data->pool_size, in iop_adma_remove() 1292 plat_data->pool_size, in iop_adma_probe() 1427 dma_free_coherent(&adev->pdev->dev, plat_data->pool_size, in iop_adma_probe()
|
/linux-6.1.9/Documentation/networking/ |
D | page_pool.rst | 70 * pool_size: size of the ptr_ring 165 pp_params.pool_size = DESC_NUM;
|
/linux-6.1.9/drivers/ufs/core/ |
D | ufshpb.c | 2454 int pool_size; in ufshpb_hpb_lu_prepared() local 2466 pool_size = PAGE_ALIGN(ufshpb_host_map_kbytes * 1024) / PAGE_SIZE; in ufshpb_hpb_lu_prepared() 2467 if (pool_size > tot_active_srgn_pages) { in ufshpb_hpb_lu_prepared() 2522 unsigned int pool_size; in ufshpb_init_mem_wq() local 2532 pool_size = PAGE_ALIGN(ufshpb_host_map_kbytes * 1024) / PAGE_SIZE; in ufshpb_init_mem_wq() 2534 __func__, __LINE__, ufshpb_host_map_kbytes, pool_size); in ufshpb_init_mem_wq() 2536 ufshpb_mctx_pool = mempool_create_slab_pool(pool_size, in ufshpb_init_mem_wq() 2544 ufshpb_page_pool = mempool_create_page_pool(pool_size, 0); in ufshpb_init_mem_wq()
|
/linux-6.1.9/include/net/ |
D | page_pool.h | 77 unsigned int pool_size; member
|
/linux-6.1.9/arch/powerpc/platforms/pseries/ |
D | lparcfg.c | 280 if (mpp_data.pool_size != -1) in parse_mpp_data() 282 mpp_data.pool_size); in parse_mpp_data()
|
/linux-6.1.9/arch/mips/include/asm/octeon/ |
D | cvmx-cmd-queue.h | 172 int pool_size);
|
/linux-6.1.9/drivers/net/ethernet/ti/ |
D | cpsw_priv.c | 1154 pp_params.pool_size = size; in cpsw_create_page_pool() 1169 int ret = 0, pool_size; in cpsw_create_rx_pool() local 1171 pool_size = cpdma_chan_get_rx_buf_num(cpsw->rxv[ch].ch); in cpsw_create_rx_pool() 1172 pool = cpsw_create_page_pool(cpsw, pool_size); in cpsw_create_rx_pool()
|