Home
last modified time | relevance | path

Searched refs:pool_info (Results 1 – 11 of 11) sorted by relevance

/drivers/net/ethernet/netronome/nfp/
Dnfp_shared_buf.c27 struct devlink_sb_pool_info *pool_info) in nfp_shared_buf_pool_get() argument
48 pool_info->pool_type = le32_to_cpu(get_data.pool_type); in nfp_shared_buf_pool_get()
49 pool_info->threshold_type = le32_to_cpu(get_data.threshold_type); in nfp_shared_buf_pool_get()
50 pool_info->size = le32_to_cpu(get_data.size) * unit_size; in nfp_shared_buf_pool_get()
51 pool_info->cell_size = unit_size; in nfp_shared_buf_pool_get()
Dnfp_devlink.c137 u16 pool_index, struct devlink_sb_pool_info *pool_info) in nfp_devlink_sb_pool_get() argument
141 return nfp_shared_buf_pool_get(pf, sb_index, pool_index, pool_info); in nfp_devlink_sb_pool_get()
Dnfp_main.h186 struct devlink_sb_pool_info *pool_info);
/drivers/atm/
Dzatm.c198 offset = zatm_dev->pool_info[pool].offset+ in refill_pool()
206 if (free >= zatm_dev->pool_info[pool].low_water) return; in refill_pool()
213 while (free < zatm_dev->pool_info[pool].high_water) { in refill_pool()
287 if (!(zatm_dev->pool_info[pool].ref_count++)) { in use_pool()
293 zpokel(zatm_dev,((zatm_dev->pool_info[pool].low_water/4) << in use_pool()
304 DPRINTK("pool %d: %d\n",pool,zatm_dev->pool_info[pool].ref_count); in use_pool()
310 if (!(--ZATM_DEV(dev)->pool_info[pool].ref_count)) in unuse_pool()
615 zatm_dev->pool_info[i].ref_count = 0; in start_rx()
616 zatm_dev->pool_info[i].rqa_count = 0; in start_rx()
617 zatm_dev->pool_info[i].rqu_count = 0; in start_rx()
[all …]
Dzatm.h69 struct zatm_pool_info pool_info[NR_POOLS]; /* pool information */ member
/drivers/md/
Draid1.h63 struct pool_info { struct
120 struct pool_info *poolinfo;
Draid1.c115 struct pool_info *pi = data; in r1bio_pool_alloc()
131 struct pool_info *pi = data; in r1buf_pool_alloc()
203 struct pool_info *pi = data; in r1buf_pool_free()
3239 struct pool_info *newpoolinfo; in raid1_reshape()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_buffers.c988 struct devlink_sb_pool_info *pool_info) in mlxsw_sp_sb_pool_get() argument
996 pool_info->pool_type = (enum devlink_sb_pool_type) dir; in mlxsw_sp_sb_pool_get()
997 pool_info->size = mlxsw_sp_cells_bytes(mlxsw_sp, pr->size); in mlxsw_sp_sb_pool_get()
998 pool_info->threshold_type = (enum devlink_sb_threshold_type) pr->mode; in mlxsw_sp_sb_pool_get()
999 pool_info->cell_size = mlxsw_sp->sb->cell_size; in mlxsw_sp_sb_pool_get()
Dcore.h266 struct devlink_sb_pool_info *pool_info);
Dcore.c775 struct devlink_sb_pool_info *pool_info) in mlxsw_devlink_sb_pool_get() argument
783 pool_index, pool_info); in mlxsw_devlink_sb_pool_get()
Dspectrum.h396 struct devlink_sb_pool_info *pool_info);