Searched refs:total_stats (Results 1 – 2 of 2) sorted by relevance
134 struct rmnet_vnd_stats total_stats = { }; in rmnet_get_stats64() local147 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 …]
122 unsigned int total_stats, num_stats; in dpaa_get_sset_count() local125 total_stats = num_stats * (DPAA_STATS_PERCPU_LEN + 1) + in dpaa_get_sset_count()130 return total_stats; in dpaa_get_sset_count()184 int total_stats, i; in dpaa_get_ethtool_stats() local187 total_stats = dpaa_get_sset_count(net_dev, ETH_SS_STATS); in dpaa_get_ethtool_stats()194 memset(data, 0, total_stats * sizeof(u64)); in dpaa_get_ethtool_stats()
Completed in 7 milliseconds