Searched refs:pcptr (Results 1 - 2 of 2) sorted by relevance

/linux-master/drivers/net/ipvlan/
H A Dipvlan_main.c224 struct ipvl_pcpu_stats *pcptr; local
226 pcptr = this_cpu_ptr(ipvlan->pcpu_stats);
228 u64_stats_update_begin(&pcptr->syncp);
229 u64_stats_inc(&pcptr->tx_pkts);
230 u64_stats_add(&pcptr->tx_bytes, skblen);
231 u64_stats_update_end(&pcptr->syncp);
295 struct ipvl_pcpu_stats *pcptr; local
302 pcptr = per_cpu_ptr(ipvlan->pcpu_stats, idx);
304 strt = u64_stats_fetch_begin(&pcptr->syncp);
305 rx_pkts = u64_stats_read(&pcptr
[all...]
H A Dipvlan_core.c18 struct ipvl_pcpu_stats *pcptr; local
20 pcptr = this_cpu_ptr(ipvlan->pcpu_stats);
21 u64_stats_update_begin(&pcptr->syncp);
22 u64_stats_inc(&pcptr->rx_pkts);
23 u64_stats_add(&pcptr->rx_bytes, len);
25 u64_stats_inc(&pcptr->rx_mcast);
26 u64_stats_update_end(&pcptr->syncp);

Completed in 136 milliseconds