Searched refs:wr_iovec (Results 1 – 7 of 7) sorted by relevance
/external/ltp/testcases/kernel/syscalls/writev/ |
D | writev07.c | 52 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 (TST_RET > (long) wr_iovec[0].iov_len) { in test_partially_valid_iovec() 113 if (memcmp(tmp, wr_iovec[0].iov_base, TST_RET) == 0) { in test_partially_valid_iovec() 117 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 | 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()
|
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()
|
/external/ltp/testcases/kernel/syscalls/pwritev/ |
D | pwritev03.c | 45 static struct iovec wr_iovec[] = { variable 67 TEST(pwritev(fd, wr_iovec, tc->count, *tc->offset)); in verify_direct_pwritev() 125 wr_iovec[0].iov_base = SAFE_MEMALIGN(blksz, blksz); in setup() 126 wr_iovec[0].iov_len = blksz; in setup() 127 memset(wr_iovec[0].iov_base, 0x61, blksz); in setup() 134 free(wr_iovec[0].iov_base); in cleanup()
|
D | pwritev01.c | 40 static struct iovec wr_iovec[] = { variable 64 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()
|