Lines Matching defs:error

78 	int			error = 0;
81 if (xchk_should_terminate(sc, &error))
88 error = xfs_ialloc_read_agi(pag, sc->tp, &agi_bp);
89 if (error)
91 error = xfs_alloc_read_agf(pag, sc->tp, 0, &agf_bp);
92 if (error)
101 error = -EFSCORRUPTED;
117 return error;
124 int error;
126 error = freeze_super(sc->mp->m_super, FREEZE_HOLDER_KERNEL);
127 trace_xchk_fsfreeze(sc, error);
128 return error;
135 int error;
138 error = thaw_super(sc->mp->m_super, FREEZE_HOLDER_KERNEL);
139 trace_xchk_fsthaw(sc, error);
140 return error;
156 int error = 0;
164 while ((error = xchk_fsfreeze(sc)) == -EBUSY) {
165 if (xchk_should_terminate(sc, &error))
166 return error;
170 if (error)
171 return error;
184 int error;
189 error = xchk_fsthaw(sc);
190 if (error)
191 xfs_emerg(sc->mp, "still frozen after scrub, err=%d", error);
201 int error;
220 error = xchk_fscount_warmup(sc);
221 if (error)
222 return error;
235 error = xchk_fscounters_freeze(sc);
236 if (error)
237 return error;
265 int error;
267 error = xchk_ag_init_existing(sc, agno, &sc->sa);
268 if (error)
271 error = xfs_btree_count_blocks(sc->sa.bno_cur, &blocks);
272 if (error)
276 error = xfs_btree_count_blocks(sc->sa.cnt_cur, &blocks);
277 if (error)
283 return error;
302 int error = 0;
310 if (xchk_should_terminate(sc, &error))
316 error = -EFSCORRUPTED;
330 error = xchk_fscount_btreeblks(sc, fsc, agno);
331 if (error)
345 if (error) {
347 return error;
397 int error = 0;
401 xchk_should_terminate(fsc->sc, &error);
402 return error;
412 int error;
419 error = xfs_rtalloc_query_all(sc->mp, sc->tp,
421 if (error) {
428 return error;
506 int error;
555 error = xchk_fscount_aggregate_agcounts(sc, fsc);
556 if (!xchk_process_error(sc, 0, XFS_SB_BLOCK(mp), &error))
557 return error;
560 error = xchk_fscount_count_frextents(sc, fsc);
561 if (!xchk_process_error(sc, 0, XFS_SB_BLOCK(mp), &error))
562 return error;