rtg_refcount
used += rtg_refcount(rtg)->i_nblocks;
if ((rtglock_flags & XFS_RTGLOCK_REFCOUNT) && rtg_refcount(rtg))
xfs_ilock(rtg_refcount(rtg), XFS_ILOCK_EXCL);
if ((rtglock_flags & XFS_RTGLOCK_REFCOUNT) && rtg_refcount(rtg))
xfs_iunlock(rtg_refcount(rtg), XFS_ILOCK_EXCL);
if ((rtglock_flags & XFS_RTGLOCK_REFCOUNT) && rtg_refcount(rtg))
xfs_trans_ijoin(tp, rtg_refcount(rtg), XFS_ILOCK_EXCL);
struct xfs_inode *ip = rtg_refcount(rtg);
error = xchk_install_live_inode(sc, rtg_refcount(sc->sr.rtg));
xfs_rmap_ino_bmbt_owner(&btree_oinfo, rtg_refcount(sc->sr.rtg)->i_ino,
error = xfs_trans_reserve_more_inode(sc->tp, rtg_refcount(rtg),