Home
last modified time | relevance | path

Searched refs:pcpu_stats (Results 1 – 4 of 4) sorted by relevance

/include/linux/
Dif_macvlan.h26 struct vlan_pcpu_stats __percpu *pcpu_stats; member
45 struct vlan_pcpu_stats *pcpu_stats; in macvlan_count_rx() local
47 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()
Dif_team.h190 struct team_pcpu_stats __percpu *pcpu_stats; member
Dnetdevice.h2770 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; \
/include/linux/spi/
Dspi.h86 #define SPI_STATISTICS_ADD_TO_FIELD(pcpu_stats, field, count) \ argument
90 __lstats = this_cpu_ptr(pcpu_stats); \
97 #define SPI_STATISTICS_INCREMENT_FIELD(pcpu_stats, field) \ argument
101 __lstats = this_cpu_ptr(pcpu_stats); \