Searched refs:pool_info (Results 1 – 11 of 11) sorted by relevance
27 struct devlink_sb_pool_info *pool_info) in nfp_shared_buf_pool_get() argument48 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()
137 u16 pool_index, struct devlink_sb_pool_info *pool_info) in nfp_devlink_sb_pool_get() argument141 return nfp_shared_buf_pool_get(pf, sb_index, pool_index, pool_info); in nfp_devlink_sb_pool_get()
186 struct devlink_sb_pool_info *pool_info);
198 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 …]
69 struct zatm_pool_info pool_info[NR_POOLS]; /* pool information */ member
63 struct pool_info { struct120 struct pool_info *poolinfo;
115 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()
988 struct devlink_sb_pool_info *pool_info) in mlxsw_sp_sb_pool_get() argument996 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()
266 struct devlink_sb_pool_info *pool_info);
775 struct devlink_sb_pool_info *pool_info) in mlxsw_devlink_sb_pool_get() argument783 pool_index, pool_info); in mlxsw_devlink_sb_pool_get()
396 struct devlink_sb_pool_info *pool_info);