Home
last modified time | relevance | path

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

/linux/fs/
H A Dremap_range.c36 struct inode *inode_out = file_out->f_mapping->host; in generic_remap_checks() local
40 loff_t bs = inode_out->i_sb->s_blocksize; in generic_remap_checks()
52 size_out = i_size_read(inode_out); in generic_remap_checks()
86 if (inode_in == inode_out && in generic_remap_checks()
134 struct inode *inode_out, in generic_remap_check_len() argument
145 if (pos_out + *len < i_size_read(inode_out)) in generic_remap_check_len()
283 struct inode *inode_out = file_inode(file_out); in __generic_remap_file_range_prep() local
284 bool same_inode = (inode_in == inode_out); in __generic_remap_file_range_prep()
288 if (IS_IMMUTABLE(inode_out)) in __generic_remap_file_range_prep()
291 if (IS_SWAPFILE(inode_in) || IS_SWAPFILE(inode_out)) in __generic_remap_file_range_prep()
[all …]
/linux/fs/overlayfs/
H A Dfile.c532 struct inode *inode_out = file_inode(file_out); in ovl_copyfile() local
536 inode_lock(inode_out); in ovl_copyfile()
539 ovl_copyattr(inode_out); in ovl_copyfile()
560 if (unlikely(inode_in->i_sb != inode_out->i_sb)) { in ovl_copyfile()
568 with_ovl_creds(inode_out->i_sb) { in ovl_copyfile()
592 inode_unlock(inode_out); in ovl_copyfile()
/linux/fs/btrfs/
H A Dreflink.c841 struct btrfs_inode *inode_out = BTRFS_I(file_inode(file_out)); in btrfs_remap_file_range_prep() local
842 const u32 bs = inode_out->root->fs_info->sectorsize; in btrfs_remap_file_range_prep()
847 struct btrfs_root *root_out = inode_out->root; in btrfs_remap_file_range_prep()
852 ASSERT(inode_in->vfs_inode.i_sb == inode_out->vfs_inode.i_sb); in btrfs_remap_file_range_prep()
856 if (IS_ENCRYPTED(&inode_in->vfs_inode) != IS_ENCRYPTED(&inode_out->vfs_inode)) in btrfs_remap_file_range_prep()
861 (inode_out->flags & BTRFS_INODE_NODATASUM)) { in btrfs_remap_file_range_prep()
908 ret = btrfs_wait_ordered_range(inode_out, ALIGN_DOWN(pos_out, bs), wb_len); in btrfs_remap_file_range_prep()
/linux/fs/xfs/
H A Dxfs_reflink.c1698 struct inode *inode_out = file_inode(file_out); in xfs_reflink_remap_prep() local
1699 struct xfs_inode *dest = XFS_I(inode_out); in xfs_reflink_remap_prep()
1714 if (IS_DAX(inode_in) != IS_DAX(inode_out)) in xfs_reflink_remap_prep()
1759 if (inode_in != inode_out) in xfs_reflink_remap_prep()
/linux/fs/fuse/
H A Dfile.c2939 struct inode *inode_out = file_inode(file_out); in __fuse_copy_file_range() local
2940 struct fuse_inode *fi_out = get_fuse_inode(inode_out); in __fuse_copy_file_range()
2960 ((pos_out + len) > inode_out->i_size); in __fuse_copy_file_range()
2974 inode_lock(inode_out); in __fuse_copy_file_range()
2998 err = fuse_writeback_range(inode_out, pos_out, pos_out + len - 1); in __fuse_copy_file_range()
3042 truncate_inode_pages_range(inode_out->i_mapping, in __fuse_copy_file_range()
3047 fuse_write_update_attr(inode_out, pos_out + bytes_copied, bytes_copied); in __fuse_copy_file_range()
3054 inode_unlock(inode_out); in __fuse_copy_file_range()
3057 fuse_flush_time_update(inode_out); in __fuse_copy_file_range()