Home
last modified time | relevance | path

Searched refs:total_stats (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_vnd.c134 struct rmnet_vnd_stats total_stats = { }; in rmnet_get_stats64() local
147 total_stats.rx_pkts += snapshot.rx_pkts; in rmnet_get_stats64()
148 total_stats.rx_bytes += snapshot.rx_bytes; in rmnet_get_stats64()
149 total_stats.tx_pkts += snapshot.tx_pkts; in rmnet_get_stats64()
150 total_stats.tx_bytes += snapshot.tx_bytes; in rmnet_get_stats64()
151 total_stats.tx_drops += snapshot.tx_drops; in rmnet_get_stats64()
154 s->rx_packets = total_stats.rx_pkts; in rmnet_get_stats64()
155 s->rx_bytes = total_stats.rx_bytes; in rmnet_get_stats64()
156 s->tx_packets = total_stats.tx_pkts; in rmnet_get_stats64()
157 s->tx_bytes = total_stats.tx_bytes; in rmnet_get_stats64()
[all …]
/linux/tools/perf/
H A Dbuiltin-c2c.c883 static struct c2c_stats *total_stats(struct hist_entry *he) in total_stats() function
896 #define PERCENT(__h, __f) percent(he_stats(__h)->__f, total_stats(__h)->__f)