Lines Matching full:sum
17 * @isum: initial sum that is added into the result (32bit unfolded)
26 __wsum sum; in csum_and_copy_from_user() local
31 sum = csum_partial_copy_generic((__force const void *)src, dst, len); in csum_and_copy_from_user()
33 return sum; in csum_and_copy_from_user()
41 * @isum: initial sum that is added into the result (32bit unfolded)
50 __wsum sum; in csum_and_copy_to_user() local
55 sum = csum_partial_copy_generic(src, (void __force *)dst, len); in csum_and_copy_to_user()
57 return sum; in csum_and_copy_to_user()
65 * @sum: initial sum that is added into the result (32bit unfolded)
78 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic() argument
83 (__force __u64)sum; in csum_ipv6_magic()
85 asm(" addq (%[saddr]),%[sum]\n" in csum_ipv6_magic()
86 " adcq 8(%[saddr]),%[sum]\n" in csum_ipv6_magic()
87 " adcq (%[daddr]),%[sum]\n" in csum_ipv6_magic()
88 " adcq 8(%[daddr]),%[sum]\n" in csum_ipv6_magic()
89 " adcq $0,%[sum]\n" in csum_ipv6_magic()
91 : [sum] "=r" (sum64) in csum_ipv6_magic()
92 : "[sum]" (rest), [saddr] "r" (saddr), [daddr] "r" (daddr)); in csum_ipv6_magic()