Lines Matching defs:pcpu_stats
428 struct netvsc_vf_pcpu_stats *pcpu_stats
431 u64_stats_update_begin(&pcpu_stats->syncp);
432 pcpu_stats->tx_packets++;
433 pcpu_stats->tx_bytes += len;
434 u64_stats_update_end(&pcpu_stats->syncp);
1417 }, pcpu_stats[] = {
1446 #define NETVSC_PCPU_STATS_LEN (num_present_cpus() * ARRAY_SIZE(pcpu_stats))
1537 for (j = 0; j < ARRAY_SIZE(pcpu_stats); j++)
1539 + pcpu_stats[j].offset);
1574 for (i = 0; i < ARRAY_SIZE(pcpu_stats); i++)
1575 ethtool_sprintf(&p, pcpu_stats[i].name, cpu);
2125 struct netvsc_vf_pcpu_stats *pcpu_stats
2136 u64_stats_update_begin(&pcpu_stats->syncp);
2137 pcpu_stats->rx_packets++;
2138 pcpu_stats->rx_bytes += skb->len;
2139 u64_stats_update_end(&pcpu_stats->syncp);