edac_mc_find(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… edac_mc_find β€” honestly a whole vibe

okay bestie, so this is a page from the Kernel API Manual (yes, the kernel has lore too 🧚), and it's about one little function that goes hunting for a mem_ctl_info structure by index. short page, but we're gonna give it the main character energy it deserves ✨


✨ NAME ✨

edac_mc_find β€” search for a mem_ctl_info structure whose index is @idx. that's it, that's the job πŸŽ€


🌸 SYNOPSIS 🌸

struct mem_ctl_info * edac_mc_find (int idx );

look at her go 😭 returning a pointer and everything. iconic.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • idx β€” the index to be seek πŸ” (yes, "to be seek", we're keeping the original wording fr fr, it's giving old-school kernel charm)

πŸ’– DESCRIPTION πŸ’–

so here's the tea: if it's found, it returns a pointer to the structure. 🫢

else? it returns NULL. πŸ’€ no drama, no notes, just NULL.

that's literally the whole description and honestly? respect. she said what she said and dipped.

ngl bestie, NULL means not found here β€” don't go dereferencing it, that's not the vibe check you want to fail πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

kernel file ./drivers/edac/edac_mc.h and her whole friend group:

a full squad, no cap πŸ”₯ go read them too, iykyk πŸ’œ


🌈 and that's the page!! brought to you by ./drivers/edac, dated October 2026, and the same edac_mc_find(9) energy we started with ⭐ slay, bye bestie πŸ’…πŸ’–

πŸ“¦ where this page comes from