acpi_bus_trim(9)
π NAME π
okay so bestie, welcome to acpi_bus_trim(9) from the Kernel API Manual π this functionβs whole thing is to detach scan handlers and drivers from ACPI device objects β thatβs the name, thatβs the game, no cap β¨
π SYNOPSIS π
void acpi_bus_trim (struct acpi_device *adev );
π¦ ARGUMENTS π¦
adevβ the root of the ACPI namespace scope to walk. thatβs your starting point, bestie πΆββοΈ
π DESCRIPTION π
okay so the one rule that is literally non-negotiable: this must be called under acpi_scan_lock. not βmaybeβ, not βif the vibes are rightβ β must. consider it the functionβs main-character requirement ππ
π SEE ALSO π
the kernel file is ./drivers/acpi/scan.c, and hereβs the whole friend group:
acpi_scan_drop_device(9)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)
mwah π β this page comes from ./drivers/acpi, dated October 2026, and itβs acpi_bus_trim(9). bye bestie, go call it under the lock π«Άβ¨
π¦ 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