summaryrefslogtreecommitdiffstats
path: root/include/linux/uio.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-11-24 01:08:00 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2014-12-08 20:25:22 -0500
commita604ec7e9ffea22fed84db8306585090e7a6e85d (patch)
tree568dc02b8ed5b0ea52f37b2e459e535be7564638 /include/linux/uio.h
parenta280455fa87053eed59de8464200d03ae4caa8c3 (diff)
downloadlinux-a604ec7e9ffea22fed84db8306585090e7a6e85d.tar.gz
linux-a604ec7e9ffea22fed84db8306585090e7a6e85d.tar.bz2
linux-a604ec7e9ffea22fed84db8306585090e7a6e85d.zip
csum_and_copy_..._iter()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/uio.h')
-rw-r--r--include/linux/uio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/uio.h b/include/linux/uio.h
index 6e16945ec832..28ed2d904deb 100644
--- a/include/linux/uio.h
+++ b/include/linux/uio.h
@@ -124,6 +124,8 @@ static inline void iov_iter_reexpand(struct iov_iter *i, size_t count)
{
i->count = count;
}
+size_t csum_and_copy_to_iter(void *addr, size_t bytes, __wsum *csum, struct iov_iter *i);
+size_t csum_and_copy_from_iter(void *addr, size_t bytes, __wsum *csum, struct iov_iter *i);
int memcpy_fromiovec(unsigned char *kdata, struct iovec *iov, int len);
int memcpy_toiovec(struct iovec *iov, unsigned char *kdata, int len);