STRUCT HOTPLUG_SLOT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay bestie, this is the struct hotplug_slot(9) page from the Kernel API Manual ✨ and it’s literally the struct you use to register a physical slot with the hotplug pci core. No cap, that’s the whole point.


✨ SYNOPSIS ✨

struct hotplug_slot {
    const struct hotplug_slot_ops   *ops;
    struct pci_slot                 *pci_slot;
    struct module                   *owner;
    const char                      *mod_name;
 };

🌸 Members 🌸

  • ops β€” pointer to the struct hotplug_slot_ops to be used for this slot. That’s the ops hookup for this slot, periodt πŸ’…
  • pci_slot β€” represents a physical slot. Like, the physical slot itself, iconic πŸŽ€
  • owner β€” the module owner of this structure. Gotta know who owns it, iykyk 🫢
  • mod_name β€” the module name (KBUILD_MODNAME) of this structure. That’s the name tag, bestie 🏷️

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./include/linux/pci_hotplug.h
  • struct hotplug_slot_ops(9)

πŸ’– that’s the whole page, bestie β€” source: ./include/linux, dated October 2026, mwah πŸ’…βœ¨

πŸ“¦ where this page comes from