Home
last modified time | relevance | path

Searched refs:iovp (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/io/direct_io/
Ddiotest5.c88 struct iovec *iov1, *iov2, *iovp; in runtest() local
101 for (i = 0, iovp = iov1; i < nvector; iovp++, i++) { in runtest()
102 if ((iovp->iov_base = valloc(bufsize)) == NULL) { in runtest()
107 iovp->iov_len = bufsize; in runtest()
109 for (i = 0, iovp = iov2; i < nvector; iovp++, i++) { in runtest()
110 if ((iovp->iov_base = valloc(bufsize)) == NULL) { in runtest()
115 iovp->iov_len = bufsize; in runtest()
147 for (i = 0, iovp = iov1; i < nvector; iovp++, i++) { in runtest()
148 free(iovp->iov_base); in runtest()
150 for (i = 0, iovp = iov2; i < nvector; iovp++, i++) { in runtest()
[all …]
/external/llvm-project/compiler-rt/include/sanitizer/
Dnetbsd_syscall_hooks.h629 #define __sanitizer_syscall_pre_readv(fd, iovp, iovcnt) \ argument
630 __sanitizer_syscall_pre_impl_readv((long long)(fd), (long long)(iovp), \
632 #define __sanitizer_syscall_post_readv(res, fd, iovp, iovcnt) \ argument
633 __sanitizer_syscall_post_impl_readv(res, (long long)(fd), (long long)(iovp), \
635 #define __sanitizer_syscall_pre_writev(fd, iovp, iovcnt) \ argument
636 __sanitizer_syscall_pre_impl_writev((long long)(fd), (long long)(iovp), \
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
1534 __sanitizer_syscall_pre_impl_preadv((long long)(fd), (long long)(iovp), \
[all …]
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_syscalls_netbsd.inc1042 struct __sanitizer_iovec *iovp = (struct __sanitizer_iovec *)iovp_;
1044 if (iovp) {
1045 PRE_READ(iovp, sizeof(struct __sanitizer_iovec) * iovcnt_);
1047 PRE_WRITE(iovp[i].iov_base, iovp[i].iov_len);
1053 struct __sanitizer_iovec *iovp = (struct __sanitizer_iovec *)iovp_;
1057 if (iovp) {
1058 POST_READ(iovp, sizeof(struct __sanitizer_iovec) * iovcnt_);
1060 m = n > iovp[i].iov_len ? iovp[i].iov_len : n;
1061 POST_WRITE(iovp[i].iov_base, m);
1068 struct __sanitizer_iovec *iovp = (struct __sanitizer_iovec *)iovp_;
[all …]
/external/usrsctp/usrsctplib/
Duser_socket.c625 copyiniov(struct iovec *iovp, u_int iovcnt, struct iovec **iov, int error) in copyiniov() argument
634 error = copyin(iovp, *iov, iovlen); in copyiniov()