nanddev_eraseblocks_per_lun(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, nanddev_eraseblocks_per_lun(9) is the Kernel API Manual page that does exactly one iconic thing: nanddev_eraseblocks_per_lun β€” get the number of eraseblocks per LUN. That's the whole vibe. No cap.


✨ SYNOPSIS ✨

lowkey here's the signature, character-for-character:

unsigned int nanddev_eraseblocks_per_lun (const struct nand_device *nand
);

πŸ’… ARGUMENTS πŸ’…

  • nand β€” the NAND device. This is the const struct nand_device *nand from the signature, aka the main character you're asking about.

🌸 RETURN 🌸

it returns the number of eraseblocks per LUN. That's it β€” that's the count, periodt.


πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file is ./include/linux/mtd/nand.h, and here's the whole struct/enum/function friend group you can go read next:


cute sign-off: source/version ./include/linux/mtd, date October 2026, page nanddev_eraseblocks_per_lun(9) 🫢✨

πŸ“¦ where this page comes from