Searched refs:inode_out (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/fs/ |
D | remap_range.c | 35 struct inode *inode_out = file_out->f_mapping->host; in generic_remap_checks() local 39 loff_t bs = inode_out->i_sb->s_blocksize; in generic_remap_checks() 51 size_out = i_size_read(inode_out); in generic_remap_checks() 85 if (inode_in == inode_out && in generic_remap_checks() 125 struct inode *inode_out, in generic_remap_check_len() argument 136 if (pos_out + *len < i_size_read(inode_out)) in generic_remap_check_len() 274 struct inode *inode_out = file_inode(file_out); in __generic_remap_file_range_prep() local 275 bool same_inode = (inode_in == inode_out); in __generic_remap_file_range_prep() 279 if (IS_IMMUTABLE(inode_out)) in __generic_remap_file_range_prep() 282 if (IS_SWAPFILE(inode_in) || IS_SWAPFILE(inode_out)) in __generic_remap_file_range_prep() [all …]
|
D | read_write.c | 1410 struct inode *inode_out = file_inode(file_out); in generic_copy_file_checks() local 1440 if (IS_IMMUTABLE(inode_out)) in generic_copy_file_checks() 1443 if (IS_SWAPFILE(inode_in) || IS_SWAPFILE(inode_out)) in generic_copy_file_checks() 1462 if (inode_in == inode_out && in generic_copy_file_checks() 1707 struct inode *inode_out = file_inode(file_out); in generic_file_rw_checks() local 1710 if (S_ISDIR(inode_in->i_mode) || S_ISDIR(inode_out->i_mode)) in generic_file_rw_checks() 1712 if (!S_ISREG(inode_in->i_mode) || !S_ISREG(inode_out->i_mode)) in generic_file_rw_checks()
|
/linux-6.1.9/fs/btrfs/ |
D | reflink.c | 794 struct inode *inode_out = file_inode(file_out); in btrfs_remap_file_range_prep() local 795 u64 bs = BTRFS_I(inode_out)->root->fs_info->sb->s_blocksize; in btrfs_remap_file_range_prep() 800 struct btrfs_root *root_out = BTRFS_I(inode_out)->root; in btrfs_remap_file_range_prep() 805 ASSERT(inode_in->i_sb == inode_out->i_sb); in btrfs_remap_file_range_prep() 810 (BTRFS_I(inode_out)->flags & BTRFS_INODE_NODATASUM)) { in btrfs_remap_file_range_prep() 858 ret = btrfs_wait_ordered_range(inode_out, ALIGN_DOWN(pos_out, bs), in btrfs_remap_file_range_prep()
|
/linux-6.1.9/fs/overlayfs/ |
D | file.c | 576 struct inode *inode_out = file_inode(file_out); in ovl_copyfile() local 581 inode_lock(inode_out); in ovl_copyfile() 584 ovl_copyattr(inode_out); in ovl_copyfile() 621 ovl_copyattr(inode_out); in ovl_copyfile() 627 inode_unlock(inode_out); in ovl_copyfile()
|
/linux-6.1.9/fs/ocfs2/ |
D | file.c | 2639 struct inode *inode_out = file_inode(file_out); in ocfs2_remap_file_range() local 2642 bool same_inode = (inode_in == inode_out); in ocfs2_remap_file_range() 2654 ret = ocfs2_reflink_inodes_lock(inode_in, &in_bh, inode_out, &out_bh); in ocfs2_remap_file_range() 2661 (OCFS2_I(inode_out)->ip_flags & OCFS2_INODE_SYSTEM_FILE)) in ocfs2_remap_file_range() 2672 down_write_nested(&OCFS2_I(inode_out)->ip_alloc_sem, in ocfs2_remap_file_range() 2676 truncate_inode_pages_range(&inode_out->i_data, in ocfs2_remap_file_range() 2681 inode_out, out_bh, pos_out, len); in ocfs2_remap_file_range() 2684 up_write(&OCFS2_I(inode_out)->ip_alloc_sem); in ocfs2_remap_file_range() 2696 ocfs2_extent_map_trunc(inode_out, 0); in ocfs2_remap_file_range() 2698 ret = ocfs2_reflink_update_dest(inode_out, out_bh, pos_out + len); in ocfs2_remap_file_range() [all …]
|
/linux-6.1.9/fs/fuse/ |
D | file.c | 3052 struct inode *inode_out = file_inode(file_out); in __fuse_copy_file_range() local 3053 struct fuse_inode *fi_out = get_fuse_inode(inode_out); in __fuse_copy_file_range() 3071 ((pos_out + len) > inode_out->i_size); in __fuse_copy_file_range() 3085 inode_lock(inode_out); in __fuse_copy_file_range() 3109 err = fuse_writeback_range(inode_out, pos_out, pos_out + len - 1); in __fuse_copy_file_range() 3132 truncate_inode_pages_range(inode_out->i_mapping, in __fuse_copy_file_range() 3137 fuse_write_update_attr(inode_out, pos_out + outarg.size, outarg.size); in __fuse_copy_file_range() 3144 inode_unlock(inode_out); in __fuse_copy_file_range() 3147 fuse_flush_time_update(inode_out); in __fuse_copy_file_range()
|
/linux-6.1.9/fs/xfs/ |
D | xfs_file.c | 1112 struct inode *inode_out = file_inode(file_out); in xfs_file_remap_range() local 1113 struct xfs_inode *dest = XFS_I(inode_out); in xfs_file_remap_range() 1149 pos_out == 0 && len >= i_size_read(inode_out) && in xfs_file_remap_range()
|
D | xfs_reflink.c | 1482 struct inode *inode_out = file_inode(file_out); in xfs_reflink_remap_prep() local 1483 struct xfs_inode *dest = XFS_I(inode_out); in xfs_reflink_remap_prep() 1498 if (IS_DAX(inode_in) != IS_DAX(inode_out)) in xfs_reflink_remap_prep()
|