xa_get_order(9)
π xa_get_order β the manual, but make it make sense
okay so bestie, you know we're deep in kernel API territory here (Kernel API Manual, section 9), so grab your iced coffee π§ and let's get into it. This one's called xa_get_order(9) and honestly? iconic behaviour.
πΈ NAME πΈ
xa_get_order β literally just "get the order of an entry." that's the whole vibe. π
β¨ SYNOPSIS β¨
int xa_get_order (struct xarray *xa , unsigned long index );
look at that signature. so clean. so main character. π
π¦ ARGUMENTS π¦
xaβ your XArray. the thing itself. the whole point. π«Άindexβ the index of the entry you're curious about. yes, that index.
π₯ RETURN π₯
it hands you back a number between 0 and 63, and that number is the order of the entry. that's it, that's the whole tea. β
no cap, it's a plainintand the range is0β63. don't go expecting anything outside that, bestie, fr fr. π
π SEE ALSO π
okay this part is a lot, but every single one of these is your new bestie, no skipping:
Kernel file ./lib/xarray.c, plus:
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_load(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_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).
like, the whole xarray friend group showed up. and yes, xas_get_order(9) is in there too β the cheeky lowercase-s sibling, iykyk. π
π aaaand that's the page! this lil beauty lives in ./lib, version/date situation is October 2026, and the whole thing is signed off as xa_get_order(9) β go forth and get those orders, bestie ππ§ββοΈπ
π¦ 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