Lines Matching refs:pcpu_stats
509 struct netvsc_vf_pcpu_stats *pcpu_stats in netvsc_vf_xmit() local
512 u64_stats_update_begin(&pcpu_stats->syncp); in netvsc_vf_xmit()
513 pcpu_stats->tx_packets++; in netvsc_vf_xmit()
514 pcpu_stats->tx_bytes += len; in netvsc_vf_xmit()
515 u64_stats_update_end(&pcpu_stats->syncp); in netvsc_vf_xmit()
1462 }, pcpu_stats[] = { variable
1491 #define NETVSC_PCPU_STATS_LEN (num_present_cpus() * ARRAY_SIZE(pcpu_stats))
1572 for (j = 0; j < ARRAY_SIZE(pcpu_stats); j++) in netvsc_get_ethtool_stats()
1574 + pcpu_stats[j].offset); in netvsc_get_ethtool_stats()
1615 for (i = 0; i < ARRAY_SIZE(pcpu_stats); i++) { in netvsc_get_strings()
1616 sprintf(p, pcpu_stats[i].name, cpu); in netvsc_get_strings()
2177 struct netvsc_vf_pcpu_stats *pcpu_stats in netvsc_vf_handle_frame() local
2188 u64_stats_update_begin(&pcpu_stats->syncp); in netvsc_vf_handle_frame()
2189 pcpu_stats->rx_packets++; in netvsc_vf_handle_frame()
2190 pcpu_stats->rx_bytes += skb->len; in netvsc_vf_handle_frame()
2191 u64_stats_update_end(&pcpu_stats->syncp); in netvsc_vf_handle_frame()