Lines Matching defs:start2

161 	off_t start2 = 3 << 17;
177 (off_t)in.body.copy_file_range.off_out == start2 &&
186 ASSERT_EQ(-1, copy_file_range(fd1, &start1, fd2, &start2, len, 0));
208 off_t start2 = 3 << 17;
219 expect_read(ino2, start2, m_maxbcachebuf, m_maxbcachebuf, buf0, -1,
229 (off_t)in.body.copy_file_range.off_out == start2 &&
244 ASSERT_EQ(m_maxbcachebuf, pread(fd2, buf, m_maxbcachebuf, start2))
249 ASSERT_EQ(len, copy_file_range(fd1, &start1, fd2, &start2, len, 0));
254 start2 -= len;
255 expect_read(ino2, start2, m_maxbcachebuf, m_maxbcachebuf, buf1, -1,
257 ASSERT_EQ(m_maxbcachebuf, pread(fd2, buf, m_maxbcachebuf, start2))
284 off_t start2 = 0;
307 (off_t)in.body.copy_file_range.off_out == start2 &&
315 expect_write(ino2, start2, len, len, contents);
321 ASSERT_EQ(len, copy_file_range(fd1, &start1, fd2, &start2, len, 0));
409 off_t start2 = fsize2;
431 ASSERT_EQ(-1, copy_file_range(fd1, &start1, fd2, &start2, len, 0));
455 off_t start2 = fsize2;
457 off_t limit = start2 + len / 2;
467 (off_t)in.body.copy_file_range.off_out == start2 &&
484 ASSERT_EQ(len / 2, copy_file_range(fd1, &start1, fd2, &start2, len, 0));
500 off_t start2 = 3 << 17;
516 (off_t)in.body.copy_file_range.off_out == start2 &&
528 ASSERT_EQ(len, copy_file_range(fd1, &start1, fd2, &start2, len, 0));
591 off_t start2 = 3 << 17;
607 (off_t)in.body.copy_file_range.off_out == start2 &&
626 ASSERT_EQ(len, copy_file_range(fd1, &start1, fd2, &start2, len, 0));
701 off_t start2 = 0;
724 expect_write(ino2, start2, len, len, contents);
730 ASSERT_EQ(len, copy_file_range(fd1, &start1, fd2, &start2, len, 0));
754 off_t start2 = 3 << 17;
770 (off_t)in.body.copy_file_range.off_out == start2 &&
789 ASSERT_EQ(len, copy_file_range(fd1, &start1, fd2, &start2, len, 0));