nanddev_page...r_eraseblock(9)
π nanddev_pages_per_eraseblock(9) π
okay so welcome to the Kernel API Manual bestie, this is the page for nanddev_pages_per_eraseblock, and yes the header up top gets truncated to nanddev_page...r_eraseblock(9) because even manpage headers have main character energy and need their full name π
β¨ NAME β¨
nanddev_pages_per_eraseblock β Get the number of pages per eraseblock
like literally that's it, that's the whole job, and it does it iconically π
πΈ SYNOPSIS πΈ
unsigned int nanddev_pages_per_eraseblock (const struct nand_device
*nand );
the way this signature just says what it does... no notes, we stan a self-documenting function π«Ά
π¦ ARGUMENTS π¦
nandβ NAND device. yes that's the whole description. she's a *const struct nand_device * and she knows it π
β RETURN β
the number of pages per eraseblock. that's the answer. that's the value. unsigned int flavored β¨
π₯ SEE ALSO π₯
the whole friend group shows up for this one, no cap. the kernel file is ./include/linux/mtd/nand.h and the cast list is LONG, so buckle up:
- struct
nand_memory_organization(9) - struct
nand_row_converter(9) - struct
nand_pos(9) - enum
nand_page_io_req_type(9) - struct
nand_page_io_req(9) - enum
nand_ecc_engine_type(9) - enum
nand_ecc_placement(9) - enum
nand_ecc_algo(9) - struct
nand_ecc_props(9) - struct
nand_bbt(9) - struct
nand_ops(9) - struct
nand_ecc_context(9) - struct
nand_ecc_engine_ops(9) - enum
nand_ecc_engine_integration(9) - struct
nand_ecc_engine(9) - struct
nand_ecc_req_tweak_ctx(9) - struct
nand_ecc(9) - struct
nand_device(9) - struct
nand_io_iter(9) mtd_to_nanddev(9)nanddev_to_mtd(9)nanddev_page_size(9)nanddev_per_page_oobsize(9)nanddev_pages_per_target(9)nanddev_eraseblocks_per_lun(9)nanddev_eraseblocks_per_target(9)nanddev_target_size(9)nanddev_neraseblocks(9)nanddev_size(9)nanddev_get_memorg(9)nanddev_get_ecc_conf(9)nanddev_get_ecc_nsteps(9)nanddev_get_ecc_bytes_per_step(9)nanddev_get_ecc_requirements(9)nanddev_set_ecc_requirements(9)nanddev_register(9)nanddev_unregister(9)nanddev_set_of_node(9)nanddev_get_of_node(9)nanddev_offs_to_pos(9)nanddev_pos_cmp(9)nanddev_pos_to_offs(9)nanddev_pos_to_row(9)nanddev_pos_next_target(9)nanddev_pos_next_lun(9)nanddev_pos_next_eraseblock(9)nanddev_pos_next_page(9)nanddev_bbt_pos_to_entry(9)nanddev_bbt_is_initialized(9)
literally a whole squad π go read them, iykyk π§
ok that's the page!! no warnings, no bugs, no license drama on this one, it's just a chill little getter π
and before you go β this cutie lives in ./include/linux/mtd, the version/date stamp says October 2026, and the page goes out as nanddev_page...r_eraseblock(9) top and bottom. slay, bye bestie ππ
π¦ 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