'\" t .\" Title: nand_default_block_markbad .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: Internal Functions Provided .\" Source: Kernel Hackers Manual 4.12.2 .\" Language: English .\" .TH "NAND_DEFAULT_BLOCK_M" "9" "July 2017" "Kernel Hackers Manual 4\&.12\&" "Internal Functions Provided" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" nand_default_block_markbad \- [DEFAULT] mark a block bad via bad block marker .SH "SYNOPSIS" .HP \w'int\ nand_default_block_markbad('u .BI "int nand_default_block_markbad(struct\ mtd_info\ *\ " "mtd" ", loff_t\ " "ofs" ");" .SH "ARGUMENTS" .PP \fIstruct mtd_info * mtd\fR .RS 4 MTD device structure .RE .PP \fIloff_t ofs\fR .RS 4 offset from device start .RE .SH "DESCRIPTION" .PP This is the default implementation, which can be overridden by a hardware specific driver\&. It provides the details for writing a bad block marker to a block\&. .SH "AUTHOR" .PP \fBThomas Gleixner\fR <\&tglx@linutronix.de\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br