nanddev_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’Ύ nanddev_size(9) β€” the kernel API manual page, bestie edition πŸŽ€

okay so this is a page from the Kernel API Manual and it's literally about one tiny little function, and honestly? she's an icon. lowkey does one job, does it slay. let's get into it πŸ¦‹


✨ NAME ✨

nanddev_size β€” Get NAND size πŸ’…


🌸 SYNOPSIS 🌸

u64 nanddev_size (const struct nand_device *nand );

that's it. that's the whole vibe. one function, one argument, returns a u64. periodt.


🫢 ARGUMENTS 🫢

  • nand β€” the NAND device, obvs. it's a const struct nand_device *, so we're looking, not touching. respectful king behavior πŸ‘‘

⭐ RETURN ⭐

she returns the total size (in bytes) exposed by nand. that's the whole answer. no dramatic twist, no plot hole, just bytes. ate and left no crumbs πŸ’€βœ¨


🌈 SEE ALSO 🌈

that's the whole friend group right there β€” like 49 besties and every single one of them is invited to the group chat πŸ’œ no cap, that's the entire list, read 'em and weep.


ok that's genuinely all she wrote β€” one arg in, byte count out, done. iykyk 🧚

and that's a wrap!! this page lives in ./include/linux/mtd, dated October 2026 β€” mwah, sending you off with a πŸ“ and a promise that your NAND size will always be exactly the bytes nand says it is πŸ’–πŸ’…βœ¨

πŸ“¦ where this page comes from