Lines Matching refs:iovec

395 	struct iovec iov = { .iov_base = buf, .iov_len = len };  in new_sync_read()
498 struct iovec iov = { .iov_base = (void __user *)buf, .iov_len = len }; in new_sync_write()
746 struct iovec iovec = iov_iter_iovec(iter); in do_loop_readv_writev() local
750 nr = filp->f_op->read(filp, iovec.iov_base, in do_loop_readv_writev()
751 iovec.iov_len, ppos); in do_loop_readv_writev()
753 nr = filp->f_op->write(filp, iovec.iov_base, in do_loop_readv_writev()
754 iovec.iov_len, ppos); in do_loop_readv_writev()
763 if (nr != iovec.iov_len) in do_loop_readv_writev()
900 static ssize_t vfs_readv(struct file *file, const struct iovec __user *vec, in vfs_readv()
903 struct iovec iovstack[UIO_FASTIOV]; in vfs_readv()
904 struct iovec *iov = iovstack; in vfs_readv()
917 static ssize_t vfs_writev(struct file *file, const struct iovec __user *vec, in vfs_writev()
920 struct iovec iovstack[UIO_FASTIOV]; in vfs_writev()
921 struct iovec *iov = iovstack; in vfs_writev()
935 static ssize_t do_readv(unsigned long fd, const struct iovec __user *vec, in do_readv()
959 static ssize_t do_writev(unsigned long fd, const struct iovec __user *vec, in do_writev()
989 static ssize_t do_preadv(unsigned long fd, const struct iovec __user *vec, in do_preadv()
1012 static ssize_t do_pwritev(unsigned long fd, const struct iovec __user *vec, in do_pwritev()
1035 SYSCALL_DEFINE3(readv, unsigned long, fd, const struct iovec __user *, vec, in SYSCALL_DEFINE3()
1041 SYSCALL_DEFINE3(writev, unsigned long, fd, const struct iovec __user *, vec, in SYSCALL_DEFINE3()
1047 SYSCALL_DEFINE5(preadv, unsigned long, fd, const struct iovec __user *, vec, in SYSCALL_DEFINE5()
1055 SYSCALL_DEFINE6(preadv2, unsigned long, fd, const struct iovec __user *, vec, in SYSCALL_DEFINE6()
1067 SYSCALL_DEFINE5(pwritev, unsigned long, fd, const struct iovec __user *, vec, in SYSCALL_DEFINE5()
1075 SYSCALL_DEFINE6(pwritev2, unsigned long, fd, const struct iovec __user *, vec, in SYSCALL_DEFINE6()
1095 const struct iovec __user *, vec, in COMPAT_SYSCALL_DEFINE4()
1103 const struct iovec __user *, vec, in COMPAT_SYSCALL_DEFINE5()
1113 const struct iovec __user *, vec, in COMPAT_SYSCALL_DEFINE5()
1123 const struct iovec __user *, vec, in COMPAT_SYSCALL_DEFINE6()
1136 const struct iovec __user *, vec, in COMPAT_SYSCALL_DEFINE4()
1144 const struct iovec __user *,vec, in COMPAT_SYSCALL_DEFINE5()
1154 const struct iovec __user *, vec, in COMPAT_SYSCALL_DEFINE5()
1164 const struct iovec __user *,vec, in COMPAT_SYSCALL_DEFINE6()