/linux/mm/ |
A 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 …]
|
A D | madvise.c | 1231 SYSCALL_DEFINE5(process_madvise, int, pidfd, const struct iovec __user *, vec, in SYSCALL_DEFINE5() 1235 struct iovec iovstack[UIO_FASTIOV], iovec; in SYSCALL_DEFINE5() local 1236 struct iovec *iov = iovstack; in SYSCALL_DEFINE5() 1282 iovec = iov_iter_iovec(&iter); in SYSCALL_DEFINE5() 1283 ret = do_madvise(mm, (unsigned long)iovec.iov_base, in SYSCALL_DEFINE5() 1284 iovec.iov_len, behavior); in SYSCALL_DEFINE5() 1287 iov_iter_advance(&iter, iovec.iov_len); in SYSCALL_DEFINE5()
|
/linux/include/linux/ |
A D | uio.h | 43 const struct iovec *iov; 114 static inline size_t iov_length(const struct iovec *iov, unsigned long nr_segs) in iov_length() 124 static inline struct iovec iov_iter_iovec(const struct iov_iter *iter) in iov_iter_iovec() 126 return (struct iovec) { in iov_iter_iovec() 308 struct iovec *iovec_from_user(const struct iovec __user *uvector, 310 struct iovec *fast_iov, bool compat); 311 ssize_t import_iovec(int type, const struct iovec __user *uvec, 312 unsigned nr_segs, unsigned fast_segs, struct iovec **iovp, 314 ssize_t __import_iovec(int type, const struct iovec __user *uvec, 315 unsigned nr_segs, unsigned fast_segs, struct iovec **iovp, [all …]
|
A 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()
|
A D | socket.h | 73 struct iovec __user *msg_iov; /* scatter/gather array */ 409 struct iovec **iov); 413 struct iovec **iov); 417 struct iovec __user **uiov, size_t *nsegs);
|
A D | compat.h | 606 const struct iovec __user *vec, 609 const struct iovec __user *vec, 613 const struct iovec __user *vec, 619 const struct iovec __user *vec, 823 const struct iovec __user *vec, 826 const struct iovec __user *vec, 830 const struct iovec __user *vec, 836 const struct iovec __user *vec,
|
A D | syscalls.h | 18 struct iovec; 507 const struct iovec __user *vec, 510 const struct iovec __user *vec, 516 asmlinkage long sys_preadv(unsigned long fd, const struct iovec __user *vec, 518 asmlinkage long sys_pwritev(unsigned long fd, const struct iovec __user *vec, 543 asmlinkage long sys_vmsplice(int fd, const struct iovec __user *iov, 985 const struct iovec __user *lvec, 987 const struct iovec __user *rvec, 991 const struct iovec __user *lvec, 993 const struct iovec __user *rvec, [all …]
|
/linux/drivers/infiniband/hw/hfi1/ |
A D | user_sdma.c | 304 struct iovec *iovec, unsigned long dim, in hfi1_user_sdma_process_request() argument 487 iovec + idx++, in hfi1_user_sdma_process_request() 808 if (READ_ONCE(iovec->offset) == iovec->iov.iov_len) { in user_sdma_send_pkts() 814 WARN_ON(iovec->offset); in user_sdma_send_pkts() 989 struct iovec *iov; in pin_vector_pages() 995 iovec->iov.iov_base, in pin_vector_pages() 1003 iovec->node = node; in pin_vector_pages() 1018 iov = &iovec->iov; in pin_vector_pages() 1030 iovec->npages = npages; in pin_vector_pages() 1031 iovec->node = node; in pin_vector_pages() [all …]
|
A D | user_sdma.h | 114 struct iovec iov; 210 struct iovec *iovec, unsigned long dim,
|
/linux/tools/testing/selftests/powerpc/ptrace/ |
A D | ptrace.h | 104 struct iovec iov; in ptrace_read_regs() 124 struct iovec iov; in ptrace_write_regs() 142 struct iovec iov; in show_tar_registers() 188 struct iovec iov; in write_tar_registers() 231 struct iovec iov; in show_tm_checkpointed_state() 279 struct iovec iov; in write_ckpt_tar_registers() 366 struct iovec iov; in show_ckpt_fpr() 390 struct iovec iov; in write_ckpt_fpr() 471 struct iovec iov; in show_ckpt_gpr() 500 struct iovec iov; in write_ckpt_gpr() [all …]
|
/linux/fs/ |
A D | read_write.c | 742 struct iovec iovec = iov_iter_iovec(iter); in do_loop_readv_writev() local 747 iovec.iov_len, ppos); in do_loop_readv_writev() 750 iovec.iov_len, ppos); in do_loop_readv_writev() 759 if (nr != iovec.iov_len) in do_loop_readv_writev() 900 struct iovec *iov = iovstack; in vfs_readv() 917 struct iovec *iov = iovstack; in vfs_writev() 1091 const struct iovec __user *, vec, in COMPAT_SYSCALL_DEFINE4() 1099 const struct iovec __user *, vec, in COMPAT_SYSCALL_DEFINE5() 1109 const struct iovec __user *, vec, in COMPAT_SYSCALL_DEFINE5() 1140 const struct iovec __user *,vec, in COMPAT_SYSCALL_DEFINE5() [all …]
|
A D | io_uring.c | 3227 struct iovec *iovec; in __io_import_iovec() local 3260 iov_iter_init(iter, rw, iovec, 1, iovec->iov_len); in __io_import_iovec() 3268 return iovec; in __io_import_iovec() 3272 struct iovec **iovec, struct io_rw_state *s, in io_import_iovec() argument 3310 struct iovec iovec; in loop_rw_iter() local 3358 if (!iovec) { in io_req_map_rw() 3521 struct iovec *iovec; in io_read() local 3592 iovec = NULL; in io_read() 3635 if (iovec) in io_read() 3651 struct iovec *iovec; in io_write() local [all …]
|
A D | aio.c | 1480 struct iovec **iovec, bool vectored, bool compat, in aio_setup_rw() argument 1487 ssize_t ret = import_single_range(rw, buf, len, *iovec, iter); in aio_setup_rw() 1488 *iovec = NULL; in aio_setup_rw() 1492 return __import_iovec(rw, buf, len, UIO_FASTIOV, iovec, iter, compat); in aio_setup_rw() 1518 struct iovec inline_vecs[UIO_FASTIOV], *iovec = inline_vecs; in aio_read() local 1533 ret = aio_setup_rw(READ, iocb, &iovec, vectored, compat, &iter); in aio_read() 1539 kfree(iovec); in aio_read() 1546 struct iovec inline_vecs[UIO_FASTIOV], *iovec = inline_vecs; in aio_write() local 1561 ret = aio_setup_rw(WRITE, iocb, &iovec, vectored, compat, &iter); in aio_write() 1580 kfree(iovec); in aio_write()
|
/linux/drivers/xen/xenbus/ |
A 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() 483 struct kvec iovec[2]; in xenbus_write() local 490 iovec[0].iov_base = (void *)path; in xenbus_write() 492 iovec[1].iov_base = (void *)string; in xenbus_write() 493 iovec[1].iov_len = strlen(string); in xenbus_write() [all …]
|
/linux/drivers/vhost/ |
A D | vhost.h | 111 struct iovec iov[UIO_MAXIOV]; 112 struct iovec iotlb_iov[64]; 113 struct iovec *indirect; 124 struct iovec log_iov[64]; 187 struct iovec iov[], unsigned int iov_count, 208 struct iovec *iov, int count);
|
A D | vringh.c | 219 sizeof(struct iovec), gfp); in resize_iovec() 221 new = kmalloc_array(new_num, sizeof(struct iovec), gfp); in resize_iovec() 224 iov->max_num * sizeof(struct iovec)); in resize_iovec() 715 BUILD_BUG_ON(sizeof(struct iovec) != sizeof(struct kvec)); in vringh_getdesc_user() 716 BUILD_BUG_ON(offsetof(struct iovec, iov_base) != in vringh_getdesc_user() 718 BUILD_BUG_ON(offsetof(struct iovec, iov_len) != in vringh_getdesc_user() 720 BUILD_BUG_ON(sizeof(((struct iovec *)NULL)->iov_base) in vringh_getdesc_user() 722 BUILD_BUG_ON(sizeof(((struct iovec *)NULL)->iov_len) in vringh_getdesc_user()
|
/linux/fs/fuse/ |
A D | ioctl.c | 18 static int fuse_copy_ioctl_iovec_old(struct iovec *dst, void *src, in fuse_copy_ioctl_iovec_old() 43 if (count * sizeof(struct iovec) != transferred) in fuse_copy_ioctl_iovec_old() 51 static int fuse_verify_ioctl_iov(struct fuse_conn *fc, struct iovec *iov, in fuse_verify_ioctl_iov() 65 static int fuse_copy_ioctl_iovec(struct fuse_conn *fc, struct iovec *dst, in fuse_copy_ioctl_iovec() 159 struct iovec *iov_page = NULL; in fuse_do_ioctl() 160 struct iovec *in_iov = NULL, *out_iov = NULL; in fuse_do_ioctl() 185 iov_page = (struct iovec *) __get_free_page(GFP_KERNEL); in fuse_do_ioctl() 196 struct iovec *iov = iov_page; in fuse_do_ioctl()
|
/linux/arch/x86/um/os-Linux/ |
A D | registers.c | 31 struct iovec iov; in save_fp_registers() 54 struct iovec iov; in restore_fp_registers() 129 struct iovec iov; in arch_init_registers()
|
/linux/lib/ |
A D | iov_iter.c | 116 const struct iovec *iov = i->iov; \ 177 const struct iovec *iov; in copy_page_to_iter_iovec() 261 const struct iovec *iov; in copy_page_from_iter_iovec() 449 const struct iovec *p; in fault_in_iov_iter_readable() 488 const struct iovec *p; in fault_in_iov_iter_writeable() 1047 const struct iovec *iov, *end; in iov_iter_iovec_advance() 1142 const struct iovec *iov = i->iov; in iov_iter_revert() 1771 const struct iovec *p; in iov_npages() 1905 struct iovec *iovec_from_user(const struct iovec __user *uvec, in iovec_from_user() 1909 struct iovec *iov = fast_iov; in iovec_from_user() [all …]
|
/linux/arch/arm64/kernel/ |
A D | mte.c | 333 struct iovec *kiov, unsigned int gup_flags) in __access_remote_tags() 412 struct iovec *kiov, unsigned int gup_flags) in access_remote_tags() 438 struct iovec kiov; in mte_ptrace_copy_tags() 439 struct iovec __user *uiov = (void __user *)data; in mte_ptrace_copy_tags()
|
/linux/tools/perf/trace/beauty/include/linux/ |
A D | socket.h | 73 struct iovec __user *msg_iov; /* scatter/gather array */ 409 struct iovec **iov); 413 struct iovec **iov); 417 struct iovec __user **uiov, size_t *nsegs);
|
/linux/arch/um/drivers/ |
A D | vector_kern.c | 294 struct iovec *iov) in prep_msg() 486 struct iovec *iov; in destroy_queue() 531 struct iovec *iov; in create_queue() 564 sizeof(struct iovec), in create_queue() 569 sizeof(struct iovec), in create_queue() 625 struct iovec *iov = msg->msg_iov; in prep_skb() 844 struct iovec iov[2 + MAX_IOV_SIZE]; /* header + data use case only */ in vector_legacy_rx() 851 hdr.msg_iov = (struct iovec *) &iov; in vector_legacy_rx() 916 struct iovec iov[3 + MAX_IOV_SIZE]; in writev_tx() 920 iov_count = prep_msg(vp, skb, (struct iovec *) &iov); in writev_tx() [all …]
|
/linux/tools/io_uring/ |
A D | liburing.h | 121 const struct iovec *iovecs, in io_uring_prep_readv() 135 const struct iovec *iovecs, in io_uring_prep_writev()
|
/linux/drivers/atm/ |
A D | he.c | 1620 tpd->iovec[0].addr = 0; tpd->iovec[0].len = 0; in __alloc_tpd() 1621 tpd->iovec[1].addr = 0; tpd->iovec[1].len = 0; in __alloc_tpd() 1622 tpd->iovec[2].addr = 0; tpd->iovec[2].len = 0; in __alloc_tpd() 1846 if (tpd->iovec[slot].addr) in he_service_tbrq() 1848 tpd->iovec[slot].addr, in he_service_tbrq() 1849 tpd->iovec[slot].len & TPD_LEN_MASK, in he_service_tbrq() 1851 if (tpd->iovec[slot].len & TPD_LST) in he_service_tbrq() 2087 if (tpd->iovec[slot].addr) in __enqueue_tpd() 2089 tpd->iovec[slot].addr, in __enqueue_tpd() 2556 tpd->iovec[slot].len = skb_headlen(skb); in he_send() [all …]
|
/linux/fs/xfs/ |
A D | xfs_buf_item.c | 36 struct xfs_log_iovec *iovec) in xfs_buf_log_check_iovec() argument 38 struct xfs_buf_log_format *blfp = iovec->i_addr; in xfs_buf_log_check_iovec() 42 if (offsetof(struct xfs_buf_log_format, blf_data_map) > iovec->i_len) in xfs_buf_log_check_iovec() 45 item_end = (char *)iovec->i_addr + iovec->i_len; in xfs_buf_log_check_iovec()
|