check_create(9)

check_create9

[generic] create and write bbt(s) if necessary

Usage

int check_create(struct mtd_info * mtd, uint8_t * buf, struct nand_bbt_descr * bd);

Arguments

mtd

MTD device structure

buf

temporary buffer

bd

descriptor for the good/bad block search pattern

Overview

The function checks the results of the previous call to read_bbt and creates / updates the bbt(s) if necessary. Creation is necessary if no bbt was found for the chip/device. Update is necessary if one of the tables is missing or the version nr. of one table is less than the other.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 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.