Home
last modified time | relevance | path

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

/linux-6.6.21/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.c117 u16 pool_index, struct devlink_sb_pool_info *pool_info) in nfp_devlink_sb_pool_get() argument
121 return nfp_shared_buf_pool_get(pf, sb_index, pool_index, pool_info); in nfp_devlink_sb_pool_get()
Dnfp_main.h187 struct devlink_sb_pool_info *pool_info);
/linux-6.6.21/drivers/md/
Draid1.h63 struct pool_info { struct
119 struct pool_info *poolinfo;
Draid1.c132 struct pool_info *pi = data; in r1bio_pool_alloc()
148 struct pool_info *pi = data; in r1buf_pool_alloc()
223 struct pool_info *pi = data; in r1buf_pool_free()
3256 struct pool_info *newpoolinfo; in raid1_reshape()
/linux-6.6.21/drivers/net/ethernet/mscc/
Docelot_devlink.c538 struct devlink_sb_pool_info *pool_info) in ocelot_sb_pool_get() argument
545 *pool_info = ocelot_sb_pool[sb_index]; in ocelot_sb_pool_get()
546 pool_info->size = ocelot->pool_size[sb_index][pool_index]; in ocelot_sb_pool_get()
548 pool_info->pool_type = DEVLINK_SB_POOL_TYPE_INGRESS; in ocelot_sb_pool_get()
550 pool_info->pool_type = DEVLINK_SB_POOL_TYPE_EGRESS; in ocelot_sb_pool_get()
Docelot_net.c46 struct devlink_sb_pool_info *pool_info) in ocelot_devlink_sb_pool_get() argument
50 return ocelot_sb_pool_get(ocelot, sb_index, pool_index, pool_info); in ocelot_devlink_sb_pool_get()
/linux-6.6.21/net/devlink/
Dsb.c269 struct devlink_sb_pool_info pool_info; in devlink_nl_sb_pool_fill() local
274 pool_index, &pool_info); in devlink_nl_sb_pool_fill()
288 if (nla_put_u8(msg, DEVLINK_ATTR_SB_POOL_TYPE, pool_info.pool_type)) in devlink_nl_sb_pool_fill()
290 if (nla_put_u32(msg, DEVLINK_ATTR_SB_POOL_SIZE, pool_info.size)) in devlink_nl_sb_pool_fill()
293 pool_info.threshold_type)) in devlink_nl_sb_pool_fill()
296 pool_info.cell_size)) in devlink_nl_sb_pool_fill()
/linux-6.6.21/net/dsa/
Ddevlink.c25 struct devlink_sb_pool_info *pool_info) in dsa_devlink_sb_pool_get() argument
33 pool_info); in dsa_devlink_sb_pool_get()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_buffers.c1356 struct devlink_sb_pool_info *pool_info) in mlxsw_sp_sb_pool_get() argument
1364 pool_info->pool_type = (enum devlink_sb_pool_type) dir; in mlxsw_sp_sb_pool_get()
1365 pool_info->size = mlxsw_sp_cells_bytes(mlxsw_sp, pr->size); in mlxsw_sp_sb_pool_get()
1366 pool_info->threshold_type = (enum devlink_sb_threshold_type) pr->mode; in mlxsw_sp_sb_pool_get()
1367 pool_info->cell_size = mlxsw_sp->sb->cell_size; in mlxsw_sp_sb_pool_get()
Dcore.h361 struct devlink_sb_pool_info *pool_info);
Dspectrum.h586 struct devlink_sb_pool_info *pool_info);
Dcore.c1374 struct devlink_sb_pool_info *pool_info) in mlxsw_devlink_sb_pool_get() argument
1382 pool_index, pool_info); in mlxsw_devlink_sb_pool_get()
/linux-6.6.21/drivers/net/dsa/ocelot/
Dfelix.c1889 struct devlink_sb_pool_info *pool_info) in felix_sb_pool_get() argument
1893 return ocelot_sb_pool_get(ocelot, sb_index, pool_index, pool_info); in felix_sb_pool_get()
/linux-6.6.21/include/net/
Ddsa.h1143 struct devlink_sb_pool_info *pool_info);
Ddevlink.h1283 struct devlink_sb_pool_info *pool_info);
/linux-6.6.21/include/soc/mscc/
Docelot.h1096 struct devlink_sb_pool_info *pool_info);