Lines Matching refs:iov
494 const struct iovec *iov; member
506 const struct iovec *iov, unsigned long nr_segs) in fuse_copy_init() argument
512 cs->iov = iov; in fuse_copy_init()
543 cs->seglen = cs->iov[0].iov_len; in fuse_copy_fill()
544 cs->addr = (unsigned long) cs->iov[0].iov_base; in fuse_copy_fill()
545 cs->iov++; in fuse_copy_fill()
702 const struct iovec *iov, unsigned long nr_segs) in fuse_read_interrupt() argument
721 if (iov_length(iov, nr_segs) < reqsize) in fuse_read_interrupt()
724 fuse_copy_init(&cs, fc, 1, NULL, iov, nr_segs); in fuse_read_interrupt()
742 static ssize_t fuse_dev_read(struct kiocb *iocb, const struct iovec *iov, in fuse_dev_read() argument
773 return fuse_read_interrupt(fc, req, iov, nr_segs); in fuse_dev_read()
783 if (iov_length(iov, nr_segs) < reqsize) { in fuse_dev_read()
792 fuse_copy_init(&cs, fc, 1, req, iov, nr_segs); in fuse_dev_read()
903 static ssize_t fuse_dev_write(struct kiocb *iocb, const struct iovec *iov, in fuse_dev_write() argument
907 unsigned nbytes = iov_length(iov, nr_segs); in fuse_dev_write()
915 fuse_copy_init(&cs, fc, 0, NULL, iov, nr_segs); in fuse_dev_write()