get_memsize(9)
π 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:
- Kernel file
./drivers/edac/versal_edac.c union ecc_error_info(9)struct ecc_status(9)struct edac_priv(9)convert_to_physical(9)handle_error(9)err_callback(9)get_dwidth(9)get_ecc_state(9)init_csrows(9)mc_init(9)poison_setup(9)setup_address_map(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms