/external/openssh/ |
D | atomicio.c | 107 const struct iovec *_iov, int iovcnt, in atomiciov6() argument 115 if (iovcnt < 0 || iovcnt > IOV_MAX) { in atomiciov6() 120 memcpy(iov, _iov, (size_t)iovcnt * sizeof(*_iov)); in atomiciov6() 128 for (; iovcnt > 0 && iov[0].iov_len > 0;) { in atomiciov6() 129 res = (f) (fd, iov, iovcnt); in atomiciov6() 151 while (iovcnt > 0 && rem >= iov[0].iov_len) { in atomiciov6() 154 iovcnt--; in atomiciov6() 157 if (rem > 0 && (iovcnt <= 0 || rem > iov[0].iov_len)) { in atomiciov6() 161 if (iovcnt == 0) in atomiciov6() 177 const struct iovec *_iov, int iovcnt) in atomiciov() argument [all …]
|
D | atomicio.h | 49 const struct iovec *_iov, int iovcnt, int (*cb)(void *, size_t), void *);
|
/external/ltp/testcases/kernel/syscalls/writev/ |
D | writev01.c | 48 int iovcnt; member 56 .iovcnt = ARRAY_SIZE(iovec_badlen), 64 .iovcnt = ARRAY_SIZE(iovec_simple), 72 .iovcnt = -1, 80 .iovcnt = 0, 87 .iovcnt = ARRAY_SIZE(iovec_zero_null), 94 .iovcnt = ARRAY_SIZE(iovec_simple), 119 TEST(writev(*(tcase->pfd), *(tcase->piovec), tcase->iovcnt)); in test_writev()
|
/external/ltp/testcases/kernel/syscalls/sendmsg/ |
D | sendmsg01.c | 90 int iovcnt; /* # elements in iovec */ member 109 .iovcnt = 1, 126 .iovcnt = 1, 143 .iovcnt = 1, 160 .iovcnt = 1, 177 .iovcnt = 1, 194 .iovcnt = 1, 210 .iovcnt = 1, 226 .iovcnt = 1, 243 .iovcnt = 1, [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/ |
D | ares_writev.c | 28 ares_ssize_t ares_writev(ares_socket_t s, const struct iovec *iov, int iovcnt) in ares_writev() argument 36 if (iovcnt <= 0) in ares_writev() 43 for (i = 0; i < iovcnt; i++) in ares_writev() 65 for (bp = buffer, i = 0; i < iovcnt; ++i) in ares_writev()
|
D | ares_writev.h | 32 extern ares_ssize_t ares_writev(ares_socket_t s, const struct iovec *iov, int iovcnt);
|
/external/ltp/testcases/kernel/syscalls/preadv/ |
D | preadv.h | 25 int preadv(int fd, const struct iovec *iov, int iovcnt, off_t offset) in preadv() argument 27 return tst_syscall(__NR_preadv, fd, iov, iovcnt, offset); in preadv()
|
/external/ltp/testcases/kernel/syscalls/pwritev/ |
D | pwritev.h | 25 int pwritev(int fd, const struct iovec *iov, int iovcnt, off_t offset) in pwritev() argument 27 return tst_syscall(__NR_pwritev, fd, iov, iovcnt, offset); in pwritev()
|
/external/ltp/include/lapi/ |
D | pwritev2.h | 18 ssize_t pwritev2(int fd, const struct iovec *iov, int iovcnt, off_t offset, in pwritev2() argument 21 return tst_syscall(__NR_pwritev2, fd, iov, iovcnt, in pwritev2()
|
D | preadv2.h | 22 ssize_t preadv2(int fd, const struct iovec *iov, int iovcnt, off_t offset, in preadv2() argument 25 return tst_syscall(__NR_preadv2, fd, iov, iovcnt, in preadv2()
|
/external/usrsctp/usrsctplib/ |
D | user_socket.c | 625 copyiniov(struct iovec *iovp, u_int iovcnt, struct iovec **iov, int error) in copyiniov() argument 630 if (iovcnt > UIO_MAXIOV) in copyiniov() 632 iovlen = iovcnt * sizeof (struct iovec); in copyiniov() 3044 int iovcnt; local 3125 for (iovcnt = 0; m != NULL && iovcnt < MAXLEN_MBUF_CHAIN; m = m->m_next, iovcnt++) { 3127 send_iovec[iovcnt].iov_base = (caddr_t)m->m_data; 3128 send_iovec[iovcnt].iov_len = SCTP_BUF_LEN(m); 3129 send_count += send_iovec[iovcnt].iov_len; 3131 send_iovec[iovcnt].buf = (caddr_t)m->m_data; 3132 send_iovec[iovcnt].len = SCTP_BUF_LEN(m); [all …]
|
/external/rust/crates/libc/src/unix/newlib/xtensa/ |
D | mod.rs | 91 pub fn writev(s: ::c_int, iov: *const ::iovec, iovcnt: ::c_int) -> ::c_int; in writev() 92 pub fn readv(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int) -> ::ssize_t; in readv()
|
/external/rust/crates/libc/src/unix/linux_like/linux/uclibc/ |
D | mod.rs | 279 iovcnt: ::c_int, in pwritev() 285 iovcnt: ::c_int, in preadv()
|
/external/llvm-project/compiler-rt/include/sanitizer/ |
D | netbsd_syscall_hooks.h | 629 #define __sanitizer_syscall_pre_readv(fd, iovp, iovcnt) \ argument 631 (long long)(iovcnt)) 632 #define __sanitizer_syscall_post_readv(res, fd, iovp, iovcnt) \ argument 634 (long long)(iovcnt)) 635 #define __sanitizer_syscall_pre_writev(fd, iovp, iovcnt) \ argument 637 (long long)(iovcnt)) 638 #define __sanitizer_syscall_post_writev(res, fd, iovp, iovcnt) \ argument 640 (long long)(iovp), (long long)(iovcnt)) 1533 #define __sanitizer_syscall_pre_preadv(fd, iovp, iovcnt, PAD, offset) \ argument 1535 (long long)(iovcnt), (long long)(PAD), \ [all …]
|
/external/ltp/testcases/kernel/syscalls/recvmsg/ |
D | recvmsg01.c | 96 int iovcnt; member 220 msgdat.msg_iovlen = tdat[testno].iovcnt; in main()
|
/external/rust/crates/libc/src/ |
D | wasi.rs | 590 pub fn writev(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int) -> ::ssize_t; in writev() 591 pub fn readv(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int) -> ::ssize_t; in readv() 592 pub fn pwritev(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int, offset: ::off_t) in pwritev() 594 pub fn preadv(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int, offset: ::off_t) -> ::ssize_t; in preadv()
|
/external/rust/crates/libc/src/unix/linux_like/ |
D | mod.rs | 1587 pub fn writev(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int) -> ::ssize_t; in writev() 1588 pub fn readv(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int) -> ::ssize_t; in readv() 1601 iovcnt: ::c_int, 1607 iovcnt: ::c_int,
|
/external/rust/crates/libc/src/unix/bsd/netbsdlike/ |
D | mod.rs | 663 pub fn pwritev(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int, offset: ::off_t) in pwritev() 665 pub fn preadv(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int, offset: ::off_t) -> ::ssize_t; in preadv()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_interceptors.inc | 763 int iovcnt) { 765 COMMON_INTERCEPTOR_ENTER(ctx, readv, fd, iov, iovcnt); 767 SSIZE_T res = REAL(readv)(fd, iov, iovcnt); 768 if (res > 0) write_iovec(ctx, iov, iovcnt, res); 778 INTERCEPTOR(SSIZE_T, preadv, int fd, __sanitizer_iovec *iov, int iovcnt, 781 COMMON_INTERCEPTOR_ENTER(ctx, preadv, fd, iov, iovcnt, offset); 783 SSIZE_T res = REAL(preadv)(fd, iov, iovcnt, offset); 784 if (res > 0) write_iovec(ctx, iov, iovcnt, res); 794 INTERCEPTOR(SSIZE_T, preadv64, int fd, __sanitizer_iovec *iov, int iovcnt, 797 COMMON_INTERCEPTOR_ENTER(ctx, preadv64, fd, iov, iovcnt, offset); [all …]
|
/external/rust/crates/libc/src/unix/bsd/ |
D | mod.rs | 708 pub fn writev(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int) -> ::ssize_t; in writev() 713 pub fn readv(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int) -> ::ssize_t; in readv()
|
/external/rust/crates/libc/src/unix/redox/ |
D | mod.rs | 1021 pub fn readv(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int) -> ::ssize_t; in readv() 1022 pub fn writev(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int) -> ::ssize_t; in writev()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_interceptors.inc | 1075 int iovcnt) { 1077 COMMON_INTERCEPTOR_ENTER(ctx, readv, fd, iov, iovcnt); 1079 SSIZE_T res = REAL(readv)(fd, iov, iovcnt); 1080 if (res > 0) write_iovec(ctx, iov, iovcnt, res); 1090 INTERCEPTOR(SSIZE_T, preadv, int fd, __sanitizer_iovec *iov, int iovcnt, 1093 COMMON_INTERCEPTOR_ENTER(ctx, preadv, fd, iov, iovcnt, offset); 1095 SSIZE_T res = REAL(preadv)(fd, iov, iovcnt, offset); 1096 if (res > 0) write_iovec(ctx, iov, iovcnt, res); 1106 INTERCEPTOR(SSIZE_T, preadv64, int fd, __sanitizer_iovec *iov, int iovcnt, 1109 COMMON_INTERCEPTOR_ENTER(ctx, preadv64, fd, iov, iovcnt, offset); [all …]
|
/external/rust/crates/libc/src/unix/linux_like/linux/gnu/ |
D | mod.rs | 1422 iovcnt: ::c_int, in preadv2() 1429 iovcnt: ::c_int, in pwritev2()
|
/external/rust/crates/libc/src/unix/bsd/freebsdlike/ |
D | mod.rs | 1462 pub fn preadv(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int, offset: ::off_t) -> ::ssize_t; in preadv() 1507 pub fn pwritev(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int, offset: ::off_t) in pwritev()
|
/external/rust/crates/libc/src/vxworks/ |
D | mod.rs | 1771 pub fn writev(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int) -> ::ssize_t; in writev() 1772 pub fn readv(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int) -> ::ssize_t; in readv()
|