Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_vnd.c22 struct rmnet_pcpu_stats *pcpu_ptr; in rmnet_vnd_rx_fixup() local
24 pcpu_ptr = this_cpu_ptr(priv->pcpu_stats); in rmnet_vnd_rx_fixup()
26 u64_stats_update_begin(&pcpu_ptr->syncp); in rmnet_vnd_rx_fixup()
27 pcpu_ptr->stats.rx_pkts++; in rmnet_vnd_rx_fixup()
28 pcpu_ptr->stats.rx_bytes += skb->len; in rmnet_vnd_rx_fixup()
29 u64_stats_update_end(&pcpu_ptr->syncp); in rmnet_vnd_rx_fixup()
35 struct rmnet_pcpu_stats *pcpu_ptr; in rmnet_vnd_tx_fixup_len() local
40 pcpu_ptr->stats.tx_pkts++; in rmnet_vnd_tx_fixup_len()
41 pcpu_ptr->stats.tx_bytes += len; in rmnet_vnd_tx_fixup_len()
42 u64_stats_update_end(&pcpu_ptr->syncp); in rmnet_vnd_tx_fixup_len()
[all …]