Lines Matching refs:inode_in
34 struct inode *inode_in = file_in->f_mapping->host; in generic_remap_checks() local
50 size_in = i_size_read(inode_in); in generic_remap_checks()
85 if (inode_in == inode_out && in generic_remap_checks()
124 static int generic_remap_check_len(struct inode *inode_in, in generic_remap_check_len() argument
130 u64 blkmask = i_blocksize(inode_in) - 1; in generic_remap_check_len()
273 struct inode *inode_in = file_inode(file_in); in __generic_remap_file_range_prep() local
275 bool same_inode = (inode_in == inode_out); in __generic_remap_file_range_prep()
282 if (IS_SWAPFILE(inode_in) || IS_SWAPFILE(inode_out)) in __generic_remap_file_range_prep()
286 if (S_ISDIR(inode_in->i_mode) || S_ISDIR(inode_out->i_mode)) in __generic_remap_file_range_prep()
288 if (!S_ISREG(inode_in->i_mode) || !S_ISREG(inode_out->i_mode)) in __generic_remap_file_range_prep()
293 loff_t isize = i_size_read(inode_in); in __generic_remap_file_range_prep()
311 inode_dio_wait(inode_in); in __generic_remap_file_range_prep()
315 ret = filemap_write_and_wait_range(inode_in->i_mapping, in __generic_remap_file_range_prep()
334 if (!IS_DAX(inode_in)) in __generic_remap_file_range_prep()
338 ret = dax_dedupe_file_range_compare(inode_in, pos_in, in __generic_remap_file_range_prep()
349 ret = generic_remap_check_len(inode_in, inode_out, pos_out, len, in __generic_remap_file_range_prep()