Searched refs:dstats (Results 1 – 3 of 3) sorted by relevance
66 const struct pcpu_dstats *dstats; in dummy_get_stats64() local70 dstats = per_cpu_ptr(dev->dstats, i); in dummy_get_stats64()72 start = u64_stats_fetch_begin_irq(&dstats->syncp); in dummy_get_stats64()73 tbytes = dstats->tx_bytes; in dummy_get_stats64()74 tpackets = dstats->tx_packets; in dummy_get_stats64()75 } while (u64_stats_fetch_retry_irq(&dstats->syncp, start)); in dummy_get_stats64()83 struct pcpu_dstats *dstats = this_cpu_ptr(dev->dstats); in dummy_xmit() local85 u64_stats_update_begin(&dstats->syncp); in dummy_xmit()86 dstats->tx_packets++; in dummy_xmit()87 dstats->tx_bytes += skb->len; in dummy_xmit()[all …]
65 struct pcpu_dstats *dstats = this_cpu_ptr(dev->dstats); in vrf_rx_stats() local67 u64_stats_update_begin(&dstats->syncp); in vrf_rx_stats()68 dstats->rx_pkts++; in vrf_rx_stats()69 dstats->rx_bytes += len; in vrf_rx_stats()70 u64_stats_update_end(&dstats->syncp); in vrf_rx_stats()85 const struct pcpu_dstats *dstats; in vrf_get_stats64() local89 dstats = per_cpu_ptr(dev->dstats, i); in vrf_get_stats64()91 start = u64_stats_fetch_begin_irq(&dstats->syncp); in vrf_get_stats64()92 tbytes = dstats->tx_bytes; in vrf_get_stats64()93 tpkts = dstats->tx_pkts; in vrf_get_stats64()[all …]
2019 struct pcpu_dstats __percpu *dstats; member