Lines Matching refs:tstats
1155 const struct pcpu_sw_netstats *tstats; in ieee80211_get_stats64() local
1159 tstats = per_cpu_ptr(dev->tstats, i); in ieee80211_get_stats64()
1162 start = u64_stats_fetch_begin_irq(&tstats->syncp); in ieee80211_get_stats64()
1163 rx_packets = tstats->rx_packets; in ieee80211_get_stats64()
1164 tx_packets = tstats->tx_packets; in ieee80211_get_stats64()
1165 rx_bytes = tstats->rx_bytes; in ieee80211_get_stats64()
1166 tx_bytes = tstats->tx_bytes; in ieee80211_get_stats64()
1167 } while (u64_stats_fetch_retry_irq(&tstats->syncp, start)); in ieee80211_get_stats64()
1226 free_percpu(dev->tstats); in ieee80211_if_free()
1821 ndev->tstats = netdev_alloc_pcpu_stats(struct pcpu_sw_netstats); in ieee80211_if_add()
1822 if (!ndev->tstats) { in ieee80211_if_add()