rmap_cur 420 fs/xfs/scrub/agheader.c if (sc->sa.rmap_cur) { rmap_cur 421 fs/xfs/scrub/agheader.c error = xfs_btree_count_blocks(sc->sa.rmap_cur, &blocks); rmap_cur 422 fs/xfs/scrub/agheader.c if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) rmap_cur 435 fs/xfs/scrub/agheader.c if ((xfs_sb_version_hasrmapbt(&mp->m_sb) && !sc->sa.rmap_cur) || rmap_cur 114 fs/xfs/scrub/bmap.c error = xfs_rmap_lookup_le_range(info->sc->sa.rmap_cur, agbno, rmap_cur 117 fs/xfs/scrub/bmap.c &info->sc->sa.rmap_cur)) rmap_cur 125 fs/xfs/scrub/bmap.c error = xfs_rmap_lookup_le(info->sc->sa.rmap_cur, agbno, 0, owner, rmap_cur 128 fs/xfs/scrub/bmap.c &info->sc->sa.rmap_cur)) rmap_cur 133 fs/xfs/scrub/bmap.c error = xfs_rmap_get_rec(info->sc->sa.rmap_cur, rmap, &has_rmap); rmap_cur 135 fs/xfs/scrub/bmap.c &info->sc->sa.rmap_cur)) rmap_cur 156 fs/xfs/scrub/bmap.c if (!info->sc->sa.rmap_cur || xchk_skip_xref(info->sc->sm)) rmap_cur 392 fs/xfs/scrub/btree.c if (!bs->sc->sa.rmap_cur && btnum == XFS_BTNUM_RMAP) rmap_cur 435 fs/xfs/scrub/common.c if (sa->rmap_cur) rmap_cur 436 fs/xfs/scrub/common.c xfs_btree_del_cursor(sa->rmap_cur, XFS_BTREE_ERROR); rmap_cur 447 fs/xfs/scrub/common.c sa->rmap_cur = NULL; rmap_cur 503 fs/xfs/scrub/common.c sa->rmap_cur = xfs_rmapbt_init_cursor(mp, sc->tp, sa->agf_bp, rmap_cur 505 fs/xfs/scrub/common.c if (!sa->rmap_cur) rmap_cur 521 fs/xfs/scrub/ialloc.c if (!sc->sa.ino_cur || !sc->sa.rmap_cur || rmap_cur 537 fs/xfs/scrub/ialloc.c error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur, rmap_cur 539 fs/xfs/scrub/ialloc.c if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) rmap_cur 559 fs/xfs/scrub/ialloc.c if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) rmap_cur 563 fs/xfs/scrub/ialloc.c error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur, rmap_cur 565 fs/xfs/scrub/ialloc.c if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) rmap_cur 569 fs/xfs/scrub/ialloc.c xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); rmap_cur 289 fs/xfs/scrub/refcount.c if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) rmap_cur 299 fs/xfs/scrub/refcount.c error = xfs_rmap_query_range(sc->sa.rmap_cur, &low, &high, rmap_cur 301 fs/xfs/scrub/refcount.c if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) rmap_cur 306 fs/xfs/scrub/refcount.c xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); rmap_cur 381 fs/xfs/scrub/refcount.c if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) rmap_cur 388 fs/xfs/scrub/refcount.c error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur, rmap_cur 390 fs/xfs/scrub/refcount.c if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) rmap_cur 393 fs/xfs/scrub/refcount.c xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); rmap_cur 396 fs/xfs/scrub/refcount.c error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur, rmap_cur 398 fs/xfs/scrub/refcount.c if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) rmap_cur 401 fs/xfs/scrub/refcount.c xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); rmap_cur 168 fs/xfs/scrub/rmap.c return xchk_btree(sc, sc->sa.rmap_cur, xchk_rmapbt_rec, rmap_cur 184 fs/xfs/scrub/rmap.c if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) rmap_cur 187 fs/xfs/scrub/rmap.c error = xfs_rmap_record_exists(sc->sa.rmap_cur, bno, len, oinfo, rmap_cur 189 fs/xfs/scrub/rmap.c if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) rmap_cur 192 fs/xfs/scrub/rmap.c xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); rmap_cur 227 fs/xfs/scrub/rmap.c if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) rmap_cur 230 fs/xfs/scrub/rmap.c error = xfs_rmap_has_record(sc->sa.rmap_cur, bno, len, &has_rmap); rmap_cur 231 fs/xfs/scrub/rmap.c if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) rmap_cur 234 fs/xfs/scrub/rmap.c xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); rmap_cur 52 fs/xfs/scrub/scrub.h struct xfs_btree_cur *rmap_cur;