check_create(9)
πΈ NAME πΈ
okay so bestie, welcome to the Kernel API Manual page for check_create - [GENERIC] create and write bbt(s) if necessary β¨.
β¨ SYNOPSIS β¨
int check_create (struct nand_chip *this , uint8_t *buf , struct
nand_bbt_descr *bd );
π ARGUMENTS π
thisβ the NAND device. literally the device we're working with π«Άbufβ temporary buffer, just a lil scratch space πbdβ descriptor for the good/bad block search pattern, the vibe check for blocks π
π¦ DESCRIPTION π¦
okay so here's the tea: check_create checks the results of the previous call to read_bbt and creates / updates the bbt(s) if necessary. no cap β¨.
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. periodt π .
π SEE ALSO π
Kernel file ./drivers/mtd/nand/raw/nand_bbt.c has the whole squad: check_pattern(9), check_short_pattern(9), add_marker_len(9), read_bbt(9), read_abs_bbt(9), scan_read_oob(9), read_abs_bbts(9), create_bbt(9), search_bbt(9), search_read_bbts(9), get_bbt_block(9), mark_bbt_block_bad(9), write_bbt(9), nand_memory_bbt(9), nand_update_bbt(9), mark_bbt_region(9), verify_bbt_descr(9), nand_scan_bbt(9), nand_create_badblock_pattern(9), nand_create_bbt(9), nand_isreserved_bbt(9), nand_isbad_bbt(9), nand_markbad_bbt(9).
okay bye bestie π this iconic page came from ./drivers/mtd/nand/raw, dated October 2026 β check_create(9) out β¨π¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms