Searched refs:total_stats (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/qualcomm/rmnet/ |
| D | rmnet_vnd.c | 107 struct rmnet_vnd_stats total_stats; in rmnet_get_stats64() local 111 memset(&total_stats, 0, sizeof(struct rmnet_vnd_stats)); in rmnet_get_stats64() 118 total_stats.rx_pkts += pcpu_ptr->stats.rx_pkts; in rmnet_get_stats64() 119 total_stats.rx_bytes += pcpu_ptr->stats.rx_bytes; in rmnet_get_stats64() 120 total_stats.tx_pkts += pcpu_ptr->stats.tx_pkts; in rmnet_get_stats64() 121 total_stats.tx_bytes += pcpu_ptr->stats.tx_bytes; in rmnet_get_stats64() 124 total_stats.tx_drops += pcpu_ptr->stats.tx_drops; in rmnet_get_stats64() 127 s->rx_packets = total_stats.rx_pkts; in rmnet_get_stats64() 128 s->rx_bytes = total_stats.rx_bytes; in rmnet_get_stats64() 129 s->tx_packets = total_stats.tx_pkts; in rmnet_get_stats64() [all …]
|
| /Linux-v5.4/drivers/net/ethernet/freescale/dpaa/ |
| D | dpaa_ethtool.c | 223 unsigned int total_stats, num_stats; in dpaa_get_sset_count() local 226 total_stats = num_stats * (DPAA_STATS_PERCPU_LEN + DPAA_BPS_NUM) + in dpaa_get_sset_count() 231 return total_stats; in dpaa_get_sset_count() 281 int total_stats, i, j; in dpaa_get_ethtool_stats() local 284 total_stats = dpaa_get_sset_count(net_dev, ETH_SS_STATS); in dpaa_get_ethtool_stats() 291 memset(data, 0, total_stats * sizeof(u64)); in dpaa_get_ethtool_stats()
|
| /Linux-v5.4/tools/perf/ |
| D | builtin-c2c.c | 900 static struct c2c_stats *total_stats(struct hist_entry *he) in total_stats() function 913 #define PERCENT(__h, __f) percent(he_stats(__h)->__f, total_stats(__h)->__f)
|