Lines Matching refs:sum
14 extern __wsum csum_partial(const void *buff, int len, __wsum sum);
16 int len, __wsum sum);
18 int len, __wsum sum,
21 extern __wsum csum_partial(const void *buff, int len, __wsum sum);
26 __wsum sum);
28 static inline __sum16 csum_fold(__wsum sum) in csum_fold() argument
33 : "=r" (sum) in csum_fold()
34 : "r" (sum << 16), "0" (sum & 0xffff0000) in csum_fold()
37 return (~sum) >> 16; in csum_fold()
44 __wsum sum) in csum_tcpudp_nofold() argument
56 : "=r" (sum) in csum_tcpudp_nofold()
57 : "r" (daddr), "r"(saddr), "r"(tmp), "0"(sum) in csum_tcpudp_nofold()
60 return sum; in csum_tcpudp_nofold()
71 __wsum sum) in csum_tcpudp_magic() argument
73 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
83 __wsum sum, int *err_ptr);