Lines Matching defs:bbt
41 static unsigned char *bbt;
120 for (i = 0; i < ebcnt && bbt[i]; ++i)
124 for (i = 0; i < ebcnt && bbt[ebcnt - i - 1]; ++i)
163 if (addr <= addrn - pgsize - pgsize && !bbt[ebnum + 1]) {
223 for (i = 0; i < ebcnt && bbt[i]; ++i)
227 for (i = 0; i < ebcnt && bbt[ebcnt - i - 1]; ++i)
321 for (i = 0; i < ebcnt && bbt[i]; ++i) {
327 while (ebnum2 && bbt[ebnum2])
416 for (i = 0; i < ebcnt && bbt[i]; ++i) {
482 bbt = kzalloc(ebcnt, GFP_KERNEL);
483 if (!bbt) {
490 bbt[i] = is_block_bad(i) ? 1 : 0;
491 if (bbt[i])
558 if (bbt[i])
571 if (bbt[i])
586 if (bbt[i])
612 kfree(bbt);