Home
last modified time | relevance | path

Searched refs:net_device_core_stats (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/include/linux/
Dnetdevice.h218 struct net_device_core_stats { struct
2136 struct net_device_core_stats __percpu *core_stats;
4005 struct net_device_core_stats __percpu *netdev_core_stats_alloc(struct net_device *dev);
4007 static inline struct net_device_core_stats __percpu *dev_core_stats(struct net_device *dev) in dev_core_stats()
4010 struct net_device_core_stats __percpu *p = READ_ONCE(dev->core_stats); in dev_core_stats()
4021 struct net_device_core_stats __percpu *p; \
/linux-6.6.21/net/core/
Ddev.c10565 struct net_device_core_stats __percpu *netdev_core_stats_alloc(struct net_device *dev) in netdev_core_stats_alloc()
10567 struct net_device_core_stats __percpu *p; in netdev_core_stats_alloc()
10569 p = alloc_percpu_gfp(struct net_device_core_stats, in netdev_core_stats_alloc()
10594 const struct net_device_core_stats __percpu *p; in dev_get_stats()
10608 const struct net_device_core_stats *core_stats; in dev_get_stats()