'\" t .\" Title: read_bbt .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Internal Functions Provided .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "READ_BBT" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "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" read_bbt \- [GENERIC] Read the bad block table starting from page .SH "SYNOPSIS" .HP \w'int\ read_bbt('u .BI "int read_bbt(struct\ mtd_info\ *\ " "mtd" ", uint8_t\ *\ " "buf" ", int\ " "page" ", int\ " "num" ", struct\ nand_bbt_descr\ *\ " "td" ", int\ " "offs" ");" .SH "ARGUMENTS" .PP \fImtd\fR .RS 4 MTD device structure .RE .PP \fIbuf\fR .RS 4 temporary buffer .RE .PP \fIpage\fR .RS 4 the starting page .RE .PP \fInum\fR .RS 4 the number of bbt descriptors to read .RE .PP \fItd\fR .RS 4 the bbt describtion table .RE .PP \fIoffs\fR .RS 4 block number offset in the table .RE .SH "DESCRIPTION" .PP Read the bad block table starting from page\&. .SH "AUTHOR" .PP \fBThomas Gleixner\fR <\&tglx@linutronix.de\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br