Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c1398 struct inode *inode_out = file_inode(file_out); in generic_copy_file_checks() local
1428 if (IS_IMMUTABLE(inode_out)) in generic_copy_file_checks()
1431 if (IS_SWAPFILE(inode_in) || IS_SWAPFILE(inode_out)) in generic_copy_file_checks()
1450 if (inode_in == inode_out && in generic_copy_file_checks()
1687 struct inode *inode_out = file_inode(file_out); in generic_file_rw_checks() local
1690 if (S_ISDIR(inode_in->i_mode) || S_ISDIR(inode_out->i_mode)) in generic_file_rw_checks()
1692 if (!S_ISREG(inode_in->i_mode) || !S_ISREG(inode_out->i_mode)) in generic_file_rw_checks()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/ocfs2/
Dfile.c2642 struct inode *inode_out = file_inode(file_out); in ocfs2_remap_file_range() local
2645 bool same_inode = (inode_in == inode_out); in ocfs2_remap_file_range()
2657 ret = ocfs2_reflink_inodes_lock(inode_in, &in_bh, inode_out, &out_bh); in ocfs2_remap_file_range()
2664 (OCFS2_I(inode_out)->ip_flags & OCFS2_INODE_SYSTEM_FILE)) in ocfs2_remap_file_range()
2675 down_write_nested(&OCFS2_I(inode_out)->ip_alloc_sem, in ocfs2_remap_file_range()
2679 truncate_inode_pages_range(&inode_out->i_data, in ocfs2_remap_file_range()
2684 inode_out, out_bh, pos_out, len); in ocfs2_remap_file_range()
2687 up_write(&OCFS2_I(inode_out)->ip_alloc_sem); in ocfs2_remap_file_range()
2699 ocfs2_extent_map_trunc(inode_out, 0); in ocfs2_remap_file_range()
2701 ret = ocfs2_reflink_update_dest(inode_out, out_bh, pos_out + len); in ocfs2_remap_file_range()
[all …]
/kernel/linux/linux-5.10/fs/overlayfs/
Dfile.c685 struct inode *inode_out = file_inode(file_out); in ovl_copyfile() local
721 ovl_copyattr(ovl_inode_real(inode_out), inode_out); in ovl_copyfile()
/kernel/linux/linux-5.10/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.c1086 struct inode *inode_out = file_inode(file_out); in xfs_file_remap_range() local
1087 struct xfs_inode *dest = XFS_I(inode_out); in xfs_file_remap_range()
1123 pos_out == 0 && len >= i_size_read(inode_out) && in xfs_file_remap_range()
/kernel/linux/linux-5.10/fs/fuse/
Dfile.c3365 struct inode *inode_out = file_inode(file_out); in __fuse_copy_file_range() local
3366 struct fuse_inode *fi_out = get_fuse_inode(inode_out); in __fuse_copy_file_range()
3384 ((pos_out + len) > inode_out->i_size); in __fuse_copy_file_range()
3398 inode_lock(inode_out); in __fuse_copy_file_range()
3422 err = fuse_writeback_range(inode_out, pos_out, pos_out + len - 1); in __fuse_copy_file_range()
3445 truncate_inode_pages_range(inode_out->i_mapping, in __fuse_copy_file_range()
3450 fuse_write_update_size(inode_out, pos_out + outarg.size); in __fuse_copy_file_range()
3454 fuse_invalidate_attr(inode_out); in __fuse_copy_file_range()
3461 inode_unlock(inode_out); in __fuse_copy_file_range()
3464 fuse_flush_time_update(inode_out); in __fuse_copy_file_range()