Home
last modified time | relevance | path

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

/fs/
Dremap_range.c34 struct inode *inode_out = file_out->f_mapping->host; in generic_remap_checks() local
38 loff_t bs = inode_out->i_sb->s_blocksize; in generic_remap_checks()
50 size_out = i_size_read(inode_out); in generic_remap_checks()
84 if (inode_in == inode_out && in generic_remap_checks()
136 struct inode *inode_out, in generic_remap_check_len() argument
147 if (pos_out + *len < i_size_read(inode_out)) in generic_remap_check_len()
298 struct inode *inode_out = file_inode(file_out); in generic_remap_file_range_prep() local
299 bool same_inode = (inode_in == inode_out); in generic_remap_file_range_prep()
303 if (IS_IMMUTABLE(inode_out)) in generic_remap_file_range_prep()
306 if (IS_SWAPFILE(inode_in) || IS_SWAPFILE(inode_out)) in generic_remap_file_range_prep()
[all …]
Dread_write.c1403 struct inode *inode_out = file_inode(file_out); in generic_copy_file_checks() local
1433 if (IS_IMMUTABLE(inode_out)) in generic_copy_file_checks()
1436 if (IS_SWAPFILE(inode_in) || IS_SWAPFILE(inode_out)) in generic_copy_file_checks()
1455 if (inode_in == inode_out && in generic_copy_file_checks()
1692 struct inode *inode_out = file_inode(file_out); in generic_file_rw_checks() local
1695 if (S_ISDIR(inode_in->i_mode) || S_ISDIR(inode_out->i_mode)) in generic_file_rw_checks()
1697 if (!S_ISREG(inode_in->i_mode) || !S_ISREG(inode_out->i_mode)) in generic_file_rw_checks()
/fs/btrfs/
Dreflink.c751 struct inode *inode_out = file_inode(file_out); in btrfs_remap_file_range_prep() local
752 u64 bs = BTRFS_I(inode_out)->root->fs_info->sb->s_blocksize; in btrfs_remap_file_range_prep()
753 bool same_inode = inode_out == inode_in; in btrfs_remap_file_range_prep()
758 struct btrfs_root *root_out = BTRFS_I(inode_out)->root; in btrfs_remap_file_range_prep()
764 inode_in->i_sb != inode_out->i_sb) in btrfs_remap_file_range_prep()
770 (BTRFS_I(inode_out)->flags & BTRFS_INODE_NODATASUM)) { in btrfs_remap_file_range_prep()
800 inode_dio_wait(inode_out); in btrfs_remap_file_range_prep()
827 ret = btrfs_wait_ordered_range(inode_out, ALIGN_DOWN(pos_out, bs), in btrfs_remap_file_range_prep()
/fs/overlayfs/
Dfile.c680 struct inode *inode_out = file_inode(file_out); in ovl_copyfile() local
685 inode_lock(inode_out); in ovl_copyfile()
688 ovl_copyattr(ovl_inode_real(inode_out), inode_out); in ovl_copyfile()
725 ovl_copyattr(ovl_inode_real(inode_out), inode_out); in ovl_copyfile()
731 inode_unlock(inode_out); in ovl_copyfile()
/fs/ocfs2/
Dfile.c2648 struct inode *inode_out = file_inode(file_out); in ocfs2_remap_file_range() local
2651 bool same_inode = (inode_in == inode_out); in ocfs2_remap_file_range()
2663 ret = ocfs2_reflink_inodes_lock(inode_in, &in_bh, inode_out, &out_bh); in ocfs2_remap_file_range()
2670 (OCFS2_I(inode_out)->ip_flags & OCFS2_INODE_SYSTEM_FILE)) in ocfs2_remap_file_range()
2681 down_write_nested(&OCFS2_I(inode_out)->ip_alloc_sem, in ocfs2_remap_file_range()
2685 truncate_inode_pages_range(&inode_out->i_data, in ocfs2_remap_file_range()
2690 inode_out, out_bh, pos_out, len); in ocfs2_remap_file_range()
2693 up_write(&OCFS2_I(inode_out)->ip_alloc_sem); in ocfs2_remap_file_range()
2705 ocfs2_extent_map_trunc(inode_out, 0); in ocfs2_remap_file_range()
2707 ret = ocfs2_reflink_update_dest(inode_out, out_bh, pos_out + len); in ocfs2_remap_file_range()
[all …]
/fs/xfs/
Dxfs_reflink.c1292 struct inode *inode_out = file_inode(file_out); in xfs_reflink_remap_prep() local
1293 struct xfs_inode *dest = XFS_I(inode_out); in xfs_reflink_remap_prep()
1308 if (IS_DAX(inode_in) || IS_DAX(inode_out)) in xfs_reflink_remap_prep()
Dxfs_file.c1084 struct inode *inode_out = file_inode(file_out); in xfs_file_remap_range() local
1085 struct xfs_inode *dest = XFS_I(inode_out); in xfs_file_remap_range()
1121 pos_out == 0 && len >= i_size_read(inode_out) && in xfs_file_remap_range()
/fs/fuse/
Dfile.c3531 struct inode *inode_out = file_inode(file_out); in __fuse_copy_file_range() local
3532 struct fuse_inode *fi_out = get_fuse_inode(inode_out); in __fuse_copy_file_range()
3550 ((pos_out + len) > inode_out->i_size); in __fuse_copy_file_range()
3576 inode_lock(inode_out); in __fuse_copy_file_range()
3600 err = fuse_writeback_range(inode_out, pos_out, pos_out + len - 1); in __fuse_copy_file_range()
3623 truncate_inode_pages_range(inode_out->i_mapping, in __fuse_copy_file_range()
3628 fuse_write_update_size(inode_out, pos_out + outarg.size); in __fuse_copy_file_range()
3632 fuse_invalidate_attr(inode_out); in __fuse_copy_file_range()
3639 inode_unlock(inode_out); in __fuse_copy_file_range()
3642 fuse_flush_time_update(inode_out); in __fuse_copy_file_range()