Searched refs:cnt_cur (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
D | xfs_alloc.c | 429 xfs_btree_cur_t *cnt_cur, /* cursor for by-size btree */ in xfs_alloc_fixup_trees() argument 445 mp = cnt_cur->bc_mp; in xfs_alloc_fixup_trees() 452 if ((error = xfs_alloc_get_rec(cnt_cur, &nfbno1, &nflen1, &i))) in xfs_alloc_fixup_trees() 461 if ((error = xfs_alloc_lookup_eq(cnt_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees() 487 if (bno_cur->bc_nlevels == 1 && cnt_cur->bc_nlevels == 1) { in xfs_alloc_fixup_trees() 492 cntblock = XFS_BUF_TO_BLOCK(cnt_cur->bc_bufs[0]); in xfs_alloc_fixup_trees() 525 if ((error = xfs_btree_delete(cnt_cur, &i))) in xfs_alloc_fixup_trees() 533 if ((error = xfs_alloc_lookup_eq(cnt_cur, nfbno1, nflen1, &i))) in xfs_alloc_fixup_trees() 537 if ((error = xfs_btree_insert(cnt_cur, &i))) in xfs_alloc_fixup_trees() 543 if ((error = xfs_alloc_lookup_eq(cnt_cur, nfbno2, nflen2, &i))) in xfs_alloc_fixup_trees() [all …]
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
D | alloc.c | 48 pcur = &sc->sa.cnt_cur; in xchk_allocbt_xref_other() 122 cur = which == XFS_BTNUM_BNO ? sc->sa.bno_cur : sc->sa.cnt_cur; in xchk_allocbt()
|
D | common.c | 441 if (sa->cnt_cur) in xchk_ag_btcur_free() 442 xfs_btree_del_cursor(sa->cnt_cur, XFS_BTREE_ERROR); in xchk_ag_btcur_free() 451 sa->cnt_cur = NULL; in xchk_ag_btcur_free() 476 sa->cnt_cur = xfs_allocbt_init_cursor(mp, sc->tp, sa->agf_bp, in xchk_ag_btcur_init() 478 if (!sa->cnt_cur) in xchk_ag_btcur_init()
|
D | agheader.c | 387 if (!sc->sa.cnt_cur) in xchk_agf_xref_cntbt() 391 error = xfs_alloc_lookup_le(sc->sa.cnt_cur, 0, -1U, &have); in xchk_agf_xref_cntbt() 392 if (!xchk_should_check_xref(sc, &error, &sc->sa.cnt_cur)) in xchk_agf_xref_cntbt() 401 error = xfs_alloc_get_rec(sc->sa.cnt_cur, &agbno, &blocks, &have); in xchk_agf_xref_cntbt() 402 if (!xchk_should_check_xref(sc, &error, &sc->sa.cnt_cur)) in xchk_agf_xref_cntbt() 436 !sc->sa.bno_cur || !sc->sa.cnt_cur) in xchk_agf_xref_btreeblks() 445 error = xfs_btree_count_blocks(sc->sa.cnt_cur, &blocks); in xchk_agf_xref_btreeblks() 446 if (!xchk_should_check_xref(sc, &error, &sc->sa.cnt_cur)) in xchk_agf_xref_btreeblks()
|
D | scrub.h | 49 struct xfs_btree_cur *cnt_cur; member
|