Searched refs:refc_cur (Results 1 – 5 of 5) sorted by relevance
/fs/xfs/scrub/ |
D | refcount.c | 383 error = xfs_btree_count_blocks(sc->sa.refc_cur, &refcbt_blocks); in xchk_refcount_xref_rmap() 384 if (!xchk_btree_process_error(sc, sc->sa.refc_cur, 0, &error)) in xchk_refcount_xref_rmap() 410 error = xchk_btree(sc, sc->sa.refc_cur, xchk_refcountbt_rec, in xchk_refcountbt() 432 if (!sc->sa.refc_cur || xchk_skip_xref(sc->sm)) in xchk_xref_is_cow_staging() 436 error = xfs_refcount_lookup_le(sc->sa.refc_cur, in xchk_xref_is_cow_staging() 438 if (!xchk_should_check_xref(sc, &error, &sc->sa.refc_cur)) in xchk_xref_is_cow_staging() 441 xchk_btree_xref_set_corrupt(sc, sc->sa.refc_cur, 0); in xchk_xref_is_cow_staging() 445 error = xfs_refcount_get_rec(sc->sa.refc_cur, &rc, &has_refcount); in xchk_xref_is_cow_staging() 446 if (!xchk_should_check_xref(sc, &error, &sc->sa.refc_cur)) in xchk_xref_is_cow_staging() 449 xchk_btree_xref_set_corrupt(sc, sc->sa.refc_cur, 0); in xchk_xref_is_cow_staging() [all …]
|
D | rmap.c | 46 if (!sc->sa.refc_cur || xchk_skip_xref(sc->sm)) in xchk_rmapbt_xref_refc() 55 error = xfs_refcount_find_shared(sc->sa.refc_cur, irec->rm_startblock, in xchk_rmapbt_xref_refc() 57 if (!xchk_should_check_xref(sc, &error, &sc->sa.refc_cur)) in xchk_rmapbt_xref_refc() 60 xchk_btree_xref_set_corrupt(sc, sc->sa.refc_cur, 0); in xchk_rmapbt_xref_refc()
|
D | common.c | 433 if (sa->refc_cur) in xchk_ag_btcur_free() 434 xfs_btree_del_cursor(sa->refc_cur, XFS_BTREE_ERROR); in xchk_ag_btcur_free() 446 sa->refc_cur = NULL; in xchk_ag_btcur_free() 512 sa->refc_cur = xfs_refcountbt_init_cursor(mp, sc->tp, in xchk_ag_btcur_init() 514 if (!sa->refc_cur) in xchk_ag_btcur_init()
|
D | scrub.h | 53 struct xfs_btree_cur *refc_cur; member
|
D | agheader.c | 463 if (!sc->sa.refc_cur) in xchk_agf_xref_refcblks() 466 error = xfs_btree_count_blocks(sc->sa.refc_cur, &blocks); in xchk_agf_xref_refcblks() 467 if (!xchk_should_check_xref(sc, &error, &sc->sa.refc_cur)) in xchk_agf_xref_refcblks()
|