Lines Matching refs:__force
52 return (__force __wsum)-1; /* invalid checksum */ in csum_and_copy_to_user()
59 u32 res = (__force u32)csum; in csum_add()
60 res += (__force u32)addend; in csum_add()
61 return (__force __wsum)(res + (res < (__force u32)addend)); in csum_add()
72 u16 res = (__force u16)csum; in csum16_add()
74 res += (__force u16)addend; in csum16_add()
75 return (__force __sum16)(res + (res < (__force u16)addend)); in csum16_add()
86 u32 sum = (__force u32)csum2; in csum_block_add()
92 return csum_add(csum, (__force __wsum)sum); in csum_block_add()
109 return (__force __wsum)n; in csum_unfold()
117 #define CSUM_MANGLED_0 ((__force __sum16)0xffff)
126 __wsum tmp = csum_sub(~csum_unfold(*sum), (__force __wsum)from); in csum_replace4()
128 *sum = csum_fold(csum_add(tmp, (__force __wsum)to)); in csum_replace4()
155 inet_proto_csum_replace4(sum, skb, (__force __be32)from, in inet_proto_csum_replace2()
156 (__force __be32)to, pseudohdr); in inet_proto_csum_replace2()
169 delta = csum_sub((__force __wsum)csum_fold(csum), in remcsum_adjust()
170 (__force __wsum)*psum); in remcsum_adjust()
178 *psum = csum_fold(csum_sub(delta, (__force __wsum)*psum)); in remcsum_unadjust()