Searched refs:cnt_cur (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/fs/xfs/libxfs/ |
D | xfs_alloc.c | 474 struct xfs_btree_cur *cnt_cur, /* cursor for by-size btree */ in xfs_alloc_fixup_trees() argument 490 mp = cnt_cur->bc_mp; in xfs_alloc_fixup_trees() 497 if ((error = xfs_alloc_get_rec(cnt_cur, &nfbno1, &nflen1, &i))) in xfs_alloc_fixup_trees() 506 if ((error = xfs_alloc_lookup_eq(cnt_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() 537 cntblock = XFS_BUF_TO_BLOCK(cnt_cur->bc_levels[0].bp); in xfs_alloc_fixup_trees() 570 if ((error = xfs_btree_delete(cnt_cur, &i))) in xfs_alloc_fixup_trees() 578 if ((error = xfs_alloc_lookup_eq(cnt_cur, nfbno1, nflen1, &i))) in xfs_alloc_fixup_trees() 582 if ((error = xfs_btree_insert(cnt_cur, &i))) in xfs_alloc_fixup_trees() 588 if ((error = xfs_alloc_lookup_eq(cnt_cur, nfbno2, nflen2, &i))) in xfs_alloc_fixup_trees() [all …]
|
/linux-6.6.21/fs/xfs/scrub/ |
D | alloc.c | 57 pcur = &sc->sa.cnt_cur; in xchk_allocbt_xref_other() 150 cur = which == XFS_BTNUM_BNO ? sc->sa.bno_cur : sc->sa.cnt_cur; in xchk_allocbt()
|
D | agheader.c | 409 if (!sc->sa.cnt_cur) in xchk_agf_xref_cntbt() 413 error = xfs_alloc_lookup_le(sc->sa.cnt_cur, 0, -1U, &have); in xchk_agf_xref_cntbt() 414 if (!xchk_should_check_xref(sc, &error, &sc->sa.cnt_cur)) in xchk_agf_xref_cntbt() 423 error = xfs_alloc_get_rec(sc->sa.cnt_cur, &agbno, &blocks, &have); in xchk_agf_xref_cntbt() 424 if (!xchk_should_check_xref(sc, &error, &sc->sa.cnt_cur)) in xchk_agf_xref_cntbt() 462 !sc->sa.bno_cur || !sc->sa.cnt_cur) in xchk_agf_xref_btreeblks() 471 error = xfs_btree_count_blocks(sc->sa.cnt_cur, &blocks); in xchk_agf_xref_btreeblks() 472 if (!xchk_should_check_xref(sc, &error, &sc->sa.cnt_cur)) in xchk_agf_xref_btreeblks()
|
D | common.c | 536 if (sa->cnt_cur) in xchk_ag_btcur_free() 537 xfs_btree_del_cursor(sa->cnt_cur, XFS_BTREE_ERROR); in xchk_ag_btcur_free() 546 sa->cnt_cur = NULL; in xchk_ag_btcur_free() 567 sa->cnt_cur = xfs_allocbt_init_cursor(mp, sc->tp, sa->agf_bp, in xchk_ag_btcur_init()
|
D | scrub.h | 55 struct xfs_btree_cur *cnt_cur; member
|
D | rmap.c | 422 cur = sc->sa.cnt_cur; in xchk_rmapbt_walk_ag_metadata() 427 if (cur != sc->sa.cnt_cur) in xchk_rmapbt_walk_ag_metadata()
|
D | fscounters.c | 279 error = xfs_btree_count_blocks(sc->sa.cnt_cur, &blocks); in xchk_fscount_btreeblks()
|