xa_load(9)
β¨ xa_load(9) β Kernel API Manual β¨
okay so bestie, welcome to xa_load(9), straight out of the Kernel API Manual π
this is a teeny tiny little function and honestly? it's giving "short king" energy π it does exactly one thing and it does it iconically.
πΈ NAME πΈ
xa_load β Load an entry from an XArray. that's it. that's the whole job. no cap π«Ά
π SYNOPSIS π
void * xa_load (struct xarray *xa , unsigned long index );
look at her. so simple. so slay. β¨
π¦ ARGUMENTS π¦
xaβ the XArray, aka the little container you're digging around in ποΈindexβ the index into that array, aka where exactly you're looking π
π CONTEXT π
Any context. literally any. she's flexible like that π§ it takes and releases the RCU lock β yes, both, she handles it herself, main character behaviour fr fr π₯
π RETURN π
The entry at index in xa. that's what you get back. periodt. π
π SEE ALSO π
ngl this list is long β she has a LOT of friends π and every single one of them is (9), and they all live in the kernel file ./lib/xarray.c π
xas_load(9)xas_nomem(9)xas_free_nodes(9)xas_create_range(9)xas_store(9)xas_get_mark(9)xas_set_mark(9)xas_clear_mark(9)xas_init_marks(9)xas_split_alloc(9)xas_split(9)xas_try_split_min_order(9)xas_try_split(9)xas_pause(9)xas_find(9)xas_find_marked(9)xas_find_conflict(9)__xa_erase(9)xa_erase(9)__xa_store(9)xa_store(9)__xa_cmpxchg(9)__xa_insert(9)xa_store_range(9)xas_get_order(9)xa_get_order(9)__xa_alloc(9)__xa_alloc_cyclic(9)__xa_set_mark(9)__xa_clear_mark(9)xa_get_mark(9)xa_set_mark(9)xa_clear_mark(9)xa_find(9)xa_find_after(9)xa_extract(9)xa_delete_node(9)xa_destroy(9)
and that's the whole page bestie, go load some entries π«Ά
π cute little sign-off: this one's filed under ./lib, dated October 2026 β iykyk πβ¨
π¦ 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