Searched refs:dstats (Results 1 – 3 of 3) sorted by relevance
64 const struct pcpu_dstats *dstats; in dummy_get_stats64() local68 dstats = per_cpu_ptr(dev->dstats, i); in dummy_get_stats64()70 start = u64_stats_fetch_begin_irq(&dstats->syncp); in dummy_get_stats64()71 tbytes = dstats->tx_bytes; in dummy_get_stats64()72 tpackets = dstats->tx_packets; in dummy_get_stats64()73 } while (u64_stats_fetch_retry_irq(&dstats->syncp, start)); in dummy_get_stats64()81 struct pcpu_dstats *dstats = this_cpu_ptr(dev->dstats); in dummy_xmit() local83 u64_stats_update_begin(&dstats->syncp); in dummy_xmit()84 dstats->tx_packets++; in dummy_xmit()85 dstats->tx_bytes += skb->len; in dummy_xmit()[all …]
69 struct pcpu_dstats *dstats = this_cpu_ptr(dev->dstats); in vrf_rx_stats() local71 u64_stats_update_begin(&dstats->syncp); in vrf_rx_stats()72 dstats->rx_pkts++; in vrf_rx_stats()73 dstats->rx_bytes += len; in vrf_rx_stats()74 u64_stats_update_end(&dstats->syncp); in vrf_rx_stats()89 const struct pcpu_dstats *dstats; in vrf_get_stats64() local93 dstats = per_cpu_ptr(dev->dstats, i); in vrf_get_stats64()95 start = u64_stats_fetch_begin_irq(&dstats->syncp); in vrf_get_stats64()96 tbytes = dstats->tx_bytes; in vrf_get_stats64()97 tpkts = dstats->tx_pkts; in vrf_get_stats64()[all …]
1978 struct pcpu_dstats __percpu *dstats; member