/third_party/rust/crates/nix/test/sys/ |
H A D | test_socket.rs | 1213 let mut iovec = [IoSliceMut::new(&mut buf)]; in test_scm_rights_single_cmsg_multiple_fds() variables 1218 &mut iovec, in test_scm_rights_single_cmsg_multiple_fds() 1242 assert_eq!(*iovec[0], [1u8, 2, 3, 4, 5, 6, 7, 8]); in test_scm_rights_single_cmsg_multiple_fds() 1725 let mut iovec = [IoSliceMut::new(&mut buf)]; in test_recv_ipv4pktinfo() variables 1730 &mut iovec, in test_recv_ipv4pktinfo() 1751 assert_eq!(*iovec[0], [1u8, 2, 3, 4, 5, 6, 7, 8]); in test_recv_ipv4pktinfo() 1822 let mut iovec = [IoSliceMut::new(&mut buf)]; in test_recvif() variables 1826 &mut iovec, in test_recvif() 1868 assert_eq!(*iovec[0], [1u8, 2, 3, 4, 5, 6, 7, 8]); in test_recvif() 1919 let mut iovec in test_recvif_ipv4() variables 2004 let mut iovec = [IoSliceMut::new(&mut buf)]; test_recvif_ipv6() variables 2108 let mut iovec = [IoSliceMut::new(&mut buf)]; test_recv_ipv6pktinfo() variables 2536 let mut iovec = [IoSliceMut::new(&mut buf)]; test_recverr_impl() variables [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | pinning.h | 17 struct user_sdma_iovec *iovec,
|
/third_party/ltp/include/ |
H A D | tst_buffers.h | 61 * Allocates iovec structure including the buffers. 65 struct iovec *tst_iovec_alloc(int sizes[]);
|
/third_party/musl/src/unistd/ |
H A D | pwritev.c | 6 ssize_t pwritev(int fd, const struct iovec *iov, int count, off_t ofs) in pwritev()
|
H A D | preadv.c | 6 ssize_t preadv(int fd, const struct iovec *iov, int count, off_t ofs) in preadv()
|
/third_party/ltp/include/lapi/ |
H A D | pwritev2.h | 18 static inline ssize_t pwritev2(int fd, const struct iovec *iov, int iovcnt, in pwritev2()
|
H A D | preadv2.h | 22 static inline ssize_t preadv2(int fd, const struct iovec *iov, int iovcnt, in preadv2()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_congestion/platform/unix/qdisc/ |
H A D | nstackx_nlmsg.c | 72 struct iovec iov[NETLINK_REQUEST_IOV_NUM] = { in SendNetlinkRequest() 123 struct iovec iovRecv; in RecvNetlinkResponse()
|
/kernel/linux/linux-5.10/tools/io_uring/ |
H A D | liburing.h | 121 const struct iovec *iovecs, in io_uring_prep_readv() 135 const struct iovec *iovecs, in io_uring_prep_writev()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/af_unix/ |
H A D | diag_uid.c | 102 struct iovec iov = { in send_request() 141 struct iovec iov = { in receive_response()
|
/kernel/uniproton/src/fs/ |
H A D | fs.c | 149 ssize_t readv(int fd, const struct iovec *iovBuf, int iovcnt) in readv() 154 ssize_t writev(int fd, const struct iovec *iovBuf, int iovcnt) in writev()
|
/third_party/ltp/testcases/kernel/syscalls/cma/ |
H A D | process_vm_readv03.c | 91 struct iovec local[local_iovecs]; in child_read() 92 struct iovec remote[remote_iovecs]; in child_read()
|
/third_party/ltp/utils/sctp/func_tests/ |
H A D | test_1_to_1_recvmsg.c | 9 * TEST3: Invalid iovec pointer 75 struct iovec iov_rcv; in main() 153 /*recvmsg () TEST3: Invalid iovec pointer EFAULT, Expected error*/ in main() 154 inmessage.msg_iov = (struct iovec *)-1; in main() 157 tst_brkm(TBROK, tst_exit, "recvmsg with invalid iovec " in main() 160 tst_resm(TPASS, "recvmsg() with invalid iovec ptr - EFAULT"); in main()
|
H A D | test_1_to_1_threads.c | 71 struct iovec iov; in t_recv() 95 struct iovec out_iov; in t_send()
|
/third_party/node/deps/uv/src/unix/ |
H A D | linux-syscalls.c | 196 ssize_t uv__preadv(int fd, const struct iovec *iov, int iovcnt, int64_t offset) { in uv__preadv() 205 ssize_t uv__pwritev(int fd, const struct iovec *iov, int iovcnt, int64_t offset) { in uv__pwritev()
|
/third_party/musl/src/linux/ |
H A D | pwritev2.c | 6 ssize_t pwritev2(int fd, const struct iovec *iov, int count, off_t ofs, int flags) in pwritev2()
|
H A D | preadv2.c | 6 ssize_t preadv2(int fd, const struct iovec *iov, int count, off_t ofs, int flags) in preadv2()
|
/third_party/ltp/testcases/kernel/connectors/pec/ |
H A D | pec_listener.c | 85 struct iovec iov; in netlink_send() 97 memset(&iov, 0, sizeof(struct iovec)); in netlink_send() 121 struct iovec iov; in netlink_recv()
|
/third_party/ltp/testcases/kernel/fs/ftest/ |
H A D | ftest08.c | 231 struct iovec r_iovec[MAXIOVCNT]; in dotest() 235 struct iovec val0_iovec[MAXIOVCNT]; in dotest() 236 struct iovec val_iovec[MAXIOVCNT]; in dotest() 247 /* Allocate memory for the iovec buffers and init the iovec arrays */ in dotest()
|
H A D | ftest04.c | 218 struct iovec r_iovec[MAXIOVCNT]; in dotest() 222 struct iovec val0_iovec[MAXIOVCNT]; in dotest() 223 struct iovec val_iovec[MAXIOVCNT]; in dotest() 234 /*Allocate memory for the iovec buffers and init the iovec arrays in dotest()
|
/third_party/ntfs-3g/include/fuse-lite/ |
H A D | fuse_lowlevel.h | 974 int fuse_reply_iov(fuse_req_t req, const struct iovec *iov, int count); 1325 int (*send)(struct fuse_chan *ch, const struct iovec iov[], 1403 int fuse_chan_send(struct fuse_chan *ch, const struct iovec iov[],
|
/third_party/selinux/libselinux/src/ |
H A D | setrans_client.c | 89 struct iovec iov[5]; in send_request() 136 struct iovec resp_hdr[3]; in receive_response() 140 struct iovec resp_data; in receive_response()
|
/kernel/linux/linux-5.10/drivers/atm/ |
H 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[slo in he_service_tbrq() [all...] |
/kernel/linux/linux-6.6/drivers/atm/ |
H A D | he.c | 1617 tpd->iovec[0].addr = 0; tpd->iovec[0].len = 0; in __alloc_tpd() 1618 tpd->iovec[1].addr = 0; tpd->iovec[1].len = 0; in __alloc_tpd() 1619 tpd->iovec[2].addr = 0; tpd->iovec[2].len = 0; in __alloc_tpd() 1843 if (tpd->iovec[slot].addr) in he_service_tbrq() 1845 tpd->iovec[slot].addr, in he_service_tbrq() 1846 tpd->iovec[slot].len & TPD_LEN_MASK, in he_service_tbrq() 1848 if (tpd->iovec[slo in he_service_tbrq() [all...] |
/kernel/linux/linux-5.10/io_uring/ |
H A D | io_uring.c | 706 struct iovec fast_iov[UIO_FASTIOV]; 708 struct iovec *free_iov; 715 struct iovec fast_iov[UIO_FASTIOV]; 716 const struct iovec *free_iovec; 3247 static ssize_t io_compat_import(struct io_kiocb *req, struct iovec *iov, in io_compat_import() 3273 static ssize_t __io_iov_buffer_select(struct io_kiocb *req, struct iovec *iov, in __io_iov_buffer_select() 3276 struct iovec __user *uiov = u64_to_user_ptr(req->rw.addr); in __io_iov_buffer_select() 3294 static ssize_t io_iov_buffer_select(struct io_kiocb *req, struct iovec *iov, in io_iov_buffer_select() 3316 static int io_import_iovec(int rw, struct io_kiocb *req, struct iovec **iovec, in io_import_iovec() argument 3387 struct iovec iovec; loop_rw_iter() local 3426 io_req_map_rw(struct io_kiocb *req, const struct iovec *iovec, const struct iovec *fast_iov, struct iov_iter *iter) io_req_map_rw() argument 3460 io_setup_async_rw(struct io_kiocb *req, const struct iovec *iovec, const struct iovec *fast_iov, struct iov_iter *iter, bool force) io_setup_async_rw() argument 3599 struct iovec inline_vecs[UIO_FASTIOV], *iovec = inline_vecs; io_read() local 3738 struct iovec inline_vecs[UIO_FASTIOV], *iovec = inline_vecs; io_write() local [all...] |