Lines Matching refs:core_stats
10734 if (p && cmpxchg(&dev->core_stats, NULL, p))
10738 return READ_ONCE(dev->core_stats);
10744 struct net_device_core_stats __percpu *p = READ_ONCE(dev->core_stats);
10786 p = READ_ONCE(dev->core_stats);
10788 const struct net_device_core_stats *core_stats;
10792 core_stats = per_cpu_ptr(p, i);
10793 storage->rx_dropped += READ_ONCE(core_stats->rx_dropped);
10794 storage->tx_dropped += READ_ONCE(core_stats->tx_dropped);
10795 storage->rx_nohandler += READ_ONCE(core_stats->rx_nohandler);
10796 storage->rx_otherhost_dropped += READ_ONCE(core_stats->rx_otherhost_dropped);
11083 free_percpu(dev->core_stats);
11084 dev->core_stats = NULL;