Home
last modified time | relevance | path

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

/Linux-v5.4/fs/xfs/
Dxfs_reflink.c1244 struct inode *inode_out = file_inode(file_out); in xfs_reflink_remap_unlock() local
1245 struct xfs_inode *dest = XFS_I(inode_out); in xfs_reflink_remap_unlock()
1246 bool same_inode = (inode_in == inode_out); in xfs_reflink_remap_unlock()
1251 inode_unlock(inode_out); in xfs_reflink_remap_unlock()
1316 struct inode *inode_out = file_inode(file_out); in xfs_reflink_remap_prep() local
1317 struct xfs_inode *dest = XFS_I(inode_out); in xfs_reflink_remap_prep()
1318 bool same_inode = (inode_in == inode_out); in xfs_reflink_remap_prep()
1322 ret = xfs_iolock_two_inodes_and_break_layout(inode_in, inode_out); in xfs_reflink_remap_prep()
1338 if (IS_DAX(inode_in) || IS_DAX(inode_out)) in xfs_reflink_remap_prep()
Dxfs_file.c979 struct inode *inode_out = file_inode(file_out); in xfs_file_remap_range() local
980 struct xfs_inode *dest = XFS_I(inode_out); in xfs_file_remap_range()
1016 pos_out == 0 && len >= i_size_read(inode_out) && in xfs_file_remap_range()
/Linux-v5.4/fs/
Dread_write.c1788 struct inode *inode_out, in generic_remap_check_len() argument
1800 pos_out + *len < i_size_read(inode_out)) in generic_remap_check_len()
1951 struct inode *inode_out = file_inode(file_out); in generic_remap_file_range_prep() local
1952 bool same_inode = (inode_in == inode_out); in generic_remap_file_range_prep()
1956 if (IS_IMMUTABLE(inode_out)) in generic_remap_file_range_prep()
1959 if (IS_SWAPFILE(inode_in) || IS_SWAPFILE(inode_out)) in generic_remap_file_range_prep()
1963 if (S_ISDIR(inode_in->i_mode) || S_ISDIR(inode_out->i_mode)) in generic_remap_file_range_prep()
1965 if (!S_ISREG(inode_in->i_mode) || !S_ISREG(inode_out->i_mode)) in generic_remap_file_range_prep()
1990 inode_dio_wait(inode_out); in generic_remap_file_range_prep()
1997 ret = filemap_write_and_wait_range(inode_out->i_mapping, in generic_remap_file_range_prep()
[all …]
/Linux-v5.4/mm/
Dfilemap.c3001 struct inode *inode_out = file_out->f_mapping->host; in generic_remap_checks() local
3005 loff_t bs = inode_out->i_sb->s_blocksize; in generic_remap_checks()
3017 size_out = i_size_read(inode_out); in generic_remap_checks()
3050 if (inode_in == inode_out && in generic_remap_checks()
3074 struct inode *inode_out = file_inode(file_out); in generic_file_rw_checks() local
3077 if (S_ISDIR(inode_in->i_mode) || S_ISDIR(inode_out->i_mode)) in generic_file_rw_checks()
3079 if (!S_ISREG(inode_in->i_mode) || !S_ISREG(inode_out->i_mode)) in generic_file_rw_checks()
3102 struct inode *inode_out = file_inode(file_out); in generic_copy_file_checks() local
3112 if (IS_IMMUTABLE(inode_out)) in generic_copy_file_checks()
3115 if (IS_SWAPFILE(inode_in) || IS_SWAPFILE(inode_out)) in generic_copy_file_checks()
[all …]
/Linux-v5.4/fs/ocfs2/
Dfile.c2570 struct inode *inode_out = file_inode(file_out); in ocfs2_remap_file_range() local
2573 bool same_inode = (inode_in == inode_out); in ocfs2_remap_file_range()
2585 ret = ocfs2_reflink_inodes_lock(inode_in, &in_bh, inode_out, &out_bh); in ocfs2_remap_file_range()
2592 (OCFS2_I(inode_out)->ip_flags & OCFS2_INODE_SYSTEM_FILE)) in ocfs2_remap_file_range()
2603 down_write_nested(&OCFS2_I(inode_out)->ip_alloc_sem, in ocfs2_remap_file_range()
2607 truncate_inode_pages_range(&inode_out->i_data, in ocfs2_remap_file_range()
2612 inode_out, out_bh, pos_out, len); in ocfs2_remap_file_range()
2615 up_write(&OCFS2_I(inode_out)->ip_alloc_sem); in ocfs2_remap_file_range()
2627 ocfs2_extent_map_trunc(inode_out, 0); in ocfs2_remap_file_range()
2629 ret = ocfs2_reflink_update_dest(inode_out, out_bh, pos_out + len); in ocfs2_remap_file_range()
[all …]
/Linux-v5.4/fs/overlayfs/
Dfile.c559 struct inode *inode_out = file_inode(file_out); in ovl_copyfile() local
595 ovl_copyattr(ovl_inode_real(inode_out), inode_out); in ovl_copyfile()
/Linux-v5.4/fs/fuse/
Dfile.c3235 struct inode *inode_out = file_inode(file_out); in __fuse_copy_file_range() local
3236 struct fuse_inode *fi_out = get_fuse_inode(inode_out); in __fuse_copy_file_range()
3253 ((pos_out + len) > inode_out->i_size); in __fuse_copy_file_range()
3269 inode_lock(inode_out); in __fuse_copy_file_range()
3276 err = fuse_writeback_range(inode_out, pos_out, pos_out + len); in __fuse_copy_file_range()
3301 fuse_write_update_size(inode_out, pos_out + outarg.size); in __fuse_copy_file_range()
3305 fuse_invalidate_attr(inode_out); in __fuse_copy_file_range()
3312 inode_unlock(inode_out); in __fuse_copy_file_range()
/Linux-v5.4/fs/btrfs/
Dioctl.c3829 struct inode *inode_out = file_inode(file_out); in btrfs_remap_file_range_prep() local
3830 u64 bs = BTRFS_I(inode_out)->root->fs_info->sb->s_blocksize; in btrfs_remap_file_range_prep()
3831 bool same_inode = inode_out == inode_in; in btrfs_remap_file_range_prep()
3836 struct btrfs_root *root_out = BTRFS_I(inode_out)->root; in btrfs_remap_file_range_prep()
3842 inode_in->i_sb != inode_out->i_sb) in btrfs_remap_file_range_prep()
3848 (BTRFS_I(inode_out)->flags & BTRFS_INODE_NODATASUM)) { in btrfs_remap_file_range_prep()
3878 inode_dio_wait(inode_out); in btrfs_remap_file_range_prep()
3905 ret = btrfs_wait_ordered_range(inode_out, ALIGN_DOWN(pos_out, bs), in btrfs_remap_file_range_prep()