Home
last modified time | relevance | path

Searched refs:inode_in (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/fs/
Dremap_range.c35 struct inode *inode_in = file_in->f_mapping->host; in generic_remap_checks() local
51 size_in = i_size_read(inode_in); in generic_remap_checks()
86 if (inode_in == inode_out && in generic_remap_checks()
127 static int generic_remap_check_len(struct inode *inode_in, in generic_remap_check_len() argument
133 u64 blkmask = i_blocksize(inode_in) - 1; in generic_remap_check_len()
276 struct inode *inode_in = file_inode(file_in); in __generic_remap_file_range_prep() local
278 bool same_inode = (inode_in == inode_out); in __generic_remap_file_range_prep()
285 if (IS_SWAPFILE(inode_in) || IS_SWAPFILE(inode_out)) in __generic_remap_file_range_prep()
289 if (S_ISDIR(inode_in->i_mode) || S_ISDIR(inode_out->i_mode)) in __generic_remap_file_range_prep()
291 if (!S_ISREG(inode_in->i_mode) || !S_ISREG(inode_out->i_mode)) in __generic_remap_file_range_prep()
[all …]
Dread_write.c1408 struct inode *inode_in = file_inode(file_in); in generic_copy_file_checks() local
1442 if (IS_SWAPFILE(inode_in) || IS_SWAPFILE(inode_out)) in generic_copy_file_checks()
1450 size_in = i_size_read(inode_in); in generic_copy_file_checks()
1461 if (inode_in == inode_out && in generic_copy_file_checks()
1705 struct inode *inode_in = file_inode(file_in); 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.c798 struct inode *inode_in = file_inode(file_in); in btrfs_remap_file_range_prep() local
810 ASSERT(inode_in->i_sb == inode_out->i_sb); in btrfs_remap_file_range_prep()
814 if ((BTRFS_I(inode_in)->flags & BTRFS_INODE_NODATASUM) != in btrfs_remap_file_range_prep()
834 wb_len = ALIGN(inode_in->i_size, bs) - ALIGN_DOWN(pos_in, bs); in btrfs_remap_file_range_prep()
855 ret = filemap_flush(inode_in->i_mapping); in btrfs_remap_file_range_prep()
859 ret = btrfs_wait_ordered_range(inode_in, ALIGN_DOWN(pos_in, bs), in btrfs_remap_file_range_prep()
/linux-6.6.21/fs/xfs/
Dxfs_reflink.c1482 struct inode *inode_in = file_inode(file_in); in xfs_reflink_remap_prep() local
1483 struct xfs_inode *src = XFS_I(inode_in); in xfs_reflink_remap_prep()
1500 if (IS_DAX(inode_in) != IS_DAX(inode_out)) in xfs_reflink_remap_prep()
1503 if (!IS_DAX(inode_in)) in xfs_reflink_remap_prep()
1545 if (inode_in != inode_out) in xfs_reflink_remap_prep()
Dxfs_file.c1169 struct inode *inode_in = file_inode(file_in); in xfs_file_remap_range() local
1170 struct xfs_inode *src = XFS_I(inode_in); in xfs_file_remap_range()
1206 if (pos_in == 0 && len == i_size_read(inode_in) && in xfs_file_remap_range()
/linux-6.6.21/fs/ocfs2/
Dfile.c2678 struct inode *inode_in = file_inode(file_in); in ocfs2_remap_file_range() local
2680 struct ocfs2_super *osb = OCFS2_SB(inode_in->i_sb); in ocfs2_remap_file_range()
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()
2700 if ((OCFS2_I(inode_in)->ip_flags & OCFS2_INODE_SYSTEM_FILE) || in ocfs2_remap_file_range()
2710 down_write(&OCFS2_I(inode_in)->ip_alloc_sem); in ocfs2_remap_file_range()
2720 remapped = ocfs2_reflink_remap_blocks(inode_in, in_bh, pos_in, in ocfs2_remap_file_range()
2722 up_write(&OCFS2_I(inode_in)->ip_alloc_sem); in ocfs2_remap_file_range()
2735 ocfs2_extent_map_trunc(inode_in, 0); in ocfs2_remap_file_range()
2745 ocfs2_reflink_inodes_unlock(inode_in, in_bh, inode_out, out_bh); in ocfs2_remap_file_range()
/linux-6.6.21/fs/fuse/
Dfile.c3087 struct inode *inode_in = file_inode(file_in); in __fuse_copy_file_range() local
3115 inode_lock(inode_in); in __fuse_copy_file_range()
3116 err = fuse_writeback_range(inode_in, pos_in, pos_in + len - 1); in __fuse_copy_file_range()
3117 inode_unlock(inode_in); in __fuse_copy_file_range()