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