radix_tree_iter_lookup(9)
β¨ radix_tree_iter_lookup(9) β¨
okay bestie, welcome to the Kernel API Manual π this is the entry for radix_tree_iter_lookup(9), and it is literally about looking up an index in the radix tree. main character energy fr fr πΈ
π NAME π
radix_tree_iter_lookup β look up an index in the radix tree π
πΈ SYNOPSIS πΈ
void __rcu ** radix_tree_iter_lookup (const struct radix_tree_root *root
, struct radix_tree_iter *iter , unsigned long index );
π¦ ARGUMENTS π¦
rootβ the radix tree root, aka where the whole tree starts π³iterβ iterator state, the little vibe-check tracker for where you're at β¨indexβ the key to look up, the thing you're searching for π
π DESCRIPTION π
so here's the tea β if index is present in the radix tree, this function returns the slot containing it and updates iter to describe the entry. iconic behavior, honestly π
if index is not present, it returns NULL. that's it. no cap. π«Ά
π SEE ALSO π
- Kernel file
./include/linux/radix-tree.handstruct radix_tree_iter(9)β start here bestie π Radix-tree synchronization(9)π₯radix_tree_deref_slot(9)π«radix_tree_deref_slot_protected(9)π‘οΈradix_tree_deref_retry(9)πradix_tree_exception(9)πradix_tree_iter_init(9)π±radix_tree_next_chunk(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)π·οΈ
mwah π cute little sign-off from the ./include/linux girlies, dated October 2026 π β radix_tree_iter_lookup(9) out! πβ¨
π¦ 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