Lines Matching refs:pcpu_stats
750 struct team_pcpu_stats *pcpu_stats; in team_handle_frame() local
752 pcpu_stats = this_cpu_ptr(team->pcpu_stats); in team_handle_frame()
753 u64_stats_update_begin(&pcpu_stats->syncp); in team_handle_frame()
754 u64_stats_inc(&pcpu_stats->rx_packets); in team_handle_frame()
755 u64_stats_add(&pcpu_stats->rx_bytes, skb->len); in team_handle_frame()
757 u64_stats_inc(&pcpu_stats->rx_multicast); in team_handle_frame()
758 u64_stats_update_end(&pcpu_stats->syncp); in team_handle_frame()
762 this_cpu_inc(team->pcpu_stats->rx_nohandler); in team_handle_frame()
764 this_cpu_inc(team->pcpu_stats->rx_dropped); in team_handle_frame()
1639 team->pcpu_stats = netdev_alloc_pcpu_stats(struct team_pcpu_stats); in team_init()
1640 if (!team->pcpu_stats) in team_init()
1672 free_percpu(team->pcpu_stats); in team_init()
1700 free_percpu(team->pcpu_stats); in team_destructor()
1734 struct team_pcpu_stats *pcpu_stats; in team_xmit() local
1736 pcpu_stats = this_cpu_ptr(team->pcpu_stats); in team_xmit()
1737 u64_stats_update_begin(&pcpu_stats->syncp); in team_xmit()
1738 u64_stats_inc(&pcpu_stats->tx_packets); in team_xmit()
1739 u64_stats_add(&pcpu_stats->tx_bytes, len); in team_xmit()
1740 u64_stats_update_end(&pcpu_stats->syncp); in team_xmit()
1742 this_cpu_inc(team->pcpu_stats->tx_dropped); in team_xmit()
1864 p = per_cpu_ptr(team->pcpu_stats, i); in team_get_stats64()