Searched refs:addend (Results 1 – 4 of 4) sorted by relevance
/include/net/ |
D | snmp.h | 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 148 this_cpu_add(ptr[basefield##OCTETS], addend); \ 150 #define __SNMP_UPD_PO_STATS(mib, basefield, addend) \ argument 154 __this_cpu_add(ptr[basefield##OCTETS], addend); \ 160 #define __SNMP_ADD_STATS64(mib, field, addend) \ argument 164 ptr->mibs[field] += addend; \ [all …]
|
D | checksum.h | 57 static __always_inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() argument 60 res += (__force u32)addend; in csum_add() 61 return (__force __wsum)(res + (res < (__force u32)addend)); in csum_add() 65 static __always_inline __wsum csum_sub(__wsum csum, __wsum addend) in csum_sub() argument 67 return csum_add(csum, ~addend); in csum_sub() 70 static __always_inline __sum16 csum16_add(__sum16 csum, __be16 addend) in csum16_add() argument 74 res += (__force u16)addend; in csum16_add() 75 return (__force __sum16)(res + (res < (__force u16)addend)); in csum16_add() 78 static __always_inline __sum16 csum16_sub(__sum16 csum, __be16 addend) in csum16_sub() argument 80 return csum16_add(csum, ~addend); in csum16_sub()
|
D | gre.h | 54 int addend = 4; in gre_calc_hlen() local 57 addend += 4; in gre_calc_hlen() 59 addend += 4; in gre_calc_hlen() 61 addend += 4; in gre_calc_hlen() 62 return addend; in gre_calc_hlen()
|
/include/linux/netfilter/ |
D | x_tables.h | 366 unsigned int addend; in xt_write_recseq_begin() local 372 addend = (__this_cpu_read(xt_recseq.sequence) + 1) & 1; in xt_write_recseq_begin() 379 __this_cpu_add(xt_recseq.sequence, addend); in xt_write_recseq_begin() 382 return addend; in xt_write_recseq_begin() 393 static inline void xt_write_recseq_end(unsigned int addend) in xt_write_recseq_end() argument 397 __this_cpu_add(xt_recseq.sequence, addend); in xt_write_recseq_end()
|