| nand_block_checkbad(9) - phpMan
NAND_BLOCK_CHECKBAD(9) Internal Functions Provided NAND_BLOCK_CHECKBAD(9)
NAME
nand_block_checkbad - [GENERIC] Check if a block is marked bad
SYNOPSIS
int nand_block_checkbad(struct mtd_info * mtd, loff_t ofs, int allowbbt);
ARGUMENTS
mtd
MTD device structure
ofs
offset from device start
allowbbt
1, if its allowed to access the bbt area
DESCRIPTION
Check, if the block is bad. Either by reading the bad block table or calling of the scan
function.
AUTHOR
Thomas Gleixner <tglx AT linutronix.de>
Author.
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 NAND_BLOCK_CHECKBAD(9)
|