kho_decode_radix_key(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… kho_decode_radix_key(9)

okay bestie, welcome to the Kernel API Manual β€” this one's a little decoder ring moment and honestly it's giving main character energy πŸŽ€


✨ NAME ✨

kho_decode_radix_key β€” decodes a radix key back into a physical address and order πŸ¦‹

Like, the key goes in, the actual physical address and the order come out. Reversal arc, we love to see it.


🌸 SYNOPSIS 🌸

phys_addr_t kho_decode_radix_key (unsigned long key , unsigned int
*order );

Two args, one return, no cap πŸ’…


🧚 ARGUMENTS 🧚

  • key β€” the unsigned long key you want decoded. That's the one, that's the input, she's the whole point 🫢
  • order β€” an output parameter, babes. It's a pointer to an unsigned int, and that's exactly where the decoded page order gets stored. So yeah, she writes back to you ✨

πŸ’– DESCRIPTION πŸ’–

So kho_decode_radix_key literally reverses the encoding that kho_encode_radix_key did in the first place. It takes a given key and extracts the original physical address and the page order back out of it. Undo button behaviour, iconic πŸ’…


⭐ RETURN ⭐

The decoded physical address. That's it, that's the return value πŸ‘‘


🌈 SEE ALSO 🌈

Kernel file ./kernel/liveupdate/kexec_handover.c


and that's the whole page, bestie πŸ“ this cutie lives in ./kernel/liveupdate, dated October 2026, and the version info is right there with it β€” mwah, go decode some keys πŸ’‹πŸ’œ

πŸ“¦ where this page comes from