Lines Matching refs:i_mount
189 agno = XFS_FSB_TO_AGNO(ip->i_mount, irec->br_startblock); in xfs_reflink_trim_around_shared()
190 agbno = XFS_FSB_TO_AGBNO(ip->i_mount, irec->br_startblock); in xfs_reflink_trim_around_shared()
193 error = xfs_reflink_find_shared(ip->i_mount, NULL, agno, agbno, in xfs_reflink_trim_around_shared()
286 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_convert_cow()
353 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_allocate_cow()
539 offset_fsb = XFS_B_TO_FSBT(ip->i_mount, offset); in xfs_reflink_cancel_cow_range()
543 end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count); in xfs_reflink_cancel_cow_range()
546 error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_write, in xfs_reflink_cancel_cow_range()
591 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_end_cow_extent()
708 offset_fsb = XFS_B_TO_FSBT(ip->i_mount, offset); in xfs_reflink_end_cow()
709 end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count); in xfs_reflink_end_cow()
860 struct xfs_mount *mp = src->i_mount; in xfs_reflink_set_inode_flag()
919 struct xfs_mount *mp = dest->i_mount; in xfs_reflink_update_dest()
992 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_remap_extent()
1191 struct xfs_mount *mp = src->i_mount; in xfs_reflink_remap_blocks()
1252 XFS_FSB_TO_B(src->i_mount, remapped_len)); in xfs_reflink_remap_blocks()
1386 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_inode_has_shared_extents()
1474 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_try_clear_inode_flag()