Searched refs:rmap_cur (Results 1 - 16 of 16) sorted by relevance

/linux-master/fs/xfs/scrub/
H A Drmap.c336 bs->sc->sa.rmap_cur, 0);
344 xchk_btree_xref_set_corrupt(bs->sc, bs->sc->sa.rmap_cur, 0);
442 error = xagb_bitmap_set_btblocks(&cr->ag_owned, sc->sa.rmap_cur);
497 xchk_btree_xref_process_error(sc, sc->sa.rmap_cur,
498 sc->sa.rmap_cur->bc_nlevels - 1, &error);
513 struct xfs_btree_cur *cur = sc->sa.rmap_cur;
565 error = xchk_btree(sc, sc->sa.rmap_cur, xchk_rmapbt_rec,
593 if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm))
596 error = xfs_rmap_count_owners(sc->sa.rmap_cur, bno, len, oinfo, &res);
597 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur))
[all...]
H A Drefcount.c302 if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm))
312 error = xfs_rmap_query_range(sc->sa.rmap_cur, &low, &high,
314 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur))
320 xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0);
389 if (bno <= rrc->next_unshared_agbno || !sc->sa.rmap_cur ||
398 error = xfs_rmap_query_range(sc->sa.rmap_cur, &low, &high,
401 xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0);
403 xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur);
497 if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm))
504 error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur,
[all...]
H A Drefcount_repair.c239 struct xfs_btree_cur *cur = rr->sc->sa.rmap_cur;
395 error = xfs_btree_decrement(sc->sa.rmap_cur, 0, &have_gt);
399 xfs_btree_mark_sick(sc->sa.rmap_cur);
432 error = xfs_btree_goto_left_edge(sc->sa.rmap_cur);
437 while (xfs_btree_has_more_records(sc->sa.rmap_cur)) {
H A Dialloc.c659 if (!sc->sa.ino_cur || !sc->sa.rmap_cur ||
675 error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur,
677 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur))
696 if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm))
700 error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur,
702 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur))
706 xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0);
H A Drmap_repair.c994 struct xfs_btree_cur *rmap_cur,
1077 error = xfs_btree_bload_compute_geometry(rmap_cur,
1094 struct xfs_btree_cur *rmap_cur)
1102 error = xfs_btree_bload_compute_geometry(rmap_cur,
1120 error = xrep_rmap_try_reserve(rr, rmap_cur, &freesp_blocks,
1296 struct xfs_btree_cur *rmap_cur; local
1321 rmap_cur = xfs_rmapbt_init_cursor(sc->mp, NULL, NULL, pag);
1322 xfs_btree_stage_afakeroot(rmap_cur, &rr->new_btree.afake);
1328 error = xrep_rmap_reserve_space(rr, rmap_cur);
1360 error = xfs_btree_bload(rmap_cur,
992 xrep_rmap_try_reserve( struct xrep_rmap *rr, struct xfs_btree_cur *rmap_cur, struct xagb_bitmap *freesp_blocks, uint64_t *blocks_reserved, bool *done) argument
1092 xrep_rmap_reserve_space( struct xrep_rmap *rr, struct xfs_btree_cur *rmap_cur) argument
[all...]
H A Dscrub.h66 struct xfs_btree_cur *rmap_cur; member in struct:xchk_ag
H A Dbmap.c174 error = xfs_rmap_lookup_le_range(info->sc->sa.rmap_cur, agbno,
177 error = xfs_rmap_lookup_le(info->sc->sa.rmap_cur, agbno,
180 if (!xchk_should_check_xref(info->sc, &error, &info->sc->sa.rmap_cur))
200 if (!info->sc->sa.rmap_cur || xchk_skip_xref(info->sc->sm))
267 if (!info->sc->sa.rmap_cur || xchk_skip_xref(info->sc->sm))
H A Dcommon.c564 if (sa->rmap_cur)
565 xfs_btree_del_cursor(sa->rmap_cur, XFS_BTREE_ERROR);
576 sa->rmap_cur = NULL;
606 sa->rmap_cur = xfs_rmapbt_init_cursor(mp, sc->tp,
608 xchk_ag_btree_del_cursor_if_sick(sc, &sa->rmap_cur,
H A Dagheader_repair.c454 struct xfs_btree_cur *rmap_cur; member in struct:xrep_agfl
497 error = xfs_rmap_has_other_keys(ra->rmap_cur, agbno, 1,
572 ra.rmap_cur = xfs_rmapbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.pag);
574 xfs_btree_del_cursor(ra.rmap_cur, error);
H A Dagheader.c446 if (sc->sa.rmap_cur) {
447 error = xfs_btree_count_blocks(sc->sa.rmap_cur, &blocks);
448 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur))
461 if ((xfs_has_rmapbt(mp) && !sc->sa.rmap_cur) ||
H A Dcow_repair.c290 error = xfs_rmap_query_range(sc->sa.rmap_cur, &rm_low, &rm_high,
H A Dbtree.c405 if (!bs->sc->sa.rmap_cur && xfs_btree_is_rmap(bs->cur->bc_ops))
H A Dalloc_repair.c380 error = xfs_rmap_query_all(sc->sa.rmap_cur, xrep_abt_walk_rmap, ra);
H A Dbmap_repair.c359 error = xfs_rmap_query_all(sc->sa.rmap_cur, xrep_bmap_walk_rmap, rb);
H A Dialloc_repair.c484 error = xfs_rmap_query_all(sc->sa.rmap_cur, xrep_ibt_walk_rmap, ri);
H A Drepair.c855 sa->rmap_cur = xfs_rmapbt_init_cursor(mp, sc->tp, sa->agf_bp,

Completed in 173 milliseconds