Query: search_bbt
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SEARCH_BBT(9) Internal Functions Provided SEARCH_BBT(9)NAMEsearch_bbt - [GENERIC] scan the device for a specific bad block tableSYNOPSISint search_bbt(struct mtd_info * mtd, uint8_t * buf, struct nand_bbt_descr * td);ARGUMENTSmtd MTD device structure buf temporary buffer td descriptor for the bad block tableDESCRIPTIONRead the bad block table by searching for a given ident pattern. Search is preformed either from the beginning up or from the end of the device downwards. The search starts always at the start of a block. If the option NAND_BBT_PERCHIP is given, each chip is searched for a bbt, which contains the bad block information of this chip. This is necessary to provide support for certain DOC devices. The bbt ident pattern resides in the oob area of the first page in a block.AUTHORThomas Gleixner <tglx@linutronix.de> Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SEARCH_BBT(9)