Lines Matching refs:pos_in

1387 ssize_t generic_copy_file_range(struct file *file_in, loff_t pos_in,  in generic_copy_file_range()  argument
1393 return do_splice_direct(file_in, &pos_in, file_out, &pos_out, in generic_copy_file_range()
1405 static int generic_copy_file_checks(struct file *file_in, loff_t pos_in, in generic_copy_file_checks() argument
1447 if (pos_in + count < pos_in || pos_out + count < pos_out) in generic_copy_file_checks()
1452 if (pos_in >= size_in) in generic_copy_file_checks()
1455 count = min(count, size_in - (uint64_t)pos_in); in generic_copy_file_checks()
1463 pos_out + count > pos_in && in generic_copy_file_checks()
1464 pos_out < pos_in + count) in generic_copy_file_checks()
1476 ssize_t vfs_copy_file_range(struct file *file_in, loff_t pos_in, in vfs_copy_file_range() argument
1486 ret = generic_copy_file_checks(file_in, pos_in, file_out, pos_out, &len, in vfs_copy_file_range()
1491 ret = rw_verify_area(READ, file_in, &pos_in, len); in vfs_copy_file_range()
1510 ret = file_out->f_op->copy_file_range(file_in, pos_in, in vfs_copy_file_range()
1518 ret = file_in->f_op->remap_file_range(file_in, pos_in, in vfs_copy_file_range()
1539 ret = generic_copy_file_range(file_in, pos_in, file_out, pos_out, len, in vfs_copy_file_range()
1563 loff_t pos_in; in SYSCALL_DEFINE6() local
1579 if (copy_from_user(&pos_in, off_in, sizeof(loff_t))) in SYSCALL_DEFINE6()
1582 pos_in = f_in.file->f_pos; in SYSCALL_DEFINE6()
1596 ret = vfs_copy_file_range(f_in.file, pos_in, f_out.file, pos_out, len, in SYSCALL_DEFINE6()
1599 pos_in += ret; in SYSCALL_DEFINE6()
1603 if (copy_to_user(off_in, &pos_in, sizeof(loff_t))) in SYSCALL_DEFINE6()
1606 f_in.file->f_pos = pos_in; in SYSCALL_DEFINE6()