Searched refs:inode_in (Results 1 – 7 of 7) sorted by relevance
/fs/ |
D | remap_range.c | 33 struct inode *inode_in = file_in->f_mapping->host; in generic_remap_checks() local 49 size_in = i_size_read(inode_in); in generic_remap_checks() 84 if (inode_in == inode_out && in generic_remap_checks() 123 static int generic_remap_check_len(struct inode *inode_in, in generic_remap_check_len() argument 129 u64 blkmask = i_blocksize(inode_in) - 1; in generic_remap_check_len() 285 struct inode *inode_in = file_inode(file_in); in generic_remap_file_range_prep() local 287 bool same_inode = (inode_in == inode_out); in generic_remap_file_range_prep() 294 if (IS_SWAPFILE(inode_in) || IS_SWAPFILE(inode_out)) in generic_remap_file_range_prep() 298 if (S_ISDIR(inode_in->i_mode) || S_ISDIR(inode_out->i_mode)) in generic_remap_file_range_prep() 300 if (!S_ISREG(inode_in->i_mode) || !S_ISREG(inode_out->i_mode)) in generic_remap_file_range_prep() [all …]
|
D | read_write.c | 1401 struct inode *inode_in = file_inode(file_in); in generic_copy_file_checks() local 1435 if (IS_SWAPFILE(inode_in) || IS_SWAPFILE(inode_out)) in generic_copy_file_checks() 1443 size_in = i_size_read(inode_in); in generic_copy_file_checks() 1454 if (inode_in == inode_out && in generic_copy_file_checks() 1690 struct inode *inode_in = file_inode(file_in); in generic_file_rw_checks() local 1694 if (S_ISDIR(inode_in->i_mode) || S_ISDIR(inode_out->i_mode)) in generic_file_rw_checks() 1696 if (!S_ISREG(inode_in->i_mode) || !S_ISREG(inode_out->i_mode)) in generic_file_rw_checks()
|
/fs/btrfs/ |
D | reflink.c | 765 struct inode *inode_in = file_inode(file_in); in btrfs_remap_file_range_prep() local 768 bool same_inode = inode_out == inode_in; in btrfs_remap_file_range_prep() 779 inode_in->i_sb != inode_out->i_sb) in btrfs_remap_file_range_prep() 784 if ((BTRFS_I(inode_in)->flags & BTRFS_INODE_NODATASUM) != in btrfs_remap_file_range_prep() 804 wb_len = ALIGN(inode_in->i_size, bs) - ALIGN_DOWN(pos_in, bs); in btrfs_remap_file_range_prep() 813 inode_dio_wait(inode_in); in btrfs_remap_file_range_prep() 834 ret = filemap_flush(inode_in->i_mapping); in btrfs_remap_file_range_prep() 838 ret = btrfs_wait_ordered_range(inode_in, ALIGN_DOWN(pos_in, bs), in btrfs_remap_file_range_prep()
|
/fs/ocfs2/ |
D | file.c | 2647 struct inode *inode_in = file_inode(file_in); in ocfs2_remap_file_range() local 2649 struct ocfs2_super *osb = OCFS2_SB(inode_in->i_sb); in ocfs2_remap_file_range() 2651 bool same_inode = (inode_in == inode_out); in ocfs2_remap_file_range() 2663 ret = ocfs2_reflink_inodes_lock(inode_in, &in_bh, inode_out, &out_bh); in ocfs2_remap_file_range() 2669 if ((OCFS2_I(inode_in)->ip_flags & OCFS2_INODE_SYSTEM_FILE) || in ocfs2_remap_file_range() 2679 down_write(&OCFS2_I(inode_in)->ip_alloc_sem); in ocfs2_remap_file_range() 2689 remapped = ocfs2_reflink_remap_blocks(inode_in, in_bh, pos_in, in ocfs2_remap_file_range() 2691 up_write(&OCFS2_I(inode_in)->ip_alloc_sem); in ocfs2_remap_file_range() 2704 ocfs2_extent_map_trunc(inode_in, 0); in ocfs2_remap_file_range() 2714 ocfs2_reflink_inodes_unlock(inode_in, in_bh, inode_out, out_bh); in ocfs2_remap_file_range()
|
/fs/xfs/ |
D | xfs_reflink.c | 1448 struct inode *inode_in = file_inode(file_in); in xfs_reflink_remap_prep() local 1449 struct xfs_inode *src = XFS_I(inode_in); in xfs_reflink_remap_prep() 1466 if (IS_DAX(inode_in) || IS_DAX(inode_out)) in xfs_reflink_remap_prep()
|
D | xfs_file.c | 1142 struct inode *inode_in = file_inode(file_in); in xfs_file_remap_range() local 1143 struct xfs_inode *src = XFS_I(inode_in); in xfs_file_remap_range() 1179 if (pos_in == 0 && len == i_size_read(inode_in) && in xfs_file_remap_range()
|
/fs/fuse/ |
D | file.c | 3182 struct inode *inode_in = file_inode(file_in); in __fuse_copy_file_range() local 3222 inode_lock(inode_in); in __fuse_copy_file_range() 3223 err = fuse_writeback_range(inode_in, pos_in, pos_in + len - 1); in __fuse_copy_file_range() 3224 inode_unlock(inode_in); in __fuse_copy_file_range()
|