__pci_hp_initialize(9)
π
__pci_hp_initialize(9) π
okay so bestie, this one is from the Kernel API Manual, and it is literally about preparing a hotplug slot for in-kernel use. β¨ No cap, all the details are right here.
π NAME π
__pci_hp_initialize β prepare hotplug slot for in-kernel use π«Ά
πΈ SYNOPSIS πΈ
int __pci_hp_initialize (struct hotplug_slot *slot , struct pci_bus *bus
, int devnr , const char *name , struct module *owner , const char
*mod_name );
β¨ ARGUMENTS β¨
slotβ pointer to thestruct hotplug_slotto initialize. πbusβ bus this slot is on. πdevnrβ slot number. π’nameβ name registered with kobject core. π·οΈownerβ caller module owner. πmod_nameβ caller module name. π
π DESCRIPTION π
Allocate and fill in a PCI slot for use by a hotplug driver. π
Once this has been called, the driver may invoke hotplug_slot_name to get the slot's unique name. π¦
The driver must be prepared to handle a ->reset_slot callback from this point on. π¨
Returns 0 on success or a negative int on error. β
/β
π₯ SEE ALSO π₯
Kernel file: ./drivers/pci/hotplug/pci_hotplug_core.c π
__pci_hp_register(9)pci_hp_add(9)pci_hp_deregister(9)pci_hp_del(9)pci_hp_destroy(9)pci_hp_ignore_link_change(9)pci_hp_unignore_link_change(9)pci_hp_spurious_link_change(9)
mwah π β the source/version is ./drivers/pci/hotplug, and the date on this cutie is October 2026. β
π¦ 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