acpi_scan_drop_device(9)
π NAME π
Okay so bestie, welcome to acpi_scan_drop_device(9) from the Kernel API Manual β we're dropping an ACPI device object, and it's giving very specific kernel cleanup energy β¨
acpi_scan_drop_device β drop an ACPI device object.
β¨ SYNOPSIS β¨
void acpi_scan_drop_device (acpi_handle handle , void *context );
π ARGUMENTS π
handleβ handle of an ACPI namespace node, and bestie, it is literally not used here πcontextβ address of the ACPI device object to drop π
πΈ DESCRIPTION πΈ
So this function gets invoked by acpi_ns_delete_node during the removal of the ACPI namespace node that the device object pointed to by context is attached to. Very βright place, right timeβ of it π
The unregistration is carried out asynchronously β yes, async slay β specifically to avoid running acpi_device_del under ACPICA's namespace mutex. And the list is used to make sure the ordering stays correct: the device objects must be unregistered in the same order in which the corresponding namespace nodes are deleted. Order matters, periodt π«Ά
π SEE ALSO π
Kernel file: ./drivers/acpi/scan.c β that's the spot π
Also on the SEE ALSO list, in all their referenced glory:
acpi_fetch_acpi_dev(9)acpi_get_acpi_dev(9)acpi_dma_supported(9)acpi_get_dma_attr(9)acpi_dma_get_range(9)acpi_dma_configure_id(9)acpi_walk_dep_device_list(9)acpi_dev_clear_dependencies(9)acpi_dev_ready_for_enumeration(9)acpi_dev_get_next_consumer_dev(9)acpi_bus_scan(9)acpi_bus_trim(9)
That's the whole page, bestie! Source/version: ./drivers/acpi; date: October 2026; title energy: acpi_scan_drop_device(9). Stay slay, stay ordered, and may your namespace nodes delete cleanly πβ¨π
π¦ 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