.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "READ_BBT" "9" "09 October 2005" "" "" .SH NAME read_bbt \- [GENERIC] Read the bad block table starting from page .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int read_bbt (struct mtd_info * \fImtd\fB, uint8_t * \fIbuf\fB, int \fIpage\fB, int \fInum\fB, int \fIbits\fB, int \fIoffs\fB, int \fIreserved_block_code\fB); \fR .SH "ARGUMENTS" .TP \fB\fImtd\fB\fR MTD device structure .TP \fB\fIbuf\fB\fR temporary buffer .TP \fB\fIpage\fB\fR the starting page .TP \fB\fInum\fB\fR the number of bbt descriptors to read .TP \fB\fIbits\fB\fR number of bits per block .TP \fB\fIoffs\fB\fR offset in the memory table .TP \fB\fIreserved_block_code\fB\fR Pattern to identify reserved blocks .SH "DESCRIPTION" .PP Read the bad block table starting from page.