1READ_BBT(9)               Internal Functions Provided              READ_BBT(9)
2
3
4

NAME

6       read_bbt - [GENERIC] Read the bad block table starting from page
7

SYNOPSIS

9       int read_bbt(struct mtd_info * mtd, uint8_t * buf, int page, int num,
10                    int bits, int offs, int reserved_block_code);
11

ARGUMENTS

13       mtd
14           MTD device structure
15
16       buf
17           temporary buffer
18
19       page
20           the starting page
21
22       num
23           the number of bbt descriptors to read
24
25       bits
26           number of bits per block
27
28       offs
29           offset in the memory table
30
31       reserved_block_code
32           Pattern to identify reserved blocks
33

DESCRIPTION

35       Read the bad block table starting from page.
36

AUTHOR

38       Thomas Gleixner <tglx@linutronix.de>
39           Author.
40
42Kernel Hackers Manual 2.6.       November 2011                     READ_BBT(9)
Impressum