genradix_iter_peek(9)
πΈ genradix_iter_peek(9) πΈ
okay bestie, welcome to the Kernel API Manual β¨ this page is all about genradix_iter_peek, and it is lowkey a little peekaboo moment in kernel land π«Ά
π NAME π
genradix_iter_peek β get first entry at or above iterator's current position
β¨ SYNOPSIS β¨
genradix_iter_peek (_iter , _radix );
π¦ ARGUMENTS π¦
_iterβ agenradix_iter. that's the iterator bestie, the little cursor doing the looking π_radixβ thegenradixbeing iterated over. this is the tree/sparse-array situation you're peeking into πΈ
π DESCRIPTION π
Peek at the first entry at or above _iter's current position β¨
If no more entries exist at or above _iter's current position, returns NULL β that's it, that's the whole vibe check π
π₯ SEE ALSO π₯
- Kernel file
./include/linux/generic-radix-tree.hβ Generic radix trees/sparse arrays(9) genradix_init(9)genradix_free(9)genradix_ptr(9)genradix_ptr_alloc(9)genradix_iter_init(9)genradix_iter_peek_prev(9)genradix_for_each(9)genradix_for_each_reverse(9)genradix_prealloc(9)
xoxo, your girl β source/version: ./include/linux π date: October 2026 π page: genradix_iter_peek(9) π
π¦ 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