Searched refs:pcpu_stats (Results 1 – 4 of 4) sorted by relevance
26 struct vlan_pcpu_stats __percpu *pcpu_stats; member45 struct vlan_pcpu_stats *pcpu_stats; in macvlan_count_rx() local47 pcpu_stats = get_cpu_ptr(vlan->pcpu_stats); in macvlan_count_rx()48 u64_stats_update_begin(&pcpu_stats->syncp); in macvlan_count_rx()49 u64_stats_inc(&pcpu_stats->rx_packets); in macvlan_count_rx()50 u64_stats_add(&pcpu_stats->rx_bytes, len); in macvlan_count_rx()52 u64_stats_inc(&pcpu_stats->rx_multicast); in macvlan_count_rx()53 u64_stats_update_end(&pcpu_stats->syncp); in macvlan_count_rx()54 put_cpu_ptr(vlan->pcpu_stats); in macvlan_count_rx()56 this_cpu_inc(vlan->pcpu_stats->rx_errors); in macvlan_count_rx()
190 struct team_pcpu_stats __percpu *pcpu_stats; member
2770 typeof(type) __percpu *pcpu_stats = alloc_percpu_gfp(type, gfp);\2771 if (pcpu_stats) { \2775 stat = per_cpu_ptr(pcpu_stats, __cpu); \2779 pcpu_stats; \2787 typeof(type) __percpu *pcpu_stats = devm_alloc_percpu(dev, type);\2788 if (pcpu_stats) { \2792 stat = per_cpu_ptr(pcpu_stats, __cpu); \2796 pcpu_stats; \
86 #define SPI_STATISTICS_ADD_TO_FIELD(pcpu_stats, field, count) \ argument90 __lstats = this_cpu_ptr(pcpu_stats); \97 #define SPI_STATISTICS_INCREMENT_FIELD(pcpu_stats, field) \ argument101 __lstats = this_cpu_ptr(pcpu_stats); \