Lines Matching refs:iovec
406 struct iovec iov = { .iov_base = buf, .iov_len = len }; in new_sync_read()
509 struct iovec iov = { .iov_base = (void __user *)buf, .iov_len = len }; in new_sync_write()
757 struct iovec iovec = iov_iter_iovec(iter); in do_loop_readv_writev() local
761 nr = filp->f_op->read(filp, iovec.iov_base, in do_loop_readv_writev()
762 iovec.iov_len, ppos); in do_loop_readv_writev()
764 nr = filp->f_op->write(filp, iovec.iov_base, in do_loop_readv_writev()
765 iovec.iov_len, ppos); in do_loop_readv_writev()
774 if (nr != iovec.iov_len) in do_loop_readv_writev()
911 static ssize_t vfs_readv(struct file *file, const struct iovec __user *vec, in vfs_readv()
914 struct iovec iovstack[UIO_FASTIOV]; in vfs_readv()
915 struct iovec *iov = iovstack; in vfs_readv()
928 static ssize_t vfs_writev(struct file *file, const struct iovec __user *vec, in vfs_writev()
931 struct iovec iovstack[UIO_FASTIOV]; in vfs_writev()
932 struct iovec *iov = iovstack; in vfs_writev()
946 static ssize_t do_readv(unsigned long fd, const struct iovec __user *vec, in do_readv()
970 static ssize_t do_writev(unsigned long fd, const struct iovec __user *vec, in do_writev()
1000 static ssize_t do_preadv(unsigned long fd, const struct iovec __user *vec, in do_preadv()
1023 static ssize_t do_pwritev(unsigned long fd, const struct iovec __user *vec, in do_pwritev()
1046 SYSCALL_DEFINE3(readv, unsigned long, fd, const struct iovec __user *, vec, in SYSCALL_DEFINE3()
1052 SYSCALL_DEFINE3(writev, unsigned long, fd, const struct iovec __user *, vec, in SYSCALL_DEFINE3()
1058 SYSCALL_DEFINE5(preadv, unsigned long, fd, const struct iovec __user *, vec, in SYSCALL_DEFINE5()
1066 SYSCALL_DEFINE6(preadv2, unsigned long, fd, const struct iovec __user *, vec, in SYSCALL_DEFINE6()
1078 SYSCALL_DEFINE5(pwritev, unsigned long, fd, const struct iovec __user *, vec, in SYSCALL_DEFINE5()
1086 SYSCALL_DEFINE6(pwritev2, unsigned long, fd, const struct iovec __user *, vec, in SYSCALL_DEFINE6()
1106 const struct iovec __user *, vec, in COMPAT_SYSCALL_DEFINE4()
1114 const struct iovec __user *, vec, in COMPAT_SYSCALL_DEFINE5()
1124 const struct iovec __user *, vec, in COMPAT_SYSCALL_DEFINE5()
1134 const struct iovec __user *, vec, in COMPAT_SYSCALL_DEFINE6()
1147 const struct iovec __user *, vec, in COMPAT_SYSCALL_DEFINE4()
1155 const struct iovec __user *,vec, in COMPAT_SYSCALL_DEFINE5()
1165 const struct iovec __user *, vec, in COMPAT_SYSCALL_DEFINE5()
1175 const struct iovec __user *,vec, in COMPAT_SYSCALL_DEFINE6()