'\" t .\" Title: nand_create_badblock_pattern .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Internal Functions Provided .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "NAND_CREATE_BADBLOCK" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "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_create_badblock_pattern \- [INTERN] Creates a BBT descriptor structure .SH "SYNOPSIS" .HP \w'int\ nand_create_badblock_pattern('u .BI "int nand_create_badblock_pattern(struct\ nand_chip\ *\ " "this" ");" .SH "ARGUMENTS" .PP \fIthis\fR .RS 4 NAND chip to create descriptor for .RE .SH "DESCRIPTION" .PP This function allocates and initializes a nand_bbt_descr for BBM detection based on the properties of \fIthis\fR\&. The new descriptor is stored in this\->badblock_pattern\&. Thus, this\->badblock_pattern should be NULL when passed to this function\&. .SH "AUTHOR" .PP \fBThomas Gleixner\fR <\&tglx@linutronix.de\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br