Lines Matching full:bbt
32 static unsigned char *bbt; variable
58 for (i = 0; i < ebcnt && bbt[i]; ++i) in verify_eraseblock()
62 for (i = 0; i < ebcnt && bbt[ebcnt - i - 1]; ++i) in verify_eraseblock()
85 if (addr <= addrn - pgsize - pgsize && !bbt[ebnum + 1]) { in verify_eraseblock()
126 for (i = 0; i < ebcnt && bbt[i]; ++i) in crosstest()
130 for (i = 0; i < ebcnt && bbt[ebcnt - i - 1]; ++i) in crosstest()
198 for (i = 0; i < ebcnt && bbt[i]; ++i) { in erasecrosstest()
204 while (ebnum2 && bbt[ebnum2]) in erasecrosstest()
276 for (i = 0; i < ebcnt && bbt[i]; ++i) { in erasetest()
372 bbt = kzalloc(ebcnt, GFP_KERNEL); in mtd_pagetest_init()
373 if (!bbt) in mtd_pagetest_init()
375 err = mtdtest_scan_for_bad_eraseblocks(mtd, bbt, 0, ebcnt); in mtd_pagetest_init()
381 err = mtdtest_erase_good_eraseblocks(mtd, bbt, 0, ebcnt); in mtd_pagetest_init()
390 if (bbt[i]) in mtd_pagetest_init()
408 if (bbt[i]) in mtd_pagetest_init()
441 kfree(bbt); in mtd_pagetest_init()