Lines Matching refs:bb_count
495 unsigned int bb_count = 0; in test_ro() local
543 if (bb_count >= max_bb) { in test_ro()
570 bb_count += bb_output(currently_testing + i, CORRUPTION_ERROR); in test_ro()
573 bb_count += bb_output(currently_testing++, READ_ERROR); in test_ro()
598 return bb_count; in test_ro()
609 unsigned int bb_count = 0; in test_rw() local
650 if (bb_count >= max_bb) { in test_rw()
664 bb_count += bb_output(currently_testing++, WRITE_ERROR); in test_rw()
692 if (bb_count >= max_bb) { in test_rw()
703 bb_count += bb_output(currently_testing++, READ_ERROR); in test_rw()
719 bb_count += bb_output(currently_testing+i, CORRUPTION_ERROR); in test_rw()
733 return bb_count; in test_rw()
759 static unsigned int bb_count; in test_nd() local
763 bb_count = 0; in test_nd()
830 bb_count = 0; in test_nd()
839 if (bb_count >= max_bb) { in test_nd()
869 bb_count += bb_output(currently_testing++, READ_ERROR); in test_nd()
953 bb_count += bb_output(currently_testing + i, CORRUPTION_ERROR); in test_nd()
955 bb_count += bb_output(currently_testing + got, READ_ERROR); in test_nd()
991 return bb_count; in test_nd()
1336 unsigned int bb_count; in main() local
1338 bb_count = test_func(dev, last_block, block_size, in main()
1340 if (bb_count) in main()
1348 bb_count, num_read_errors, num_write_errors, num_corruption_errors); in main()