Home | History | Annotate | Download | only in tests-m32

Lines Matching refs:iov

41 print_iov(const struct iovec *iov)
44 unsigned char *buf = iov->iov_base;
47 for (i = 0; i < iov->iov_len; ++i)
49 printf("\", iov_len=%u}", (unsigned) iov->iov_len);
53 print_iovec(const struct iovec *iov, unsigned int cnt)
60 print_iov(&iov[i]);
70 TAIL_ALLOC_OBJECT_CONST_PTR(struct iovec, iov);
71 iov->iov_base = buf;
72 iov->iov_len = LEN;
78 if (preadv(0, iov, 1, offset) != LEN)
81 print_iovec(iov, 1);
84 if (preadv(0, iov, 1, -1) != -1)
87 "-1 EINVAL (%m)\n", iov->iov_base, iov->iov_len);
93 if (preadv(0, iov, 0, -3) != -1)