Home
last modified time | relevance | path

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

/include/net/
Dsnmp.h156 #define SNMP_ADD_STATS_BH(mib, field, addend) \ argument
157 (per_cpu_ptr(mib[0], raw_smp_processor_id())->mibs[field] += addend)
158 #define SNMP_ADD_STATS_USER(mib, field, addend) \ argument
160 per_cpu_ptr(mib[1], get_cpu())->mibs[field] += addend; \
Dchecksum.h60 static inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() argument
63 res += (__force u32)addend; in csum_add()
64 return (__force __wsum)(res + (res < (__force u32)addend)); in csum_add()
67 static inline __wsum csum_sub(__wsum csum, __wsum addend) in csum_sub() argument
69 return csum_add(csum, ~addend); in csum_sub()