Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/writev/
Dwritev07.c43 struct iovec wr_iovec[] = { in test_partially_valid_iovec() local
61 TEST(writev(fd, wr_iovec, ARRAY_SIZE(wr_iovec))); in test_partially_valid_iovec()
95 if (TST_RET > (long) wr_iovec[0].iov_len) { in test_partially_valid_iovec()
104 if (memcmp(tmp, wr_iovec[0].iov_base, TST_RET) == 0) { in test_partially_valid_iovec()
108 tst_res_hexd(TFAIL, wr_iovec[0].iov_base, TST_RET, 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/ltp/testcases/kernel/syscalls/pwritev/
Dpwritev03.c33 static struct iovec wr_iovec[] = { variable
55 TEST(pwritev(fd, wr_iovec, tc->count, *tc->offset)); in verify_direct_pwritev()
113 wr_iovec[0].iov_base = SAFE_MEMALIGN(blksz, blksz); in setup()
114 wr_iovec[0].iov_len = blksz; in setup()
115 memset(wr_iovec[0].iov_base, 0x61, blksz); in setup()
122 free(wr_iovec[0].iov_base); in cleanup()
Dpwritev01.c30 static struct iovec wr_iovec[] = { variable
54 TEST(pwritev(fd, wr_iovec, tc->count, tc->offset)); in verify_pwritev()
/external/ltp/testcases/kernel/syscalls/pwritev2/
Dpwritev201.c31 static struct iovec wr_iovec[] = { variable
60 TEST(pwritev2(fd, wr_iovec, tc->count, tc->write_off, 0)); in verify_pwritev2()
/external/ltp/testcases/kernel/syscalls/preadv2/
Dpreadv203.c155 struct iovec wr_iovec[] = { in writer_thread() local
167 if (pwritev(fd, wr_iovec, 1, off) < 0) { in writer_thread()