Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/8021q/
Dvlan_dev.c127 struct vlan_pcpu_stats *stats; in vlan_dev_hard_start_xmit()
129 stats = this_cpu_ptr(vlan->vlan_pcpu_stats); in vlan_dev_hard_start_xmit()
135 this_cpu_inc(vlan->vlan_pcpu_stats->tx_dropped); in vlan_dev_hard_start_xmit()
605 vlan->vlan_pcpu_stats = netdev_alloc_pcpu_stats(struct vlan_pcpu_stats); in vlan_dev_init()
606 if (!vlan->vlan_pcpu_stats) in vlan_dev_init()
692 struct vlan_pcpu_stats *p; in vlan_dev_get_stats64()
700 p = per_cpu_ptr(vlan_dev_priv(dev)->vlan_pcpu_stats, i); in vlan_dev_get_stats64()
817 free_percpu(vlan->vlan_pcpu_stats); in vlan_dev_free()
818 vlan->vlan_pcpu_stats = NULL; in vlan_dev_free()
Dvlan_core.c15 struct vlan_pcpu_stats *rx_stats; in vlan_do_receive()
62 rx_stats = this_cpu_ptr(vlan_dev_priv(vlan_dev)->vlan_pcpu_stats); in vlan_do_receive()
/kernel/linux/linux-5.10/include/linux/
Dif_macvlan.h25 struct vlan_pcpu_stats __percpu *pcpu_stats;
43 struct vlan_pcpu_stats *pcpu_stats; in macvlan_count_rx()
Dif_vlan.h118 struct vlan_pcpu_stats { struct
183 struct vlan_pcpu_stats __percpu *vlan_pcpu_stats; member
/kernel/linux/linux-5.10/drivers/net/
Dmacvlan.c569 struct vlan_pcpu_stats *pcpu_stats; in macvlan_start_xmit()
906 vlan->pcpu_stats = netdev_alloc_pcpu_stats(struct vlan_pcpu_stats); in macvlan_init()
934 struct vlan_pcpu_stats *p; in macvlan_dev_get_stats64()