Searched refs:dstats (Results 1 – 3 of 3) sorted by relevance
126 struct pcpu_dstats *dstats = this_cpu_ptr(dev->dstats); in vrf_rx_stats() local129 dstats->rx_packets++; in vrf_rx_stats()130 dstats->rx_bytes += len; in vrf_rx_stats()150 dstats = per_cpu_ptr(dev->dstats, i); in vrf_get_stats64()153 tbytes = dstats->tx_bytes; in vrf_get_stats64()154 tpkts = dstats->tx_packets; in vrf_get_stats64()155 tdrops = dstats->tx_drops; in vrf_get_stats64()156 rbytes = dstats->rx_bytes; in vrf_get_stats64()606 struct pcpu_dstats *dstats = this_cpu_ptr(dev->dstats); in vrf_xmit() local609 dstats->tx_packets++; in vrf_xmit()[all …]
2346 struct pcpu_dstats __percpu *dstats; member
10085 v = dev->dstats = netdev_alloc_pcpu_stats(struct pcpu_dstats); in netdev_do_alloc_pcpu_stats()10106 free_percpu(dev->dstats); in netdev_do_free_pcpu_stats()