Searched refs:stats_base (Results 1 – 8 of 8) sorted by relevance
66 } stats_base; member321 struct mlxsw_sp_qdisc_stats *stats_base = &mlxsw_sp_qdisc->stats_base; in mlxsw_sp_qdisc_update_stats() local323 tx_bytes -= stats_base->tx_bytes; in mlxsw_sp_qdisc_update_stats()324 tx_packets -= stats_base->tx_packets; in mlxsw_sp_qdisc_update_stats()325 drops -= stats_base->drops; in mlxsw_sp_qdisc_update_stats()326 backlog -= stats_base->backlog; in mlxsw_sp_qdisc_update_stats()332 stats_base->backlog += backlog; in mlxsw_sp_qdisc_update_stats()333 stats_base->drops += drops; in mlxsw_sp_qdisc_update_stats()334 stats_base->tx_bytes += tx_bytes; in mlxsw_sp_qdisc_update_stats()335 stats_base->tx_packets += tx_packets; in mlxsw_sp_qdisc_update_stats()[all …]
2218 const u8 *stats_base; in virtnet_get_ethtool_stats() local2224 stats_base = (u8 *)&rq->stats; in virtnet_get_ethtool_stats()2229 data[idx + j] = *(u64 *)(stats_base + offset); in virtnet_get_ethtool_stats()2238 stats_base = (u8 *)&sq->stats; in virtnet_get_ethtool_stats()2243 data[idx + j] = *(u64 *)(stats_base + offset); in virtnet_get_ethtool_stats()
185 const void *stats_base = (void *)&rq_stats->vs; in veth_get_ethtool_stats() local193 data[idx + j] = *(u64 *)(stats_base + offset); in veth_get_ethtool_stats()
1110 void __iomem *stats_base; member
1521 val = readl(port->stats_base + counter->offset); in mvpp2_read_count()1523 val += (u64)readl(port->stats_base + counter->offset + 4) << 32; in mvpp2_read_count()6429 port->stats_base = port->priv->lms_base + in mvpp2_port_probe()6441 port->stats_base = port->priv->iface_base + in mvpp2_port_probe()
671 struct port_stats stats_base; member
363 &pi->stats_base); in get_stats()
3022 &p->stats_base); in cxgb_get_stats()