acpiphp_remove_slots(9)
π acpiphp_remove_slots(9)
okay so bestie, welcome to the Kernel API Manual β yes, the actual kernel docs, and yes, we're gonna make it make sense π«Ά
β¨ NAME β¨
acpiphp_remove_slots β Remove slot objects associated with a given bus.
Like, literally: it's the cleanup crew π§Ή for slot objects that belong to one specific bus. No cap.
πΈ SYNOPSIS πΈ
void acpiphp_remove_slots (struct pci_bus *bus );
That's the whole vibe. It returns void β so don't go looking for a return value, there isn't one, periodt π
π ARGUMENTS π
busβ the PCI bus you want the slot objects removed for. That's it, that's the whole argument list. One bus in, slot objects gone π
π₯ SEE ALSO π₯
okay so this function does not exist in a vacuum, she has a whole friend group π
- Kernel file
./drivers/pci/hotplug/acpiphp_glue.c acpiphp_init_context(9)acpiphp_get_context(9)acpiphp_put_context(9)acpiphp_post_dock_fixup(9)acpiphp_add_context(9)acpiphp_max_busnr(9)enable_slot(9)disable_slot(9)get_slot_status(9)trim_stale_devices(9)acpiphp_check_bridge(9)acpiphp_enumerate_slots(9)acpiphp_enable_slot(9)acpiphp_disable_and_eject_slot(9)
go read those too, iykyk πβ¨
fr fr though: this page only tells you it removes slot objects for the given bus. That's the whole documented deal β don't go adding lore that isn't there π
and that's the page!! source is ./drivers/pci/hotplug, dated October 2026 β mwah, iconic, no notes π
ππ
π¦ 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