genradix_ptr_alloc(9)
π NAME π
okay so this is the Kernel API Manual page for genradix_ptr_alloc β and it does exactly what it says on the tin, bestie: get a pointer to a genradix entry, allocating it if necessary β¨
π SYNOPSIS π
the call is giving very much:
genradix_ptr_alloc (_radix , _idx , _gfp );
πΈ ARGUMENTS πΈ
_radixβ the genradix to access π«Ά_idxβ the index to fetch π_gfpβ the gfp mask π
π DESCRIPTION π
Returns a pointer to the entry at _idx, or NULL on allocation failure. that's the whole vibe πβ¨
π¦ 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_iter_init(9)π¦genradix_iter_peek(9)πgenradix_iter_peek_prev(9)πgenradix_for_each(9)π₯genradix_for_each_reverse(9)πgenradix_prealloc(9)π
mwah π source/version: ./include/linux Β· date: October 2026 Β· page: genradix_ptr_alloc(9) β periodt π
π¦ 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