Lines Matching defs:error
47 * However, if any other type of error happens we want to stop right where we
49 * we can send back an error code.
65 int error = -EINVAL;
70 error = xfs_iget(mp, tp, ino,
73 if (error == -ENOENT || error == -EINVAL)
75 if (error)
139 error = bc->formatter(bc->breq, buf);
140 if (error == -ECANCELED)
142 if (error)
154 return error;
167 int error;
176 error = xfs_bulkstat_one_int(breq->mp, NULL, breq->startino, &bc);
184 if (error == -ECANCELED)
185 error = 0;
187 return error;
197 int error;
199 error = xfs_bulkstat_one_int(mp, tp, ino, data);
201 if (error == -ENOENT || error == -EINVAL)
203 return error;
240 int error;
250 error = xfs_iwalk(breq->mp, NULL, breq->startino, breq->flags,
256 * We found some inodes, so clear the error status and return them.
258 * any error that occurred, so on the next call the error will be
263 error = 0;
265 return error;
324 * error. If the formatter tells us the buffer is now full we also move the
342 int error;
344 error = ic->formatter(ic->breq, &inogrp);
345 if (error && error != -ECANCELED)
346 return error;
350 return error;
365 int error = 0;
370 error = xfs_inobt_walk(breq->mp, NULL, breq->startino, breq->flags,
374 * We found some inode groups, so clear the error status and return
376 * triggered any error that occurred, so on the next call the error
381 error = 0;
383 return error;