/linux-master/fs/xfs/scrub/ |
H A D | rmap.c | 336 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 D | refcount.c | 302 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 D | refcount_repair.c | 239 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 D | ialloc.c | 659 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 D | rmap_repair.c | 994 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 D | scrub.h | 66 struct xfs_btree_cur *rmap_cur; member in struct:xchk_ag
|
H A D | bmap.c | 174 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 D | common.c | 564 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 D | agheader_repair.c | 454 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 D | agheader.c | 446 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 D | cow_repair.c | 290 error = xfs_rmap_query_range(sc->sa.rmap_cur, &rm_low, &rm_high,
|
H A D | btree.c | 405 if (!bs->sc->sa.rmap_cur && xfs_btree_is_rmap(bs->cur->bc_ops))
|
H A D | alloc_repair.c | 380 error = xfs_rmap_query_all(sc->sa.rmap_cur, xrep_abt_walk_rmap, ra);
|
H A D | bmap_repair.c | 359 error = xfs_rmap_query_all(sc->sa.rmap_cur, xrep_bmap_walk_rmap, rb);
|
H A D | ialloc_repair.c | 484 error = xfs_rmap_query_all(sc->sa.rmap_cur, xrep_ibt_walk_rmap, ri);
|
H A D | repair.c | 855 sa->rmap_cur = xfs_rmapbt_init_cursor(mp, sc->tp, sa->agf_bp,
|