• Home
  • Raw
  • Download

Lines Matching full:sa

82 	if (!sc->sa.refc_cur || xchk_skip_xref(sc->sm))  in xchk_rmapbt_xref_refc()
91 error = xfs_refcount_find_shared(sc->sa.refc_cur, irec->rm_startblock, in xchk_rmapbt_xref_refc()
93 if (!xchk_should_check_xref(sc, &error, &sc->sa.refc_cur)) in xchk_rmapbt_xref_refc()
96 xchk_btree_xref_set_corrupt(sc, sc->sa.refc_cur, 0); in xchk_rmapbt_xref_refc()
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()
392 struct xfs_agf *agf = sc->sa.agf_bp->b_addr; in xchk_rmapbt_walk_ag_metadata()
403 if (xfs_ag_contains_log(mp, sc->sa.pag->pag_agno)) { in xchk_rmapbt_walk_ag_metadata()
412 cur = sc->sa.bno_cur; in xchk_rmapbt_walk_ag_metadata()
414 cur = xfs_allocbt_init_cursor(sc->mp, sc->tp, sc->sa.agf_bp, in xchk_rmapbt_walk_ag_metadata()
415 sc->sa.pag, XFS_BTNUM_BNO); in xchk_rmapbt_walk_ag_metadata()
417 if (cur != sc->sa.bno_cur) in xchk_rmapbt_walk_ag_metadata()
422 cur = sc->sa.cnt_cur; in xchk_rmapbt_walk_ag_metadata()
424 cur = xfs_allocbt_init_cursor(sc->mp, sc->tp, sc->sa.agf_bp, in xchk_rmapbt_walk_ag_metadata()
425 sc->sa.pag, XFS_BTNUM_CNT); in xchk_rmapbt_walk_ag_metadata()
427 if (cur != sc->sa.cnt_cur) in xchk_rmapbt_walk_ag_metadata()
432 error = xagb_bitmap_set_btblocks(&cr->ag_owned, sc->sa.rmap_cur); in xchk_rmapbt_walk_ag_metadata()
436 error = xfs_alloc_read_agfl(sc->sa.pag, sc->tp, &agfl_bp); in xchk_rmapbt_walk_ag_metadata()
447 cur = sc->sa.ino_cur; in xchk_rmapbt_walk_ag_metadata()
449 cur = xfs_inobt_init_cursor(sc->sa.pag, sc->tp, sc->sa.agi_bp, in xchk_rmapbt_walk_ag_metadata()
452 if (cur != sc->sa.ino_cur) in xchk_rmapbt_walk_ag_metadata()
458 cur = sc->sa.fino_cur; in xchk_rmapbt_walk_ag_metadata()
460 cur = xfs_inobt_init_cursor(sc->sa.pag, sc->tp, in xchk_rmapbt_walk_ag_metadata()
461 sc->sa.agi_bp, XFS_BTNUM_FINO); in xchk_rmapbt_walk_ag_metadata()
463 if (cur != sc->sa.fino_cur) in xchk_rmapbt_walk_ag_metadata()
471 cur = sc->sa.refc_cur; in xchk_rmapbt_walk_ag_metadata()
474 sc->sa.agf_bp, sc->sa.pag); in xchk_rmapbt_walk_ag_metadata()
476 if (cur != sc->sa.refc_cur) in xchk_rmapbt_walk_ag_metadata()
488 xchk_btree_xref_process_error(sc, sc->sa.rmap_cur, in xchk_rmapbt_walk_ag_metadata()
489 sc->sa.rmap_cur->bc_nlevels - 1, &error); in xchk_rmapbt_walk_ag_metadata()
504 struct xfs_btree_cur *cur = sc->sa.rmap_cur; in xchk_rmapbt_check_bitmaps()
556 error = xchk_btree(sc, sc->sa.rmap_cur, xchk_rmapbt_rec, in xchk_rmapbt()
584 if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) in xchk_xref_is_only_owned_by()
587 error = xfs_rmap_count_owners(sc->sa.rmap_cur, bno, len, oinfo, &res); in xchk_xref_is_only_owned_by()
588 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) in xchk_xref_is_only_owned_by()
591 xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); in xchk_xref_is_only_owned_by()
593 xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); in xchk_xref_is_only_owned_by()
595 xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); in xchk_xref_is_only_owned_by()
609 if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) in xchk_xref_is_not_owned_by()
612 error = xfs_rmap_count_owners(sc->sa.rmap_cur, bno, len, oinfo, &res); in xchk_xref_is_not_owned_by()
613 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) in xchk_xref_is_not_owned_by()
616 xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); in xchk_xref_is_not_owned_by()
618 xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); in xchk_xref_is_not_owned_by()
631 if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) in xchk_xref_has_no_owner()
634 error = xfs_rmap_has_records(sc->sa.rmap_cur, bno, len, &outcome); in xchk_xref_has_no_owner()
635 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) in xchk_xref_has_no_owner()
638 xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); in xchk_xref_has_no_owner()