Lines Matching refs:next_bad
109 static blk_t next_bad = 0;
158 position. This should not cause next_bad to change. */
159 if (bb_iter && bad < next_bad)
160 ext2fs_badblocks_list_iterate (bb_iter, &next_bad);
451 ext2fs_badblocks_list_iterate (bb_iter, &next_bad);
452 } while (next_bad && next_bad < first_block);
491 if (next_bad) {
492 if (currently_testing == next_bad) {
494 ext2fs_badblocks_list_iterate (bb_iter, &next_bad);
498 else if (currently_testing + try > next_bad)
499 try = next_bad - currently_testing;
715 ext2fs_badblocks_list_iterate (bb_iter, &next_bad);
716 } while (next_bad && next_bad < first_block);
789 if (next_bad) {
790 if (currently_testing == next_bad) {
792 ext2fs_badblocks_list_iterate (bb_iter, &next_bad);
796 else if (currently_testing + try > next_bad)
797 try = next_bad - currently_testing;
1206 switch(fscanf (in, "%u\n", &next_bad)) {
1213 errcode = ext2fs_badblocks_list_add(bb_list,next_bad);