Searched refs:dstats (Results 1 – 2 of 2) sorted by relevance
63 const struct pcpu_dstats *dstats; in dummy_get_stats64() local67 dstats = per_cpu_ptr(dev->dstats, i); in dummy_get_stats64()69 start = u64_stats_fetch_begin_irq(&dstats->syncp); in dummy_get_stats64()70 tbytes = dstats->tx_bytes; in dummy_get_stats64()71 tpackets = dstats->tx_packets; in dummy_get_stats64()72 } 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 …]
1720 struct pcpu_dstats __percpu *dstats; member