Lines Matching refs:inode_out
1561 struct inode *inode_out = file_inode(file_out); in vfs_copy_file_range() local
1567 if (S_ISDIR(inode_in->i_mode) || S_ISDIR(inode_out->i_mode)) in vfs_copy_file_range()
1569 if (!S_ISREG(inode_in->i_mode) || !S_ISREG(inode_out->i_mode)) in vfs_copy_file_range()
1586 if (inode_in->i_sb != inode_out->i_sb) in vfs_copy_file_range()
1729 struct inode *inode_out, in generic_remap_check_len() argument
1741 else if (pos_out + *len < i_size_read(inode_out)) in generic_remap_check_len()
1756 struct inode *inode_out, loff_t pos_out, in vfs_clone_file_prep_inodes() argument
1759 loff_t bs = inode_out->i_sb->s_blocksize; in vfs_clone_file_prep_inodes()
1762 bool same_inode = (inode_in == inode_out); in vfs_clone_file_prep_inodes()
1766 if (IS_IMMUTABLE(inode_out)) in vfs_clone_file_prep_inodes()
1769 if (IS_SWAPFILE(inode_in) || IS_SWAPFILE(inode_out)) in vfs_clone_file_prep_inodes()
1773 if (S_ISDIR(inode_in->i_mode) || S_ISDIR(inode_out->i_mode)) in vfs_clone_file_prep_inodes()
1775 if (!S_ISREG(inode_in->i_mode) || !S_ISREG(inode_out->i_mode)) in vfs_clone_file_prep_inodes()
1801 disize = i_size_read(inode_out); in vfs_clone_file_prep_inodes()
1826 inode_dio_wait(inode_out); in vfs_clone_file_prep_inodes()
1833 ret = filemap_write_and_wait_range(inode_out->i_mapping, in vfs_clone_file_prep_inodes()
1845 inode_out, pos_out, *len, &is_same); in vfs_clone_file_prep_inodes()
1852 ret = generic_remap_check_len(inode_in, inode_out, pos_out, len, in vfs_clone_file_prep_inodes()
1865 struct inode *inode_out = file_inode(file_out); in do_clone_file_range() local
1868 if (S_ISDIR(inode_in->i_mode) || S_ISDIR(inode_out->i_mode)) in do_clone_file_range()
1870 if (!S_ISREG(inode_in->i_mode) || !S_ISREG(inode_out->i_mode)) in do_clone_file_range()
1878 if (inode_in->i_sb != inode_out->i_sb) in do_clone_file_range()