scan_read_oob(9)

scan_read_oob9

[generic] scan data+oob region to buffer

Usage

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

Arguments

mtd

MTD device structure

buf

temporary buffer

offs

offset at which to scan

len

length of data region to read

Overview

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

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

Author

Thomas Gleixner <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.