device_pm_move_after(9)
β¨ device_pm_move_after π
okay so bestie, welcome to the Kernel API Manual page for device_pm_move_after(9) β yes that's the section 9 vibe, kernel-internals territory, we're so back π«Ά
πΈ NAME πΈ
device_pm_move_after β literally just moves a device around in the PM core's list of active devices. that's it. that's the whole job. slay π
β SYNOPSIS β
void device_pm_move_after (struct device *deva , struct device *devb );
no cap, that's the whole signature. two devices in, zero return value out, iconic behaviour π
π¦ ARGUMENTS π¦
devaβ the device you're moving, indpm_list. she's the main character of this operation β¨devbβ the device thatdevashould come after. sodevagoes right behinddevbin the list, iykyk π―
π₯ SEE ALSO π₯
Kernel file ./drivers/base/power/main.c β that's where the magic lives, go read it, ngl π
pm_hibernate_is_recovering(9)device_pm_sleep_init(9)device_pm_lock(9)device_pm_unlock(9)device_pm_add(9)device_pm_remove(9)device_pm_move_before(9)device_pm_move_last(9)dpm_wait(9)pm_op(9)pm_late_early_op(9)pm_noirq_op(9)dpm_watchdog_handler(9)dpm_watchdog_set(9)dpm_watchdog_clear(9)dev_pm_skip_resume(9)device_resume_noirq(9)dpm_resume_noirq(9)device_resume_early(9)dpm_resume_early(9)dpm_resume_start(9)device_resume(9)dpm_resume(9)device_complete(9)dpm_complete(9)dpm_resume_end(9)resume_event(9)device_suspend_noirq(9)dpm_suspend_noirq(9)device_suspend_late(9)dpm_suspend_late(9)dpm_suspend_end(9)legacy_suspend(9)device_suspend(9)dpm_suspend(9)device_prepare(9)dpm_prepare(9)dpm_suspend_start(9)device_pm_wait_for_dev(9)dpm_for_each_dev(9)
π reminder: list order in the PM core is not a lil cosmetic thing, so don't go shuffling devices around for fun. this is a real API with real consequences, periodt.
and that's the page, bestie πΈ this lil doc came from ./drivers/base/power, dropped in October 2026, and it's the device_pm_move_after(9) page from the Kernel API Manual. go forth and reorder responsibly π§π
π¦ 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