Lines Matching full:sum
24 __wsum sum; in csum_and_copy_from_user() local
29 sum = csum_partial_copy_generic((__force const void *)src, dst, len); in csum_and_copy_from_user()
31 return sum; in csum_and_copy_from_user()
46 __wsum sum; in csum_and_copy_to_user() local
51 sum = csum_partial_copy_generic(src, (void __force *)dst, len); in csum_and_copy_to_user()
53 return sum; in csum_and_copy_to_user()
73 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic() argument
78 (__force __u64)sum; in csum_ipv6_magic()
80 asm(" addq (%[saddr]),%[sum]\n" in csum_ipv6_magic()
81 " adcq 8(%[saddr]),%[sum]\n" in csum_ipv6_magic()
82 " adcq (%[daddr]),%[sum]\n" in csum_ipv6_magic()
83 " adcq 8(%[daddr]),%[sum]\n" in csum_ipv6_magic()
84 " adcq $0,%[sum]\n" in csum_ipv6_magic()
86 : [sum] "=r" (sum64) in csum_ipv6_magic()
87 : "[sum]" (rest), [saddr] "r" (saddr), [daddr] "r" (daddr)); in csum_ipv6_magic()