Lines Matching refs:core_stats
10410 if (p && cmpxchg(&dev->core_stats, NULL, p)) in netdev_core_stats_alloc()
10414 return READ_ONCE(dev->core_stats); in netdev_core_stats_alloc()
10444 p = READ_ONCE(dev->core_stats); in dev_get_stats()
10446 const struct net_device_core_stats *core_stats; in dev_get_stats() local
10450 core_stats = per_cpu_ptr(p, i); in dev_get_stats()
10451 storage->rx_dropped += READ_ONCE(core_stats->rx_dropped); in dev_get_stats()
10452 storage->tx_dropped += READ_ONCE(core_stats->tx_dropped); in dev_get_stats()
10453 storage->rx_nohandler += READ_ONCE(core_stats->rx_nohandler); in dev_get_stats()
10454 storage->rx_otherhost_dropped += READ_ONCE(core_stats->rx_otherhost_dropped); in dev_get_stats()
10720 free_percpu(dev->core_stats); in free_netdev()
10721 dev->core_stats = NULL; in free_netdev()