Lines Matching refs:tstats
1941 * allocate/free: none, lstats, tstats, dstats. none
1945 * @tstats: Tunnel statistics: RX/TX packets, RX/TX bytes
2074 struct pcpu_sw_netstats __percpu *tstats;
2753 struct pcpu_sw_netstats *tstats = this_cpu_ptr(dev->tstats);
2755 u64_stats_update_begin(&tstats->syncp);
2756 u64_stats_add(&tstats->rx_bytes, len);
2757 u64_stats_inc(&tstats->rx_packets);
2758 u64_stats_update_end(&tstats->syncp);
2765 struct pcpu_sw_netstats *tstats = this_cpu_ptr(dev->tstats);
2767 u64_stats_update_begin(&tstats->syncp);
2768 u64_stats_add(&tstats->tx_bytes, len);
2769 u64_stats_add(&tstats->tx_packets, packets);
2770 u64_stats_update_end(&tstats->syncp);