Lines Matching refs:tstats
1980 * allocate/free: none, lstats, tstats, dstats. none
1984 * @tstats: Tunnel statistics: RX/TX packets, RX/TX bytes
2345 struct pcpu_sw_netstats __percpu *tstats;
2760 struct pcpu_sw_netstats *tstats = this_cpu_ptr(dev->tstats);
2762 u64_stats_update_begin(&tstats->syncp);
2763 u64_stats_add(&tstats->rx_bytes, len);
2764 u64_stats_inc(&tstats->rx_packets);
2765 u64_stats_update_end(&tstats->syncp);
2772 struct pcpu_sw_netstats *tstats = this_cpu_ptr(dev->tstats);
2774 u64_stats_update_begin(&tstats->syncp);
2775 u64_stats_add(&tstats->tx_bytes, len);
2776 u64_stats_add(&tstats->tx_packets, packets);
2777 u64_stats_update_end(&tstats->syncp);