Lines Matching refs:bs

137 	struct xchk_btree	*bs)  in xchk_rmapbt_check_unwritten_in_keyflags()  argument
139 struct xfs_scrub *sc = bs->sc; in xchk_rmapbt_check_unwritten_in_keyflags()
140 struct xfs_btree_cur *cur = bs->cur; in xchk_rmapbt_check_unwritten_in_keyflags()
193 struct xchk_btree *bs, in xchk_rmapbt_check_overlapping() argument
199 if (bs->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_rmapbt_check_overlapping()
212 if (!xchk_rmapbt_is_shareable(bs->sc, &cr->overlap_rec) || in xchk_rmapbt_check_overlapping()
213 !xchk_rmapbt_is_shareable(bs->sc, irec)) in xchk_rmapbt_check_overlapping()
214 xchk_btree_set_corrupt(bs->sc, bs->cur, 0); in xchk_rmapbt_check_overlapping()
257 struct xchk_btree *bs, in xchk_rmapbt_check_mergeable() argument
261 if (bs->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_rmapbt_check_mergeable()
265 xchk_btree_set_corrupt(bs->sc, bs->cur, 0); in xchk_rmapbt_check_mergeable()
273 struct xchk_btree *bs, in xchk_rmapbt_mark_bitmap() argument
277 struct xfs_scrub *sc = bs->sc; in xchk_rmapbt_mark_bitmap()
325 xchk_btree_xref_set_corrupt(bs->sc, in xchk_rmapbt_mark_bitmap()
326 bs->sc->sa.rmap_cur, 0); in xchk_rmapbt_mark_bitmap()
334 xchk_btree_xref_set_corrupt(bs->sc, bs->sc->sa.rmap_cur, 0); in xchk_rmapbt_mark_bitmap()
344 struct xchk_btree *bs, in xchk_rmapbt_rec() argument
347 struct xchk_rmap *cr = bs->private; in xchk_rmapbt_rec()
351 xfs_rmap_check_irec(bs->cur, &irec) != NULL) { in xchk_rmapbt_rec()
352 xchk_btree_set_corrupt(bs->sc, bs->cur, 0); in xchk_rmapbt_rec()
356 xchk_rmapbt_check_unwritten_in_keyflags(bs); in xchk_rmapbt_rec()
357 xchk_rmapbt_check_mergeable(bs, cr, &irec); in xchk_rmapbt_rec()
358 xchk_rmapbt_check_overlapping(bs, cr, &irec); in xchk_rmapbt_rec()
359 xchk_rmapbt_xref(bs->sc, &irec); in xchk_rmapbt_rec()
361 return xchk_rmapbt_mark_bitmap(bs, cr, &irec); in xchk_rmapbt_rec()