Lines Matching refs:ip1
145 ifp1 = xfs_ifork_ptr(req->ip1, whichfork); in xfs_exchmaps_check_forks()
664 if (XFS_IS_REALTIME_INODE(req->ip1)) in xfs_exchmaps_rmapbt_blocks()
677 struct xfs_mount *mp = req->ip1->i_mount; in xfs_exchmaps_estimate_overhead()
958 struct xfs_mount *mp = req->ip1->i_mount; in xmi_can_exchange_reflink_flags()
964 if (req->blockcount != XFS_B_TO_FSB(mp, req->ip1->i_disk_size)) in xmi_can_exchange_reflink_flags()
983 xmi->xmi_ip1 = req->ip1; in xfs_exchmaps_init_intent()
999 xmi->xmi_isize2 = req->ip1->i_disk_size; in xfs_exchmaps_init_intent()
1003 if (xfs_is_reflink_inode(req->ip1)) in xfs_exchmaps_init_intent()
1077 error = xmi_next(req->ip1, bmap_flags, &irec1, &adj.right1); in xfs_exchmaps_estimate()
1086 d_nexts1 += xmi_delta_nextents_step(req->ip1->i_mount, in xfs_exchmaps_estimate()
1089 d_nexts2 += xmi_delta_nextents_step(req->ip1->i_mount, in xfs_exchmaps_estimate()
1107 if (XFS_IS_REALTIME_INODE(req->ip1) && in xfs_exchmaps_estimate()
1121 if (req->ip1 == req->ip2) { in xfs_exchmaps_estimate()
1122 error = xmi_ensure_delta_nextents(req, req->ip1, in xfs_exchmaps_estimate()
1125 error = xmi_ensure_delta_nextents(req, req->ip1, d_nexts1); in xfs_exchmaps_estimate()
1221 xfs_assert_ilocked(req->ip1, XFS_ILOCK_EXCL); in xfs_exchange_mappings()