kho_encode_radix_key(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– kho_encode_radix_key(9) πŸ’–

okay bestie, welcome to the Kernel API Manual β€” we're doing a little radix key math today and honestly? it's giving tiny but mighty. ✨


🌸 NAME 🌸

kho_encode_radix_key β€” squishes a physical address and an order into one single radix key. that's it. that's the whole job. no cap. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

unsigned long kho_encode_radix_key (phys_addr_t phys , unsigned int order );

πŸ“ ARGUMENTS πŸ“

  • phys β€” the physical address of the page. like, where it lives. πŸ’…
  • order β€” the order of the page. yes, that order. 🫢

πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the tea β˜• β€” this function takes a page's physical address and its order and combines them into a single unsigned long. that one lil number becomes the key for all radix tree operations. literally all of them. it's giving main character energy for the whole tree. πŸ”₯


⭐ RETURN ⭐

the encoded unsigned long radix key. that's the good stuff. πŸ’œ


🌈 SEE ALSO 🌈


okay that's the whole page, ily, go encode some keys πŸ’–βœ¨πŸŽ€πŸ¦‹

β€” this cutie lives in ./kernel/liveupdate, version October 2026, and it's still signing off as kho_encode_radix_key(9) πŸ§šπŸ’œ

πŸ“¦ where this page comes from