Lines Matching full:bbt
35 static unsigned char *bbt; variable
229 bbt = kzalloc(ebcnt, GFP_KERNEL); in mtd_speedtest_init()
230 if (!bbt) in mtd_speedtest_init()
232 err = mtdtest_scan_for_bad_eraseblocks(mtd, bbt, 0, ebcnt); in mtd_speedtest_init()
236 if (!bbt[i]) in mtd_speedtest_init()
240 err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); in mtd_speedtest_init()
248 if (bbt[i]) in mtd_speedtest_init()
266 if (bbt[i]) in mtd_speedtest_init()
280 err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); in mtd_speedtest_init()
288 if (bbt[i]) in mtd_speedtest_init()
306 if (bbt[i]) in mtd_speedtest_init()
320 err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); in mtd_speedtest_init()
328 if (bbt[i]) in mtd_speedtest_init()
346 if (bbt[i]) in mtd_speedtest_init()
363 err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); in mtd_speedtest_init()
378 if (bbt[i + j]) in mtd_speedtest_init()
402 kfree(bbt); in mtd_speedtest_init()