Lines Matching defs:error
41 int error;
48 error = xfile_create(descr, mp->m_rsumsize, &sc->xfile);
50 if (error)
51 return error;
53 error = xchk_trans_alloc(sc, 0);
54 if (error)
55 return error;
62 error = xchk_install_live_inode(sc, mp->m_rsumip);
63 if (error)
64 return error;
127 int error = 0;
129 if (xchk_should_terminate(sc, &error))
130 return error;
146 error = xfsum_load(sc, offs, &v);
147 if (error)
148 return error;
188 int error = 0;
190 if (xchk_should_terminate(sc, &error))
191 return error;
197 error = xfs_bmapi_read(mp->m_rsumip, off, 1, &map, &nmap,
199 if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, off, &error))
200 return error;
208 error = xfs_rtbuf_get(mp, sc->tp, off, 1, &bp);
209 if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, off, &error))
210 return error;
213 error = xfsum_copyout(sc, sumoff, sc->buf, mp->m_blockwsize);
214 if (error) {
216 return error;
236 int error = 0;
239 error = xchk_metadata_inode_forks(sc);
240 if (error || (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT))
244 error = xchk_rtsum_compute(sc);
245 if (error == -EFSCORRUPTED) {
248 * error since we're checking the summary file.
251 error = 0;
254 if (error)
258 error = xchk_rtsum_compare(sc);
263 return error;