find_mci_by_dev(9)
π find_mci_by_dev(9) β Kernel API Manual π
okay so bestie, you've landed on the Kernel API Manual page for find_mci_by_dev(9). It's giving βfind the controller that owns this deviceβ energy, and honestly? Iconic. Let's get into it. β¨
π NAME π
find_mci_by_dev β scan the list of controllers looking for the one that manages the @dev device.
β¨ SYNOPSIS β¨
No cap, here's the exact signature:
struct mem_ctl_info * find_mci_by_dev (struct device *dev );
π«Ά ARGUMENTS π«Ά
devβ pointer to astruct devicerelated with the MCI.
π RETURN π
- on success, returns a pointer to
struct mem_ctl_info;NULLotherwise. periodt.
π SEE ALSO π
- Kernel file
./drivers/edac/edac_mc.hβ this is the main-character file, and these are the besties linked up with it:edac_mc_alloc(9),edac_get_owner(9),edac_mc_free(9),edac_has_mcs(9),edac_mc_find(9),edac_mc_del_mc(9),edac_mc_find_csrow_by_page(9),edac_raw_mc_handle_error(9),edac_mc_handle_error(9).
mwah π cute lil sign-off: source/version is ./drivers/edac, dated October 2026, and this whole page is for find_mci_by_dev(9). π«Ά
π¦ 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