Lines Matching refs:bno
76 xfs_agblock_t bno; member
107 rc_last = refchk->bno + refchk->len - 1; in xchk_refcountbt_rmap_check()
115 if (rec->rm_startblock <= refchk->bno && rm_last >= rc_last) { in xchk_refcountbt_rmap_check()
153 xfs_agblock_t bno; in xchk_refcountbt_process_rmap_fragments() local
175 bno = 0; in xchk_refcountbt_process_rmap_fragments()
177 if (frag->rm.rm_startblock < bno) in xchk_refcountbt_process_rmap_fragments()
179 bno = frag->rm.rm_startblock; in xchk_refcountbt_process_rmap_fragments()
188 if (frag->rm.rm_startblock > refchk->bno || nr > target_nr) in xchk_refcountbt_process_rmap_fragments()
190 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments()
191 if (bno < rbno) in xchk_refcountbt_process_rmap_fragments()
192 rbno = bno; in xchk_refcountbt_process_rmap_fragments()
209 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments()
210 if (bno != rbno) { in xchk_refcountbt_process_rmap_fragments()
211 if (bno < next_rbno) in xchk_refcountbt_process_rmap_fragments()
212 next_rbno = bno; in xchk_refcountbt_process_rmap_fragments()
222 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments()
226 if (next_rbno > bno) in xchk_refcountbt_process_rmap_fragments()
227 next_rbno = bno; in xchk_refcountbt_process_rmap_fragments()
249 if (rbno < refchk->bno + refchk->len) in xchk_refcountbt_process_rmap_fragments()
270 xfs_agblock_t bno, in xchk_refcountbt_xref_rmap() argument
276 .bno = bno, in xchk_refcountbt_xref_rmap()
292 low.rm_startblock = bno; in xchk_refcountbt_xref_rmap()
294 high.rm_startblock = bno + len - 1; in xchk_refcountbt_xref_rmap()
338 xfs_agblock_t bno; in xchk_refcountbt_rec() local
343 bno = be32_to_cpu(rec->refc.rc_startblock); in xchk_refcountbt_rec()
348 has_cowflag = (bno & XFS_REFC_COW_START); in xchk_refcountbt_rec()
355 bno &= ~XFS_REFC_COW_START; in xchk_refcountbt_rec()
356 if (bno + len <= bno || in xchk_refcountbt_rec()
357 !xfs_verify_agbno(mp, agno, bno) || in xchk_refcountbt_rec()
358 !xfs_verify_agbno(mp, agno, bno + len - 1)) in xchk_refcountbt_rec()
364 xchk_refcountbt_xref(bs->sc, bno, len, refcount); in xchk_refcountbt_rec()