create_image(9)
create_image(9) β Kernel API Manual π
π NAME π
create_image β create a hibernation image. πΌοΈπ΄
β¨ SYNOPSIS β¨
int create_image (int platform_mode );
π ARGUMENTS π
platform_modeβ whether or not to use the platform driver. Thatβs the whole vibe check for this arg, bestie. π«Ά
π¦ DESCRIPTION π¦
Okay so create_image() is out here doing the hibernation-image thing, and itβs giving very main-character energy. It executes the device driversβ "late" and "noirq" freeze callbacks, creates a hibernation image, and then runs the driversβ "noirq" and "early" thaw callbacks. π₯
And then β plot twist β control reappears in this routine after the subsequent restore. Like, hello again, bestie. π«
π SEE ALSO π
- Kernel file
./kernel/power/hibernate.c pm_hibernation_mode_is_suspend(9)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)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)
Thatβs the whole page, periodt. π«Ά This cutie comes from ./kernel/power and is dated October 2026. Mwah π
π¦ 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