pm_hibernati...e_is_suspend(9)
π NAME π
pm_hibernation_mode_is_suspend β bestie, this is the little function that checks whether hibernation has been set to suspend. That's it, that's the whole gig β¨
So like, you're in the Kernel API Manual (pm_hibernation_mode_is_suspend(9), section 9, kernel-space royalty π) and this is your stop.
β¨ SYNOPSIS β¨
bool pm_hibernation_mode_is_suspend (void );
Yes queen, it returns a bool. True or false, no in-between, periodt π
π ARGUMENTS π
voidβ no arguments. Nothing. Not a single parameter. She takes zero input and she's still booked and busy, okay? π«Ά
π¦ SEE ALSO π¦
Okay so if you wanna go down the rabbit hole (and you know you do π), the source lives in the kernel file ./kernel/power/hibernate.c, and these are the icons she's linked with:
hibernation_set_ops(9)platform_begin(9)platform_end(9)platform_pre_snapshot(9)platform_leave(9)platform_finish(9)platform_pre_restore(9)platform_restore_cleanup(9)platform_recover(9)swsusp_show_speed(9)create_image(9)hibernation_snapshot(9)resume_target_kernel(9)hibernation_restore(9)hibernation_platform_enter(9)power_down(9)hibernate(9)hibernate_quiet_exec(9)software_resume_initcall(9)
Like, the whole hibernation friend group fr fr π Go read them, they ate.
ngl this page is short but she's iconic. No cap. π
Mwah π this page comes to you from ./kernel/power, dated October 2026 β catch you in the kernel, bestie π§ββοΈπΈ
π¦ 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