Lines Matching refs:error
53 int error = 0;
57 error = xchk_trans_alloc(xqc->sc, 0);
59 if (error)
60 return error;
65 error = -ECANCELED;
70 error = xfarray_load_sparse(counts, dq->q_id, &xcdq);
71 if (error)
97 error = xfarray_store(counts, dq->q_id, &xcdq);
98 if (error == -EFBIG) {
105 error = -ECANCELED;
108 if (error || !dirty)
124 error = xrep_trans_commit(xqc->sc);
126 return error;
135 return error;
151 int error;
157 while ((error = xchk_dquot_iter(&cursor, &dq)) == 1) {
158 error = xqcheck_commit_dquot(xqc, dqtype, dq);
160 if (error)
163 if (error)
164 return error;
171 while ((error = xfarray_iter(counts, &cur, &xcdq)) == 1) {
185 error = xfs_qm_dqget(mp, id, dqtype, true, &dq);
186 if (error)
187 return error;
189 error = xqcheck_commit_dquot(xqc, dqtype, dq);
191 if (error)
192 return error;
198 return error;
224 int error;
233 error = xrep_trans_commit(sc);
234 if (error)
235 return error;
239 error = xqcheck_commit_dqtype(xqc, XFS_DQTYPE_USER);
240 if (error)
241 return error;
244 error = xqcheck_commit_dqtype(xqc, XFS_DQTYPE_GROUP);
245 if (error)
246 return error;
249 error = xqcheck_commit_dqtype(xqc, XFS_DQTYPE_PROJ);
250 if (error)
251 return error;
255 error = xchk_trans_alloc(sc, 0);
256 if (error)
257 return error;