Searched refs:wr_iovec (Results 1 – 8 of 8) sorted by relevance
/external/ltp/testcases/kernel/syscalls/writev/ |
D | writev07.c | 43 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()
|
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/ltp/testcases/kernel/syscalls/pwritev/ |
D | pwritev03.c | 33 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()
|
D | pwritev01.c | 30 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/ |
D | pwritev201.c | 31 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/ |
D | preadv203.c | 155 struct iovec wr_iovec[] = { in writer_thread() local 167 if (pwritev(fd, wr_iovec, 1, off) < 0) { in writer_thread()
|