Home
last modified time | relevance | path

Searched refs:cnt_cur (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.1/fs/xfs/libxfs/
Dxfs_alloc.c444 struct xfs_btree_cur *cnt_cur, /* cursor for by-size btree */ in xfs_alloc_fixup_trees() argument
460 mp = cnt_cur->bc_mp; in xfs_alloc_fixup_trees()
467 if ((error = xfs_alloc_get_rec(cnt_cur, &nfbno1, &nflen1, &i))) in xfs_alloc_fixup_trees()
476 if ((error = xfs_alloc_lookup_eq(cnt_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()
507 cntblock = XFS_BUF_TO_BLOCK(cnt_cur->bc_levels[0].bp); in xfs_alloc_fixup_trees()
540 if ((error = xfs_btree_delete(cnt_cur, &i))) in xfs_alloc_fixup_trees()
548 if ((error = xfs_alloc_lookup_eq(cnt_cur, nfbno1, nflen1, &i))) in xfs_alloc_fixup_trees()
552 if ((error = xfs_btree_insert(cnt_cur, &i))) in xfs_alloc_fixup_trees()
558 if ((error = xfs_alloc_lookup_eq(cnt_cur, nfbno2, nflen2, &i))) in xfs_alloc_fixup_trees()
[all …]
/Linux-v6.1/fs/xfs/scrub/
Dalloc.c48 pcur = &sc->sa.cnt_cur; in xchk_allocbt_xref_other()
119 cur = which == XFS_BTNUM_BNO ? sc->sa.bno_cur : sc->sa.cnt_cur; in xchk_allocbt()
Dagheader.c399 if (!sc->sa.cnt_cur) in xchk_agf_xref_cntbt()
403 error = xfs_alloc_lookup_le(sc->sa.cnt_cur, 0, -1U, &have); in xchk_agf_xref_cntbt()
404 if (!xchk_should_check_xref(sc, &error, &sc->sa.cnt_cur)) in xchk_agf_xref_cntbt()
413 error = xfs_alloc_get_rec(sc->sa.cnt_cur, &agbno, &blocks, &have); in xchk_agf_xref_cntbt()
414 if (!xchk_should_check_xref(sc, &error, &sc->sa.cnt_cur)) in xchk_agf_xref_cntbt()
452 !sc->sa.bno_cur || !sc->sa.cnt_cur) in xchk_agf_xref_btreeblks()
461 error = xfs_btree_count_blocks(sc->sa.cnt_cur, &blocks); in xchk_agf_xref_btreeblks()
462 if (!xchk_should_check_xref(sc, &error, &sc->sa.cnt_cur)) in xchk_agf_xref_btreeblks()
Dcommon.c447 if (sa->cnt_cur) in xchk_ag_btcur_free()
448 xfs_btree_del_cursor(sa->cnt_cur, XFS_BTREE_ERROR); in xchk_ag_btcur_free()
457 sa->cnt_cur = NULL; in xchk_ag_btcur_free()
478 sa->cnt_cur = xfs_allocbt_init_cursor(mp, sc->tp, sa->agf_bp, in xchk_ag_btcur_init()
Dscrub.h47 struct xfs_btree_cur *cnt_cur; member
Dfscounters.c160 error = xfs_btree_count_blocks(sc->sa.cnt_cur, &blocks); in xchk_fscount_btreeblks()