radix_tree_exception(9)
π radix_tree_exception β the Kernel API Manual, bestie edition β¨
Okay so picture this: you're deep in kernel land, you just called radix_tree_deref_slot, and the pointer it handed you back is giving β¨suspiciousβ¨. Is it a real, well-aligned pointer? Or is it one of the two flavor of exception? That's literally the whole plot of radix_tree_exception, and the Linux Kernel API Manual is here to walk you through it. π
πΈ NAME πΈ
radix_tree_exception β did radix_tree_deref_slot hand you back an exception or what? π
π¦ SYNOPSIS π¦
int radix_tree_exception (void *arg );
π ARGUMENTS π
argβ the value thatradix_tree_deref_slotreturned. That's it, that's the whole input. Just hand over whatever came back and let the function do its vibe check. π«Ά
β RETURN β
0β you got a well-aligned pointer, everything's chill, main character energy, no notes. π- non-
0β it's either kind of exception. Both of them. Either one. Not a well-aligned pointer, bestie. π
π₯ SEE ALSO π₯
Kernel file ./include/linux/radix-tree.h and its whole friend group, fr fr:
struct radix_tree_iter(9)- Radix-tree synchronization(9)
radix_tree_deref_slot(9)radix_tree_deref_slot_protected(9)radix_tree_deref_retry(9)radix_tree_iter_init(9)radix_tree_next_chunk(9)radix_tree_iter_lookup(9)radix_tree_iter_retry(9)radix_tree_iter_resume(9)radix_tree_chunk_size(9)radix_tree_next_slot(9)radix_tree_for_each_slot(9)radix_tree_for_each_tagged(9)
And that's the whole page, babes β short and iconic, just like it should be. This one lives in ./include/linux and the manual's stamped October 2026, so if you're reading it in the future, hiii, hope the kernel is slaying. ππ
π¦ 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