Lines Matching full:rts

47 	struct xchk_rtsummary	*rts;  in xchk_setup_rtsummary()  local
53 rts = kvzalloc(struct_size(rts, words, mp->m_blockwsize), in xchk_setup_rtsummary()
55 if (!rts) in xchk_setup_rtsummary()
57 sc->buf = rts; in xchk_setup_rtsummary()
64 error = xrep_setup_rtsummary(sc, rts); in xchk_setup_rtsummary()
80 error = xchk_trans_alloc(sc, rts->resblks); in xchk_setup_rtsummary()
107 rts->rextents = xfs_blen_to_rtbxlen(mp, mp->m_sb.sb_rblocks); in xchk_setup_rtsummary()
108 rts->rbmblocks = xfs_rtbitmap_blockcount(mp); in xchk_setup_rtsummary()
109 rts->rsumblocks = in xchk_setup_rtsummary()
110 xfs_rtsummary_blockcount(mp, &rts->rsumlevels); in xchk_setup_rtsummary()
238 struct xchk_rtsummary *rts = sc->buf; in xchk_rtsum_compare() local
244 rts->args.mp = mp; in xchk_rtsum_compare()
245 rts->args.tp = sc->tp; in xchk_rtsum_compare()
246 rts->args.rtg = sc->sr.rtg; in xchk_rtsum_compare()
281 error = xfs_rtsummary_read_buf(&rts->args, off); in xchk_rtsum_compare()
286 error = xfsum_copyout(sc, sumoff, rts->words, mp->m_blockwsize); in xchk_rtsum_compare()
288 xfs_rtbuf_cache_relse(&rts->args); in xchk_rtsum_compare()
292 ondisk_info = xfs_rsumblock_infoptr(&rts->args, 0); in xchk_rtsum_compare()
293 if (memcmp(ondisk_info, rts->words, in xchk_rtsum_compare()
296 xfs_rtbuf_cache_relse(&rts->args); in xchk_rtsum_compare()
300 xfs_rtbuf_cache_relse(&rts->args); in xchk_rtsum_compare()
316 struct xchk_rtsummary *rts = sc->buf; in xchk_rtsummary() local
320 if (mp->m_sb.sb_rextents != rts->rextents) { in xchk_rtsummary()
326 if (mp->m_rsumlevels != rts->rsumlevels) { in xchk_rtsummary()
332 if (mp->m_rsumblocks != rts->rsumblocks) { in xchk_rtsummary()
348 if (rsumip->i_disk_size < XFS_FSB_TO_B(mp, rts->rsumblocks)) { in xchk_rtsummary()