Lines Matching refs:bs
147 struct xchk_btree *bs) in xchk_rmapbt_check_unwritten_in_keyflags() argument
149 struct xfs_scrub *sc = bs->sc; in xchk_rmapbt_check_unwritten_in_keyflags()
150 struct xfs_btree_cur *cur = bs->cur; in xchk_rmapbt_check_unwritten_in_keyflags()
203 struct xchk_btree *bs, in xchk_rmapbt_check_overlapping() argument
209 if (bs->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_rmapbt_check_overlapping()
222 if (!xchk_rmapbt_is_shareable(bs->sc, &cr->overlap_rec) || in xchk_rmapbt_check_overlapping()
223 !xchk_rmapbt_is_shareable(bs->sc, irec)) in xchk_rmapbt_check_overlapping()
224 xchk_btree_set_corrupt(bs->sc, bs->cur, 0); in xchk_rmapbt_check_overlapping()
267 struct xchk_btree *bs, in xchk_rmapbt_check_mergeable() argument
271 if (bs->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_rmapbt_check_mergeable()
275 xchk_btree_set_corrupt(bs->sc, bs->cur, 0); in xchk_rmapbt_check_mergeable()
283 struct xchk_btree *bs, in xchk_rmapbt_mark_bitmap() argument
287 struct xfs_scrub *sc = bs->sc; in xchk_rmapbt_mark_bitmap()
335 xchk_btree_xref_set_corrupt(bs->sc, in xchk_rmapbt_mark_bitmap()
336 bs->sc->sa.rmap_cur, 0); in xchk_rmapbt_mark_bitmap()
344 xchk_btree_xref_set_corrupt(bs->sc, bs->sc->sa.rmap_cur, 0); in xchk_rmapbt_mark_bitmap()
354 struct xchk_btree *bs, in xchk_rmapbt_rec() argument
357 struct xchk_rmap *cr = bs->private; in xchk_rmapbt_rec()
361 xfs_rmap_check_irec(bs->cur->bc_ag.pag, &irec) != NULL) { in xchk_rmapbt_rec()
362 xchk_btree_set_corrupt(bs->sc, bs->cur, 0); in xchk_rmapbt_rec()
366 xchk_rmapbt_check_unwritten_in_keyflags(bs); in xchk_rmapbt_rec()
367 xchk_rmapbt_check_mergeable(bs, cr, &irec); in xchk_rmapbt_rec()
368 xchk_rmapbt_check_overlapping(bs, cr, &irec); in xchk_rmapbt_rec()
369 xchk_rmapbt_xref(bs->sc, &irec); in xchk_rmapbt_rec()
371 return xchk_rmapbt_mark_bitmap(bs, cr, &irec); in xchk_rmapbt_rec()