Lines Matching refs:__sum16
72 static __always_inline __sum16 csum16_add(__sum16 csum, __be16 addend) in csum16_add()
77 return (__force __sum16)(res + (res < (__force u16)addend)); in csum16_add()
80 static __always_inline __sum16 csum16_sub(__sum16 csum, __be16 addend) in csum16_sub()
113 static __always_inline __wsum csum_unfold(__sum16 n) in csum_unfold()
124 #define CSUM_MANGLED_0 ((__force __sum16)0xffff)
126 static __always_inline void csum_replace_by_diff(__sum16 *sum, __wsum diff) in csum_replace_by_diff()
131 static __always_inline void csum_replace4(__sum16 *sum, __be32 from, __be32 to) in csum_replace4()
144 static __always_inline void csum_replace2(__sum16 *sum, __be16 old, __be16 new) in csum_replace2()
155 void inet_proto_csum_replace4(__sum16 *sum, struct sk_buff *skb,
157 void inet_proto_csum_replace16(__sum16 *sum, struct sk_buff *skb,
160 void inet_proto_csum_replace_by_diff(__sum16 *sum, struct sk_buff *skb,
164 void inet_proto_csum_replace2(__sum16 *sum, struct sk_buff *skb, in inet_proto_csum_replace2()
174 __sum16 *psum = (__sum16 *)(ptr + offset); in remcsum_adjust()
188 static __always_inline void remcsum_unadjust(__sum16 *psum, __wsum delta) in remcsum_unadjust()