Man Page: nand_block_checkbad
Operating Environment: centos
Section: 9
NAND_BLOCK_CHECKBAD(9) Internal Functions Provided NAND_BLOCK_CHECKBAD(9)NAMEnand_block_checkbad - [GENERIC] Check if a block is marked badSYNOPSISint nand_block_checkbad(struct mtd_info * mtd, loff_t ofs, int getchip, int allowbbt);ARGUMENTSmtd MTD device structure ofs offset from device start getchip 0, if the chip is already selected allowbbt 1, if its allowed to access the bbt areaDESCRIPTIONCheck, if the block is bad. Either by reading the bad block table or calling of the scan function.AUTHORThomas Gleixner <tglx@linutronix.de> Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 NAND_BLOCK_CHECKBAD(9)