acpiphp_put_context(9)
πΈ NAME πΈ
okay so this is acpiphp_put_context(9), straight out of the Kernel API Manual, and it is literally the function that drops a reference to an ACPI hotplug context. that's the whole name, bestie β no cap π
π¦ SYNOPSIS π¦
void acpiphp_put_context (struct acpiphp_context *context );
π ARGUMENTS π
contextβ the ACPI hotplug context you're dropping a reference to. that's the whole arg, periodt π«Ά
β¨ DESCRIPTION β¨
the context object gets removed if there are no more references to it. lowkey simple, highkey important.
call this underacpi_hp_context_lock. do not freestyle the locking, bestie β the manual says call underacpi_hp_context_lock, so that's the vibe. π
π₯ SEE ALSO π₯
like, go read these too β they're all part of the same little universe:
- Kernel file
./drivers/pci/hotplug/acpiphp_glue.c acpiphp_init_context(9)acpiphp_get_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_remove_slots(9)acpiphp_enable_slot(9)acpiphp_disable_and_eject_slot(9)
that's the whole page, bestie π this one comes from ./drivers/pci/hotplug, dated October 2026, and it's all about acpiphp_put_context(9). slay. π
π¦ 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