Lines Matching refs:len
30 asmlinkage __wsum csum_partial(const void *buff, int len, __wsum sum);
41 int len, __wsum sum,
52 int len, __wsum sum) in csum_partial_copy_nocheck() argument
54 return csum_partial_copy_generic(src, dst, len, sum, NULL, NULL); in csum_partial_copy_nocheck()
59 int len, __wsum sum, int *err_ptr) in csum_partial_copy_from_user() argument
62 len, sum, err_ptr, NULL); in csum_partial_copy_from_user()
126 unsigned short len, in csum_tcpudp_nofold() argument
132 unsigned long len_proto = (len + proto) << 8; in csum_tcpudp_nofold()
134 unsigned long len_proto = len + proto; in csum_tcpudp_nofold()
160 unsigned short len, in csum_tcpudp_magic() argument
164 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic()
172 static __inline__ __sum16 ip_compute_csum(const void *buff, int len) in ip_compute_csum() argument
174 return csum_fold (csum_partial(buff, len, 0)); in ip_compute_csum()
180 __u32 len, unsigned short proto, in csum_ipv6_magic() argument
234 "r" (htonl(len)), "r" (htonl(proto)), "0" (sum) in csum_ipv6_magic()
245 void __user *dst, int len, in csum_and_copy_to_user() argument
248 if (access_ok(VERIFY_WRITE, dst, len)) in csum_and_copy_to_user()
249 return csum_partial_copy_generic(src,dst,len,sum,NULL,err_ptr); in csum_and_copy_to_user()
251 if (len) in csum_and_copy_to_user()