Home
last modified time | relevance | path

Searched refs:inode_in (Results 1 – 6 of 6) sorted by relevance

/fs/xfs/
Dxfs_reflink.c1242 struct inode *inode_in = file_inode(file_in); in xfs_reflink_remap_unlock() local
1243 struct xfs_inode *src = XFS_I(inode_in); in xfs_reflink_remap_unlock()
1246 bool same_inode = (inode_in == inode_out); in xfs_reflink_remap_unlock()
1253 inode_unlock(inode_in); in xfs_reflink_remap_unlock()
1314 struct inode *inode_in = file_inode(file_in); in xfs_reflink_remap_prep() local
1315 struct xfs_inode *src = XFS_I(inode_in); in xfs_reflink_remap_prep()
1318 bool same_inode = (inode_in == inode_out); in xfs_reflink_remap_prep()
1322 ret = xfs_iolock_two_inodes_and_break_layout(inode_in, inode_out); in xfs_reflink_remap_prep()
1338 if (IS_DAX(inode_in) || IS_DAX(inode_out)) in xfs_reflink_remap_prep()
Dxfs_file.c977 struct inode *inode_in = file_inode(file_in); in xfs_file_remap_range() local
978 struct xfs_inode *src = XFS_I(inode_in); in xfs_file_remap_range()
1014 if (pos_in == 0 && len == i_size_read(inode_in) && in xfs_file_remap_range()
/fs/
Dread_write.c1790 static int generic_remap_check_len(struct inode *inode_in, in generic_remap_check_len() argument
1796 u64 blkmask = i_blocksize(inode_in) - 1; in generic_remap_check_len()
1953 struct inode *inode_in = file_inode(file_in); in generic_remap_file_range_prep() local
1955 bool same_inode = (inode_in == inode_out); in generic_remap_file_range_prep()
1962 if (IS_SWAPFILE(inode_in) || IS_SWAPFILE(inode_out)) in generic_remap_file_range_prep()
1966 if (S_ISDIR(inode_in->i_mode) || S_ISDIR(inode_out->i_mode)) in generic_remap_file_range_prep()
1968 if (!S_ISREG(inode_in->i_mode) || !S_ISREG(inode_out->i_mode)) in generic_remap_file_range_prep()
1973 loff_t isize = i_size_read(inode_in); in generic_remap_file_range_prep()
1991 inode_dio_wait(inode_in); in generic_remap_file_range_prep()
1995 ret = filemap_write_and_wait_range(inode_in->i_mapping, in generic_remap_file_range_prep()
[all …]
/fs/ocfs2/
Dfile.c2569 struct inode *inode_in = file_inode(file_in); in ocfs2_remap_file_range() local
2571 struct ocfs2_super *osb = OCFS2_SB(inode_in->i_sb); in ocfs2_remap_file_range()
2573 bool same_inode = (inode_in == inode_out); in ocfs2_remap_file_range()
2585 ret = ocfs2_reflink_inodes_lock(inode_in, &in_bh, inode_out, &out_bh); in ocfs2_remap_file_range()
2591 if ((OCFS2_I(inode_in)->ip_flags & OCFS2_INODE_SYSTEM_FILE) || in ocfs2_remap_file_range()
2601 down_write(&OCFS2_I(inode_in)->ip_alloc_sem); in ocfs2_remap_file_range()
2611 remapped = ocfs2_reflink_remap_blocks(inode_in, in_bh, pos_in, in ocfs2_remap_file_range()
2613 up_write(&OCFS2_I(inode_in)->ip_alloc_sem); in ocfs2_remap_file_range()
2626 ocfs2_extent_map_trunc(inode_in, 0); in ocfs2_remap_file_range()
2636 ocfs2_reflink_inodes_unlock(inode_in, in_bh, inode_out, out_bh); in ocfs2_remap_file_range()
/fs/btrfs/
Dioctl.c3828 struct inode *inode_in = file_inode(file_in); in btrfs_remap_file_range_prep() local
3831 bool same_inode = inode_out == inode_in; in btrfs_remap_file_range_prep()
3842 inode_in->i_sb != inode_out->i_sb) in btrfs_remap_file_range_prep()
3847 if ((BTRFS_I(inode_in)->flags & BTRFS_INODE_NODATASUM) != in btrfs_remap_file_range_prep()
3867 wb_len = ALIGN(inode_in->i_size, bs) - ALIGN_DOWN(pos_in, bs); in btrfs_remap_file_range_prep()
3876 inode_dio_wait(inode_in); in btrfs_remap_file_range_prep()
3897 ret = filemap_flush(inode_in->i_mapping); in btrfs_remap_file_range_prep()
3901 ret = btrfs_wait_ordered_range(inode_in, ALIGN_DOWN(pos_in, bs), in btrfs_remap_file_range_prep()
/fs/fuse/
Dfile.c3240 struct inode *inode_in = file_inode(file_in); in __fuse_copy_file_range() local
3268 inode_lock(inode_in); in __fuse_copy_file_range()
3269 err = fuse_writeback_range(inode_in, pos_in, pos_in + len); in __fuse_copy_file_range()
3270 inode_unlock(inode_in); in __fuse_copy_file_range()