STRUCT KHO_RADIX_WALK_CB(9)
π struct kho_radix_walk_cb(9) β Kernel API Manual β¨
Okay so bestie, this is the Kernel API Manual page for struct kho_radix_walk_cb(9) β aka the callback duo for the KHO radix tree walk. It's giving βtiny struct, very important walk energy,β and weβre gonna get through it together. π«Ά
πΈ NAME πΈ
struct kho_radix_walk_cb β callbacks for KHO radix tree walk. Lowkey the whole personality of this struct is βhey walk, call me when you hit stuff.β π
β¨ SYNOPSIS β¨
struct kho_radix_walk_cb {
int (*leaf)(unsigned long key, void *data);
int (*node)(phys_addr_t phys, void *data);
};
π§ Members π§
leafβ called on each present key in the radix tree. If the key is actually there, it gets a callback visit. No cap. πnodeβ called on each node of the radix tree itself. It receives the physical address of the page containing the node. So itβs handing youphys, plus thedatavibe. π¦
π Description π
For each callback, the return-value rules are simple and honestly iconic:
- return
0β the walk continues β - return a non-zero value β that value is directly returned to the caller π¨
Thatβs the whole vibe check. No extra behavior invented, bestie β just those two rules. periodt. β¨
π SEE ALSO π
- Kernel file
./include/linux/kho_radix_tree.h Kexec Handover Radix Tree(9)
Cute lil sign-off: source/version line is ./include/linux, the date stamp is October 2026, and the star of the show is struct kho_radix_walk_cb(9). Obsessed with this callback representation, fr fr. ππ
π¦ 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