Home
last modified time | relevance | path

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

/linux/fs/xfs/scrub/
H A Dalloc.c71 pcur = &sc->sa.bno_cur; in xchk_allocbt_xref_other()
163 cur = sc->sa.bno_cur; in xchk_allocbt()
186 if (!sc->sa.bno_cur || xchk_skip_xref(sc->sm)) in xchk_xref_is_used_space()
189 error = xfs_alloc_has_records(sc->sa.bno_cur, agbno, len, &outcome); in xchk_xref_is_used_space()
190 if (!xchk_should_check_xref(sc, &error, &sc->sa.bno_cur)) in xchk_xref_is_used_space()
193 xchk_btree_xref_set_corrupt(sc, sc->sa.bno_cur, 0); in xchk_xref_is_used_space()
H A Dcommon.c575 if (sa->bno_cur) in xchk_ag_btcur_free()
576 xfs_btree_del_cursor(sa->bno_cur, XFS_BTREE_ERROR); in xchk_ag_btcur_free()
582 sa->bno_cur = NULL; in xchk_ag_btcur_free()
596 sa->bno_cur = xfs_bnobt_init_cursor(mp, sc->tp, sa->agf_bp, in xchk_ag_btcur_init()
598 xchk_ag_btree_del_cursor_if_sick(sc, &sa->bno_cur, in xchk_ag_btcur_init()
H A Dscrub.h112 struct xfs_btree_cur *bno_cur; member
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 Drefcount_repair.c148 error = xfs_alloc_has_records(sc->sa.bno_cur, rec->rc_startblock, in xrep_refc_check_ext()
H A Dialloc_repair.c387 error = xfs_alloc_has_records(sc->sa.bno_cur, agbno, len, &outcome); in xrep_ibt_check_inode_ext()
H A Dbmap_repair.c214 error = xfs_alloc_has_records(sc->sa.bno_cur, rec->rm_startblock, in xrep_bmap_check_fork_rmap()
H A Dbtree.c401 if (!bs->sc->sa.bno_cur && xfs_btree_is_bno(bs->cur->bc_ops)) in xchk_btree_check_block_owner()
H A Drepair.c841 sa->bno_cur = xfs_bnobt_init_cursor(mp, sc->tp, sa->agf_bp, in xrep_ag_btcur_init()
/linux/fs/xfs/libxfs/
H A Dxfs_alloc.c570 struct xfs_btree_cur *bno_cur, /* cursor for by-block btree */ in xfs_alloc_fixup_trees() argument
616 if ((error = xfs_alloc_get_rec(bno_cur, &nfbno1, &nflen1, &i))) in xfs_alloc_fixup_trees()
622 xfs_btree_mark_sick(bno_cur); in xfs_alloc_fixup_trees()
627 if ((error = xfs_alloc_lookup_eq(bno_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees()
630 xfs_btree_mark_sick(bno_cur); in xfs_alloc_fixup_trees()
636 if (bno_cur->bc_nlevels == 1 && cnt_cur->bc_nlevels == 1) { in xfs_alloc_fixup_trees()
640 bnoblock = XFS_BUF_TO_BLOCK(bno_cur->bc_levels[0].bp); in xfs_alloc_fixup_trees()
646 xfs_btree_mark_sick(bno_cur); in xfs_alloc_fixup_trees()
724 if ((error = xfs_btree_delete(bno_cur, &i))) in xfs_alloc_fixup_trees()
727 xfs_btree_mark_sick(bno_cur); in xfs_alloc_fixup_trees()
[all …]