Lines Matching full:sum

16 	__u32 sum = (__force u32)csum;  in csum_ipv6_magic()  local
18 sum += (__force u32)saddr->s6_addr32[0]; in csum_ipv6_magic()
19 carry = (sum < (__force u32)saddr->s6_addr32[0]); in csum_ipv6_magic()
20 sum += carry; in csum_ipv6_magic()
22 sum += (__force u32)saddr->s6_addr32[1]; in csum_ipv6_magic()
23 carry = (sum < (__force u32)saddr->s6_addr32[1]); in csum_ipv6_magic()
24 sum += carry; in csum_ipv6_magic()
26 sum += (__force u32)saddr->s6_addr32[2]; in csum_ipv6_magic()
27 carry = (sum < (__force u32)saddr->s6_addr32[2]); in csum_ipv6_magic()
28 sum += carry; in csum_ipv6_magic()
30 sum += (__force u32)saddr->s6_addr32[3]; in csum_ipv6_magic()
31 carry = (sum < (__force u32)saddr->s6_addr32[3]); in csum_ipv6_magic()
32 sum += carry; in csum_ipv6_magic()
34 sum += (__force u32)daddr->s6_addr32[0]; in csum_ipv6_magic()
35 carry = (sum < (__force u32)daddr->s6_addr32[0]); in csum_ipv6_magic()
36 sum += carry; in csum_ipv6_magic()
38 sum += (__force u32)daddr->s6_addr32[1]; in csum_ipv6_magic()
39 carry = (sum < (__force u32)daddr->s6_addr32[1]); in csum_ipv6_magic()
40 sum += carry; in csum_ipv6_magic()
42 sum += (__force u32)daddr->s6_addr32[2]; in csum_ipv6_magic()
43 carry = (sum < (__force u32)daddr->s6_addr32[2]); in csum_ipv6_magic()
44 sum += carry; in csum_ipv6_magic()
46 sum += (__force u32)daddr->s6_addr32[3]; in csum_ipv6_magic()
47 carry = (sum < (__force u32)daddr->s6_addr32[3]); in csum_ipv6_magic()
48 sum += carry; in csum_ipv6_magic()
51 sum += ulen; in csum_ipv6_magic()
52 carry = (sum < ulen); in csum_ipv6_magic()
53 sum += carry; in csum_ipv6_magic()
56 sum += uproto; in csum_ipv6_magic()
57 carry = (sum < uproto); in csum_ipv6_magic()
58 sum += carry; in csum_ipv6_magic()
60 return csum_fold((__force __wsum)sum); in csum_ipv6_magic()