Lines Matching refs:sum
30 asmlinkage __wsum csum_partial(const void *buff, int len, __wsum sum);
67 static __inline__ __sum16 csum_fold(__wsum sum) in csum_fold() argument
79 : "=r" (sum), "=&r" (__dummy) in csum_fold()
80 : "0" (sum)); in csum_fold()
81 return (__force __sum16)sum; in csum_fold()
90 unsigned int sum, tmp, endaddr; in ip_fast_csum() local
115 : "=r" (sum), "=r" (iph), "=r" (ihl), "=&r" (tmp), in ip_fast_csum()
120 return csum_fold(sum); in ip_fast_csum()
125 __wsum sum) in csum_tcpudp_nofold() argument
147 : "=r" (sum), "=r" (len_proto) in csum_tcpudp_nofold()
148 : "r" (daddr), "r" (saddr), "1" (len_proto), "0" (sum)); in csum_tcpudp_nofold()
149 return sum; in csum_tcpudp_nofold()
158 __wsum sum) in csum_tcpudp_magic() argument
160 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic()
177 __wsum sum) in csum_ipv6_magic() argument
228 : "=r" (sum), "=&r" (__dummy) in csum_ipv6_magic()
230 "r" (htonl(len)), "r" (htonl(proto)), "0" (sum) in csum_ipv6_magic()
233 return csum_fold(sum); in csum_ipv6_magic()