Lines Matching defs:bbm
1452 struct bbm_info *bbm = this->bbm;
1455 return bbm->isbad_bbt(mtd, ofs, allowbbt);
1592 struct bbm_info *bbm = this->bbm;
1598 block = ((int) ofs) >> bbm->bbt_erase_shift;
1599 if (bbm->bbt)
1600 bbm->bbt[block >> 2] |= 0x01 << ((block & 0x03) << 1);
1603 ofs += mtd->oobsize + (bbm->badblockpos & ~0x01);
2451 if (this->bbm) {
2452 struct bbm_info *bbm = this->bbm;
2453 kfree(bbm->bbt);
2454 kfree(this->bbm);