genradix_ptr(9)
π
genradix_ptr(9) β Kernel API Manual π
okay so welcome to the Kernel API Manual page for genradix_ptr(9), bestie. this one is short, sweet, and very "i have one job and i ate" π
β¨ NAME β¨
genradix_ptr β get a pointer to a genradix entry. that's the whole assignment, no cap π«Ά
πΈ SYNOPSIS πΈ
the signature is literally:
genradix_ptr (_radix , _idx );
π ARGUMENTS π
_radixβ the genradix you're accessing, bestie. this is the one we're poking at β¨_idxβ the index to fetch. like, the exact lil spot you want π
π¦ DESCRIPTION π¦
okay so genradix_ptr returns a pointer to the entry at _idx β or NULL if that entry does not exist. that's it. that's the vibe. it's giving "pointer or nothing" and honestly? iconic π
no entry? NULL. don't act surprised, bestie π
π SEE ALSO π
go peek at these:
- Kernel file
./include/linux/generic-radix-tree.hβGeneric radix trees/sparse arrays(9)π genradix_init(9)genradix_free(9)genradix_ptr_alloc(9)genradix_iter_init(9)genradix_iter_peek(9)genradix_iter_peek_prev(9)genradix_for_each(9)genradix_for_each_reverse(9)genradix_prealloc(9)
xoxo, genradix_ptr(9) β source/version: ./include/linux, date: October 2026 π
π¦ 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