Home
last modified time | relevance | path

Searched refs:errcode (Results 1 – 25 of 54) sorted by relevance

123

/external/e2fsprogs/debugfs/
Dhtree.c36 errcode_t errcode; in htree_dump_leaf_node() local
47 errcode = ext2fs_bmap2(fs, ino, inode, buf, 0, blk, 0, &pblk); in htree_dump_leaf_node()
48 if (errcode) { in htree_dump_leaf_node()
49 com_err("htree_dump_leaf_node", errcode, in htree_dump_leaf_node()
55 errcode = ext2fs_read_dir_block2(current_fs, pblk, buf, 0); in htree_dump_leaf_node()
56 if (errcode) { in htree_dump_leaf_node()
57 com_err("htree_dump_leaf_node", errcode, in htree_dump_leaf_node()
69 errcode = ext2fs_get_rec_len(fs, dirent, &rec_len); in htree_dump_leaf_node()
70 if (errcode) { in htree_dump_leaf_node()
71 com_err("htree_dump_leaf_inode", errcode, in htree_dump_leaf_node()
[all …]
Dzap.c32 errcode_t errcode; in do_zap_block() local
130 errcode = ext2fs_bmap2(current_fs, inode, 0, 0, 0, in do_zap_block()
132 if (errcode) { in do_zap_block()
133 com_err(argv[0], errcode, in do_zap_block()
145 errcode = io_channel_read_blk64(current_fs->io, block, 1, buf); in do_zap_block()
146 if (errcode) { in do_zap_block()
147 com_err(argv[0], errcode, in do_zap_block()
157 errcode = io_channel_write_blk64(current_fs->io, block, 1, buf); in do_zap_block()
158 if (errcode) { in do_zap_block()
159 com_err(argv[0], errcode, in do_zap_block()
[all …]
Ddebugfs.c617 errcode_t errcode; in dump_extents() local
619 errcode = ext2fs_extent_open(current_fs, ino, &handle); in dump_extents()
620 if (errcode) in dump_extents()
631 errcode = ext2fs_extent_get(handle, op, &extent); in dump_extents()
633 if (errcode) in dump_extents()
649 errcode = ext2fs_extent_get_info(handle, &info); in dump_extents()
650 if (errcode) in dump_extents()
2093 errcode_t errcode; in do_bmap() local
2106 errcode = ext2fs_bmap2(current_fs, ino, 0, 0, 0, blk, 0, &pblk); in do_bmap()
2107 if (errcode) { in do_bmap()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dblock.c32 errcode_t errcode; member
43 (ctx)->errcode = EXT2_ET_RO_BLOCK_ITERATE; \
53 (ctx)->errcode = EXT2_ET_RO_BLOCK_ITERATE; \
83 ctx->errcode = EXT2_ET_BAD_IND_BLOCK; in block_iterate_ind()
87 ctx->errcode = ext2fs_read_ind_block(ctx->fs, *ind_block, in block_iterate_ind()
89 if (ctx->errcode) { in block_iterate_ind()
130 ctx->errcode = ext2fs_write_ind_block(ctx->fs, *ind_block, in block_iterate_ind()
132 if (ctx->errcode) in block_iterate_ind()
172 ctx->errcode = EXT2_ET_BAD_DIND_BLOCK; in block_iterate_dind()
176 ctx->errcode = ext2fs_read_ind_block(ctx->fs, *dind_block, in block_iterate_dind()
[all …]
Ddblist_dir.c53 ctx.errcode = 0; in ext2fs_dblist_dir_iterate()
61 return ctx.errcode; in ext2fs_dblist_dir_iterate()
72 ctx->errcode = 0; in db_dir_proc()
76 if ((ret & BLOCK_ABORT) && !ctx->errcode) in db_dir_proc()
Ddir_iterate.c124 ctx.errcode = 0; in ext2fs_dir_iterate2()
131 return ctx.errcode; in ext2fs_dir_iterate2()
200 ctx->errcode = ext2fs_read_dir_block3(fs, *blocknr, ctx->buf, 0); in ext2fs_process_dir_block()
201 if (ctx->errcode) in ext2fs_process_dir_block()
212 ctx->errcode = EXT2_ET_DIR_CORRUPTED; in ext2fs_process_dir_block()
261 ctx->errcode = ext2fs_write_dir_block3(fs, *blocknr, ctx->buf, in ext2fs_process_dir_block()
263 if (ctx->errcode) in ext2fs_process_dir_block()
Dget_pathname.c37 errcode_t errcode; member
61 gp->errcode = retval; in get_pathname_proc()
98 gp.errcode = 0; in ext2fs_get_pathname_int()
115 if (gp.errcode) { in ext2fs_get_pathname_int()
116 retval = gp.errcode; in ext2fs_get_pathname_int()
Dbitops.c69 void ext2fs_warn_bitmap(errcode_t errcode, unsigned long arg, in ext2fs_warn_bitmap() argument
74 com_err(0, errcode, "#%lu for %s", arg, description); in ext2fs_warn_bitmap()
76 com_err(0, errcode, "#%lu", arg); in ext2fs_warn_bitmap()
/external/e2fsprogs/e2fsck/
Dpass1.c597 pctx.errcode = e2fsck_allocate_inode_bitmap(fs, _("in-use inode map"), in e2fsck_pass1()
601 if (pctx.errcode) { in e2fsck_pass1()
607 pctx.errcode = e2fsck_allocate_inode_bitmap(fs, in e2fsck_pass1()
611 if (pctx.errcode) { in e2fsck_pass1()
617 pctx.errcode = e2fsck_allocate_inode_bitmap(fs, in e2fsck_pass1()
620 if (pctx.errcode) { in e2fsck_pass1()
626 pctx.errcode = e2fsck_allocate_subcluster_bitmap(fs, in e2fsck_pass1()
629 if (pctx.errcode) { in e2fsck_pass1()
639 pctx.errcode = ext2fs_create_icount2(fs, 0, 0, 0, in e2fsck_pass1()
644 if (pctx.errcode) { in e2fsck_pass1()
[all …]
Dpass3.c76 pctx.errcode = e2fsck_allocate_inode_bitmap(fs, _("inode done bitmap"), in e2fsck_pass3()
79 if (pctx.errcode) { in e2fsck_pass3()
178 pctx.errcode = ext2fs_new_block2(fs, 0, ctx->block_found_map, &blk); in check_root()
179 if (pctx.errcode) { in check_root()
192 pctx.errcode = ext2fs_new_dir_block(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, in check_root()
194 if (pctx.errcode) { in check_root()
201 pctx.errcode = ext2fs_write_dir_block3(fs, blk, block, 0); in check_root()
202 if (pctx.errcode) { in check_root()
224 pctx.errcode = ext2fs_write_new_inode(fs, EXT2_ROOT_INO, &inode); in check_root()
225 if (pctx.errcode) { in check_root()
[all …]
Dpass1b.c220 pctx.errcode = e2fsck_allocate_inode_bitmap(fs, in e2fsck_pass1_dupblocks()
224 if (pctx.errcode) { in e2fsck_pass1_dupblocks()
281 pctx.errcode = ext2fs_open_inode_scan(fs, ctx->inode_buffer_blocks, in pass1b()
283 if (pctx.errcode) { in pass1b()
297 pctx.errcode = ext2fs_get_next_inode(scan, &ino, &inode); in pass1b()
298 if (pctx.errcode == EXT2_ET_BAD_BLOCK_IN_INODE_TABLE) in pass1b()
300 if (pctx.errcode) { in pass1b()
319 pctx.errcode = ext2fs_block_iterate3(fs, ino, in pass1b()
336 if (pctx.errcode) in pass1b()
550 pctx.errcode = clone_file(ctx, ino, p, block_buf); in pass1d()
[all …]
Dpass2.c112 cd.pctx.errcode = 0; in e2fsck_pass2()
116 cd.pctx.errcode = ext2fs_create_icount2(fs, in e2fsck_pass2()
122 if (cd.pctx.errcode) { in e2fsck_pass2()
148 cd.pctx.errcode = ext2fs_dblist_iterate2(fs->dblist, check_dir_block, in e2fsck_pass2()
158 if (cd.pctx.errcode) { in e2fsck_pass2()
782 cd->pctx.errcode = ext2fs_read_dir_block3(fs, block_nr, buf, 0); in check_dir_block()
784 if (cd->pctx.errcode == EXT2_ET_DIR_CORRUPTED) in check_dir_block()
785 cd->pctx.errcode = 0; /* We'll handle this ourselves */ in check_dir_block()
786 if (cd->pctx.errcode) { in check_dir_block()
1134 cd->pctx.errcode = ext2fs_write_dir_block3(fs, block_nr, buf, 0); in check_dir_block()
[all …]
Dpass5.c816 pctx.errcode = ext2fs_fudge_inode_bitmap_end(fs->inode_map, end, in check_inode_end()
818 if (pctx.errcode) { in check_inode_end()
841 pctx.errcode = ext2fs_fudge_inode_bitmap_end(fs->inode_map, in check_inode_end()
843 if (pctx.errcode) { in check_inode_end()
861 pctx.errcode = ext2fs_fudge_block_bitmap_end2(fs->block_map, end, in check_block_end()
863 if (pctx.errcode) { in check_block_end()
887 pctx.errcode = ext2fs_fudge_block_bitmap_end2(fs->block_map, in check_block_end()
889 if (pctx.errcode) { in check_block_end()
Dsuper.c55 errcode_t errcode; member
108 pb->errcode = io_channel_read_blk64(fs->io, blk, 1, in release_inode_block()
110 if (pb->errcode) in release_inode_block()
130 pb->errcode = io_channel_read_blk64(fs->io, blk, 1, in release_inode_block()
132 if (pb->errcode) in release_inode_block()
136 pb->errcode = io_channel_write_blk64(fs->io, blk, 1, in release_inode_block()
138 if (pb->errcode) in release_inode_block()
171 pb.errcode = 0; in release_inode_blocks()
/external/icu/icu4c/source/common/
Dubidiimp.h394 #define RETURN_IF_NOT_VALID_PARA(bidi, errcode, retvalue) \ argument
396 errcode=U_INVALID_STATE_ERROR; \
399 #define RETURN_IF_NOT_VALID_PARA_OR_LINE(bidi, errcode, retvalue) \ argument
401 errcode=U_INVALID_STATE_ERROR; \
404 #define RETURN_IF_BAD_RANGE(arg, start, limit, errcode, retvalue) \ argument
406 (errcode)=U_ILLEGAL_ARGUMENT_ERROR; \
412 #define RETURN_VOID_IF_NOT_VALID_PARA(bidi, errcode) \ argument
414 errcode=U_INVALID_STATE_ERROR; \
417 #define RETURN_VOID_IF_NOT_VALID_PARA_OR_LINE(bidi, errcode) \ argument
419 errcode=U_INVALID_STATE_ERROR; \
[all …]
/external/mdnsresponder/mDNSPosix/
Dnss_mdns.c852 DNSServiceErrorType errcode; in mdns_lookup_name() local
886 errcode = in mdns_lookup_name()
898 if (errcode) in mdns_lookup_name()
902 errcode in mdns_lookup_name()
940 DNSServiceErrorType errcode; in mdns_lookup_addr() local
961 errcode = in mdns_lookup_addr()
973 if (errcode) in mdns_lookup_addr()
977 errcode in mdns_lookup_addr()
1807 int errcode = -1; in init_config() local
1833 errcode = load_config (temp_config); in init_config()
[all …]
/external/e2fsprogs/misc/
Dbadblocks.c148 errcode_t errcode; in bb_output() local
156 errcode = ext2fs_badblocks_list_add (bb_list, bad); in bb_output()
157 if (errcode) { in bb_output()
158 com_err (program_name, errcode, "adding to in-memory bad block list"); in bb_output()
480 errcode_t errcode; in test_ro() local
486 errcode = ext2fs_badblocks_list_iterate_begin(bb_list,&bb_iter); in test_ro()
487 if (errcode) { in test_ro()
488 com_err(program_name, errcode, "%s", in test_ro()
741 errcode_t errcode; in test_nd() local
748 errcode = ext2fs_badblocks_list_iterate_begin(bb_list,&bb_iter); in test_nd()
[all …]
/external/llvm/lib/Support/
Dregerror.c84 llvm_regerror(int errcode, const llvm_regex_t *preg, char *errbuf, size_t errbuf_size) in llvm_regerror() argument
88 int target = errcode &~ REG_ITOA; in llvm_regerror()
92 if (errcode == REG_ATOI) in llvm_regerror()
99 if (errcode&REG_ITOA) { in llvm_regerror()
/external/openssh/openbsd-compat/
Dbsd-cray.c112 cray_login_failure(char *username, int errcode) in cray_login_failure() argument
137 fsent.errcode = errcode; in cray_login_failure()
157 int errcode; /* IA errorcode */ in cray_access_denied() local
159 errcode = 0; in cray_access_denied()
166 errcode = IA_DISABLED; in cray_access_denied()
167 if (errcode) in cray_access_denied()
168 cray_login_failure(username, errcode); in cray_access_denied()
170 return (errcode); in cray_access_denied()
397 fsent.errcode = ia_rcode; in cray_setup()
433 fsent.errcode = ia_mlsrcode; in cray_setup()
[all …]
/external/iptables/libipq/
Dlibipq.c66 int errcode; member
101 static char *ipq_strerror(int errcode);
193 static char *ipq_strerror(int errcode) in ipq_strerror() argument
195 if (errcode < 0 || errcode > IPQ_MAXERR) in ipq_strerror()
196 errcode = IPQ_ERR_IMPL; in ipq_strerror()
197 return ipq_errmap[errcode].message; in ipq_strerror()
/external/bzip2/
Dbzlib_private.h58 extern void BZ2_bz__AssertH__fail ( int errcode );
59 #define AssertH(cond,errcode) \ argument
60 { if (!(cond)) BZ2_bz__AssertH__fail ( errcode ); }
88 extern void bz_internal_error ( int errcode );
89 #define AssertH(cond,errcode) \ argument
90 { if (!(cond)) bz_internal_error ( errcode ); }
/external/boringssl/src/crypto/x509v3/
Dv3_lib.c271 int errcode; in X509V3_add1_i2d() local
288 errcode = X509V3_R_EXTENSION_EXISTS; in X509V3_add1_i2d()
302 errcode = X509V3_R_EXTENSION_NOT_FOUND; in X509V3_add1_i2d()
333 OPENSSL_PUT_ERROR(X509V3, X509V3_add1_i2d, errcode); in X509V3_add1_i2d()
/external/skia/tests/
DErrorTest.cpp18 #define CHECK(errcode) \ argument
19 REPORTER_ASSERT( reporter, (err = SkGetLastError()) == errcode); \
/external/pcre/dist/
Dpcreposix.c210 regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size) in regerror() argument
215 message = (errcode >= (int)(sizeof(pstring)/sizeof(char *)))? in regerror()
216 "unknown error code" : pstring[errcode]; in regerror()
/external/skia/tools/
Dtest_gpuveto.py51 errcode = proc.returncode
52 return (errcode, output)

123