Lines Matching refs:tstats
104 const struct pcpu_sw_netstats *tstats =
105 per_cpu_ptr(dev->tstats, i);
108 start = u64_stats_fetch_begin_irq(&tstats->syncp);
109 tmp.rx_packets = tstats->rx_packets;
110 tmp.rx_bytes = tstats->rx_bytes;
111 tmp.tx_packets = tstats->tx_packets;
112 tmp.tx_bytes = tstats->tx_bytes;
113 } while (u64_stats_fetch_retry_irq(&tstats->syncp, start));
277 free_percpu(dev->tstats);
1902 dev->tstats = netdev_alloc_pcpu_stats(struct pcpu_sw_netstats);
1903 if (!dev->tstats)
1932 free_percpu(dev->tstats);
1933 dev->tstats = NULL;