get_memsize(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– get_memsize(9) πŸ’–

okay so bestie, we're in the Kernel API Manual today and this one's a little cutie β€” it's giving "one job, does it perfectly" energy. no cap. πŸŽ€


✨ NAME ✨

get_memsize β€” literally just get the size of the attached memory device. that's it. that's the whole vibe. πŸ’…


🌸 SYNOPSIS 🌸

u64 get_memsize (struct edac_priv *priv );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • priv β€” the DDR memory controller private instance data. it's the controller's personal little diary of context, bestie, and we need it to answer the question. 🫢

⭐ RETURN ⭐

the memory size, in bytes. slay. πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

like, go read these next, iykyk:


and that's the whole page, bestie β€” no filler, all facts, main character energy from start to finish 🌈✨

this iconic little number lives over in ./drivers/edac and it's stamped October 2026, so mark your calendar and stan πŸ’œπŸ§šβ€β™€οΈ
πŸ“¦ where this page comes from