/external/openssh/ |
D | atomicio.c | 102 const struct iovec *_iov, int iovcnt, in atomiciov6() argument 110 if (iovcnt < 0 || iovcnt > IOV_MAX) { in atomiciov6() 115 memcpy(iov, _iov, (size_t)iovcnt * sizeof(*_iov)); in atomiciov6() 121 for (; iovcnt > 0 && iov[0].iov_len > 0;) { in atomiciov6() 122 res = (f) (fd, iov, iovcnt); in atomiciov6() 141 while (iovcnt > 0 && rem >= iov[0].iov_len) { in atomiciov6() 144 iovcnt--; in atomiciov6() 147 if (rem > 0 && (iovcnt <= 0 || rem > iov[0].iov_len)) { in atomiciov6() 151 if (iovcnt == 0) in atomiciov6() 167 const struct iovec *_iov, int iovcnt) in atomiciov() argument [all …]
|
D | atomicio.h | 47 const struct iovec *_iov, int iovcnt, int (*cb)(void *, size_t), void *);
|
D | ChangeLog | 2952 better bounds check on iovcnt (we only ever use fixed,
|
/external/ltp/testcases/kernel/syscalls/writev/ |
D | writev01.c | 60 int iovcnt; member 68 .iovcnt = ARRAY_SIZE(iovec_badlen), 76 .iovcnt = ARRAY_SIZE(iovec_simple), 84 .iovcnt = -1, 92 .iovcnt = 0, 99 .iovcnt = ARRAY_SIZE(iovec_zero_null), 106 .iovcnt = ARRAY_SIZE(iovec_simple), 131 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/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/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/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 | 18 ssize_t preadv2(int fd, const struct iovec *iov, int iovcnt, off_t offset, in preadv2() argument 21 return tst_syscall(__NR_preadv2, fd, iov, iovcnt, in preadv2()
|
/external/kernel-headers/original/uapi/linux/ |
D | mic_ioctl.h | 43 __u32 iovcnt; member
|
/external/ltp/testcases/kernel/syscalls/recvmsg/ |
D | recvmsg01.c | 96 int iovcnt; member 220 msgdat.msg_iovlen = tdat[testno].iovcnt; in main()
|
/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/perfetto/src/tracing/core/ |
D | tracing_service_impl.cc | 89 ssize_t writev(int fd, const struct iovec* iov, int iovcnt) { in writev() argument 91 for (int i = 0; i < iovcnt; ++i) { in writev()
|