/linux-6.6.21/drivers/net/ethernet/netronome/nfp/ |
D | nfp_shared_buf.c | 27 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()
|
D | nfp_devlink.c | 117 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()
|
D | nfp_main.h | 187 struct devlink_sb_pool_info *pool_info);
|
/linux-6.6.21/drivers/md/ |
D | raid1.h | 63 struct pool_info { struct 119 struct pool_info *poolinfo;
|
D | raid1.c | 132 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/ |
D | ocelot_devlink.c | 538 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()
|
D | ocelot_net.c | 46 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/ |
D | sb.c | 269 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/ |
D | devlink.c | 25 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/ |
D | spectrum_buffers.c | 1356 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()
|
D | core.h | 361 struct devlink_sb_pool_info *pool_info);
|
D | spectrum.h | 586 struct devlink_sb_pool_info *pool_info);
|
D | core.c | 1374 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/ |
D | felix.c | 1889 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/ |
D | dsa.h | 1143 struct devlink_sb_pool_info *pool_info);
|
D | devlink.h | 1283 struct devlink_sb_pool_info *pool_info);
|
/linux-6.6.21/include/soc/mscc/ |
D | ocelot.h | 1096 struct devlink_sb_pool_info *pool_info);
|