Lines Matching defs:cur
73 struct xfs_btree_cur *cur = sc->sa.fino_cur;
79 ASSERT(cur->bc_btnum == XFS_BTNUM_FINO);
81 error = xfs_inobt_lookup(cur, agino, XFS_LOOKUP_LE, &has_record);
87 error = xfs_inobt_get_rec(cur, &frec, &has_record);
101 xchk_btree_xref_set_corrupt(sc, cur, 0);
103 xchk_btree_xref_set_corrupt(sc, cur, 0);
123 xchk_btree_xref_set_corrupt(sc, cur, 0);
176 struct xfs_btree_cur *cur = sc->sa.ino_cur;
182 ASSERT(cur->bc_btnum == XFS_BTNUM_INO);
184 error = xfs_inobt_lookup(cur, agino, XFS_LOOKUP_LE, &has_record);
190 error = xfs_inobt_get_rec(cur, &irec, &has_record);
204 xchk_btree_xref_set_corrupt(sc, cur, 0);
206 xchk_btree_xref_set_corrupt(sc, cur, 0);
211 xchk_btree_xref_set_corrupt(sc, cur, 0);
260 struct xfs_mount *mp = bs->cur->bc_mp;
261 struct xfs_perag *pag = bs->cur->bc_ag.pag;
269 xchk_btree_set_corrupt(bs->sc, bs->cur, 0);
306 struct xfs_mount *mp = bs->cur->bc_mp;
322 fsino = XFS_AGINO_TO_INO(mp, bs->cur->bc_ag.pag->pag_agno, agino);
327 xchk_btree_set_corrupt(bs->sc, bs->cur, 0);
349 xchk_btree_set_corrupt(bs->sc, bs->cur, 0);
368 struct xfs_mount *mp = bs->cur->bc_mp;
371 xfs_agnumber_t agno = bs->cur->bc_ag.pag->pag_agno;
406 xchk_btree_set_corrupt(bs->sc, bs->cur, 0);
418 xchk_btree_set_corrupt(bs->sc, bs->cur, 0);
434 error = xfs_imap_to_bp(mp, bs->cur->bc_tp, &imap, &cluster_bp);
435 if (!xchk_btree_xref_process_error(bs->sc, bs->cur, 0, &error))
443 xchk_btree_set_corrupt(bs->sc, bs->cur, 0);
455 xfs_trans_brelse(bs->cur->bc_tp, cluster_bp);
517 if (bs->cur->bc_btnum == XFS_BTNUM_FINO) {
523 xchk_btree_set_corrupt(bs->sc, bs->cur, 0);
534 xchk_btree_set_corrupt(bs->sc, bs->cur, 0);
550 xchk_btree_set_corrupt(bs->sc, bs->cur, 0);
555 xchk_btree_set_corrupt(bs->sc, bs->cur, 0);
577 struct xfs_mount *mp = bs->cur->bc_mp;
588 if (xfs_inobt_check_irec(bs->cur, &irec) != NULL) {
589 xchk_btree_set_corrupt(bs->sc, bs->cur, 0);
604 xchk_btree_set_corrupt(bs->sc, bs->cur, 0);
618 xchk_btree_set_corrupt(bs->sc, bs->cur, 0);
632 xchk_btree_set_corrupt(bs->sc, bs->cur, 0);
717 struct xfs_btree_cur *cur;
725 cur = which == XFS_BTNUM_INO ? sc->sa.ino_cur : sc->sa.fino_cur;
726 error = xchk_btree(sc, cur, xchk_iallocbt_rec, &XFS_RMAP_OINFO_INOBT,