Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ !
Dremap_range.c34 struct inode *inode_in = file_in->f_mapping->host; in generic_remap_checks() local
50 size_in = i_size_read(inode_in); in generic_remap_checks()
85 if (inode_in == inode_out && in generic_remap_checks()
124 static int generic_remap_check_len(struct inode *inode_in, in generic_remap_check_len() argument
130 u64 blkmask = i_blocksize(inode_in) - 1; in generic_remap_check_len()
273 struct inode *inode_in = file_inode(file_in); in __generic_remap_file_range_prep() local
275 bool same_inode = (inode_in == inode_out); in __generic_remap_file_range_prep()
282 if (IS_SWAPFILE(inode_in) || IS_SWAPFILE(inode_out)) in __generic_remap_file_range_prep()
286 if (S_ISDIR(inode_in->i_mode) || S_ISDIR(inode_out->i_mode)) in __generic_remap_file_range_prep()
288 if (!S_ISREG(inode_in->i_mode) || !S_ISREG(inode_out->i_mode)) in __generic_remap_file_range_prep()
[all …]
Dread_write.c1409 struct inode *inode_in = file_inode(file_in); in generic_copy_file_checks() local
1443 if (IS_SWAPFILE(inode_in) || IS_SWAPFILE(inode_out)) in generic_copy_file_checks()
1451 size_in = i_size_read(inode_in); in generic_copy_file_checks()
1462 if (inode_in == inode_out && in generic_copy_file_checks()
1706 struct inode *inode_in = file_inode(file_in); 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/ !
Dreflink.c793 struct inode *inode_in = file_inode(file_in); in btrfs_remap_file_range_prep() local
805 ASSERT(inode_in->i_sb == inode_out->i_sb); in btrfs_remap_file_range_prep()
809 if ((BTRFS_I(inode_in)->flags & BTRFS_INODE_NODATASUM) != in btrfs_remap_file_range_prep()
829 wb_len = ALIGN(inode_in->i_size, bs) - ALIGN_DOWN(pos_in, bs); in btrfs_remap_file_range_prep()
850 ret = filemap_flush(inode_in->i_mapping); in btrfs_remap_file_range_prep()
854 ret = btrfs_wait_ordered_range(inode_in, ALIGN_DOWN(pos_in, bs), in btrfs_remap_file_range_prep()
/linux-6.1.9/fs/ocfs2/ !
Dfile.c2638 struct inode *inode_in = file_inode(file_in); in ocfs2_remap_file_range() local
2640 struct ocfs2_super *osb = OCFS2_SB(inode_in->i_sb); in ocfs2_remap_file_range()
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()
2660 if ((OCFS2_I(inode_in)->ip_flags & OCFS2_INODE_SYSTEM_FILE) || in ocfs2_remap_file_range()
2670 down_write(&OCFS2_I(inode_in)->ip_alloc_sem); in ocfs2_remap_file_range()
2680 remapped = ocfs2_reflink_remap_blocks(inode_in, in_bh, pos_in, in ocfs2_remap_file_range()
2682 up_write(&OCFS2_I(inode_in)->ip_alloc_sem); in ocfs2_remap_file_range()
2695 ocfs2_extent_map_trunc(inode_in, 0); in ocfs2_remap_file_range()
2705 ocfs2_reflink_inodes_unlock(inode_in, in_bh, inode_out, out_bh); in ocfs2_remap_file_range()
/linux-6.1.9/fs/xfs/ !
Dxfs_reflink.c1480 struct inode *inode_in = file_inode(file_in); in xfs_reflink_remap_prep() local
1481 struct xfs_inode *src = XFS_I(inode_in); in xfs_reflink_remap_prep()
1498 if (IS_DAX(inode_in) != IS_DAX(inode_out)) in xfs_reflink_remap_prep()
1501 if (!IS_DAX(inode_in)) in xfs_reflink_remap_prep()
Dxfs_file.c1110 struct inode *inode_in = file_inode(file_in); in xfs_file_remap_range() local
1111 struct xfs_inode *src = XFS_I(inode_in); in xfs_file_remap_range()
1147 if (pos_in == 0 && len == i_size_read(inode_in) && in xfs_file_remap_range()
/linux-6.1.9/fs/fuse/ !
Dfile.c3051 struct inode *inode_in = file_inode(file_in); in __fuse_copy_file_range() local
3079 inode_lock(inode_in); in __fuse_copy_file_range()
3080 err = fuse_writeback_range(inode_in, pos_in, pos_in + len - 1); in __fuse_copy_file_range()
3081 inode_unlock(inode_in); in __fuse_copy_file_range()