• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/e2fsprogs/old_e2fsprogs/

Lines Matching +defs:code +defs:string

17  * This source code may be translated into executable form and incorporated
26 * Journal recovery routines for the generic filesystem journaling code;
68 static int ask(e2fsck_t ctx, const char * string, int def);
106 static int fix_problem(e2fsck_t ctx, problem_t code, struct problem_context *pctx);
1381 * journal.c --- code for handling the "ext3" journal
1386 * Parts of the code are based on fs/jfs/journal.c by Stephen C. Tweedie
2292 * %Dn <dirent>->name string
2320 * %s <str> miscellaneous string
2360 * below. The first character in the string is the index letter. An
2715 * region.c --- code which manages allocations within a region.
3269 * ext3 mount code won't get confused.
3457 * This code assumes that deleted inodes have
3472 * n.b. 0.3c ext2fs code didn't clear i_links_count for
5404 problem_t code;
5491 code = 0;
5496 code = PR_2_HTREE_MIN_HASH;
5497 fix_problem(ctx, code, &pctx);
5503 code = PR_2_HTREE_BAD_DEPTH;
5504 fix_problem(ctx, code, &pctx);
5516 code = PR_2_HTREE_MAX_HASH;
5517 fix_problem(ctx, code, &pctx);
5521 code = PR_2_HTREE_NOTREF;
5522 fix_problem(ctx, code, &pctx);
5525 code = PR_2_HTREE_DUPREF;
5526 fix_problem(ctx, code, &pctx);
5529 if (code == 0)
9587 static const struct e2fsck_problem *find_problem(problem_t code)
9592 if (problem_table[i].e2p_code == code)
9598 static struct latch_descr *find_latch(int code)
9603 if (pr_latch_info[i].latch_code == code)
9643 int fix_problem(e2fsck_t ctx, problem_t code, struct problem_context *pctx)
9653 ptr = find_problem(code);
9655 printf(_("Unhandled error code (0x%x)!\n"), code);
10962 * Journal revoke routines for the generic filesystem journaling code;
11271 * e2fsck code..
12105 * a string of bytes, 00 00 00 01 00 ...
12230 static int ask_yn(const char * string, int def)
12254 printf("%s%s? ", string, defstr);
12292 int ask (e2fsck_t ctx, const char * string, int def)
12295 printf(_("%s? no\n\n"), string);
12299 printf(_("%s? yes\n\n"), string);
12303 printf("%s? %s\n\n", string, def ? _("yes") : _("no"));
12306 return ask_yn(string, def);
12523 * unix.c - The unix-specific code for e2fsck