Lines Matching full:rts
36 struct xchk_rtsummary *rts) in xrep_setup_rtsummary() argument
64 rts->resblks += blocks; in xrep_setup_rtsummary()
74 struct xchk_rtsummary *rts = data; in xrep_rtsummary_prep_buf() local
79 rts->args.mp = mp; in xrep_rtsummary_prep_buf()
80 rts->args.tp = sc->tp; in xrep_rtsummary_prep_buf()
81 rts->args.rtg = sc->sr.rtg; in xrep_rtsummary_prep_buf()
82 rts->args.sumbp = bp; in xrep_rtsummary_prep_buf()
83 ondisk = xfs_rsumblock_infoptr(&rts->args, 0); in xrep_rtsummary_prep_buf()
84 rts->args.sumbp = NULL; in xrep_rtsummary_prep_buf()
86 error = xfsum_copyout(sc, rts->prep_wordoff, ondisk, mp->m_blockwsize); in xrep_rtsummary_prep_buf()
103 rts->prep_wordoff += mp->m_blockwsize; in xrep_rtsummary_prep_buf()
113 struct xchk_rtsummary *rts = sc->buf; in xrep_rtsummary() local
125 if (rts->rbmblocks != mp->m_sb.sb_rbmblocks) in xrep_rtsummary()
147 error = xrep_tempfile_prealloc(sc, 0, rts->rsumblocks); in xrep_rtsummary()
156 error = xrep_tempfile_copyin(sc, 0, rts->rsumblocks, in xrep_rtsummary()
157 xrep_rtsummary_prep_buf, rts); in xrep_rtsummary()
160 error = xrep_tempfile_set_isize(sc, XFS_FSB_TO_B(mp, rts->rsumblocks)); in xrep_rtsummary()
169 rts->rsumblocks, &rts->tempexch); in xrep_rtsummary()
173 error = xrep_tempexch_contents(sc, &rts->tempexch); in xrep_rtsummary()
181 mp->m_rsumlevels = rts->rsumlevels; in xrep_rtsummary()
182 mp->m_rsumblocks = rts->rsumblocks; in xrep_rtsummary()