Searched refs:ino_cur (Results 1 - 11 of 11) sorted by relevance

/linux-master/fs/xfs/scrub/
H A Dialloc.c176 struct xfs_btree_cur *cur = sc->sa.ino_cur;
232 if (!sc->sa.ino_cur || xchk_skip_xref(sc->sm))
246 if (!xchk_should_check_xref(sc, &error, &sc->sa.ino_cur))
659 if (!sc->sa.ino_cur || !sc->sa.rmap_cur ||
665 error = xfs_btree_count_blocks(sc->sa.ino_cur, &inobt_blocks);
680 xchk_btree_set_corrupt(sc, sc->sa.ino_cur, 0);
724 cur = sc->sa.ino_cur;
782 xchk_xref_inode_check(sc, agbno, len, &sc->sa.ino_cur,
795 xchk_xref_inode_check(sc, agbno, len, &sc->sa.ino_cur,
H A Dialloc_repair.c635 struct xfs_btree_cur *ino_cur; local
666 ino_cur = xfs_inobt_init_cursor(sc->sa.pag, NULL, NULL);
667 xfs_btree_stage_afakeroot(ino_cur, &ri->new_inobt.afake);
668 error = xfs_btree_bload_compute_geometry(ino_cur, &ri->new_inobt.bload,
714 error = xfs_btree_bload(ino_cur, &ri->new_inobt.bload, ri);
730 xfs_inobt_commit_staged_btree(ino_cur, sc->tp, sc->sa.agi_bp);
731 xfs_btree_del_cursor(ino_cur, 0);
759 xfs_btree_del_cursor(ino_cur, error);
H A Dscrub.h64 struct xfs_btree_cur *ino_cur; member in struct:xchk_ag
H A Dagheader.c802 if (!sc->sa.ino_cur)
805 error = xfs_ialloc_count_inodes(sc->sa.ino_cur, &icount, &freecount);
806 if (!xchk_should_check_xref(sc, &error, &sc->sa.ino_cur))
825 if (sc->sa.ino_cur) {
826 error = xfs_btree_count_blocks(sc->sa.ino_cur, &blocks);
827 if (!xchk_should_check_xref(sc, &error, &sc->sa.ino_cur))
H A Dcommon.c568 if (sa->ino_cur)
569 xfs_btree_del_cursor(sa->ino_cur, XFS_BTREE_ERROR);
578 sa->ino_cur = NULL;
623 sa->ino_cur = xfs_inobt_init_cursor(sa->pag, sc->tp,
625 xchk_ag_btree_del_cursor_if_sick(sc, &sa->ino_cur,
H A Drmap.c457 cur = sc->sa.ino_cur;
461 if (cur != sc->sa.ino_cur)
H A Drefcount_repair.c156 error = xfs_ialloc_has_inodes_at_extent(sc->sa.ino_cur,
H A Dalloc_repair.c161 error = xfs_ialloc_has_inodes_at_extent(sc->sa.ino_cur,
H A Dbmap_repair.c222 error = xfs_ialloc_has_inodes_at_extent(sc->sa.ino_cur,
H A Drepair.c845 sa->ino_cur = xfs_inobt_init_cursor(sc->sa.pag, sc->tp,
H A Drmap_repair.c700 error = xfs_btree_query_all(sc->sa.ino_cur, xrep_rmap_walk_inobt, &ri);

Completed in 174 milliseconds