Searched refs:cnt_cur (Results 1 – 5 of 5) sorted by relevance
/linux-4.19.296/fs/xfs/libxfs/ |
D | xfs_alloc.c | 415 xfs_btree_cur_t *cnt_cur, /* cursor for by-size btree */ in xfs_alloc_fixup_trees() argument 431 mp = cnt_cur->bc_mp; in xfs_alloc_fixup_trees() 438 if ((error = xfs_alloc_get_rec(cnt_cur, &nfbno1, &nflen1, &i))) in xfs_alloc_fixup_trees() 444 if ((error = xfs_alloc_lookup_eq(cnt_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees() 465 if (bno_cur->bc_nlevels == 1 && cnt_cur->bc_nlevels == 1) { in xfs_alloc_fixup_trees() 470 cntblock = XFS_BUF_TO_BLOCK(cnt_cur->bc_bufs[0]); in xfs_alloc_fixup_trees() 501 if ((error = xfs_btree_delete(cnt_cur, &i))) in xfs_alloc_fixup_trees() 508 if ((error = xfs_alloc_lookup_eq(cnt_cur, nfbno1, nflen1, &i))) in xfs_alloc_fixup_trees() 511 if ((error = xfs_btree_insert(cnt_cur, &i))) in xfs_alloc_fixup_trees() 516 if ((error = xfs_alloc_lookup_eq(cnt_cur, nfbno2, nflen2, &i))) in xfs_alloc_fixup_trees() [all …]
|
/linux-4.19.296/fs/xfs/scrub/ |
D | alloc.c | 55 pcur = &sc->sa.cnt_cur; in xchk_allocbt_xref_other() 132 cur = which == XFS_BTNUM_BNO ? sc->sa.bno_cur : sc->sa.cnt_cur; in xchk_allocbt()
|
D | common.c | 439 if (sa->cnt_cur) in xchk_ag_btcur_free() 440 xfs_btree_del_cursor(sa->cnt_cur, XFS_BTREE_ERROR); in xchk_ag_btcur_free() 449 sa->cnt_cur = NULL; in xchk_ag_btcur_free() 469 sa->cnt_cur = xfs_allocbt_init_cursor(mp, sc->tp, sa->agf_bp, in xchk_ag_btcur_init() 471 if (!sa->cnt_cur) in xchk_ag_btcur_init()
|
D | agheader.c | 396 if (!sc->sa.cnt_cur) in xchk_agf_xref_cntbt() 400 error = xfs_alloc_lookup_le(sc->sa.cnt_cur, 0, -1U, &have); in xchk_agf_xref_cntbt() 401 if (!xchk_should_check_xref(sc, &error, &sc->sa.cnt_cur)) in xchk_agf_xref_cntbt() 410 error = xfs_alloc_get_rec(sc->sa.cnt_cur, &agbno, &blocks, &have); in xchk_agf_xref_cntbt() 411 if (!xchk_should_check_xref(sc, &error, &sc->sa.cnt_cur)) in xchk_agf_xref_cntbt() 445 !sc->sa.bno_cur || !sc->sa.cnt_cur) in xchk_agf_xref_btreeblks() 454 error = xfs_btree_count_blocks(sc->sa.cnt_cur, &blocks); in xchk_agf_xref_btreeblks() 455 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
|