Lines Matching refs:rtb
30 struct xchk_rtbitmap *rtb; in xchk_setup_rtbitmap() local
33 rtb = kzalloc(sizeof(struct xchk_rtbitmap), XCHK_GFP_FLAGS); in xchk_setup_rtbitmap()
34 if (!rtb) in xchk_setup_rtbitmap()
36 sc->buf = rtb; in xchk_setup_rtbitmap()
39 error = xrep_setup_rtbitmap(sc, rtb); in xchk_setup_rtbitmap()
44 error = xchk_trans_alloc(sc, rtb->resblks); in xchk_setup_rtbitmap()
64 rtb->rextents = xfs_rtb_to_rtx(mp, mp->m_sb.sb_rblocks); in xchk_setup_rtbitmap()
65 rtb->rextslog = xfs_compute_rextslog(rtb->rextents); in xchk_setup_rtbitmap()
66 rtb->rbmblocks = xfs_rtbitmap_blockcount(mp, rtb->rextents); in xchk_setup_rtbitmap()
143 struct xchk_rtbitmap *rtb = sc->buf; in xchk_rtbitmap() local
147 if (mp->m_sb.sb_rextents != rtb->rextents) { in xchk_rtbitmap()
153 if (mp->m_sb.sb_rextslog != rtb->rextslog) { in xchk_rtbitmap()
162 if (rtb->rbmblocks > U32_MAX) { in xchk_rtbitmap()
166 if (mp->m_sb.sb_rbmblocks != rtb->rbmblocks) { in xchk_rtbitmap()
182 if (mp->m_rbmip->i_disk_size < XFS_FSB_TO_B(mp, rtb->rbmblocks)) { in xchk_rtbitmap()