Searched refs:wr_iovec (Results 1 – 8 of 8) sorted by relevance
/external/ltp/testcases/kernel/syscalls/writev/ |
D | writev01.c | 71 struct iovec wr_iovec[MAX_IOVEC] = { variable 171 TEST(writev(fd[0], wr_iovec, 1)); in main() 192 if ((ret = writev(fd[0], (wr_iovec + 6), 3)) == CHUNK) { in main() 213 if ((nbytes = writev(fd[0], (wr_iovec + 6), 3)) == -1) { in main() 232 TEST(writev(fd[1], (wr_iovec + 9), 1)); in main() 247 TEST(writev(fd[0], (wr_iovec + 10), -1)); in main() 262 TEST(writev(fd[0], (wr_iovec + 11), 0)); in main() 278 else if ((ret = writev(fd[0], (wr_iovec + 12), 4)) != CHUNK) in main() 295 else if (writev(pfd[1], (wr_iovec + 12), 1) == -1 && in main() 329 wr_iovec[7].iov_base = bad_addr; in setup()
|
D | writev03.c | 67 struct iovec wr_iovec[MAX_IOVEC] = { variable 143 if (writev(fd[0], wr_iovec, 3) == -1) { in main() 165 if (writev(fd[0], wr_iovec, 3) == -1) { in main() 189 if (writev(fd[0], wr_iovec, 3) == -1) { in main() 229 wr_iovec[1].iov_base = bad_addr; in setup()
|
D | writev04.c | 67 struct iovec wr_iovec[MAX_IOVEC] = { variable 161 if (writev(fd[0], wr_iovec, 3) < 0) { in main() 197 if (writev(fd[0], wr_iovec, 3) < 0) { in main() 235 if (writev(fd[0], wr_iovec, 3) < 0) { in main() 296 wr_iovec[1].iov_base = bad_addr; in setup()
|
D | writev06.c | 62 struct iovec wr_iovec[MAX_IOVEC] = { variable 124 TEST(writev(fd[0], wr_iovec, 2)); in main() 202 wr_iovec[0].iov_base = good_addr[0] + page_size - 1; in setup() 203 wr_iovec[1].iov_base = good_addr[1] + page_size - 1; in setup()
|
D | writev02.c | 73 struct iovec wr_iovec[MAX_IOVEC] = { variable 149 TEST(writev(fd[0], wr_iovec, 2)); in main() 191 wr_iovec[0].iov_base = bad_addr; in setup()
|
D | writev05.c | 69 struct iovec wr_iovec[MAX_IOVEC] = { variable 161 TEST(writev(fd[0], wr_iovec, 2)); in main() 232 wr_iovec[0].iov_base = bad_addr; in setup()
|
/external/valgrind/memcheck/tests/ |
D | writev1.c | 20 struct iovec wr_iovec[MAX_IOVEC] = { variable 56 if (writev(fd, wr_iovec, 2) < 0) { in main() 68 if (writev(fd, wr_iovec, -1) < 0) { in main() 76 if (readv(fd, wr_iovec, -1) < 0) { in main()
|
/external/ltp/testcases/kernel/syscalls/pwritev/ |
D | pwritev01.c | 38 static struct iovec wr_iovec[] = { variable 62 TEST(pwritev(fd, wr_iovec, tc->count, tc->offset)); in verify_pwritev()
|