Lines Matching defs:core_stats
11947 if (p && cmpxchg(&dev->core_stats, NULL, p))
11951 return READ_ONCE(dev->core_stats);
11957 struct net_device_core_stats __percpu *p = READ_ONCE(dev->core_stats);
12015 p = READ_ONCE(dev->core_stats);
12017 const struct net_device_core_stats *core_stats;
12021 core_stats = per_cpu_ptr(p, i);
12022 storage->rx_dropped += READ_ONCE(core_stats->rx_dropped);
12023 storage->tx_dropped += READ_ONCE(core_stats->tx_dropped);
12024 storage->rx_nohandler += READ_ONCE(core_stats->rx_nohandler);
12025 storage->rx_otherhost_dropped += READ_ONCE(core_stats->rx_otherhost_dropped);
12341 free_percpu(dev->core_stats);
12342 dev->core_stats = NULL;