Lines Matching defs:pos_in
1412 static int generic_copy_file_checks(struct file *file_in, loff_t pos_in,
1454 if (pos_in + count < pos_in || pos_out + count < pos_out)
1459 if (pos_in >= size_in)
1462 count = min(count, size_in - (uint64_t)pos_in);
1470 pos_out + count > pos_in &&
1471 pos_out < pos_in + count)
1483 ssize_t vfs_copy_file_range(struct file *file_in, loff_t pos_in,
1494 ret = generic_copy_file_checks(file_in, pos_in, file_out, pos_out, &len,
1499 ret = rw_verify_area(READ, file_in, &pos_in, len);
1518 ret = file_out->f_op->copy_file_range(file_in, pos_in,
1522 ret = file_in->f_op->remap_file_range(file_in, pos_in,
1558 ret = do_splice_direct(file_in, &pos_in, file_out, &pos_out,
1579 loff_t pos_in;
1595 if (copy_from_user(&pos_in, off_in, sizeof(loff_t)))
1598 pos_in = f_in.file->f_pos;
1612 ret = vfs_copy_file_range(f_in.file, pos_in, f_out.file, pos_out, len,
1615 pos_in += ret;
1619 if (copy_to_user(off_in, &pos_in, sizeof(loff_t)))
1622 f_in.file->f_pos = pos_in;