Searched refs:rmap_cur (Results 1 – 9 of 9) sorted by relevance
/fs/xfs/scrub/ |
D | rmap.c | 326 bs->sc->sa.rmap_cur, 0); in xchk_rmapbt_mark_bitmap() 334 xchk_btree_xref_set_corrupt(bs->sc, bs->sc->sa.rmap_cur, 0); in xchk_rmapbt_mark_bitmap() 432 error = xagb_bitmap_set_btblocks(&cr->ag_owned, sc->sa.rmap_cur); in xchk_rmapbt_walk_ag_metadata() 488 xchk_btree_xref_process_error(sc, sc->sa.rmap_cur, in xchk_rmapbt_walk_ag_metadata() 489 sc->sa.rmap_cur->bc_nlevels - 1, &error); in xchk_rmapbt_walk_ag_metadata() 504 struct xfs_btree_cur *cur = sc->sa.rmap_cur; in xchk_rmapbt_check_bitmaps() 556 error = xchk_btree(sc, sc->sa.rmap_cur, xchk_rmapbt_rec, in xchk_rmapbt() 584 if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) in xchk_xref_is_only_owned_by() 587 error = xfs_rmap_count_owners(sc->sa.rmap_cur, bno, len, oinfo, &res); in xchk_xref_is_only_owned_by() 588 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) in xchk_xref_is_only_owned_by() [all …]
|
D | refcount.c | 290 if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) in xchk_refcountbt_xref_rmap() 300 error = xfs_rmap_query_range(sc->sa.rmap_cur, &low, &high, in xchk_refcountbt_xref_rmap() 302 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) in xchk_refcountbt_xref_rmap() 308 xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); in xchk_refcountbt_xref_rmap() 377 if (bno <= rrc->next_unshared_agbno || !sc->sa.rmap_cur || in xchk_refcountbt_xref_gaps() 386 error = xfs_rmap_query_range(sc->sa.rmap_cur, &low, &high, in xchk_refcountbt_xref_gaps() 389 xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); in xchk_refcountbt_xref_gaps() 391 xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur); in xchk_refcountbt_xref_gaps() 485 if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) in xchk_refcount_xref_rmap() 492 error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur, in xchk_refcount_xref_rmap() [all …]
|
D | ialloc.c | 660 if (!sc->sa.ino_cur || !sc->sa.rmap_cur || in xchk_iallocbt_xref_rmap_btreeblks() 676 error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur, in xchk_iallocbt_xref_rmap_btreeblks() 678 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) in xchk_iallocbt_xref_rmap_btreeblks() 698 if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) in xchk_iallocbt_xref_rmap_inodes() 702 error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur, in xchk_iallocbt_xref_rmap_inodes() 704 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) in xchk_iallocbt_xref_rmap_inodes() 708 xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); in xchk_iallocbt_xref_rmap_inodes()
|
D | bmap.c | 150 error = xfs_rmap_lookup_le_range(info->sc->sa.rmap_cur, agbno, in xchk_bmap_get_rmap() 153 error = xfs_rmap_lookup_le(info->sc->sa.rmap_cur, agbno, in xchk_bmap_get_rmap() 156 if (!xchk_should_check_xref(info->sc, &error, &info->sc->sa.rmap_cur)) in xchk_bmap_get_rmap() 176 if (!info->sc->sa.rmap_cur || xchk_skip_xref(info->sc->sm)) in xchk_bmap_xref_rmap() 243 if (!info->sc->sa.rmap_cur || xchk_skip_xref(info->sc->sm)) in xchk_bmap_xref_rmap_cow()
|
D | common.c | 530 if (sa->rmap_cur) in xchk_ag_btcur_free() 531 xfs_btree_del_cursor(sa->rmap_cur, XFS_BTREE_ERROR); in xchk_ag_btcur_free() 542 sa->rmap_cur = NULL; in xchk_ag_btcur_free() 588 sa->rmap_cur = xfs_rmapbt_init_cursor(mp, sc->tp, sa->agf_bp, in xchk_ag_btcur_init()
|
D | agheader_repair.c | 465 struct xfs_btree_cur *rmap_cur; member 509 error = xfs_rmap_has_other_keys(ra->rmap_cur, agbno, 1, in xrep_agfl_check_extent() 586 ra.rmap_cur = xfs_rmapbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.pag); in xrep_agfl_collect_blocks() 588 xfs_btree_del_cursor(ra.rmap_cur, error); in xrep_agfl_collect_blocks()
|
D | agheader.c | 446 if (sc->sa.rmap_cur) { in xchk_agf_xref_btreeblks() 447 error = xfs_btree_count_blocks(sc->sa.rmap_cur, &blocks); in xchk_agf_xref_btreeblks() 448 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) in xchk_agf_xref_btreeblks() 461 if ((xfs_has_rmapbt(mp) && !sc->sa.rmap_cur) || in xchk_agf_xref_btreeblks()
|
D | scrub.h | 58 struct xfs_btree_cur *rmap_cur; member
|
D | btree.c | 411 if (!bs->sc->sa.rmap_cur && btnum == XFS_BTNUM_RMAP) in xchk_btree_check_block_owner()
|