/kernel/linux/linux-5.10/mm/ |
D | process_vm_access.c | 152 const struct iovec *rvec, in process_vm_rw_core() 255 const struct iovec __user *lvec, in process_vm_rw() 257 const struct iovec __user *rvec, in process_vm_rw() 261 struct iovec iovstack_l[UIO_FASTIOV]; in process_vm_rw() 262 struct iovec iovstack_r[UIO_FASTIOV]; in process_vm_rw() 263 struct iovec *iov_l = iovstack_l; in process_vm_rw() 264 struct iovec *iov_r = iovstack_r; in process_vm_rw() 292 SYSCALL_DEFINE6(process_vm_readv, pid_t, pid, const struct iovec __user *, lvec, in SYSCALL_DEFINE6() 293 unsigned long, liovcnt, const struct iovec __user *, rvec, in SYSCALL_DEFINE6() 300 const struct iovec __user *, lvec, in SYSCALL_DEFINE6() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | uio.h | 45 const struct iovec *iov; 109 static inline size_t iov_length(const struct iovec *iov, unsigned long nr_segs) in iov_length() 119 static inline struct iovec iov_iter_iovec(const struct iov_iter *iter) in iov_iter_iovec() 121 return (struct iovec) { in iov_iter_iovec() 229 void iov_iter_init(struct iov_iter *i, unsigned int direction, const struct iovec *iov, 290 struct iovec *iovec_from_user(const struct iovec __user *uvector, 292 struct iovec *fast_iov, bool compat); 293 ssize_t import_iovec(int type, const struct iovec __user *uvec, 294 unsigned nr_segs, unsigned fast_segs, struct iovec **iovp, 296 ssize_t __import_iovec(int type, const struct iovec __user *uvec, [all …]
|
D | vringh.h | 85 struct iovec *iov; 113 struct iovec *iovec, unsigned num) in vringh_iov_init() argument 118 iov->iov = iovec; in vringh_iov_init()
|
D | socket.h | 73 struct iovec __user *msg_iov; /* scatter/gather array */ 404 struct iovec **iov); 408 struct iovec **iov); 412 struct iovec __user **uiov, size_t *nsegs);
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | user_sdma.c | 85 struct user_sdma_iovec *iovec); 343 struct iovec *iovec, unsigned long dim, in hfi1_user_sdma_process_request() argument 362 if (iovec[idx].iov_len < sizeof(info) + sizeof(req->hdr)) { in hfi1_user_sdma_process_request() 367 iovec[idx].iov_len, sizeof(info) + sizeof(req->hdr)); in hfi1_user_sdma_process_request() 370 ret = copy_from_user(&info, iovec[idx].iov_base, sizeof(info)); in hfi1_user_sdma_process_request() 455 ret = copy_from_user(&req->hdr, iovec[idx].iov_base + sizeof(info), in hfi1_user_sdma_process_request() 526 iovec + idx++, in hfi1_user_sdma_process_request() 548 u16 ntids = iovec[idx].iov_len / sizeof(*req->tids); in hfi1_user_sdma_process_request() 562 tmp = memdup_user(iovec[idx].iov_base, in hfi1_user_sdma_process_request() 738 struct user_sdma_iovec *iovec, u32 datalen, in user_sdma_txadd() argument [all …]
|
D | user_sdma.h | 154 struct iovec iov; 250 struct iovec *iovec, unsigned long dim,
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ptrace/ |
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 …]
|
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/ |
D | uio.h | 43 struct iovec { struct 48 ssize_t readv(int, const struct iovec *, int); argument 49 ssize_t writev(int, const struct iovec *, int);
|
/kernel/linux/linux-5.10/fs/ |
D | read_write.c | 401 struct iovec iov = { .iov_base = buf, .iov_len = len }; in new_sync_read() 504 struct iovec iov = { .iov_base = (void __user *)buf, .iov_len = len }; in new_sync_write() 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() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/liteos_a/testsuites/unittest/net/socket/smoke/ |
D | net_socket_test_012.cpp | 40 static struct iovec gIov[IOV_MAX + 1]; 219 message.msg_iov = reinterpret_cast<struct iovec *>(0xbad); in SocketNullTestInternal() 225 message.msg_iov = reinterpret_cast<struct iovec *>(0xbad); in SocketNullTestInternal() 262 message.msg_iovlen = (~0UL / sizeof(struct iovec)) + 2; // Test overflow in SocketNullTestInternal() 267 message.msg_iov = reinterpret_cast<struct iovec *>(0xbad); in SocketNullTestInternal() 273 message.msg_iov = reinterpret_cast<struct iovec *>(0xbad); in SocketNullTestInternal() 329 ret = readv(sfd, reinterpret_cast<struct iovec *>(bad), 0); in SocketNullTestInternal() 333 ret = readv(sfd, reinterpret_cast<struct iovec *>(bad), 1); in SocketNullTestInternal() 380 ret = writev(sfd, reinterpret_cast<struct iovec *>(bad), 0); in SocketNullTestInternal() 384 ret = writev(sfd, reinterpret_cast<struct iovec *>(bad), 1); in SocketNullTestInternal()
|
/kernel/linux/linux-5.10/drivers/vhost/ |
D | vhost.h | 112 struct iovec iov[UIO_MAXIOV]; 113 struct iovec iotlb_iov[64]; 114 struct iovec *indirect; 125 struct iovec log_iov[64]; 188 struct iovec iov[], unsigned int iov_count, 209 struct iovec *iov, int count);
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | mic_ioctl.h | 11 struct iovec __user *iov; 13 struct iovec *iov;
|
D | uio.h | 10 struct iovec struct
|
/kernel/liteos_a/fs/vfs/operation/ |
D | vfs_writev.c | 41 static int iov_trans_to_buf(char *buf, ssize_t totallen, const struct iovec *iov, int iovcnt) in iov_trans_to_buf() 79 ssize_t vfs_writev(int fd, const struct iovec *iov, int iovcnt, off_t *offset) in vfs_writev() 135 ssize_t writev(int fd, const struct iovec *iov, int iovcnt) in writev()
|
D | vfs_readv.c | 42 static char *pread_buf_and_check(int fd, const struct iovec *iov, int iovcnt, ssize_t *totalbytesre… in pread_buf_and_check() 91 ssize_t vfs_readv(int fd, const struct iovec *iov, int iovcnt, off_t *offset) in vfs_readv() 144 ssize_t readv(int fd, const struct iovec *iov, int iovcnt) in readv()
|
/kernel/linux/linux-5.10/arch/x86/um/os-Linux/ |
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()
|
/kernel/linux/linux-5.10/lib/ |
D | iov_iter.c | 94 const struct iovec *iov; \ 95 struct iovec v; \ 127 const struct iovec *iov; \ 128 struct iovec v; \ 168 const struct iovec *iov; in copy_page_to_iter_iovec() 252 const struct iovec *iov; in copy_page_from_iter_iovec() 434 const struct iovec *iov; in iov_iter_fault_in_readable() 436 struct iovec v; in iov_iter_fault_in_readable() 450 const struct iovec *iov, unsigned long nr_segs, in iov_iter_init() 1130 const struct iovec *iov = i->iov; in iov_iter_revert() [all …]
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | mte.c | 214 struct iovec *kiov, unsigned int gup_flags) in __access_remote_tags() 293 struct iovec *kiov, unsigned int gup_flags) in access_remote_tags() 319 struct iovec kiov; in mte_ptrace_copy_tags() 320 struct iovec __user *uiov = (void __user *)data; in mte_ptrace_copy_tags()
|
/kernel/uniproton/src/fs/vfs/ |
D | vfs_operations.h | 60 ssize_t OsVfsReadv(S32 fd, const struct iovec *iovBuf, S32 iovcnt); 61 ssize_t OsVfsWritev(S32 fd, const struct iovec *iovBuf, S32 iovcnt);
|
/kernel/liteos_a/syscall/ |
D | los_syscall.h | 224 extern ssize_t preadv(int __fd, const struct iovec *__iov, int __count, off_t __offset); 225 extern ssize_t pwritev(int __fd, const struct iovec *__iov, int __count, off_t __offset); 280 extern ssize_t SysReadv(int fd, const struct iovec *iov, int iovcnt); 281 extern ssize_t SysWritev(int fd, const struct iovec *iov, int iovcnt); 309 extern ssize_t SysPreadv(int fd, const struct iovec *iov, int iovcnt, long loffset, long hoffset); 310 extern ssize_t SysPwritev(int fd, const struct iovec *iov, int iovcnt, long loffset, long hoffset);
|
D | net_syscall.c | 410 CHECK_FIELD_ASPACE(message, msg_iov, message->msg_iovlen * sizeof(struct iovec)); in SysSendMsg() 413 DUP_FIELD_FROM_USER(message, msg_iov, message->msg_iovlen * sizeof(struct iovec)); in SysSendMsg() 458 CHECK_FIELD_ASPACE(message, msg_iov, message->msg_iovlen * sizeof(struct iovec)); in SysRecvMsg() 461 DUP_FIELD_FROM_USER(message, msg_iov, message->msg_iovlen * sizeof(struct iovec)); in SysRecvMsg() 486 …DUP_FIELD_TO_USER(message, msg_iov, message->msg_iovlen * sizeof(struct iovec), ret = -1; goto OUT… in SysRecvMsg()
|
/kernel/linux/linux-5.10/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 73 struct iovec __user *msg_iov; /* scatter/gather array */ 403 struct iovec **iov); 407 struct iovec **iov); 411 struct iovec __user **uiov, size_t *nsegs);
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | uio.h | 17 struct iovec struct
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | uio.h | 23 struct iovec { struct
|