Lines Matching refs:pcpu_stats
736 struct team_pcpu_stats *pcpu_stats; in team_handle_frame() local
738 pcpu_stats = this_cpu_ptr(team->pcpu_stats); in team_handle_frame()
739 u64_stats_update_begin(&pcpu_stats->syncp); in team_handle_frame()
740 pcpu_stats->rx_packets++; in team_handle_frame()
741 pcpu_stats->rx_bytes += skb->len; in team_handle_frame()
743 pcpu_stats->rx_multicast++; in team_handle_frame()
744 u64_stats_update_end(&pcpu_stats->syncp); in team_handle_frame()
748 this_cpu_inc(team->pcpu_stats->rx_dropped); in team_handle_frame()
1571 team->pcpu_stats = netdev_alloc_pcpu_stats(struct team_pcpu_stats); in team_init()
1572 if (!team->pcpu_stats) in team_init()
1604 free_percpu(team->pcpu_stats); in team_init()
1631 free_percpu(team->pcpu_stats); in team_destructor()
1658 struct team_pcpu_stats *pcpu_stats; in team_xmit() local
1660 pcpu_stats = this_cpu_ptr(team->pcpu_stats); in team_xmit()
1661 u64_stats_update_begin(&pcpu_stats->syncp); in team_xmit()
1662 pcpu_stats->tx_packets++; in team_xmit()
1663 pcpu_stats->tx_bytes += len; in team_xmit()
1664 u64_stats_update_end(&pcpu_stats->syncp); in team_xmit()
1666 this_cpu_inc(team->pcpu_stats->tx_dropped); in team_xmit()
1793 p = per_cpu_ptr(team->pcpu_stats, i); in team_get_stats64()