Lines Matching refs:FIELD
182 #define NET_DEV_STAT(FIELD) \
184 unsigned long FIELD; \
185 atomic_long_t __##FIELD; \
4018 #define DEV_CORE_STATS_INC(FIELD) \
4019 static inline void dev_core_stats_##FIELD##_inc(struct net_device *dev) \
4025 this_cpu_inc(p->FIELD); \
5236 #define DEV_STATS_INC(DEV, FIELD) atomic_long_inc(&(DEV)->stats.__##FIELD)
5237 #define DEV_STATS_ADD(DEV, FIELD, VAL) \
5238 atomic_long_add((VAL), &(DEV)->stats.__##FIELD)
5239 #define DEV_STATS_READ(DEV, FIELD) atomic_long_read(&(DEV)->stats.__##FIELD)