Home
last modified time | relevance | path

Searched refs:bno_cur (Results 1 – 8 of 8) sorted by relevance

/linux/fs/xfs/scrub/
H A Dalloc.c71 pcur = &sc->sa.bno_cur; in xchk_allocbt_xref_other()
164 cur = sc->sa.bno_cur; in xchk_allocbt()
187 if (!sc->sa.bno_cur || xchk_skip_xref(sc->sm)) in xchk_xref_is_used_space()
190 error = xfs_alloc_has_records(sc->sa.bno_cur, agbno, len, &outcome); in xchk_xref_is_used_space()
191 if (!xchk_should_check_xref(sc, &error, &sc->sa.bno_cur)) in xchk_xref_is_used_space()
194 xchk_btree_xref_set_corrupt(sc, sc->sa.bno_cur, 0); in xchk_xref_is_used_space()
H A Dalloc_repair.c434 struct xfs_btree_cur *bno_cur, in xrep_abt_reserve_space() argument
456 error = xfs_btree_bload_compute_geometry(bno_cur, in xrep_abt_reserve_space()
707 struct xfs_btree_cur *bno_cur; in xrep_abt_build_new_trees() local
738 bno_cur = xfs_bnobt_init_cursor(sc->mp, NULL, NULL, pag); in xrep_abt_build_new_trees()
739 xfs_btree_stage_afakeroot(bno_cur, &ra->new_bnobt.afake); in xrep_abt_build_new_trees()
749 error = xrep_abt_reserve_space(ra, bno_cur, cnt_cur, &needs_resort); in xrep_abt_build_new_trees()
785 error = xfs_btree_bload(bno_cur, &ra->new_bnobt.bload, ra); in xrep_abt_build_new_trees()
793 xfs_allocbt_commit_staged_btree(bno_cur, sc->tp, sc->sa.agf_bp); in xrep_abt_build_new_trees()
794 xfs_btree_del_cursor(bno_cur, 0); in xrep_abt_build_new_trees()
813 xfs_btree_del_cursor(bno_cur, error); in xrep_abt_build_new_trees()
H A Dagheader.c456 if (!sc->sa.bno_cur) in xchk_agf_xref_freeblks()
459 error = xfs_alloc_query_all(sc->sa.bno_cur, in xchk_agf_xref_freeblks()
461 if (!xchk_should_check_xref(sc, &error, &sc->sa.bno_cur)) in xchk_agf_xref_freeblks()
531 !sc->sa.bno_cur || !sc->sa.cnt_cur) in xchk_agf_xref_btreeblks()
535 error = xfs_btree_count_blocks(sc->sa.bno_cur, &blocks); in xchk_agf_xref_btreeblks()
536 if (!xchk_should_check_xref(sc, &error, &sc->sa.bno_cur)) in xchk_agf_xref_btreeblks()
H A Drmap.c422 cur = sc->sa.bno_cur; in xchk_rmapbt_walk_ag_metadata()
427 if (cur != sc->sa.bno_cur) in xchk_rmapbt_walk_ag_metadata()
H A Dscrub.h114 struct xfs_btree_cur *bno_cur; member
H A Dfscounters.c272 error = xfs_btree_count_blocks(sc->sa.bno_cur, &blocks); in xchk_fscount_btreeblks()
H A Drefcount_repair.c142 error = xfs_alloc_has_records(sc->sa.bno_cur, rec->rc_startblock, in xrep_refc_check_ext()
H A Dbtree.c406 if (!bs->sc->sa.bno_cur && is_bnobt) in xchk_btree_check_block_owner()