Lines Matching full:bbt
46 static unsigned char *bbt; variable
108 if (bbt[i]) in write_whole_device()
332 if (bbt[i]) in verify_all_eraseblocks()
397 bbt = kzalloc(ebcnt, GFP_KERNEL); in mtd_oobtest_init()
398 if (!bbt) in mtd_oobtest_init()
401 err = mtdtest_scan_for_bad_eraseblocks(mtd, bbt, 0, ebcnt); in mtd_oobtest_init()
413 err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); in mtd_oobtest_init()
433 err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); in mtd_oobtest_init()
446 if (bbt[i]) in mtd_oobtest_init()
466 err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); in mtd_oobtest_init()
499 err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); in mtd_oobtest_init()
504 for (i = 0; i < ebcnt && bbt[i]; ++i) in mtd_oobtest_init()
550 if (bbt[ebcnt - 1]) in mtd_oobtest_init()
649 err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); in mtd_oobtest_init()
660 if (bbt[i] || bbt[i + 1]) in mtd_oobtest_init()
692 if (bbt[i] || bbt[i + 1]) in mtd_oobtest_init()
731 kfree(bbt); in mtd_oobtest_init()