Lines Matching refs:next_bad
114 static blk_t next_bad = 0; variable
166 if (bb_iter && bad < next_bad) in bb_output()
167 ext2fs_badblocks_list_iterate (bb_iter, &next_bad); in bb_output()
493 ext2fs_badblocks_list_iterate (bb_iter, &next_bad); in test_ro()
494 } while (next_bad && next_bad < first_block); in test_ro()
533 if (next_bad) { in test_ro()
534 if (currently_testing == next_bad) { in test_ro()
536 ext2fs_badblocks_list_iterate (bb_iter, &next_bad); in test_ro()
540 else if (currently_testing + try > next_bad) in test_ro()
541 try = next_bad - currently_testing; in test_ro()
755 ext2fs_badblocks_list_iterate (bb_iter, &next_bad); in test_nd()
756 } while (next_bad && next_bad < first_block); in test_nd()
830 if (next_bad) { in test_nd()
831 if (currently_testing == next_bad) { in test_nd()
833 ext2fs_badblocks_list_iterate (bb_iter, &next_bad); in test_nd()
837 else if (currently_testing + try > next_bad) in test_nd()
838 try = next_bad - currently_testing; in test_nd()
1291 next_bad = inblk; in main()
1292 errcode = ext2fs_badblocks_list_add(bb_list,next_bad); in main()