Lines Matching refs:i_mount

203 	agno = XFS_FSB_TO_AGNO(ip->i_mount, irec->br_startblock);  in xfs_reflink_trim_around_shared()
204 agbno = XFS_FSB_TO_AGBNO(ip->i_mount, irec->br_startblock); in xfs_reflink_trim_around_shared()
207 error = xfs_reflink_find_shared(ip->i_mount, NULL, agno, agbno, in xfs_reflink_trim_around_shared()
338 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_convert_cow()
404 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_allocate_cow()
593 offset_fsb = XFS_B_TO_FSBT(ip->i_mount, offset); in xfs_reflink_cancel_cow_range()
597 end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count); in xfs_reflink_cancel_cow_range()
600 error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_write, in xfs_reflink_cancel_cow_range()
652 offset_fsb = XFS_B_TO_FSBT(ip->i_mount, offset); in xfs_reflink_end_cow()
653 end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count); in xfs_reflink_end_cow()
664 xfs_force_shutdown(ip->i_mount, SHUTDOWN_CORRUPT_INCORE); in xfs_reflink_end_cow()
668 resblks = XFS_NEXTENTADD_SPACE_RES(ip->i_mount, in xfs_reflink_end_cow()
671 error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_write, in xfs_reflink_end_cow()
867 struct xfs_mount *mp = src->i_mount; in xfs_reflink_set_inode_flag()
926 struct xfs_mount *mp = dest->i_mount; in xfs_reflink_update_dest()
1004 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_remap_extent()
1026 resblks = XFS_EXTENTADD_SPACE_RES(ip->i_mount, XFS_DATA_FORK); in xfs_reflink_remap_extent()
1419 struct xfs_mount *mp = src->i_mount; in xfs_reflink_remap_range()
1484 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_dirty_extents()
1556 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_inode_has_shared_extents()
1645 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_try_clear_inode_flag()
1684 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_unshare()