Lines Matching defs:error
80 int error;
91 error = xfs_refcount_find_shared(sc->sa.refc_cur, irec->rm_startblock,
93 if (!xchk_should_check_xref(sc, &error, &sc->sa.refc_cur))
394 int error;
397 error = xagb_bitmap_set(&cr->fs_owned, XFS_SB_BLOCK(mp),
399 if (error)
404 error = xagb_bitmap_set(&cr->log_owned,
407 if (error)
416 error = xagb_bitmap_set_btblocks(&cr->ag_owned, cur);
418 xfs_btree_del_cursor(cur, error);
419 if (error)
426 error = xagb_bitmap_set_btblocks(&cr->ag_owned, cur);
428 xfs_btree_del_cursor(cur, error);
429 if (error)
432 error = xagb_bitmap_set_btblocks(&cr->ag_owned, sc->sa.rmap_cur);
433 if (error)
436 error = xfs_alloc_read_agfl(sc->sa.pag, sc->tp, &agfl_bp);
437 if (error)
440 error = xfs_agfl_walk(sc->mp, agf, agfl_bp, xchk_rmapbt_walk_agfl,
443 if (error)
451 error = xagb_bitmap_set_btblocks(&cr->inobt_owned, cur);
453 xfs_btree_del_cursor(cur, error);
454 if (error)
462 error = xagb_bitmap_set_btblocks(&cr->inobt_owned, cur);
464 xfs_btree_del_cursor(cur, error);
465 if (error)
475 error = xagb_bitmap_set_btblocks(&cr->refcbt_owned, cur);
477 xfs_btree_del_cursor(cur, error);
478 if (error)
484 * If there's an error, set XFAIL and disable the bitmap
487 if (error)
489 sc->sa.rmap_cur->bc_nlevels - 1, &error);
540 int error;
552 error = xchk_rmapbt_walk_ag_metadata(sc, cr);
553 if (error)
556 error = xchk_btree(sc, sc->sa.rmap_cur, xchk_rmapbt_rec,
558 if (error)
570 return error;
582 int error;
587 error = xfs_rmap_count_owners(sc->sa.rmap_cur, bno, len, oinfo, &res);
588 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur))
607 int error;
612 error = xfs_rmap_count_owners(sc->sa.rmap_cur, bno, len, oinfo, &res);
613 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur))
629 int error;
634 error = xfs_rmap_has_records(sc->sa.rmap_cur, bno, len, &outcome);
635 if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur))