Lines Matching refs:bno

86 	xfs_agblock_t		bno;  member
117 rc_last = refchk->bno + refchk->len - 1; in xchk_refcountbt_rmap_check()
125 if (rec->rm_startblock <= refchk->bno && rm_last >= rc_last) { in xchk_refcountbt_rmap_check()
163 xfs_agblock_t bno; in xchk_refcountbt_process_rmap_fragments() local
186 bno = 0; in xchk_refcountbt_process_rmap_fragments()
188 if (frag->rm.rm_startblock < bno) in xchk_refcountbt_process_rmap_fragments()
190 bno = frag->rm.rm_startblock; in xchk_refcountbt_process_rmap_fragments()
198 if (frag->rm.rm_startblock > refchk->bno) in xchk_refcountbt_process_rmap_fragments()
200 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments()
201 if (bno < rbno) in xchk_refcountbt_process_rmap_fragments()
202 rbno = bno; in xchk_refcountbt_process_rmap_fragments()
221 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments()
222 if (bno != rbno) { in xchk_refcountbt_process_rmap_fragments()
223 if (bno < next_rbno) in xchk_refcountbt_process_rmap_fragments()
224 next_rbno = bno; in xchk_refcountbt_process_rmap_fragments()
234 bno = frag->rm.rm_startblock + frag->rm.rm_blockcount; in xchk_refcountbt_process_rmap_fragments()
238 if (next_rbno > bno) in xchk_refcountbt_process_rmap_fragments()
239 next_rbno = bno; in xchk_refcountbt_process_rmap_fragments()
261 if (rbno < refchk->bno + refchk->len) in xchk_refcountbt_process_rmap_fragments()
282 xfs_agblock_t bno, in xchk_refcountbt_xref_rmap() argument
288 .bno = bno, in xchk_refcountbt_xref_rmap()
304 low.rm_startblock = bno; in xchk_refcountbt_xref_rmap()
306 high.rm_startblock = bno + len - 1; in xchk_refcountbt_xref_rmap()
350 xfs_agblock_t bno; in xchk_refcountbt_rec() local
356 bno = be32_to_cpu(rec->refc.rc_startblock); in xchk_refcountbt_rec()
361 has_cowflag = (bno & XFS_REFC_COW_START); in xchk_refcountbt_rec()
368 bno &= ~XFS_REFC_COW_START; in xchk_refcountbt_rec()
369 if (bno + len <= bno || in xchk_refcountbt_rec()
370 !xfs_verify_agbno(mp, agno, bno) || in xchk_refcountbt_rec()
371 !xfs_verify_agbno(mp, agno, bno + len - 1)) in xchk_refcountbt_rec()
377 xchk_refcountbt_xref(bs->sc, bno, len, refcount); in xchk_refcountbt_rec()