Searched refs:total_stats (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/qualcomm/rmnet/ |
D | rmnet_vnd.c | 129 struct rmnet_vnd_stats total_stats = { }; in rmnet_get_stats64() local 142 total_stats.rx_pkts += snapshot.rx_pkts; in rmnet_get_stats64() 143 total_stats.rx_bytes += snapshot.rx_bytes; in rmnet_get_stats64() 144 total_stats.tx_pkts += snapshot.tx_pkts; in rmnet_get_stats64() 145 total_stats.tx_bytes += snapshot.tx_bytes; in rmnet_get_stats64() 146 total_stats.tx_drops += snapshot.tx_drops; in rmnet_get_stats64() 149 s->rx_packets = total_stats.rx_pkts; in rmnet_get_stats64() 150 s->rx_bytes = total_stats.rx_bytes; in rmnet_get_stats64() 151 s->tx_packets = total_stats.tx_pkts; in rmnet_get_stats64() 152 s->tx_bytes = total_stats.tx_bytes; in rmnet_get_stats64() [all …]
|
/Linux-v6.1/drivers/net/ethernet/freescale/dpaa/ |
D | dpaa_ethtool.c | 180 unsigned int total_stats, num_stats; in dpaa_get_sset_count() local 183 total_stats = num_stats * (DPAA_STATS_PERCPU_LEN + 1) + in dpaa_get_sset_count() 188 return total_stats; in dpaa_get_sset_count() 242 int total_stats, i; in dpaa_get_ethtool_stats() local 245 total_stats = dpaa_get_sset_count(net_dev, ETH_SS_STATS); in dpaa_get_ethtool_stats() 252 memset(data, 0, total_stats * sizeof(u64)); in dpaa_get_ethtool_stats()
|
/Linux-v6.1/lib/kunit/ |
D | test.c | 516 struct kunit_result_stats total_stats = { 0 }; in kunit_run_tests() local 580 kunit_accumulate_stats(&total_stats, param_stats); in kunit_run_tests() 586 kunit_print_suite_stats(suite, suite_stats, total_stats); in kunit_run_tests()
|
/Linux-v6.1/tools/perf/ |
D | builtin-c2c.c | 894 static struct c2c_stats *total_stats(struct hist_entry *he) in total_stats() function 907 #define PERCENT(__h, __f) percent(he_stats(__h)->__f, total_stats(__h)->__f)
|