/linux-6.1.9/io_uring/ |
D | rw.c | 57 struct iovec __user *uiov; in io_iov_buffer_select_prep() 58 struct iovec iov; in io_iov_buffer_select_prep() 356 static struct iovec *__io_import_iovec(int ddir, struct io_kiocb *req, in __io_import_iovec() 363 struct iovec *iovec; in __io_import_iovec() local 394 iovec = s->fast_iov; in __io_import_iovec() 395 ret = __import_iovec(ddir, buf, sqe_len, UIO_FASTIOV, &iovec, iter, in __io_import_iovec() 399 return iovec; in __io_import_iovec() 403 struct iovec **iovec, struct io_rw_state *s, in io_import_iovec() argument 406 *iovec = __io_import_iovec(rw, req, s, issue_flags); in io_import_iovec() 407 if (unlikely(IS_ERR(*iovec))) in io_import_iovec() [all …]
|
D | net.h | 11 struct iovec fast_iov[UIO_FASTIOV]; 13 struct iovec fast_iov_one; 21 struct iovec *free_iov;
|
D | rw.h | 8 struct iovec fast_iov[UIO_FASTIOV]; 13 const struct iovec *free_iovec;
|
/linux-6.1.9/mm/ |
D | process_vm_access.c | 151 const struct iovec *rvec, in process_vm_rw_core() 254 const struct iovec __user *lvec, in process_vm_rw() 256 const struct iovec __user *rvec, in process_vm_rw() 260 struct iovec iovstack_l[UIO_FASTIOV]; in process_vm_rw() 261 struct iovec iovstack_r[UIO_FASTIOV]; in process_vm_rw() 262 struct iovec *iov_l = iovstack_l; in process_vm_rw() 263 struct iovec *iov_r; in process_vm_rw() 291 SYSCALL_DEFINE6(process_vm_readv, pid_t, pid, const struct iovec __user *, lvec, in SYSCALL_DEFINE6() 292 unsigned long, liovcnt, const struct iovec __user *, rvec, in SYSCALL_DEFINE6() 299 const struct iovec __user *, lvec, in SYSCALL_DEFINE6() [all …]
|
D | madvise.c | 1445 SYSCALL_DEFINE5(process_madvise, int, pidfd, const struct iovec __user *, vec, in SYSCALL_DEFINE5() 1449 struct iovec iovstack[UIO_FASTIOV], iovec; in SYSCALL_DEFINE5() local 1450 struct iovec *iov = iovstack; in SYSCALL_DEFINE5() 1496 iovec = iov_iter_iovec(&iter); in SYSCALL_DEFINE5() 1497 ret = do_madvise(mm, (unsigned long)iovec.iov_base, in SYSCALL_DEFINE5() 1498 iovec.iov_len, behavior); in SYSCALL_DEFINE5() 1501 iov_iter_advance(&iter, iovec.iov_len); in SYSCALL_DEFINE5()
|
/linux-6.1.9/include/linux/ |
D | uio.h | 49 const struct iovec *iov; 131 static inline size_t iov_length(const struct iovec *iov, unsigned long nr_segs) in iov_length() 141 static inline struct iovec iov_iter_iovec(const struct iov_iter *iter) in iov_iter_iovec() 143 return (struct iovec) { in iov_iter_iovec() 239 void iov_iter_init(struct iov_iter *i, unsigned int direction, const struct iovec *iov, 329 struct iovec *iovec_from_user(const struct iovec __user *uvector, 331 struct iovec *fast_iov, bool compat); 332 ssize_t import_iovec(int type, const struct iovec __user *uvec, 333 unsigned nr_segs, unsigned fast_segs, struct iovec **iovp, 335 ssize_t __import_iovec(int type, const struct iovec __user *uvec, [all …]
|
D | vringh.h | 89 struct iovec *iov; 117 struct iovec *iovec, unsigned num) in vringh_iov_init() argument 122 iov->iov = iovec; in vringh_iov_init()
|
D | compat.h | 638 const struct iovec __user *vec, 641 const struct iovec __user *vec, 645 const struct iovec __user *vec, 651 const struct iovec __user *vec, 855 const struct iovec __user *vec, 858 const struct iovec __user *vec, 862 const struct iovec __user *vec, 868 const struct iovec __user *vec,
|
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | user_sdma.c | 44 struct user_sdma_iovec *iovec); 302 struct iovec *iovec, unsigned long dim, in hfi1_user_sdma_process_request() argument 321 if (iovec[idx].iov_len < sizeof(info) + sizeof(req->hdr)) { in hfi1_user_sdma_process_request() 326 iovec[idx].iov_len, sizeof(info) + sizeof(req->hdr)); in hfi1_user_sdma_process_request() 329 ret = copy_from_user(&info, iovec[idx].iov_base, sizeof(info)); in hfi1_user_sdma_process_request() 414 ret = copy_from_user(&req->hdr, iovec[idx].iov_base + sizeof(info), in hfi1_user_sdma_process_request() 485 iovec + idx++, in hfi1_user_sdma_process_request() 507 u16 ntids = iovec[idx].iov_len / sizeof(*req->tids); in hfi1_user_sdma_process_request() 521 tmp = memdup_user(iovec[idx].iov_base, in hfi1_user_sdma_process_request() 701 struct user_sdma_iovec *iovec, u32 datalen, in user_sdma_txadd() argument [all …]
|
D | user_sdma.h | 114 struct iovec iov; 210 struct iovec *iovec, unsigned long dim,
|
/linux-6.1.9/tools/testing/selftests/user_events/ |
D | ftrace_test.c | 245 struct iovec io[3]; in TEST_F() 280 ASSERT_EQ(-1, writev(self->data_fd, (const struct iovec *)io, 3)); in TEST_F() 294 ASSERT_NE(-1, writev(self->data_fd, (const struct iovec *)io, 3)); in TEST_F() 301 struct iovec io[2]; in TEST_F() 322 ASSERT_NE(-1, writev(self->data_fd, (const struct iovec *)io, 2)); in TEST_F() 326 ASSERT_NE(-1, writev(self->data_fd, (const struct iovec *)io, 2)); in TEST_F() 332 struct iovec io[3]; in TEST_F() 364 ASSERT_EQ(-1, writev(self->data_fd, (const struct iovec *)io, 1)); in TEST_F() 377 ASSERT_NE(-1, writev(self->data_fd, (const struct iovec *)io, 3)); in TEST_F() 383 ASSERT_EQ(-1, writev(self->data_fd, (const struct iovec *)io, 3)); in TEST_F() [all …]
|
/linux-6.1.9/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace.h | 108 struct iovec iov; in ptrace_read_regs() 128 struct iovec iov; in ptrace_write_regs() 146 struct iovec iov; in show_tar_registers() 192 struct iovec iov; in write_tar_registers() 235 struct iovec iov; in show_tm_checkpointed_state() 283 struct iovec iov; in write_ckpt_tar_registers() 370 struct iovec iov; in show_ckpt_fpr() 394 struct iovec iov; in write_ckpt_fpr() 539 struct iovec iov; in show_ckpt_gpr() 568 struct iovec iov; in write_ckpt_gpr() [all …]
|
/linux-6.1.9/fs/ |
D | read_write.c | 752 struct iovec iovec = iov_iter_iovec(iter); in do_loop_readv_writev() local 756 nr = filp->f_op->read(filp, iovec.iov_base, in do_loop_readv_writev() 757 iovec.iov_len, ppos); in do_loop_readv_writev() 759 nr = filp->f_op->write(filp, iovec.iov_base, in do_loop_readv_writev() 760 iovec.iov_len, ppos); in do_loop_readv_writev() 769 if (nr != iovec.iov_len) in do_loop_readv_writev() 906 static ssize_t vfs_readv(struct file *file, const struct iovec __user *vec, in vfs_readv() 909 struct iovec iovstack[UIO_FASTIOV]; in vfs_readv() 910 struct iovec *iov = iovstack; in vfs_readv() 923 static ssize_t vfs_writev(struct file *file, const struct iovec __user *vec, in vfs_writev() [all …]
|
/linux-6.1.9/drivers/xen/xenbus/ |
D | xenbus_xs.c | 304 const struct kvec *iovec, in xs_talkv() argument 318 req->vec = iovec; in xs_talkv() 328 msg.len += iovec[i].iov_len; in xs_talkv() 360 struct kvec iovec; in xs_single() local 362 iovec.iov_base = (void *)string; in xs_single() 363 iovec.iov_len = strlen(string) + 1; in xs_single() 364 return xs_talkv(t, type, &iovec, 1, len); in xs_single() 483 struct kvec iovec[2]; in xenbus_write() local 490 iovec[0].iov_base = (void *)path; in xenbus_write() 491 iovec[0].iov_len = strlen(path) + 1; in xenbus_write() [all …]
|
/linux-6.1.9/drivers/vhost/ |
D | vhost.h | 110 struct iovec iov[UIO_MAXIOV]; 111 struct iovec iotlb_iov[64]; 112 struct iovec *indirect; 123 struct iovec log_iov[64]; 186 struct iovec iov[], unsigned int iov_count, 207 struct iovec *iov, int count);
|
/linux-6.1.9/arch/x86/um/os-Linux/ |
D | registers.c | 32 struct iovec iov; in save_fp_registers() 55 struct iovec iov; in restore_fp_registers() 130 struct iovec iov; in arch_init_registers()
|
/linux-6.1.9/fs/fuse/ |
D | ioctl.c | 29 static int fuse_copy_ioctl_iovec_old(struct iovec *dst, void *src, in fuse_copy_ioctl_iovec_old() 54 if (count * sizeof(struct iovec) != transferred) in fuse_copy_ioctl_iovec_old() 62 static int fuse_verify_ioctl_iov(struct fuse_conn *fc, struct iovec *iov, in fuse_verify_ioctl_iov() 76 static int fuse_copy_ioctl_iovec(struct fuse_conn *fc, struct iovec *dst, in fuse_copy_ioctl_iovec() 170 struct iovec *iov_page = NULL; in fuse_do_ioctl() 171 struct iovec *in_iov = NULL, *out_iov = NULL; in fuse_do_ioctl() 196 iov_page = (struct iovec *) __get_free_page(GFP_KERNEL); in fuse_do_ioctl() 207 struct iovec *iov = iov_page; in fuse_do_ioctl()
|
/linux-6.1.9/lib/ |
D | iov_iter.c | 129 const struct iovec *iov = i->iov; \ 360 const struct iovec *p; in fault_in_iov_iter_readable() 403 const struct iovec *p; in fault_in_iov_iter_writeable() 425 const struct iovec *iov, unsigned long nr_segs, in iov_iter_init() 877 const struct iovec *iov, *end; in iov_iter_iovec_advance() 966 const struct iovec *iov = i->iov; in iov_iter_revert() 1596 const struct iovec *p; in iov_npages() 1677 new->nr_segs * sizeof(struct iovec), in dup_iter() 1683 static int copy_compat_iovec_from_user(struct iovec *iov, in copy_compat_iovec_from_user() 1684 const struct iovec __user *uvec, unsigned long nr_segs) in copy_compat_iovec_from_user() [all …]
|
/linux-6.1.9/samples/user_events/ |
D | example.c | 67 struct iovec io[2]; in main() 91 writev(data_fd, (const struct iovec *)io, 2); in main()
|
/linux-6.1.9/arch/arm64/kernel/ |
D | mte.c | 421 struct iovec *kiov, unsigned int gup_flags) in __access_remote_tags() 500 struct iovec *kiov, unsigned int gup_flags) in access_remote_tags() 526 struct iovec kiov; in mte_ptrace_copy_tags() 527 struct iovec __user *uiov = (void __user *)data; in mte_ptrace_copy_tags()
|
/linux-6.1.9/include/uapi/linux/ |
D | uio.h | 17 struct iovec struct
|
/linux-6.1.9/tools/io_uring/ |
D | liburing.h | 121 const struct iovec *iovecs, in io_uring_prep_readv() 135 const struct iovec *iovecs, in io_uring_prep_writev()
|
/linux-6.1.9/tools/testing/selftests/net/af_unix/ |
D | diag_uid.c | 102 struct iovec iov = { in send_request() 141 struct iovec iov = { in receive_response()
|
/linux-6.1.9/arch/um/drivers/ |
D | vector_kern.c | 294 struct iovec *iov) in prep_msg() 483 struct iovec *iov; in destroy_queue() 528 struct iovec *iov; in create_queue() 561 sizeof(struct iovec), in create_queue() 566 sizeof(struct iovec), in create_queue() 622 struct iovec *iov = msg->msg_iov; in prep_skb() 841 struct iovec iov[2 + MAX_IOV_SIZE]; /* header + data use case only */ in vector_legacy_rx() 848 hdr.msg_iov = (struct iovec *) &iov; in vector_legacy_rx() 913 struct iovec iov[3 + MAX_IOV_SIZE]; in writev_tx() 917 iov_count = prep_msg(vp, skb, (struct iovec *) &iov); in writev_tx() [all …]
|
/linux-6.1.9/drivers/infiniband/hw/qib/ |
D | qib_user_sdma.h | 42 const struct iovec *iov,
|