Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_vnd.c21 struct rmnet_pcpu_stats *pcpu_ptr; in rmnet_vnd_rx_fixup() local
23 pcpu_ptr = this_cpu_ptr(priv->pcpu_stats); in rmnet_vnd_rx_fixup()
25 u64_stats_update_begin(&pcpu_ptr->syncp); in rmnet_vnd_rx_fixup()
26 pcpu_ptr->stats.rx_pkts++; in rmnet_vnd_rx_fixup()
27 pcpu_ptr->stats.rx_bytes += skb->len; in rmnet_vnd_rx_fixup()
28 u64_stats_update_end(&pcpu_ptr->syncp); in rmnet_vnd_rx_fixup()
34 struct rmnet_pcpu_stats *pcpu_ptr; in rmnet_vnd_tx_fixup() local
36 pcpu_ptr = this_cpu_ptr(priv->pcpu_stats); in rmnet_vnd_tx_fixup()
38 u64_stats_update_begin(&pcpu_ptr->syncp); in rmnet_vnd_tx_fixup()
39 pcpu_ptr->stats.tx_pkts++; in rmnet_vnd_tx_fixup()
[all …]