Lines Matching refs:pos_out
1383 struct file *file_out, loff_t pos_out, in generic_copy_file_range() argument
1386 return do_splice_direct(file_in, &pos_in, file_out, &pos_out, in generic_copy_file_range()
1392 struct file *file_out, loff_t pos_out, in do_copy_file_range() argument
1406 file_out, pos_out, in do_copy_file_range()
1409 return generic_copy_file_range(file_in, pos_in, file_out, pos_out, len, in do_copy_file_range()
1421 struct file *file_out, loff_t pos_out, in generic_copy_file_checks() argument
1442 if (pos_in + count < pos_in || pos_out + count < pos_out) in generic_copy_file_checks()
1452 ret = generic_write_check_limits(file_out, pos_out, &count); in generic_copy_file_checks()
1458 pos_out + count > pos_in && in generic_copy_file_checks()
1459 pos_out < pos_in + count) in generic_copy_file_checks()
1472 struct file *file_out, loff_t pos_out, in vfs_copy_file_range() argument
1480 ret = generic_copy_file_checks(file_in, pos_in, file_out, pos_out, &len, in vfs_copy_file_range()
1489 ret = rw_verify_area(WRITE, file_out, &pos_out, len); in vfs_copy_file_range()
1507 file_out, pos_out, in vfs_copy_file_range()
1516 ret = do_copy_file_range(file_in, pos_in, file_out, pos_out, len, in vfs_copy_file_range()
1541 loff_t pos_out; in SYSCALL_DEFINE6() local
1563 if (copy_from_user(&pos_out, off_out, sizeof(loff_t))) in SYSCALL_DEFINE6()
1566 pos_out = f_out.file->f_pos; in SYSCALL_DEFINE6()
1569 ret = vfs_copy_file_range(f_in.file, pos_in, f_out.file, pos_out, len, in SYSCALL_DEFINE6()
1573 pos_out += ret; in SYSCALL_DEFINE6()
1583 if (copy_to_user(off_out, &pos_out, sizeof(loff_t))) in SYSCALL_DEFINE6()
1586 f_out.file->f_pos = pos_out; in SYSCALL_DEFINE6()