Lines Matching refs:file_in
31 static int generic_remap_checks(struct file *file_in, loff_t pos_in, in generic_remap_checks() argument
35 struct inode *inode_in = file_in->f_mapping->host; in generic_remap_checks()
271 __generic_remap_file_range_prep(struct file *file_in, loff_t pos_in, in __generic_remap_file_range_prep() argument
276 struct inode *inode_in = file_inode(file_in); in __generic_remap_file_range_prep()
308 ret = generic_remap_checks(file_in, pos_in, file_out, pos_out, len, in __generic_remap_file_range_prep()
335 ret = vfs_dedupe_file_range_compare(file_in, pos_in, in __generic_remap_file_range_prep()
361 int generic_remap_file_range_prep(struct file *file_in, loff_t pos_in, in generic_remap_file_range_prep() argument
365 return __generic_remap_file_range_prep(file_in, pos_in, file_out, in generic_remap_file_range_prep()
370 loff_t do_clone_file_range(struct file *file_in, loff_t pos_in, in do_clone_file_range() argument
378 if (file_inode(file_in)->i_sb != file_inode(file_out)->i_sb) in do_clone_file_range()
381 ret = generic_file_rw_checks(file_in, file_out); in do_clone_file_range()
385 if (!file_in->f_op->remap_file_range) in do_clone_file_range()
388 ret = remap_verify_area(file_in, pos_in, len, false); in do_clone_file_range()
396 ret = file_in->f_op->remap_file_range(file_in, pos_in, in do_clone_file_range()
401 fsnotify_access(file_in); in do_clone_file_range()
407 loff_t vfs_clone_file_range(struct file *file_in, loff_t pos_in, in vfs_clone_file_range() argument
414 ret = do_clone_file_range(file_in, pos_in, file_out, pos_out, len, in vfs_clone_file_range()