Home
last modified time | relevance | path

Searched refs:ino_cur (Results 1 – 10 of 10) sorted by relevance

/linux/fs/xfs/scrub/
H A Dialloc.c176 struct xfs_btree_cur *cur = sc->sa.ino_cur; in xchk_finobt_xref_inobt()
232 if (!sc->sa.ino_cur || xchk_skip_xref(sc->sm)) in xchk_finobt_chunk_xref_inobt()
246 if (!xchk_should_check_xref(sc, &error, &sc->sa.ino_cur)) in xchk_finobt_chunk_xref_inobt()
657 if (!sc->sa.ino_cur || !sc->sa.rmap_cur || in xchk_iallocbt_xref_rmap_btreeblks()
663 error = xfs_btree_count_blocks(sc->sa.ino_cur, &inobt_blocks); in xchk_iallocbt_xref_rmap_btreeblks()
678 xchk_btree_set_corrupt(sc, sc->sa.ino_cur, 0); in xchk_iallocbt_xref_rmap_btreeblks()
722 cur = sc->sa.ino_cur; in xchk_iallocbt()
780 xchk_xref_inode_check(sc, agbno, len, &sc->sa.ino_cur, in xchk_xref_is_not_inode_chunk()
793 xchk_xref_inode_check(sc, agbno, len, &sc->sa.ino_cur, in xchk_xref_is_inode_chunk()
H A Dialloc_repair.c631 struct xfs_btree_cur *ino_cur; in xrep_ibt_build_new_trees() local
660 ino_cur = xfs_inobt_init_cursor(sc->sa.pag, NULL, NULL); in xrep_ibt_build_new_trees()
661 xfs_btree_stage_afakeroot(ino_cur, &ri->new_inobt.afake); in xrep_ibt_build_new_trees()
662 error = xfs_btree_bload_compute_geometry(ino_cur, &ri->new_inobt.bload, in xrep_ibt_build_new_trees()
707 error = xfs_btree_bload(ino_cur, &ri->new_inobt.bload, ri); in xrep_ibt_build_new_trees()
723 xfs_inobt_commit_staged_btree(ino_cur, sc->tp, sc->sa.agi_bp); in xrep_ibt_build_new_trees()
724 xfs_btree_del_cursor(ino_cur, 0); in xrep_ibt_build_new_trees()
752 xfs_btree_del_cursor(ino_cur, error); in xrep_ibt_build_new_trees()
H A Dagheader.c867 if (!sc->sa.ino_cur) in xchk_agi_xref_icounts()
870 error = xfs_ialloc_count_inodes(sc->sa.ino_cur, &icount, &freecount); in xchk_agi_xref_icounts()
871 if (!xchk_should_check_xref(sc, &error, &sc->sa.ino_cur)) in xchk_agi_xref_icounts()
890 if (sc->sa.ino_cur) { in xchk_agi_xref_fiblocks()
891 error = xfs_btree_count_blocks(sc->sa.ino_cur, &blocks); in xchk_agi_xref_fiblocks()
892 if (!xchk_should_check_xref(sc, &error, &sc->sa.ino_cur)) in xchk_agi_xref_fiblocks()
H A Dcommon.c587 if (sa->ino_cur) in xchk_ag_btcur_free()
588 xfs_btree_del_cursor(sa->ino_cur, XFS_BTREE_ERROR); in xchk_ag_btcur_free()
597 sa->ino_cur = NULL; in xchk_ag_btcur_free()
642 sa->ino_cur = xfs_inobt_init_cursor(sa->pag, sc->tp, in xchk_ag_btcur_init()
644 xchk_ag_btree_del_cursor_if_sick(sc, &sa->ino_cur, in xchk_ag_btcur_init()
H A Dscrub.h116 struct xfs_btree_cur *ino_cur; member
H A Drefcount_repair.c156 error = xfs_ialloc_has_inodes_at_extent(sc->sa.ino_cur, in xrep_refc_check_ext()
H A Dalloc_repair.c160 error = xfs_ialloc_has_inodes_at_extent(sc->sa.ino_cur, in xrep_abt_check_free_ext()
H A Dbmap_repair.c231 error = xfs_ialloc_has_inodes_at_extent(sc->sa.ino_cur, in xrep_bmap_check_fork_rmap()
H A Drepair.c892 sa->ino_cur = xfs_inobt_init_cursor(sc->sa.pag, sc->tp, in xrep_ag_btcur_init()
H A Drmap_repair.c747 error = xfs_btree_query_all(sc->sa.ino_cur, xrep_rmap_walk_inobt, &ri); in xrep_rmap_find_inode_rmaps()