Man Page: nand_default_block_markbad
Operating Environment: centos
Section: 9
NAND_DEFAULT_BLOCK_M(9) Internal Functions Provided NAND_DEFAULT_BLOCK_M(9)NAMEnand_default_block_markbad - [DEFAULT] mark a block badSYNOPSISint nand_default_block_markbad(struct mtd_info * mtd, loff_t ofs);ARGUMENTSmtd MTD device structure ofs offset from device startDESCRIPTIONThis is the default implementation, which can be overridden by a hardware specific driver. We try operations in the following order, according to our bbt_options (NAND_BBT_NO_OOB_BBM and NAND_BBT_USE_FLASH): (1) erase the affected block, to allow OOB marker to be written cleanly (2) update in-memory BBT (3) write bad block marker to OOB area of affected block (4) update flash-based BBT Note that we retain the first error encountered in (3) or (4), finish the procedures, and dump the error in the end.AUTHORThomas Gleixner <tglx@linutronix.de> Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 NAND_DEFAULT_BLOCK_M(9)
| Related Man Pages |
|---|
| struct_nand_chip(9) - centos |
| struct_platform_nand_ctrl(9) - centos |
| badsect(8) - netbsd |
| struct_platform_nand_ctrl(9) - suse |
| flash(9) - netbsd |
| Similar Topics in the Unix Linux Community |
|---|
| Is UNIX an open source OS ? |
| Set hard block limit for user using quota |
| CentOS7 restoring file capabilities |
| Controlling user input |
| Please Welcome Dave Munro to the Moderator Team! |