Searched refs:bno_cur (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/fs/xfs/scrub/ |
D | alloc.c | 50 pcur = &sc->sa.bno_cur; in xchk_allocbt_xref_other() 119 cur = which == XFS_BTNUM_BNO ? sc->sa.bno_cur : sc->sa.cnt_cur; in xchk_allocbt() 147 if (!sc->sa.bno_cur || xchk_skip_xref(sc->sm)) in xchk_xref_is_used_space() 150 error = xfs_alloc_has_record(sc->sa.bno_cur, agbno, len, &is_freesp); in xchk_xref_is_used_space() 151 if (!xchk_should_check_xref(sc, &error, &sc->sa.bno_cur)) in xchk_xref_is_used_space() 154 xchk_btree_xref_set_corrupt(sc, sc->sa.bno_cur, 0); in xchk_xref_is_used_space()
|
D | common.c | 449 if (sa->bno_cur) in xchk_ag_btcur_free() 450 xfs_btree_del_cursor(sa->bno_cur, XFS_BTREE_ERROR); in xchk_ag_btcur_free() 456 sa->bno_cur = NULL; in xchk_ag_btcur_free() 471 sa->bno_cur = xfs_allocbt_init_cursor(mp, sc->tp, sa->agf_bp, in xchk_ag_btcur_init()
|
D | agheader.c | 377 if (!sc->sa.bno_cur) in xchk_agf_xref_freeblks() 380 error = xfs_alloc_query_all(sc->sa.bno_cur, in xchk_agf_xref_freeblks() 382 if (!xchk_should_check_xref(sc, &error, &sc->sa.bno_cur)) in xchk_agf_xref_freeblks() 452 !sc->sa.bno_cur || !sc->sa.cnt_cur) in xchk_agf_xref_btreeblks() 456 error = xfs_btree_count_blocks(sc->sa.bno_cur, &blocks); in xchk_agf_xref_btreeblks() 457 if (!xchk_should_check_xref(sc, &error, &sc->sa.bno_cur)) in xchk_agf_xref_btreeblks()
|
D | scrub.h | 46 struct xfs_btree_cur *bno_cur; member
|
D | fscounters.c | 155 error = xfs_btree_count_blocks(sc->sa.bno_cur, &blocks); in xchk_fscount_btreeblks()
|
D | btree.c | 389 if (!bs->sc->sa.bno_cur && btnum == XFS_BTNUM_BNO) in xchk_btree_check_block_owner()
|
/linux-6.1.9/fs/xfs/libxfs/ |
D | xfs_alloc.c | 445 struct xfs_btree_cur *bno_cur, /* cursor for by-block btree */ in xfs_alloc_fixup_trees() argument 486 if ((error = xfs_alloc_get_rec(bno_cur, &nfbno1, &nflen1, &i))) in xfs_alloc_fixup_trees() 495 if ((error = xfs_alloc_lookup_eq(bno_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees() 502 if (bno_cur->bc_nlevels == 1 && cnt_cur->bc_nlevels == 1) { in xfs_alloc_fixup_trees() 506 bnoblock = XFS_BUF_TO_BLOCK(bno_cur->bc_levels[0].bp); in xfs_alloc_fixup_trees() 574 if ((error = xfs_btree_delete(bno_cur, &i))) in xfs_alloc_fixup_trees() 582 if ((error = xfs_alloc_update(bno_cur, nfbno1, nflen1))) in xfs_alloc_fixup_trees() 589 if ((error = xfs_alloc_lookup_eq(bno_cur, nfbno2, nflen2, &i))) in xfs_alloc_fixup_trees() 593 if ((error = xfs_btree_insert(bno_cur, &i))) in xfs_alloc_fixup_trees() 1218 struct xfs_btree_cur *bno_cur;/* by block-number btree cursor */ in xfs_alloc_ag_vextent_exact() local [all …]
|