Lines Matching refs:tx_stats
171 struct netfront_stats __percpu *tx_stats;
617 struct netfront_stats *tx_stats = this_cpu_ptr(np->tx_stats);
635 u64_stats_update_begin(&tx_stats->syncp);
636 tx_stats->bytes += xdpf->len;
637 tx_stats->packets++;
638 u64_stats_update_end(&tx_stats->syncp);
710 struct netfront_stats *tx_stats = this_cpu_ptr(np->tx_stats);
846 u64_stats_update_begin(&tx_stats->syncp);
847 tx_stats->bytes += skb->len;
848 tx_stats->packets++;
849 u64_stats_update_end(&tx_stats->syncp);
1391 struct netfront_stats *tx_stats = per_cpu_ptr(np->tx_stats, cpu);
1396 start = u64_stats_fetch_begin(&tx_stats->syncp);
1397 tx_packets = tx_stats->packets;
1398 tx_bytes = tx_stats->bytes;
1399 } while (u64_stats_fetch_retry(&tx_stats->syncp, start));
1703 free_percpu(np->tx_stats);
1726 np->tx_stats = netdev_alloc_pcpu_stats(struct netfront_stats);
1727 if (np->tx_stats == NULL)