Home
last modified time | relevance | path

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

/linux-6.6.21/fs/
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()
128 struct inode *inode_out, in generic_remap_check_len() argument
139 if (pos_out + *len < i_size_read(inode_out)) in generic_remap_check_len()
277 struct inode *inode_out = file_inode(file_out); in __generic_remap_file_range_prep() local
278 bool same_inode = (inode_in == inode_out); in __generic_remap_file_range_prep()
282 if (IS_IMMUTABLE(inode_out)) in __generic_remap_file_range_prep()
285 if (IS_SWAPFILE(inode_in) || IS_SWAPFILE(inode_out)) in __generic_remap_file_range_prep()
[all …]
Dread_write.c1409 struct inode *inode_out = file_inode(file_out); in generic_copy_file_checks() local
1439 if (IS_IMMUTABLE(inode_out)) in generic_copy_file_checks()
1442 if (IS_SWAPFILE(inode_in) || IS_SWAPFILE(inode_out)) in generic_copy_file_checks()
1461 if (inode_in == inode_out && in generic_copy_file_checks()
1706 struct inode *inode_out = file_inode(file_out); in generic_file_rw_checks() local
1709 if (S_ISDIR(inode_in->i_mode) || S_ISDIR(inode_out->i_mode)) in generic_file_rw_checks()
1711 if (!S_ISREG(inode_in->i_mode) || !S_ISREG(inode_out->i_mode)) in generic_file_rw_checks()
/linux-6.6.21/fs/btrfs/
Dreflink.c799 struct inode *inode_out = file_inode(file_out); in btrfs_remap_file_range_prep() local
800 u64 bs = BTRFS_I(inode_out)->root->fs_info->sb->s_blocksize; in btrfs_remap_file_range_prep()
805 struct btrfs_root *root_out = BTRFS_I(inode_out)->root; in btrfs_remap_file_range_prep()
810 ASSERT(inode_in->i_sb == inode_out->i_sb); in btrfs_remap_file_range_prep()
815 (BTRFS_I(inode_out)->flags & BTRFS_INODE_NODATASUM)) { in btrfs_remap_file_range_prep()
863 ret = btrfs_wait_ordered_range(inode_out, ALIGN_DOWN(pos_out, bs), in btrfs_remap_file_range_prep()
/linux-6.6.21/fs/overlayfs/
Dfile.c612 struct inode *inode_out = file_inode(file_out); in ovl_copyfile() local
617 inode_lock(inode_out); in ovl_copyfile()
620 ovl_copyattr(inode_out); in ovl_copyfile()
657 ovl_copyattr(inode_out); in ovl_copyfile()
663 inode_unlock(inode_out); in ovl_copyfile()
/linux-6.6.21/fs/ocfs2/
Dfile.c2679 struct inode *inode_out = file_inode(file_out); in ocfs2_remap_file_range() local
2682 bool same_inode = (inode_in == inode_out); in ocfs2_remap_file_range()
2694 ret = ocfs2_reflink_inodes_lock(inode_in, &in_bh, inode_out, &out_bh); in ocfs2_remap_file_range()
2701 (OCFS2_I(inode_out)->ip_flags & OCFS2_INODE_SYSTEM_FILE)) in ocfs2_remap_file_range()
2712 down_write_nested(&OCFS2_I(inode_out)->ip_alloc_sem, in ocfs2_remap_file_range()
2716 truncate_inode_pages_range(&inode_out->i_data, in ocfs2_remap_file_range()
2721 inode_out, out_bh, pos_out, len); in ocfs2_remap_file_range()
2724 up_write(&OCFS2_I(inode_out)->ip_alloc_sem); in ocfs2_remap_file_range()
2736 ocfs2_extent_map_trunc(inode_out, 0); in ocfs2_remap_file_range()
2738 ret = ocfs2_reflink_update_dest(inode_out, out_bh, pos_out + len); in ocfs2_remap_file_range()
[all …]
/linux-6.6.21/fs/xfs/
Dxfs_reflink.c1484 struct inode *inode_out = file_inode(file_out); in xfs_reflink_remap_prep() local
1485 struct xfs_inode *dest = XFS_I(inode_out); in xfs_reflink_remap_prep()
1500 if (IS_DAX(inode_in) != IS_DAX(inode_out)) in xfs_reflink_remap_prep()
1545 if (inode_in != inode_out) in xfs_reflink_remap_prep()
Dxfs_file.c1171 struct inode *inode_out = file_inode(file_out); in xfs_file_remap_range() local
1172 struct xfs_inode *dest = XFS_I(inode_out); in xfs_file_remap_range()
1208 pos_out == 0 && len >= i_size_read(inode_out) && in xfs_file_remap_range()
/linux-6.6.21/fs/fuse/
Dfile.c3088 struct inode *inode_out = file_inode(file_out); in __fuse_copy_file_range() local
3089 struct fuse_inode *fi_out = get_fuse_inode(inode_out); in __fuse_copy_file_range()
3107 ((pos_out + len) > inode_out->i_size); in __fuse_copy_file_range()
3121 inode_lock(inode_out); in __fuse_copy_file_range()
3145 err = fuse_writeback_range(inode_out, pos_out, pos_out + len - 1); in __fuse_copy_file_range()
3168 truncate_inode_pages_range(inode_out->i_mapping, in __fuse_copy_file_range()
3173 fuse_write_update_attr(inode_out, pos_out + outarg.size, outarg.size); in __fuse_copy_file_range()
3180 inode_unlock(inode_out); in __fuse_copy_file_range()
3183 fuse_flush_time_update(inode_out); in __fuse_copy_file_range()