Lines Matching refs:bb_count
479 unsigned int bb_count = 0; in test_ro() local
527 if (max_bb && bb_count >= max_bb) { in test_ro()
554 bb_count += bb_output(currently_testing + i, CORRUPTION_ERROR); in test_ro()
557 bb_count += bb_output(currently_testing++, READ_ERROR); in test_ro()
582 return bb_count; in test_ro()
593 unsigned int bb_count = 0; in test_rw() local
634 if (max_bb && bb_count >= max_bb) { in test_rw()
648 bb_count += bb_output(currently_testing++, WRITE_ERROR); in test_rw()
676 if (max_bb && bb_count >= max_bb) { in test_rw()
687 bb_count += bb_output(currently_testing++, READ_ERROR); in test_rw()
703 bb_count += bb_output(currently_testing+i, CORRUPTION_ERROR); in test_rw()
717 return bb_count; in test_rw()
743 static unsigned int bb_count; in test_nd() local
747 bb_count = 0; in test_nd()
814 bb_count = 0; in test_nd()
823 if (max_bb && bb_count >= max_bb) { in test_nd()
853 bb_count += bb_output(currently_testing++, READ_ERROR); in test_nd()
937 bb_count += bb_output(currently_testing + i, CORRUPTION_ERROR); in test_nd()
939 bb_count += bb_output(currently_testing + got, READ_ERROR); in test_nd()
975 return bb_count; in test_nd()
1310 unsigned int bb_count; in main() local
1312 bb_count = test_func(dev, last_block, block_size, in main()
1314 if (bb_count) in main()
1322 bb_count, num_read_errors, num_write_errors, num_corruption_errors); in main()