Lines Matching defs:old_file
250 struct file *old_file;
264 old_file = ovl_path_open(&datapath, O_LARGEFILE | O_RDONLY);
265 if (IS_ERR(old_file))
266 return PTR_ERR(old_file);
269 cloned = vfs_clone_file_range(old_file, 0, new_file, 0, len, 0);
274 error = rw_verify_area(READ, old_file, &old_pos, len);
281 if (old_file->f_mode & FMODE_LSEEK)
317 data_pos = vfs_llseek(old_file, old_pos, SEEK_DATA);
334 bytes = do_splice_direct(old_file, &old_pos,
348 fput(old_file);