STRUCT HOTPLUG_SLOT(9)
π 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 thestruct hotplug_slot_opsto 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
- 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