create_image(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 πŸ‘‘


That’s the whole page, periodt. 🫢 This cutie comes from ./kernel/power and is dated October 2026. Mwah πŸ’‹

πŸ“¦ where this page comes from