Home | History | Annotate | Download | only in ext2fs

Lines Matching refs:errcode

33 	errcode_t	errcode;
44 (ctx)->errcode = EXT2_ET_RO_BLOCK_ITERATE; \
54 (ctx)->errcode = EXT2_ET_RO_BLOCK_ITERATE; \
84 ctx->errcode = EXT2_ET_BAD_IND_BLOCK;
88 ctx->errcode = ext2fs_read_ind_block(ctx->fs, *ind_block,
90 if (ctx->errcode) {
131 ctx->errcode = ext2fs_write_ind_block(ctx->fs, *ind_block,
133 if (ctx->errcode)
173 ctx->errcode = EXT2_ET_BAD_DIND_BLOCK;
177 ctx->errcode = ext2fs_read_ind_block(ctx->fs, *dind_block,
179 if (ctx->errcode) {
217 ctx->errcode = ext2fs_write_ind_block(ctx->fs, *dind_block,
219 if (ctx->errcode)
259 ctx->errcode = EXT2_ET_BAD_TIND_BLOCK;
263 ctx->errcode = ext2fs_read_ind_block(ctx->fs, *tind_block,
265 if (ctx->errcode) {
303 ctx->errcode = ext2fs_write_ind_block(ctx->fs, *tind_block,
305 if (ctx->errcode)
343 ctx.errcode = ext2fs_read_inode(fs, ino, &inode);
344 if (ctx.errcode)
345 return ctx.errcode;
406 ctx.errcode = ext2fs_extent_open2(fs, ino, &inode, &handle);
407 if (ctx.errcode)
412 ctx.errcode = 0;
414 ctx.errcode = ext2fs_extent_get(handle, op,
416 if (ctx.errcode) {
417 if (ctx.errcode != EXT2_ET_EXTENT_NO_NEXT)
419 ctx.errcode = 0;
430 ctx.errcode =
434 if (ctx.errcode || (ret & BLOCK_ABORT))
457 ctx.errcode =
459 if (ctx.errcode)
498 ctx.errcode =
502 if (ctx.errcode)
516 ret |= BLOCK_ERROR; /* ctx.errcode is always valid here */
560 ctx.errcode = retval;
567 return (ret & BLOCK_ERROR) ? ctx.errcode : 0;