Lines Matching +full:1 +full:mib
4 * SNMP MIB entries for the IP subsystem.
10 * however need to collect the MIB statistics and export them
127 #define __SNMP_INC_STATS(mib, field) \ argument
128 __this_cpu_inc(mib->mibs[field])
130 #define SNMP_INC_STATS_ATOMIC_LONG(mib, field) \ argument
131 atomic_long_inc(&mib->mibs[field])
133 #define SNMP_INC_STATS(mib, field) \ argument
134 this_cpu_inc(mib->mibs[field])
136 #define SNMP_DEC_STATS(mib, field) \ argument
137 this_cpu_dec(mib->mibs[field])
139 #define __SNMP_ADD_STATS(mib, field, addend) \ argument
140 __this_cpu_add(mib->mibs[field], addend)
142 #define SNMP_ADD_STATS(mib, field, addend) \ argument
143 this_cpu_add(mib->mibs[field], addend)
144 #define SNMP_UPD_PO_STATS(mib, basefield, addend) \ argument
146 __typeof__((mib->mibs) + 0) ptr = mib->mibs; \
150 #define __SNMP_UPD_PO_STATS(mib, basefield, addend) \ argument
152 __typeof__((mib->mibs) + 0) ptr = mib->mibs; \
160 #define __SNMP_ADD_STATS64(mib, field, addend) \ argument
162 __typeof__(*mib) *ptr = raw_cpu_ptr(mib); \
168 #define SNMP_ADD_STATS64(mib, field, addend) \ argument
171 __SNMP_ADD_STATS64(mib, field, addend); \
175 #define __SNMP_INC_STATS64(mib, field) SNMP_ADD_STATS64(mib, field, 1) argument
176 #define SNMP_INC_STATS64(mib, field) SNMP_ADD_STATS64(mib, field, 1) argument
177 #define __SNMP_UPD_PO_STATS64(mib, basefield, addend) \ argument
179 __typeof__(*mib) *ptr; \
180 ptr = raw_cpu_ptr((mib)); \
186 #define SNMP_UPD_PO_STATS64(mib, basefield, addend) \ argument
189 __SNMP_UPD_PO_STATS64(mib, basefield, addend); \
193 #define __SNMP_INC_STATS64(mib, field) __SNMP_INC_STATS(mib, field) argument
194 #define SNMP_INC_STATS64(mib, field) SNMP_INC_STATS(mib, field) argument
195 #define SNMP_DEC_STATS64(mib, field) SNMP_DEC_STATS(mib, field) argument
196 #define __SNMP_ADD_STATS64(mib, field, addend) __SNMP_ADD_STATS(mib, field, addend) argument
197 #define SNMP_ADD_STATS64(mib, field, addend) SNMP_ADD_STATS(mib, field, addend) argument
198 #define SNMP_UPD_PO_STATS64(mib, basefield, addend) SNMP_UPD_PO_STATS(mib, basefield, addend) argument
199 #define __SNMP_UPD_PO_STATS64(mib, basefield, addend) __SNMP_UPD_PO_STATS(mib, basefield, addend) argument