Searched refs:inode_out (Results 1 – 6 of 6) sorted by relevance
| /linux/fs/ |
| H A D | remap_range.c | 36 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/btrfs/ |
| H A D | reflink.c | 787 struct btrfs_inode *inode_out = BTRFS_I(file_inode(file_out)); in btrfs_remap_file_range_prep() local 788 u64 bs = inode_out->root->fs_info->sectorsize; in btrfs_remap_file_range_prep() 793 struct btrfs_root *root_out = inode_out->root; in btrfs_remap_file_range_prep() 798 ASSERT(inode_in->vfs_inode.i_sb == inode_out->vfs_inode.i_sb); in btrfs_remap_file_range_prep() 802 if (IS_ENCRYPTED(&inode_in->vfs_inode) != IS_ENCRYPTED(&inode_out->vfs_inode)) in btrfs_remap_file_range_prep() 807 (inode_out->flags & BTRFS_INODE_NODATASUM)) { in btrfs_remap_file_range_prep() 854 ret = btrfs_wait_ordered_range(inode_out, ALIGN_DOWN(pos_out, bs), wb_len); in btrfs_remap_file_range_prep()
|
| /linux/fs/overlayfs/ |
| H A D | file.c | 531 struct inode *inode_out = file_inode(file_out); in ovl_copyfile() local 535 inode_lock(inode_out); in ovl_copyfile() 538 ovl_copyattr(inode_out); in ovl_copyfile() 578 inode_unlock(inode_out); in ovl_copyfile()
|
| /linux/fs/ocfs2/ |
| H A D | file.c | 2706 struct inode *inode_out = file_inode(file_out); in ocfs2_remap_file_range() local 2709 bool same_inode = (inode_in == inode_out); in ocfs2_remap_file_range() 2721 ret = ocfs2_reflink_inodes_lock(inode_in, &in_bh, inode_out, &out_bh); in ocfs2_remap_file_range() 2728 (OCFS2_I(inode_out)->ip_flags & OCFS2_INODE_SYSTEM_FILE)) in ocfs2_remap_file_range() 2739 down_write_nested(&OCFS2_I(inode_out)->ip_alloc_sem, in ocfs2_remap_file_range() 2743 truncate_inode_pages_range(&inode_out->i_data, in ocfs2_remap_file_range() 2748 inode_out, out_bh, pos_out, len); in ocfs2_remap_file_range() 2751 up_write(&OCFS2_I(inode_out)->ip_alloc_sem); in ocfs2_remap_file_range() 2763 ocfs2_extent_map_trunc(inode_out, 0); in ocfs2_remap_file_range() 2765 ret = ocfs2_reflink_update_dest(inode_out, out_bh, pos_out + len); in ocfs2_remap_file_range() [all …]
|
| /linux/fs/fuse/ |
| H A D | file.c | 3023 struct inode *inode_out = file_inode(file_out); in __fuse_copy_file_range() local 3024 struct fuse_inode *fi_out = get_fuse_inode(inode_out); in __fuse_copy_file_range() 3044 ((pos_out + len) > inode_out->i_size); in __fuse_copy_file_range() 3058 inode_lock(inode_out); in __fuse_copy_file_range() 3082 err = fuse_writeback_range(inode_out, pos_out, pos_out + len - 1); in __fuse_copy_file_range() 3126 truncate_inode_pages_range(inode_out->i_mapping, in __fuse_copy_file_range() 3131 fuse_write_update_attr(inode_out, pos_out + bytes_copied, bytes_copied); in __fuse_copy_file_range() 3138 inode_unlock(inode_out); in __fuse_copy_file_range() 3141 fuse_flush_time_update(inode_out); in __fuse_copy_file_range()
|
| /linux/fs/xfs/ |
| H A D | xfs_file.c | 1575 struct inode *inode_out = file_inode(file_out); in xfs_file_remap_range() local 1576 struct xfs_inode *dest = XFS_I(inode_out); in xfs_file_remap_range() 1612 pos_out == 0 && len >= i_size_read(inode_out) && in xfs_file_remap_range()
|