pci_hp_destroy(9)
β¨ NAME β¨
pci_hp_destroy β remove hotplug slot from in-kernel use
okay so bestie, this is the page from the Kernel API Manual, and itβs all about cleanly destroying a PCI hotplug slot so itβs no longer in in-kernel use. lowkey important cleanup energy π
π οΈ SYNOPSIS
void pci_hp_destroy (struct hotplug_slot *slot );
π ARGUMENTS
slotβ pointer to thestruct hotplug_slotto destroy. thatβs the one getting the goodbye treatment π«Ά
π DESCRIPTION
so pci_hp_destroy destroys a PCI slot used by a hotplug driver. once this has been called, the driver may no longer invoke hotplug_slot_name to get the slotβs unique name β fr fr, thatβs the rule.
the driver also no longer needs to handle a ->reset_slot callback from this point on. so after this call, that callback handling is not needed anymore. periodt β¨
π¦ SEE ALSO
- Kernel file:
./drivers/pci/hotplug/pci_hotplug_core.c __pci_hp_register(9)__pci_hp_initialize(9)pci_hp_add(9)pci_hp_deregister(9)pci_hp_del(9)pci_hp_ignore_link_change(9)pci_hp_unignore_link_change(9)pci_hp_spurious_link_change(9)
go read those too, iykyk π
cute sign-off, bestie: this oneβs from./drivers/pci/hotplug, datedOctober 2026, and itβspci_hp_destroy(9). stay slaying ππ
π¦ 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