Home
last modified time | relevance | path

Searched refs:inode_out (Results 1 – 7 of 7) sorted by relevance

/fs/xfs/
Dxfs_reflink.c1244 struct inode *inode_out = file_inode(file_out); in xfs_reflink_remap_unlock() local
1245 struct xfs_inode *dest = XFS_I(inode_out); in xfs_reflink_remap_unlock()
1246 bool same_inode = (inode_in == inode_out); in xfs_reflink_remap_unlock()
1251 inode_unlock(inode_out); in xfs_reflink_remap_unlock()
1316 struct inode *inode_out = file_inode(file_out); in xfs_reflink_remap_prep() local
1317 struct xfs_inode *dest = XFS_I(inode_out); 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.c979 struct inode *inode_out = file_inode(file_out); in xfs_file_remap_range() local
980 struct xfs_inode *dest = XFS_I(inode_out); in xfs_file_remap_range()
1016 pos_out == 0 && len >= i_size_read(inode_out) && in xfs_file_remap_range()
/fs/
Dread_write.c1791 struct inode *inode_out, in generic_remap_check_len() argument
1803 pos_out + *len < i_size_read(inode_out)) in generic_remap_check_len()
1954 struct inode *inode_out = file_inode(file_out); in generic_remap_file_range_prep() local
1955 bool same_inode = (inode_in == inode_out); in generic_remap_file_range_prep()
1959 if (IS_IMMUTABLE(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()
1993 inode_dio_wait(inode_out); in generic_remap_file_range_prep()
2000 ret = filemap_write_and_wait_range(inode_out->i_mapping, in generic_remap_file_range_prep()
[all …]
/fs/ocfs2/
Dfile.c2570 struct inode *inode_out = file_inode(file_out); in ocfs2_remap_file_range() local
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()
2592 (OCFS2_I(inode_out)->ip_flags & OCFS2_INODE_SYSTEM_FILE)) in ocfs2_remap_file_range()
2603 down_write_nested(&OCFS2_I(inode_out)->ip_alloc_sem, in ocfs2_remap_file_range()
2607 truncate_inode_pages_range(&inode_out->i_data, in ocfs2_remap_file_range()
2612 inode_out, out_bh, pos_out, len); in ocfs2_remap_file_range()
2615 up_write(&OCFS2_I(inode_out)->ip_alloc_sem); in ocfs2_remap_file_range()
2627 ocfs2_extent_map_trunc(inode_out, 0); in ocfs2_remap_file_range()
2629 ret = ocfs2_reflink_update_dest(inode_out, out_bh, pos_out + len); in ocfs2_remap_file_range()
[all …]
/fs/overlayfs/
Dfile.c559 struct inode *inode_out = file_inode(file_out); in ovl_copyfile() local
595 ovl_copyattr(ovl_inode_real(inode_out), inode_out); in ovl_copyfile()
/fs/fuse/
Dfile.c3241 struct inode *inode_out = file_inode(file_out); in __fuse_copy_file_range() local
3242 struct fuse_inode *fi_out = get_fuse_inode(inode_out); in __fuse_copy_file_range()
3259 ((pos_out + len) > inode_out->i_size); in __fuse_copy_file_range()
3275 inode_lock(inode_out); in __fuse_copy_file_range()
3282 err = fuse_writeback_range(inode_out, pos_out, pos_out + len); in __fuse_copy_file_range()
3307 fuse_write_update_size(inode_out, pos_out + outarg.size); in __fuse_copy_file_range()
3311 fuse_invalidate_attr(inode_out); in __fuse_copy_file_range()
3318 inode_unlock(inode_out); in __fuse_copy_file_range()
/fs/btrfs/
Dioctl.c3829 struct inode *inode_out = file_inode(file_out); in btrfs_remap_file_range_prep() local
3830 u64 bs = BTRFS_I(inode_out)->root->fs_info->sb->s_blocksize; in btrfs_remap_file_range_prep()
3831 bool same_inode = inode_out == inode_in; in btrfs_remap_file_range_prep()
3836 struct btrfs_root *root_out = BTRFS_I(inode_out)->root; in btrfs_remap_file_range_prep()
3842 inode_in->i_sb != inode_out->i_sb) in btrfs_remap_file_range_prep()
3848 (BTRFS_I(inode_out)->flags & BTRFS_INODE_NODATASUM)) { in btrfs_remap_file_range_prep()
3878 inode_dio_wait(inode_out); in btrfs_remap_file_range_prep()
3905 ret = btrfs_wait_ordered_range(inode_out, ALIGN_DOWN(pos_out, bs), in btrfs_remap_file_range_prep()