Lines Matching defs:error
49 int error = 0;
53 error = -EFSCORRUPTED;
54 if (!xchk_fblock_xref_process_error(sc, XFS_DATA_FORK, 0, &error))
55 return error;
60 if (xchk_should_terminate(spc->sc, &error))
61 return error;
107 int error = 0;
136 * cross referencing error. Any other error is an operational error.
138 error = xchk_iget(sc, parent_ino, &dp);
139 if (error == -EINVAL || error == -ENOENT) {
140 error = -EFSCORRUPTED;
141 xchk_fblock_process_error(sc, XFS_DATA_FORK, 0, &error);
142 return error;
144 if (!xchk_fblock_xref_process_error(sc, XFS_DATA_FORK, 0, &error))
145 return error;
155 error = -EAGAIN;
160 error = xchk_dir_walk(sc, dp, xchk_parent_actor, &spc);
161 if (!xchk_fblock_xref_process_error(sc, XFS_DATA_FORK, 0, &error))
175 return error;
185 int error = 0;
201 if (xchk_should_terminate(sc, &error))
205 error = xchk_dir_lookup(sc, sc->ip, &xfs_name_dotdot,
207 if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, 0, &error))
208 return error;
218 error = xchk_parent_validate(sc, parent_ino);
219 } while (error == -EAGAIN);
221 return error;