Lines Matching refs:inode_in
33 struct inode *inode_in = file_in->f_mapping->host; in generic_remap_checks() local
49 size_in = i_size_read(inode_in); in generic_remap_checks()
84 if (inode_in == inode_out && in generic_remap_checks()
135 static int generic_remap_check_len(struct inode *inode_in, in generic_remap_check_len() argument
141 u64 blkmask = i_blocksize(inode_in) - 1; in generic_remap_check_len()
297 struct inode *inode_in = file_inode(file_in); in generic_remap_file_range_prep() local
299 bool same_inode = (inode_in == inode_out); in generic_remap_file_range_prep()
306 if (IS_SWAPFILE(inode_in) || IS_SWAPFILE(inode_out)) in generic_remap_file_range_prep()
310 if (S_ISDIR(inode_in->i_mode) || S_ISDIR(inode_out->i_mode)) in generic_remap_file_range_prep()
312 if (!S_ISREG(inode_in->i_mode) || !S_ISREG(inode_out->i_mode)) in generic_remap_file_range_prep()
317 loff_t isize = i_size_read(inode_in); in generic_remap_file_range_prep()
335 inode_dio_wait(inode_in); in generic_remap_file_range_prep()
339 ret = filemap_write_and_wait_range(inode_in->i_mapping, in generic_remap_file_range_prep()
355 ret = vfs_dedupe_file_range_compare(inode_in, pos_in, in generic_remap_file_range_prep()
363 ret = generic_remap_check_len(inode_in, inode_out, pos_out, len, in generic_remap_file_range_prep()