Searched refs:rmap_cur (Results 1 – 8 of 8) sorted by relevance
/linux-4.19.296/fs/xfs/scrub/ |
D | rmap.c | 180 return xchk_btree(sc, sc->sa.rmap_cur, xchk_rmapbt_rec, in xchk_rmapbt() 196 if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) in xchk_xref_check_owner() 199 error = xfs_rmap_record_exists(sc->sa.rmap_cur, bno, len, oinfo, in xchk_xref_check_owner() 201 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) in xchk_xref_check_owner() 204 xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); in xchk_xref_check_owner() 239 if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) in xchk_xref_has_no_owner() 242 error = xfs_rmap_has_record(sc->sa.rmap_cur, bno, len, &has_rmap); in xchk_xref_has_no_owner() 243 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) in xchk_xref_has_no_owner() 246 xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); in xchk_xref_has_no_owner()
|
D | refcount.c | 297 if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) in xchk_refcountbt_xref_rmap() 307 error = xfs_rmap_query_range(sc->sa.rmap_cur, &low, &high, in xchk_refcountbt_xref_rmap() 309 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) in xchk_refcountbt_xref_rmap() 314 xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); in xchk_refcountbt_xref_rmap() 391 if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) in xchk_refcount_xref_rmap() 398 error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur, oinfo, in xchk_refcount_xref_rmap() 400 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) in xchk_refcount_xref_rmap() 403 xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); in xchk_refcount_xref_rmap() 407 error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur, oinfo, in xchk_refcount_xref_rmap() 409 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) in xchk_refcount_xref_rmap() [all …]
|
D | ialloc.c | 375 if (!sc->sa.ino_cur || !sc->sa.rmap_cur || in xchk_iallocbt_xref_rmap_btreeblks() 392 error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur, &oinfo, in xchk_iallocbt_xref_rmap_btreeblks() 394 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) in xchk_iallocbt_xref_rmap_btreeblks() 414 if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) in xchk_iallocbt_xref_rmap_inodes() 419 error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur, &oinfo, in xchk_iallocbt_xref_rmap_inodes() 421 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) in xchk_iallocbt_xref_rmap_inodes() 424 xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); in xchk_iallocbt_xref_rmap_inodes()
|
D | bmap.c | 141 error = xfs_rmap_lookup_le_range(info->sc->sa.rmap_cur, agbno, in xchk_bmap_get_rmap() 144 &info->sc->sa.rmap_cur)) in xchk_bmap_get_rmap() 152 error = xfs_rmap_lookup_le(info->sc->sa.rmap_cur, agbno, 0, owner, in xchk_bmap_get_rmap() 155 &info->sc->sa.rmap_cur)) in xchk_bmap_get_rmap() 160 error = xfs_rmap_get_rec(info->sc->sa.rmap_cur, rmap, &has_rmap); in xchk_bmap_get_rmap() 162 &info->sc->sa.rmap_cur)) in xchk_bmap_get_rmap() 183 if (!info->sc->sa.rmap_cur || xchk_skip_xref(info->sc->sm)) in xchk_bmap_xref_rmap()
|
D | common.c | 433 if (sa->rmap_cur) in xchk_ag_btcur_free() 434 xfs_btree_del_cursor(sa->rmap_cur, XFS_BTREE_ERROR); in xchk_ag_btcur_free() 445 sa->rmap_cur = NULL; in xchk_ag_btcur_free() 493 sa->rmap_cur = xfs_rmapbt_init_cursor(mp, sc->tp, sa->agf_bp, in xchk_ag_btcur_init() 495 if (!sa->rmap_cur) in xchk_ag_btcur_init()
|
D | scrub.h | 52 struct xfs_btree_cur *rmap_cur; member
|
D | agheader.c | 429 if (sc->sa.rmap_cur) { in xchk_agf_xref_btreeblks() 430 error = xfs_btree_count_blocks(sc->sa.rmap_cur, &blocks); in xchk_agf_xref_btreeblks() 431 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) in xchk_agf_xref_btreeblks() 444 if ((xfs_sb_version_hasrmapbt(&mp->m_sb) && !sc->sa.rmap_cur) || in xchk_agf_xref_btreeblks()
|
D | btree.c | 399 if (!bs->sc->sa.rmap_cur && btnum == XFS_BTNUM_RMAP) in xchk_btree_check_block_owner()
|