Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/writev/
Dwritev07.c52 struct iovec wr_iovec[] = { in test_partially_valid_iovec() local
70 TEST(writev(fd, wr_iovec, ARRAY_SIZE(wr_iovec))); in test_partially_valid_iovec()
104 if (TEST_RETURN > (long) wr_iovec[0].iov_len) { in test_partially_valid_iovec()
113 if (memcmp(tmp, wr_iovec[0].iov_base, TEST_RETURN) == 0) { in test_partially_valid_iovec()
117 tst_res_hexd(TFAIL, wr_iovec[0].iov_base, TEST_RETURN, in test_partially_valid_iovec()
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.c40 static struct iovec wr_iovec[] = { variable
64 TEST(pwritev(fd, wr_iovec, tc->count, tc->offset)); in verify_pwritev()