Searched refs:inode_out (Results 1 – 3 of 3) sorted by relevance
/fs/ |
D | read_write.c | 1559 struct inode *inode_out = file_inode(file_out); in vfs_copy_file_range() local 1565 if (S_ISDIR(inode_in->i_mode) || S_ISDIR(inode_out->i_mode)) in vfs_copy_file_range() 1567 if (!S_ISREG(inode_in->i_mode) || !S_ISREG(inode_out->i_mode)) in vfs_copy_file_range() 1584 if (inode_in->i_sb != inode_out->i_sb) in vfs_copy_file_range() 1727 struct inode *inode_out, in generic_remap_check_len() argument 1739 else if (pos_out + *len < i_size_read(inode_out)) in generic_remap_check_len() 1754 struct inode *inode_out, loff_t pos_out, in vfs_clone_file_prep_inodes() argument 1757 loff_t bs = inode_out->i_sb->s_blocksize; in vfs_clone_file_prep_inodes() 1760 bool same_inode = (inode_in == inode_out); in vfs_clone_file_prep_inodes() 1764 if (IS_IMMUTABLE(inode_out)) in vfs_clone_file_prep_inodes() [all …]
|
/fs/xfs/ |
D | xfs_reflink.c | 1261 struct inode *inode_out = file_inode(file_out); in xfs_reflink_remap_range() local 1262 struct xfs_inode *dest = XFS_I(inode_out); in xfs_reflink_remap_range() 1264 bool same_inode = (inode_in == inode_out); in xfs_reflink_remap_range() 1277 lock_two_nondirectories(inode_in, inode_out); in xfs_reflink_remap_range() 1290 if (IS_DAX(inode_in) || IS_DAX(inode_out)) in xfs_reflink_remap_range() 1293 ret = vfs_clone_file_prep_inodes(inode_in, pos_in, inode_out, pos_out, in xfs_reflink_remap_range() 1314 truncate_inode_pages_range(&inode_out->i_data, pos_out, in xfs_reflink_remap_range() 1325 pos_out == 0 && len >= i_size_read(inode_out) && in xfs_reflink_remap_range() 1336 unlock_two_nondirectories(inode_in, inode_out); in xfs_reflink_remap_range()
|
/fs/ocfs2/ |
D | refcounttree.c | 4837 struct inode *inode_out = file_inode(file_out); in ocfs2_reflink_remap_range() local 4840 bool same_inode = (inode_in == inode_out); in ocfs2_reflink_remap_range() 4849 ret = ocfs2_reflink_inodes_lock(inode_in, &in_bh, inode_out, &out_bh); in ocfs2_reflink_remap_range() 4856 (OCFS2_I(inode_out)->ip_flags & OCFS2_INODE_SYSTEM_FILE)) in ocfs2_reflink_remap_range() 4859 ret = vfs_clone_file_prep_inodes(inode_in, pos_in, inode_out, pos_out, in ocfs2_reflink_remap_range() 4867 down_write_nested(&OCFS2_I(inode_out)->ip_alloc_sem, in ocfs2_reflink_remap_range() 4870 ret = ocfs2_reflink_remap_blocks(inode_in, in_bh, pos_in, inode_out, in ocfs2_reflink_remap_range() 4875 truncate_inode_pages_range(&inode_out->i_data, pos_out, in ocfs2_reflink_remap_range() 4880 up_write(&OCFS2_I(inode_out)->ip_alloc_sem); in ocfs2_reflink_remap_range() 4891 ocfs2_extent_map_trunc(inode_out, 0); in ocfs2_reflink_remap_range() [all …]
|