Lines Matching defs:error
23 /* Convert a scrub type code to a DQ flag, or return 0 if error. */
46 int error;
61 error = xchk_setup_fs(sc);
62 if (error)
63 return error;
65 error = xchk_install_live_inode(sc, xfs_quota_inode(sc->mp, dqtype));
66 if (error)
67 return error;
90 int error;
102 error = xfs_bmapi_read(sc->ip, offset, 1, &irec, &nmaps, 0);
103 if (error)
104 return error;
149 int error = 0;
151 if (xchk_should_terminate(sc, &error))
152 return error;
175 error = xchk_quota_item_bmap(sc, dq, offset);
177 if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, offset, &error))
178 return error;
264 int error = 0;
267 error = xchk_metadata_inode_forks(sc);
268 if (error || (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT))
269 return error;
275 if (xchk_should_terminate(sc, &error))
291 return error;
305 int error = 0;
310 error = xchk_quota_data_fork(sc);
311 if (error)
325 while ((error = xchk_dquot_iter(&cursor, &dq)) == 1) {
326 error = xchk_quota_item(&sqi, dq);
328 if (error)
331 if (error == -ECANCELED)
332 error = 0;
334 sqi.last_id * qi->qi_dqperchunk, &error))
338 return error;