Searched refs:vlan_pcpu_stats (Results 1 – 3 of 3) sorted by relevance
181 struct vlan_pcpu_stats *stats; in vlan_dev_hard_start_xmit()183 stats = this_cpu_ptr(vlan->vlan_pcpu_stats); in vlan_dev_hard_start_xmit()189 this_cpu_inc(vlan->vlan_pcpu_stats->tx_dropped); in vlan_dev_hard_start_xmit()604 vlan_dev_priv(dev)->vlan_pcpu_stats = alloc_percpu(struct vlan_pcpu_stats); in vlan_dev_init()605 if (!vlan_dev_priv(dev)->vlan_pcpu_stats) in vlan_dev_init()617 free_percpu(vlan->vlan_pcpu_stats); in vlan_dev_uninit()618 vlan->vlan_pcpu_stats = NULL; in vlan_dev_uninit()662 if (vlan_dev_priv(dev)->vlan_pcpu_stats) { in vlan_dev_get_stats64()663 struct vlan_pcpu_stats *p; in vlan_dev_get_stats64()671 p = per_cpu_ptr(vlan_dev_priv(dev)->vlan_pcpu_stats, i); in vlan_dev_get_stats64()
33 struct vlan_pcpu_stats { struct74 struct vlan_pcpu_stats __percpu *vlan_pcpu_stats; member
14 struct vlan_pcpu_stats *rx_stats; in vlan_do_receive()53 rx_stats = this_cpu_ptr(vlan_dev_priv(vlan_dev)->vlan_pcpu_stats); in vlan_do_receive()