Lines Matching defs:error
106 int error = 0;
108 if (xchk_should_terminate(refchk->sc, &error))
109 return error;
149 * we have a refcountbt error.
288 int error;
300 error = xfs_rmap_query_range(sc->sa.rmap_cur, &low, &high,
302 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur))
375 int error;
386 error = xfs_rmap_query_range(sc->sa.rmap_cur, &low, &high,
388 if (error == -ECANCELED)
391 xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur);
483 int error;
489 error = xfs_btree_count_blocks(sc->sa.refc_cur, &refcbt_blocks);
490 if (!xchk_btree_process_error(sc, sc->sa.refc_cur, 0, &error))
492 error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur,
494 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur))
500 error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur,
502 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur))
518 int error;
520 error = xchk_btree(sc, sc->sa.refc_cur, xchk_refcountbt_rec,
522 if (error)
523 return error;
545 int error;
551 error = xfs_refcount_lookup_le(sc->sa.refc_cur, XFS_REFC_DOMAIN_COW,
553 if (!xchk_should_check_xref(sc, &error, &sc->sa.refc_cur))
560 error = xfs_refcount_get_rec(sc->sa.refc_cur, &rc, &has_refcount);
561 if (!xchk_should_check_xref(sc, &error, &sc->sa.refc_cur))
588 int error;
593 error = xfs_refcount_has_records(sc->sa.refc_cur,
595 if (!xchk_should_check_xref(sc, &error, &sc->sa.refc_cur))
609 int error;
614 error = xfs_refcount_has_records(sc->sa.refc_cur, XFS_REFC_DOMAIN_COW,
616 if (!xchk_should_check_xref(sc, &error, &sc->sa.refc_cur))