Lines Matching refs:bbt
42 static unsigned char *bbt; variable
265 if (bbt[i]) in verify_all_eraseblocks_ff()
330 bbt = kzalloc(ebcnt, GFP_KERNEL); in mtd_subpagetest_init()
331 if (!bbt) in mtd_subpagetest_init()
334 err = mtdtest_scan_for_bad_eraseblocks(mtd, bbt, 0, ebcnt); in mtd_subpagetest_init()
338 err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); in mtd_subpagetest_init()
345 if (bbt[i]) in mtd_subpagetest_init()
362 if (bbt[i]) in mtd_subpagetest_init()
376 err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); in mtd_subpagetest_init()
388 if (bbt[i]) in mtd_subpagetest_init()
406 if (bbt[i]) in mtd_subpagetest_init()
420 err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); in mtd_subpagetest_init()
431 kfree(bbt); in mtd_subpagetest_init()