Lines Matching refs:len
26 asmlinkage __wsum csum_partial(const void *buff, int len, __wsum sum);
37 int len, __wsum sum,
49 int len, __wsum sum) in csum_partial_copy_nocheck() argument
51 return csum_partial_copy_generic(src, dst, len, sum, NULL, NULL); in csum_partial_copy_nocheck()
56 int len, __wsum sum, int *err_ptr) in csum_partial_copy_from_user() argument
59 len, sum, err_ptr, NULL); in csum_partial_copy_from_user()
118 unsigned short len, in csum_tcpudp_nofold() argument
123 unsigned long len_proto = (proto + len) << 8; in csum_tcpudp_nofold()
125 unsigned long len_proto = proto + len; in csum_tcpudp_nofold()
145 unsigned short len, in csum_tcpudp_magic() argument
149 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
156 static inline __sum16 ip_compute_csum(const void *buff, int len) in ip_compute_csum() argument
158 return csum_fold(csum_partial(buff, len, 0)); in ip_compute_csum()
164 __u32 len, unsigned short proto, in csum_ipv6_magic() argument
191 "r" (htonl(len)), "r" (htonl(proto)), "0" (sum) in csum_ipv6_magic()
203 int len, __wsum sum, in csum_and_copy_to_user() argument
206 if (access_ok(VERIFY_WRITE, dst, len)) in csum_and_copy_to_user()
208 dst, len, sum, NULL, err_ptr); in csum_and_copy_to_user()
210 if (len) in csum_and_copy_to_user()