netvsc_ethtool_pcpu_stats
struct netvsc_ethtool_pcpu_stats *pcpu_tot)
struct netvsc_ethtool_pcpu_stats *this_tot = &pcpu_tot[i];
struct netvsc_ethtool_pcpu_stats *this_tot =
offsetof(struct netvsc_ethtool_pcpu_stats, rx_packets) },
offsetof(struct netvsc_ethtool_pcpu_stats, rx_bytes) },
offsetof(struct netvsc_ethtool_pcpu_stats, tx_packets) },
offsetof(struct netvsc_ethtool_pcpu_stats, tx_bytes) },
offsetof(struct netvsc_ethtool_pcpu_stats, vf_rx_packets) },
offsetof(struct netvsc_ethtool_pcpu_stats, vf_rx_bytes) },
offsetof(struct netvsc_ethtool_pcpu_stats, vf_tx_packets) },
offsetof(struct netvsc_ethtool_pcpu_stats, vf_tx_bytes) },
struct netvsc_ethtool_pcpu_stats *pcpu_sum;
pcpu_sum = kvmalloc_objs(struct netvsc_ethtool_pcpu_stats, nr_cpu_ids);
struct netvsc_ethtool_pcpu_stats *this_sum = &pcpu_sum[cpu];