nanddev_page...r_eraseblock(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

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