Lines Matching defs:kdata
80 int memcpy_toiovec(struct iovec *iov, unsigned char *kdata, int len)
85 if (copy_to_user(iov->iov_base, kdata, copy))
87 kdata += copy;
103 int memcpy_toiovecend(const struct iovec *iov, unsigned char *kdata,
114 if (copy_to_user(iov->iov_base + offset, kdata, copy))
117 kdata += copy;
131 int memcpy_fromiovec(unsigned char *kdata, struct iovec *iov, int len)
136 if (copy_from_user(kdata, iov->iov_base, copy))
139 kdata += copy;
154 int memcpy_fromiovecend(unsigned char *kdata, const struct iovec *iov,
168 if (copy_from_user(kdata, base, copy))
171 kdata += copy;
187 int csum_partial_copy_fromiovecend(unsigned char *kdata, struct iovec *iov,
211 if (copy_from_user(kdata, base, copy))
213 kdata += copy;
220 *csump = csum_partial(kdata - partial_cnt,
224 if (copy_from_user(kdata, base, par_len))
226 csum = csum_partial(kdata - partial_cnt, 4, csum);
227 kdata += par_len;
238 if (copy_from_user(kdata + copy, base + copy,
245 csum = csum_and_copy_from_user(base, kdata, copy,
251 kdata += copy + partial_cnt;