Searched refs:bad_blocks_file (Results 1 - 4 of 4) sorted by relevance

/external/e2fsprogs/e2fsck/
H A Dbadblocks.c26 void read_bad_blocks_file(e2fsck_t ctx, const char *bad_blocks_file, argument
64 * bad_blocks_file is null, then try to run the badblocks
67 if (bad_blocks_file) {
68 f = fopen(bad_blocks_file, "r");
71 _("while trying to open %s"), bad_blocks_file);
87 if (bad_blocks_file)
H A Dunix.c62 static char *bad_blocks_file; variable
79 "\t\t[-l|-L bad_blocks_file] [-C fd] [-j external_journal]\n"
94 " -l bad_blocks_file Add to badblocks list\n"
95 " -L bad_blocks_file Set badblocks list\n"
353 if ((ctx->options & E2F_OPT_FORCE) || bad_blocks_file || cflag)
877 if (bad_blocks_file)
878 free(bad_blocks_file);
879 bad_blocks_file = string_copy(ctx, optarg, 0);
925 if ((ctx->options & E2F_OPT_NO) && bad_blocks_file) {
980 if (cflag && bad_blocks_file) {
[all...]
H A De2fsck.h405 extern void read_bad_blocks_file(e2fsck_t ctx, const char *bad_blocks_file,
/external/e2fsprogs/misc/
H A Dmke2fs.c191 const char *bad_blocks_file)
196 f = fopen(bad_blocks_file, "r");
199 _("while trying to open %s"), bad_blocks_file);
190 read_bb_file(ext2_filsys fs, badblocks_list *bb_list, const char *bad_blocks_file) argument

Completed in 1631 milliseconds