Home
last modified time | relevance | path

Searched refs:dstats (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/
H A Dvrf.c134 struct pcpu_dstats *dstats = this_cpu_ptr(dev->dstats); in vrf_rx_stats() local
136 u64_stats_update_begin(&dstats->syncp); in vrf_rx_stats()
137 dstats->rx_pkts++; in vrf_rx_stats()
138 dstats->rx_bytes += len; in vrf_rx_stats()
139 u64_stats_update_end(&dstats->syncp); in vrf_rx_stats()
154 const struct pcpu_dstats *dstats; in vrf_get_stats64() local
158 dstats = per_cpu_ptr(dev->dstats, i); in vrf_get_stats64()
160 start = u64_stats_fetch_begin_irq(&dstats in vrf_get_stats64()
617 struct pcpu_dstats *dstats = this_cpu_ptr(dev->dstats); vrf_xmit() local
[all...]
/kernel/linux/linux-6.6/drivers/net/
H A Dvrf.c126 struct pcpu_dstats *dstats = this_cpu_ptr(dev->dstats); in vrf_rx_stats() local
128 u64_stats_update_begin(&dstats->syncp); in vrf_rx_stats()
129 dstats->rx_packets++; in vrf_rx_stats()
130 dstats->rx_bytes += len; in vrf_rx_stats()
131 u64_stats_update_end(&dstats->syncp); in vrf_rx_stats()
146 const struct pcpu_dstats *dstats; in vrf_get_stats64() local
150 dstats = per_cpu_ptr(dev->dstats, i); in vrf_get_stats64()
152 start = u64_stats_fetch_begin(&dstats in vrf_get_stats64()
606 struct pcpu_dstats *dstats = this_cpu_ptr(dev->dstats); vrf_xmit() local
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dnetdevice.h1832 * @dstats: Dummy statistics
2148 struct pcpu_dstats __percpu *dstats; member
/kernel/linux/linux-6.6/include/linux/
H A Dnetdevice.h1980 * allocate/free: none, lstats, tstats, dstats. none
1985 * @dstats: Dummy statistics: RX/TX/drop packets, RX/TX bytes
2346 struct pcpu_dstats __percpu *dstats; member
/kernel/linux/linux-6.6/net/core/
H A Ddev.c10081 v = dev->dstats = netdev_alloc_pcpu_stats(struct pcpu_dstats); in netdev_do_alloc_pcpu_stats()
10102 free_percpu(dev->dstats); in netdev_do_free_pcpu_stats()

Completed in 35 milliseconds