acpi_bus_trim(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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:


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