Lines Matching refs:iovcount
3450 size_t iovcount; in fs_write_alotof_bufs() local
3457 iovcount = 54321; in fs_write_alotof_bufs()
3464 iovs = malloc(sizeof(*iovs) * iovcount); in fs_write_alotof_bufs()
3478 for (index = 0; index < iovcount; ++index) in fs_write_alotof_bufs()
3485 iovcount, in fs_write_alotof_bufs()
3489 ASSERT_EQ((size_t)write_req.result, sizeof(test_buf) * iovcount); in fs_write_alotof_bufs()
3493 buffer = malloc(sizeof(test_buf) * iovcount); in fs_write_alotof_bufs()
3496 for (index = 0; index < iovcount; ++index) in fs_write_alotof_bufs()
3511 r = uv_fs_read(NULL, &read_req, open_req1.result, iovs, iovcount, -1, NULL); in fs_write_alotof_bufs()
3512 if (iovcount > iovmax) in fs_write_alotof_bufs()
3513 iovcount = iovmax; in fs_write_alotof_bufs()
3515 ASSERT_EQ((size_t)read_req.result, sizeof(test_buf) * iovcount); in fs_write_alotof_bufs()
3517 for (index = 0; index < iovcount; ++index) in fs_write_alotof_bufs()
3558 size_t iovcount; in fs_write_alotof_bufs_with_offset() local
3570 iovcount = 54321; in fs_write_alotof_bufs_with_offset()
3577 iovs = malloc(sizeof(*iovs) * iovcount); in fs_write_alotof_bufs_with_offset()
3598 for (index = 0; index < iovcount; ++index) in fs_write_alotof_bufs_with_offset()
3605 iovcount, in fs_write_alotof_bufs_with_offset()
3609 ASSERT_EQ((size_t)write_req.result, sizeof(test_buf) * iovcount); in fs_write_alotof_bufs_with_offset()
3613 buffer = malloc(sizeof(test_buf) * iovcount); in fs_write_alotof_bufs_with_offset()
3616 for (index = 0; index < iovcount; ++index) in fs_write_alotof_bufs_with_offset()
3621 iovs, iovcount, offset, NULL); in fs_write_alotof_bufs_with_offset()
3624 iovcount = 1; /* Infer that preadv is not available. */ in fs_write_alotof_bufs_with_offset()
3625 else if (iovcount > iovmax) in fs_write_alotof_bufs_with_offset()
3626 iovcount = iovmax; in fs_write_alotof_bufs_with_offset()
3627 ASSERT_EQ((size_t)read_req.result, sizeof(test_buf) * iovcount); in fs_write_alotof_bufs_with_offset()
3629 for (index = 0; index < iovcount; ++index) in fs_write_alotof_bufs_with_offset()
3802 size_t iovcount; in test_fs_partial() local
3807 iovcount = 54321; in test_fs_partial()
3809 iovs = malloc(sizeof(*iovs) * iovcount); in test_fs_partial()
3815 ctx.size = sizeof(test_buf) * iovcount; in test_fs_partial()
3821 for (index = 0; index < iovcount; ++index) in test_fs_partial()
3841 result = uv_fs_read(loop, &read_req, pipe_fds[0], read_iovs, iovcount, -1, NULL); in test_fs_partial()
3846 iovcount -= read_iovcount; in test_fs_partial()
3855 result = uv_fs_write(loop, &write_req, pipe_fds[1], iovs, iovcount, -1, NULL); in test_fs_partial()