Home
last modified time | relevance | path

Searched refs:dstats (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/
Dvrf.c133 struct pcpu_dstats *dstats = this_cpu_ptr(dev->dstats); in vrf_rx_stats() local
135 u64_stats_update_begin(&dstats->syncp); in vrf_rx_stats()
136 dstats->rx_pkts++; in vrf_rx_stats()
137 dstats->rx_bytes += len; in vrf_rx_stats()
138 u64_stats_update_end(&dstats->syncp); in vrf_rx_stats()
153 const struct pcpu_dstats *dstats; in vrf_get_stats64() local
157 dstats = per_cpu_ptr(dev->dstats, i); in vrf_get_stats64()
159 start = u64_stats_fetch_begin_irq(&dstats->syncp); in vrf_get_stats64()
160 tbytes = dstats->tx_bytes; in vrf_get_stats64()
161 tpkts = dstats->tx_pkts; in vrf_get_stats64()
[all …]
/Linux-v5.10/include/linux/
Dnetdevice.h2114 struct pcpu_dstats __percpu *dstats; member