Query: nand_default_block_markbad
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
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_irq_data(9) - centos |
struct_nand_ecc_ctrl(9) - centos |
ftl_cs(4) - redhat |
flash(9) - netbsd |
badsect(8) - freebsd |
Similar Topics in the Unix Linux Community |
---|
Weird 'find' results |
Set hard block limit for user using quota |
How to increment version inside a file? |
Shopt -s histappend |
[TIP] Processing YAML files with yq |