Lines Matching defs:error
21 /* Convert a scrub type code to a DQ flag, or return 0 if error. */
44 int error;
59 error = xchk_setup_fs(sc);
60 if (error)
61 return error;
63 error = xchk_install_live_inode(sc, xfs_quota_inode(sc->mp, dqtype));
64 if (error)
65 return error;
91 int error = 0;
93 if (xchk_should_terminate(sc, &error))
94 return error;
186 int error = 0;
189 error = xchk_metadata_inode_forks(sc);
190 if (error || (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT))
191 return error;
197 if (xchk_should_terminate(sc, &error))
213 return error;
225 int error = 0;
230 error = xchk_quota_data_fork(sc);
231 if (error)
244 error = xfs_qm_dqiterate(mp, dqtype, xchk_quota_item, &sqi);
246 if (error == -ECANCELED)
247 error = 0;
249 sqi.last_id * qi->qi_dqperchunk, &error))
253 return error;