Lines Matching defs:error

48  * However, if any other type of error happens we want to stop right where we
50 * we can send back an error code.
68 int error = -EINVAL;
75 error = xfs_iget(mp, tp, ino,
78 if (error == -ENOENT || error == -EINVAL)
80 if (error)
85 error = xfs_inode_reload_unlinked_bucket(tp, ip);
86 if (error) {
90 return error;
161 error = bc->formatter(bc->breq, buf);
162 if (error == -ECANCELED)
164 if (error)
176 return error;
190 int error;
209 error = xfs_trans_alloc_empty(breq->mp, &tp);
210 if (error)
213 error = xfs_bulkstat_one_int(breq->mp, breq->idmap, tp,
223 if (error == -ECANCELED)
224 error = 0;
226 return error;
237 int error;
239 error = xfs_bulkstat_one_int(mp, bc->breq->idmap, tp, ino, data);
241 if (error == -ENOENT || error == -EINVAL)
243 return error;
282 int error;
301 error = xfs_trans_alloc_empty(breq->mp, &tp);
302 if (error)
308 error = xfs_iwalk(breq->mp, tp, breq->startino, iwalk_flags,
315 * We found some inodes, so clear the error status and return them.
317 * any error that occurred, so on the next call the error will be
322 error = 0;
324 return error;
383 * error. If the formatter tells us the buffer is now full we also move the
401 int error;
403 error = ic->formatter(ic->breq, &inogrp);
404 if (error && error != -ECANCELED)
405 return error;
409 return error;
425 int error = 0;
434 error = xfs_trans_alloc_empty(breq->mp, &tp);
435 if (error)
438 error = xfs_inobt_walk(breq->mp, tp, breq->startino, breq->flags,
444 * We found some inode groups, so clear the error status and return
446 * triggered any error that occurred, so on the next call the error
451 error = 0;
453 return error;