find_mci_by_dev(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 a struct device related with the MCI.

🌈 RETURN 🌈

  • on success, returns a pointer to struct mem_ctl_info; NULL otherwise. periodt.

πŸ‘€ SEE ALSO πŸ‘€


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