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

NAME

6       scan_read_oob - [GENERIC] Scan data+OOB region to buffer
7

SYNOPSIS

9       int scan_read_oob(struct mtd_info * mtd, uint8_t * buf, loff_t offs,
10                         size_t len);
11

ARGUMENTS

13       mtd
14           MTD device structure
15
16       buf
17           temporary buffer
18
19       offs
20           offset at which to scan
21
22       len
23           length of data region to read
24

DESCRIPTION

26       Scan read data from data+OOB. May traverse multiple pages, interleaving
27       page,OOB,page,OOB,... in buf. Completes transfer and returns the
28       “strongest” ECC condition (error or bitflip). May quit on the first
29       (non-ECC) error.
30

AUTHOR

32       Thomas Gleixner <tglx@linutronix.de>
33           Author.
34
36Kernel Hackers Manual 3.10         June 2019                  SCAN_READ_OOB(9)
Impressum