arch_hibern...ader_restore(9)
π arch_hibernation_header_restore β Kernel API Manual β¨
okay so bestie, welcome to the arch_hibernation_header_restore(9) page, part of the Kernel API Manual π and yeah the header legit shows up as arch_hibern...ader_restore(9) because even manpage titles gotta get abbreviated sometimes, it's giving "no thoughts head empty, truncate everything" π
anywayβ
β¨ NAME β¨
arch_hibernation_header_restore β literally reads the architecture-specific data out of the hibernation image header π¦
β¨ SYNOPSIS β¨
int arch_hibernation_header_restore (void *addr );
β¨ ARGUMENTS β¨
addrβ the address you're reading the data from π that's it, that's the whole argument, the whole main character π«Ά
β¨ SEE ALSO β¨
- Kernel file
./arch/x86/power/hibernate.cπ pfn_is_nosave(9)compute_e820_crc32(9)arch_hibernation_header_save(9)β yes the save one, they're a matched set, iconic duo fr fr π
ok so like. genuinely. this function takes a void *addr, reads the arch-specific bits out of the hibernation image header, and returns an int. that's the tea β no cap, that's the whole vibe. go check arch_hibernation_header_save(9) if you wanna see the other half of the glow-up π«
heads up bestie: the manpage does not say what the return value means, so don't go making stuff up, iykyk π stick to what's on the page.
sign-off time π this lil beauty lives in ./arch/x86/power, dated October 2026, and it's out here doing the lord's work in the Kernel API Manual β¨ bye bestie, hydrate and check your return codes ππΈ
π¦ 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