Home
last modified time | relevance | path

Searched refs:iovec (Results 1 – 6 of 6) sorted by relevance

/fs/
Dread_write.c405 struct iovec iov = { .iov_base = buf, .iov_len = len }; in new_sync_read()
476 struct iovec iov = { .iov_base = (void __user *)buf, .iov_len = len }; in new_sync_write()
713 struct iovec iovec = iov_iter_iovec(iter); in do_loop_readv_writev() local
717 nr = filp->f_op->read(filp, iovec.iov_base, in do_loop_readv_writev()
718 iovec.iov_len, ppos); in do_loop_readv_writev()
720 nr = filp->f_op->write(filp, iovec.iov_base, in do_loop_readv_writev()
721 iovec.iov_len, ppos); in do_loop_readv_writev()
730 if (nr != iovec.iov_len) in do_loop_readv_writev()
767 ssize_t rw_copy_check_uvector(int type, const struct iovec __user * uvector, in rw_copy_check_uvector()
769 struct iovec *fast_pointer, in rw_copy_check_uvector()
[all …]
Dio_uring.c1240 const struct sqe_submit *s, struct iovec **iovec, in io_import_iovec() argument
1260 *iovec = NULL; in io_import_iovec()
1270 iovec, iter); in io_import_iovec()
1273 return import_iovec(rw, buf, sqe_len, UIO_FASTIOV, iovec, iter); in io_import_iovec()
1355 struct iovec iovec; in loop_rw_iter() local
1359 iovec = iov_iter_iovec(iter); in loop_rw_iter()
1362 iovec.iov_base = kmap(iter->bvec->bv_page) in loop_rw_iter()
1364 iovec.iov_len = min(iter->count, in loop_rw_iter()
1369 nr = file->f_op->read(file, iovec.iov_base, in loop_rw_iter()
1370 iovec.iov_len, &kiocb->ki_pos); in loop_rw_iter()
[all …]
Daio.c1481 struct iovec **iovec, bool vectored, bool compat, in aio_setup_rw() argument
1488 ssize_t ret = import_single_range(rw, buf, len, *iovec, iter); in aio_setup_rw()
1489 *iovec = NULL; in aio_setup_rw()
1494 return compat_import_iovec(rw, buf, len, UIO_FASTIOV, iovec, in aio_setup_rw()
1497 return import_iovec(rw, buf, len, UIO_FASTIOV, iovec, iter); in aio_setup_rw()
1523 struct iovec inline_vecs[UIO_FASTIOV], *iovec = inline_vecs; in aio_read() local
1538 ret = aio_setup_rw(READ, iocb, &iovec, vectored, compat, &iter); in aio_read()
1544 kfree(iovec); in aio_read()
1551 struct iovec inline_vecs[UIO_FASTIOV], *iovec = inline_vecs; in aio_write() local
1566 ret = aio_setup_rw(WRITE, iocb, &iovec, vectored, compat, &iter); in aio_write()
[all …]
Dsplice.c359 res = vfs_readv(file, (const struct iovec __user *)vec, vlen, &pos, 0); in kernel_readv()
1361 SYSCALL_DEFINE4(vmsplice, int, fd, const struct iovec __user *, uiov, in SYSCALL_DEFINE4()
1364 struct iovec iovstack[UIO_FASTIOV]; in SYSCALL_DEFINE4()
1365 struct iovec *iov = iovstack; in SYSCALL_DEFINE4()
1390 struct iovec iovstack[UIO_FASTIOV]; in COMPAT_SYSCALL_DEFINE4()
1391 struct iovec *iov = iovstack; in COMPAT_SYSCALL_DEFINE4()
/fs/fuse/
Dfile.c2566 static int fuse_copy_ioctl_iovec_old(struct iovec *dst, void *src, in fuse_copy_ioctl_iovec_old()
2591 if (count * sizeof(struct iovec) != transferred) in fuse_copy_ioctl_iovec_old()
2599 static int fuse_verify_ioctl_iov(struct fuse_conn *fc, struct iovec *iov, in fuse_verify_ioctl_iov()
2613 static int fuse_copy_ioctl_iovec(struct fuse_conn *fc, struct iovec *dst, in fuse_copy_ioctl_iovec()
2707 struct iovec *iov_page = NULL; in fuse_do_ioctl()
2708 struct iovec *in_iov = NULL, *out_iov = NULL; in fuse_do_ioctl()
2733 iov_page = (struct iovec *) __get_free_page(GFP_KERNEL); in fuse_do_ioctl()
2744 struct iovec *iov = iov_page; in fuse_do_ioctl()
/fs/ocfs2/cluster/
Dtcp.c1042 caller_bytes = iov_length((struct iovec *)caller_vec, caller_veclen); in o2net_send_message_vec()