Lines Matching refs:pcpu_stats
742 struct team_pcpu_stats *pcpu_stats; in team_handle_frame() local
744 pcpu_stats = this_cpu_ptr(team->pcpu_stats); in team_handle_frame()
745 u64_stats_update_begin(&pcpu_stats->syncp); in team_handle_frame()
746 pcpu_stats->rx_packets++; in team_handle_frame()
747 pcpu_stats->rx_bytes += skb->len; in team_handle_frame()
749 pcpu_stats->rx_multicast++; in team_handle_frame()
750 u64_stats_update_end(&pcpu_stats->syncp); in team_handle_frame()
754 this_cpu_inc(team->pcpu_stats->rx_nohandler); in team_handle_frame()
756 this_cpu_inc(team->pcpu_stats->rx_dropped); in team_handle_frame()
1628 team->pcpu_stats = netdev_alloc_pcpu_stats(struct team_pcpu_stats); in team_init()
1629 if (!team->pcpu_stats) in team_init()
1663 free_percpu(team->pcpu_stats); in team_init()
1692 free_percpu(team->pcpu_stats); in team_destructor()
1726 struct team_pcpu_stats *pcpu_stats; in team_xmit() local
1728 pcpu_stats = this_cpu_ptr(team->pcpu_stats); in team_xmit()
1729 u64_stats_update_begin(&pcpu_stats->syncp); in team_xmit()
1730 pcpu_stats->tx_packets++; in team_xmit()
1731 pcpu_stats->tx_bytes += len; in team_xmit()
1732 u64_stats_update_end(&pcpu_stats->syncp); in team_xmit()
1734 this_cpu_inc(team->pcpu_stats->tx_dropped); in team_xmit()
1861 p = per_cpu_ptr(team->pcpu_stats, i); in team_get_stats64()