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()
552 offset_fsb = XFS_B_TO_FSBT(ip->i_mount, offset); in xfs_reflink_cancel_cow_range()
556 end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count); in xfs_reflink_cancel_cow_range()
559 error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_write, in xfs_reflink_cancel_cow_range()
604 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_end_cow_extent()
716 offset_fsb = XFS_B_TO_FSBT(ip->i_mount, offset); in xfs_reflink_end_cow()
717 end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count); in xfs_reflink_end_cow()
865 struct xfs_mount *mp = src->i_mount; in xfs_reflink_set_inode_flag()
924 struct xfs_mount *mp = dest->i_mount; in xfs_reflink_update_dest()
997 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_remap_extent()
1167 struct xfs_mount *mp = src->i_mount; in xfs_reflink_remap_blocks()
1228 XFS_FSB_TO_B(src->i_mount, remapped_len)); in xfs_reflink_remap_blocks()
1362 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_inode_has_shared_extents()
1452 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_try_clear_inode_flag()