total_stats 223 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c unsigned int total_stats, num_stats; total_stats 226 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c total_stats = num_stats * (DPAA_STATS_PERCPU_LEN + DPAA_BPS_NUM) + total_stats 231 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c return total_stats; total_stats 281 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c int total_stats, i, j; total_stats 284 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c total_stats = dpaa_get_sset_count(net_dev, ETH_SS_STATS); total_stats 291 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c memset(data, 0, total_stats * sizeof(u64)); total_stats 107 drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c struct rmnet_vnd_stats total_stats; total_stats 111 drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c memset(&total_stats, 0, sizeof(struct rmnet_vnd_stats)); total_stats 118 drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c total_stats.rx_pkts += pcpu_ptr->stats.rx_pkts; total_stats 119 drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c total_stats.rx_bytes += pcpu_ptr->stats.rx_bytes; total_stats 120 drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c total_stats.tx_pkts += pcpu_ptr->stats.tx_pkts; total_stats 121 drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c total_stats.tx_bytes += pcpu_ptr->stats.tx_bytes; total_stats 124 drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c total_stats.tx_drops += pcpu_ptr->stats.tx_drops; total_stats 127 drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c s->rx_packets = total_stats.rx_pkts; total_stats 128 drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c s->rx_bytes = total_stats.rx_bytes; total_stats 129 drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c s->tx_packets = total_stats.tx_pkts; total_stats 130 drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c s->tx_bytes = total_stats.tx_bytes; total_stats 131 drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c s->tx_dropped = total_stats.tx_drops; total_stats 915 tools/perf/builtin-c2c.c #define PERCENT(__h, __f) percent(he_stats(__h)->__f, total_stats(__h)->__f)