Searched refs:bno_cur (Results 1 – 10 of 10) sorted by relevance
/linux/fs/xfs/scrub/ |
H A D | alloc.c | 71 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 D | common.c | 575 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 D | scrub.h | 112 struct xfs_btree_cur *bno_cur; member
|
H A D | rmap.c | 422 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 D | refcount_repair.c | 148 error = xfs_alloc_has_records(sc->sa.bno_cur, rec->rc_startblock, in xrep_refc_check_ext()
|
H A D | ialloc_repair.c | 387 error = xfs_alloc_has_records(sc->sa.bno_cur, agbno, len, &outcome); in xrep_ibt_check_inode_ext()
|
H A D | bmap_repair.c | 214 error = xfs_alloc_has_records(sc->sa.bno_cur, rec->rm_startblock, in xrep_bmap_check_fork_rmap()
|
H A D | btree.c | 401 if (!bs->sc->sa.bno_cur && xfs_btree_is_bno(bs->cur->bc_ops)) in xchk_btree_check_block_owner()
|
H A D | repair.c | 841 sa->bno_cur = xfs_bnobt_init_cursor(mp, sc->tp, sa->agf_bp, in xrep_ag_btcur_init()
|
/linux/fs/xfs/libxfs/ |
H A D | xfs_alloc.c | 570 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 …]
|