Lines Matching refs:pcpu_stats
756 struct team_pcpu_stats *pcpu_stats; in team_handle_frame() local
758 pcpu_stats = this_cpu_ptr(team->pcpu_stats); in team_handle_frame()
759 u64_stats_update_begin(&pcpu_stats->syncp); in team_handle_frame()
760 pcpu_stats->rx_packets++; in team_handle_frame()
761 pcpu_stats->rx_bytes += skb->len; in team_handle_frame()
763 pcpu_stats->rx_multicast++; in team_handle_frame()
764 u64_stats_update_end(&pcpu_stats->syncp); in team_handle_frame()
768 this_cpu_inc(team->pcpu_stats->rx_nohandler); in team_handle_frame()
770 this_cpu_inc(team->pcpu_stats->rx_dropped); in team_handle_frame()
1609 team->pcpu_stats = netdev_alloc_pcpu_stats(struct team_pcpu_stats); in team_init()
1610 if (!team->pcpu_stats) in team_init()
1642 free_percpu(team->pcpu_stats); in team_init()
1670 free_percpu(team->pcpu_stats); in team_destructor()
1696 struct team_pcpu_stats *pcpu_stats; in team_xmit() local
1698 pcpu_stats = this_cpu_ptr(team->pcpu_stats); in team_xmit()
1699 u64_stats_update_begin(&pcpu_stats->syncp); in team_xmit()
1700 pcpu_stats->tx_packets++; in team_xmit()
1701 pcpu_stats->tx_bytes += len; in team_xmit()
1702 u64_stats_update_end(&pcpu_stats->syncp); in team_xmit()
1704 this_cpu_inc(team->pcpu_stats->tx_dropped); in team_xmit()
1832 p = per_cpu_ptr(team->pcpu_stats, i); in team_get_stats64()