mtree_load(9)
π mtree_load(9) π
okay so this is a page from the Kernel API Manual β yes bestie, the Kernel API Manual, we're in the big leagues now π β and it's all about mtree_load.
β¨ NAME β¨
mtree_load β load a value stored in a maple tree π³
β¨ SYNOPSIS β¨
void * mtree_load (struct maple_tree *mt , unsigned long index );
β¨ ARGUMENTS β¨
mtβ the maple tree π³ like, the whole tree, the vibe containerindexβ the index to load π that's the spot you're reaching for
β¨ RETURN β¨
it gives you back the entry β or NULL π (which, yeah, means nothing was there, don't come for me)
no cap: the return is literally "the entry or NULL" β those are your two options, bestie π
β¨ SEE ALSO β¨
the kernel file ./lib/maple_tree.c β go read it, iykyk π₯ β and honestly the whole friend group showed up:
mas_prealloc_calc(9)mas_wr_preallocate(9)mas_insert(9)mas_alloc_cyclic(9)mas_walk(9)mte_dead_walk(9)mt_free_walk(9)mas_store(9)mas_store_gfp(9)mas_store_prealloc(9)mas_preallocate(9)mas_next(9)mas_next_range(9)mt_next(9)mas_prev(9)mas_prev_range(9)mt_prev(9)mas_pause(9)mas_find_setup(9)mas_find(9)mas_find_range(9)mas_find_rev_setup(9)mas_find_rev(9)mas_find_range_rev(9)mas_erase(9)mas_nomem(9)mas_nomem_nofail(9)mtree_store_range(9)mtree_store(9)mtree_insert_range(9)mtree_insert(9)mtree_alloc_cyclic(9)mtree_erase(9)__mt_dup(9)mtree_dup(9)__mt_destroy(9)mtree_destroy(9)mt_find(9)mt_find_after(9)
mwah π that's the whole page β sourced from ./lib, dated October 2026, and yeah, mtree_load(9) ate and left no crumbs πβ¨
π¦ 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