Home
last modified time | relevance | path

Searched refs:wr_iovec (Results 1 – 8 of 8) sorted by relevance

/external/ltp/testcases/kernel/syscalls/writev/
Dwritev01.c71 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()
Dwritev03.c67 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()
Dwritev04.c67 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()
Dwritev06.c62 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()
Dwritev02.c73 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()
Dwritev05.c69 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/
Dwritev1.c20 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/
Dpwritev01.c38 static struct iovec wr_iovec[] = { variable
62 TEST(pwritev(fd, wr_iovec, tc->count, tc->offset)); in verify_pwritev()