nvmem_dev_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– nvmem_dev_size (9) β€” a Kernel API Manual moment πŸ’–

okay so bestie, welcome to the Kernel API Manual entry for nvmem_dev_size and honestly? she's a short one, but she's iconic. no cap. πŸŽ€


✨ NAME ✨

nvmem_dev_size β€” get the size of a given nvmem device. that's it. that's the whole vibe. lowkey the most straightforward function in the whole nvmem cinematic universe πŸ¦‹


🌸 SYNOPSIS 🌸

size_t nvmem_dev_size (struct nvmem_device *nvmem );

like, you hand her a device and she hands you back a size_t. transactional queen πŸ’…


πŸ’œ ARGUMENTS πŸ’œ

  • nvmem β€” nvmem device. literally just the device, bestie. that's the whole argument. one (1) singular device. go off, minimalism πŸ‘‘

⭐ RETURN ⭐

size of the nvmem device. she returns it. that's the answer. size_t-shaped, device-sized, done. πŸ”₯


πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group shows up for this one, iykyk. and also the kernel file ./drivers/nvmem/core.c gets a shoutout, because that's where the magic lives πŸ’«


bestie note: everything above is documented, none of it is me guessing. if you need the lore, ./drivers/nvmem/core.c is the source of truth. 🫢

and that's the page!! manifesting a slay for your nvmem dev πŸ’–βœ¨

kisses, the ./drivers/nvmem directory πŸŽ€ β€” October 2026 edition β€” this has been nvmem_dev_size(9), signing off πŸ¦‹

πŸ“¦ where this page comes from