Lines Matching defs:error

32 	int			error;
37 error = xchk_iget_for_scrubbing(sc);
38 if (error)
69 error = filemap_fdatawrite(mapping);
70 if (!error)
71 error = filemap_fdatawait_keep_errors(mapping);
72 if (error && (error != -ENOSPC && error != -EIO))
77 error = xchk_trans_alloc(sc, 0);
78 if (error)
84 return error;
128 int error;
150 error = xfs_rmap_lookup_le_range(info->sc->sa.rmap_cur, agbno,
153 error = xfs_rmap_lookup_le(info->sc->sa.rmap_cur, agbno,
156 if (!xchk_should_check_xref(info->sc, &error, &info->sc->sa.rmap_cur))
309 int error;
315 error = xchk_ag_init_existing(info->sc, agno, &info->sc->sa);
317 irec->br_startoff, &error))
508 int error;
513 error = xfs_iread_extents(sc->tp, ip, whichfork);
514 if (!xchk_fblock_process_error(sc, whichfork, 0, &error))
520 error = xchk_btree(sc, cur, xchk_bmapbt_rec, &oinfo, info);
521 xfs_btree_del_cursor(cur, error);
523 return error;
616 int error;
618 error = xfs_alloc_read_agf(pag, sc->tp, 0, &agf);
619 if (error)
620 return error;
626 error = xfs_rmap_query_all(cur, xchk_bmap_check_rmap, &sbcri);
627 if (error == -ECANCELED)
628 error = 0;
630 xfs_btree_del_cursor(cur, error);
632 return error;
685 int error;
688 error = xchk_bmap_check_ag_rmaps(sc, whichfork, pag);
689 if (error ||
692 return error;
840 int error = 0;
885 error = xchk_bmap_btree(sc, whichfork, &info);
886 if (error)
887 return error;
898 error = xfs_bmap_last_offset(ip, &endoff, whichfork);
899 if (!xchk_fblock_process_error(sc, whichfork, 0, &error))
900 return error;
911 if (xchk_should_terminate(sc, &error) ||
929 error = xchk_bmap_check_rmaps(sc, whichfork);
930 if (!xchk_fblock_xref_process_error(sc, whichfork, 0, &error))
931 return error;