Lines Matching refs:iovec
271 struct iovec iov = { .iov_base = buf, .iov_len = len };
327 struct iovec iov = { .iov_base = (void __user *)buf, .iov_len = len };
485 * Reduce an iovec's length in-place. Return the resulting number of segments
487 unsigned long iov_shorten(struct iovec *iov, unsigned long nr_segs, size_t to)
505 ssize_t do_sync_readv_writev(struct file *filp, const struct iovec *iov,
530 ssize_t do_loop_readv_writev(struct file *filp, struct iovec *iov,
533 struct iovec *vector = iov;
564 ssize_t rw_copy_check_uvector(int type, const struct iovec __user * uvector,
566 struct iovec *fast_pointer,
567 struct iovec **ret_pointer)
571 struct iovec *iov = fast_pointer;
584 * First get the "struct iovec" from user memory and
592 iov = kmalloc(nr_segs*sizeof(struct iovec), GFP_KERNEL);
633 const struct iovec __user * uvector,
637 struct iovec iovstack[UIO_FASTIOV];
638 struct iovec *iov = iovstack;
685 ssize_t vfs_readv(struct file *file, const struct iovec __user *vec,
698 ssize_t vfs_writev(struct file *file, const struct iovec __user *vec,
711 SYSCALL_DEFINE3(readv, unsigned long, fd, const struct iovec __user *, vec,
732 SYSCALL_DEFINE3(writev, unsigned long, fd, const struct iovec __user *, vec,
759 SYSCALL_DEFINE5(preadv, unsigned long, fd, const struct iovec __user *, vec,
784 SYSCALL_DEFINE5(pwritev, unsigned long, fd, const struct iovec __user *, vec,