Lines Matching full:currently_testing
105 static blk_t currently_testing = 0;
203 calc_percent((unsigned long) currently_testing,
231 (unsigned long long) currently_testing);
479 currently_testing = first_block;
486 while (currently_testing < last_block)
495 if (currently_testing == next_bad) {
498 currently_testing++;
501 else if (currently_testing + try > next_bad)
502 try = next_bad - currently_testing;
504 if (currently_testing + try > last_block)
505 try = last_block - currently_testing;
506 got = do_read (dev, blkbuf, try, block_size, currently_testing);
515 bb_count += bb_output(currently_testing + i);
517 currently_testing += got;
522 && (currently_testing % (sys_page_size >> 9)!= 0))
524 - (currently_testing
531 bb_count += bb_output(currently_testing++);
590 currently_testing = first_block;
595 while (currently_testing < last_block) {
602 if (currently_testing + try > last_block)
603 try = last_block - currently_testing;
605 currently_testing);
609 currently_testing += got;
614 && (currently_testing %
617 - (currently_testing
623 bb_count += bb_output(currently_testing++);
635 currently_testing = first_block;
640 while (currently_testing < last_block) {
647 if (currently_testing + try > last_block)
648 currently_testing;
650 currently_testing);
652 bb_count += bb_output(currently_testing++);
659 bb_count += bb_output(currently_testing+i);
661 currently_testing += got;
664 && (currently_testing % (sys_page_size >> 9)!= 0))
666 - (currently_testing
779 currently_testing = first_block;
784 while (currently_testing < last_block) {
793 if (currently_testing == next_bad) {
796 currently_testing++;
799 else if (currently_testing + try > next_bad)
800 try = next_bad - currently_testing;
802 if (currently_testing + try > last_block)
803 try = last_block - currently_testing;
805 currently_testing);
808 bb_count += bb_output(currently_testing++);
816 test_record[num_saved].block = currently_testing;
822 currently_testing);
826 (unsigned long) currently_testing +
832 currently_testing += got;
834 bb_count += bb_output(currently_testing++);
843 (currently_testing < last_block))
847 save_currently_testing = currently_testing;
869 currently_testing = test_record[used2].block;
875 block_size, currently_testing);
882 bb_count += bb_output(currently_testing + i);
884 bb_count += bb_output(currently_testing + got);
890 block_size, currently_testing);
893 currently_testing += got;
904 currently_testing = save_currently_testing;