Lines Matching refs:pcpu_stats
461 struct netvsc_vf_pcpu_stats *pcpu_stats
464 u64_stats_update_begin(&pcpu_stats->syncp);
465 pcpu_stats->tx_packets++;
466 pcpu_stats->tx_bytes += len;
467 u64_stats_update_end(&pcpu_stats->syncp);
1449 }, pcpu_stats[] = {
1478 #define NETVSC_PCPU_STATS_LEN (num_present_cpus() * ARRAY_SIZE(pcpu_stats))
1569 for (j = 0; j < ARRAY_SIZE(pcpu_stats); j++)
1571 + pcpu_stats[j].offset);
1606 for (i = 0; i < ARRAY_SIZE(pcpu_stats); i++)
1607 ethtool_sprintf(&p, pcpu_stats[i].name, cpu);
2172 struct netvsc_vf_pcpu_stats *pcpu_stats
2183 u64_stats_update_begin(&pcpu_stats->syncp);
2184 pcpu_stats->rx_packets++;
2185 pcpu_stats->rx_bytes += skb->len;
2186 u64_stats_update_end(&pcpu_stats->syncp);