Lines Matching refs:next_bad
123 static blk_t next_bad = 0; variable
175 if (bb_iter && bad < next_bad) in bb_output()
176 ext2fs_badblocks_list_iterate (bb_iter, &next_bad); in bb_output()
509 ext2fs_badblocks_list_iterate (bb_iter, &next_bad); in test_ro()
510 } while (next_bad && next_bad < first_block); in test_ro()
549 if (next_bad) { in test_ro()
550 if (currently_testing == next_bad) { in test_ro()
552 ext2fs_badblocks_list_iterate (bb_iter, &next_bad); in test_ro()
556 else if (currently_testing + try > next_bad) in test_ro()
557 try = next_bad - currently_testing; in test_ro()
771 ext2fs_badblocks_list_iterate (bb_iter, &next_bad); in test_nd()
772 } while (next_bad && next_bad < first_block); in test_nd()
846 if (next_bad) { in test_nd()
847 if (currently_testing == next_bad) { in test_nd()
849 ext2fs_badblocks_list_iterate (bb_iter, &next_bad); in test_nd()
853 else if (currently_testing + try > next_bad) in test_nd()
854 try = next_bad - currently_testing; in test_nd()
1317 next_bad = inblk; in main()
1318 errcode = ext2fs_badblocks_list_add(bb_list,next_bad); in main()