Lines Matching refs:mib
284 #define IP_INC_STATS(net, field) SNMP_INC_STATS64((net)->mib.ip_statistics, field)
285 #define __IP_INC_STATS(net, field) __SNMP_INC_STATS64((net)->mib.ip_statistics, field)
286 #define IP_ADD_STATS(net, field, val) SNMP_ADD_STATS64((net)->mib.ip_statistics, field, val)
287 #define __IP_ADD_STATS(net, field, val) __SNMP_ADD_STATS64((net)->mib.ip_statistics, field, val)
288 #define IP_UPD_PO_STATS(net, field, val) SNMP_UPD_PO_STATS64((net)->mib.ip_statistics, field, val)
289 #define __IP_UPD_PO_STATS(net, field, val) __SNMP_UPD_PO_STATS64((net)->mib.ip_statistics, field, v…
290 #define NET_INC_STATS(net, field) SNMP_INC_STATS((net)->mib.net_statistics, field)
291 #define __NET_INC_STATS(net, field) __SNMP_INC_STATS((net)->mib.net_statistics, field)
292 #define NET_ADD_STATS(net, field, adnd) SNMP_ADD_STATS((net)->mib.net_statistics, field, adnd)
293 #define __NET_ADD_STATS(net, field, adnd) __SNMP_ADD_STATS((net)->mib.net_statistics, field, adnd)
295 static inline u64 snmp_get_cpu_field(void __percpu *mib, int cpu, int offt) in snmp_get_cpu_field() argument
297 return *(((unsigned long *)per_cpu_ptr(mib, cpu)) + offt); in snmp_get_cpu_field()
300 unsigned long snmp_fold_field(void __percpu *mib, int offt);
302 u64 snmp_get_cpu_field64(void __percpu *mib, int cpu, int offct,
304 u64 snmp_fold_field64(void __percpu *mib, int offt, size_t sync_off);
306 static inline u64 snmp_get_cpu_field64(void __percpu *mib, int cpu, int offct, in snmp_get_cpu_field64() argument
309 return snmp_get_cpu_field(mib, cpu, offct); in snmp_get_cpu_field64()
313 static inline u64 snmp_fold_field64(void __percpu *mib, int offt, size_t syncp_off) in snmp_fold_field64() argument
315 return snmp_fold_field(mib, offt); in snmp_fold_field64()