Home
last modified time | relevance | path

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

/linux-6.6.21/fs/xfs/scrub/
Dalloc.c59 pcur = &sc->sa.bno_cur; in xchk_allocbt_xref_other()
150 cur = which == XFS_BTNUM_BNO ? sc->sa.bno_cur : sc->sa.cnt_cur; in xchk_allocbt()
178 if (!sc->sa.bno_cur || xchk_skip_xref(sc->sm)) in xchk_xref_is_used_space()
181 error = xfs_alloc_has_records(sc->sa.bno_cur, agbno, len, &outcome); in xchk_xref_is_used_space()
182 if (!xchk_should_check_xref(sc, &error, &sc->sa.bno_cur)) in xchk_xref_is_used_space()
185 xchk_btree_xref_set_corrupt(sc, sc->sa.bno_cur, 0); in xchk_xref_is_used_space()
Dagheader.c387 if (!sc->sa.bno_cur) in xchk_agf_xref_freeblks()
390 error = xfs_alloc_query_all(sc->sa.bno_cur, in xchk_agf_xref_freeblks()
392 if (!xchk_should_check_xref(sc, &error, &sc->sa.bno_cur)) in xchk_agf_xref_freeblks()
462 !sc->sa.bno_cur || !sc->sa.cnt_cur) in xchk_agf_xref_btreeblks()
466 error = xfs_btree_count_blocks(sc->sa.bno_cur, &blocks); in xchk_agf_xref_btreeblks()
467 if (!xchk_should_check_xref(sc, &error, &sc->sa.bno_cur)) in xchk_agf_xref_btreeblks()
Dcommon.c538 if (sa->bno_cur) in xchk_ag_btcur_free()
539 xfs_btree_del_cursor(sa->bno_cur, XFS_BTREE_ERROR); in xchk_ag_btcur_free()
545 sa->bno_cur = NULL; in xchk_ag_btcur_free()
560 sa->bno_cur = xfs_allocbt_init_cursor(mp, sc->tp, sa->agf_bp, in xchk_ag_btcur_init()
Dscrub.h54 struct xfs_btree_cur *bno_cur; member
Drmap.c412 cur = sc->sa.bno_cur; in xchk_rmapbt_walk_ag_metadata()
417 if (cur != sc->sa.bno_cur) in xchk_rmapbt_walk_ag_metadata()
Dfscounters.c274 error = xfs_btree_count_blocks(sc->sa.bno_cur, &blocks); in xchk_fscount_btreeblks()
Dbtree.c402 if (!bs->sc->sa.bno_cur && btnum == XFS_BTNUM_BNO) in xchk_btree_check_block_owner()
/linux-6.6.21/fs/xfs/libxfs/
Dxfs_alloc.c475 struct xfs_btree_cur *bno_cur, /* cursor for by-block btree */ in xfs_alloc_fixup_trees() argument
516 if ((error = xfs_alloc_get_rec(bno_cur, &nfbno1, &nflen1, &i))) in xfs_alloc_fixup_trees()
525 if ((error = xfs_alloc_lookup_eq(bno_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees()
532 if (bno_cur->bc_nlevels == 1 && cnt_cur->bc_nlevels == 1) { in xfs_alloc_fixup_trees()
536 bnoblock = XFS_BUF_TO_BLOCK(bno_cur->bc_levels[0].bp); in xfs_alloc_fixup_trees()
604 if ((error = xfs_btree_delete(bno_cur, &i))) in xfs_alloc_fixup_trees()
612 if ((error = xfs_alloc_update(bno_cur, nfbno1, nflen1))) in xfs_alloc_fixup_trees()
619 if ((error = xfs_alloc_lookup_eq(bno_cur, nfbno2, nflen2, &i))) in xfs_alloc_fixup_trees()
623 if ((error = xfs_btree_insert(bno_cur, &i))) in xfs_alloc_fixup_trees()
1186 struct xfs_btree_cur *bno_cur;/* by block-number btree cursor */ in xfs_alloc_ag_vextent_exact() local
[all …]