mas_set(9)
π NAME π
mas_set β and yes bestie, this is the mas_set(9) page from the Kernel API Manual. It sets up the Maple Tree operation state for a different index β¨
π¦ SYNOPSIS π¦
void mas_set (struct ma_state *mas , unsigned long index );
It returns void, so thereβs no return value to catch β periodt π
π ARGUMENTS π
masβ the Maple Tree operation state, your main character struct π«Άindexβ the new index into the Maple Tree, fresh and ready πΈ
β¨ DESCRIPTION β¨
Okay so hereβs the vibe: mas_set moves the operation state so it refers to a different index. The way that works is it has the effect of starting a walk from the top β iconic, honestly π
If you wanna move to an adjacent index instead, go see mas_next, iykyk π¦
π SEE ALSO π
Go peek at the Kernel file ./include/linux/maple_tree.h and Maple tree flags(9), plus these absolute faves:
MTREE_INIT(9)MTREE_INIT_EXT(9)mtree_empty(9)mas_reset(9)mas_for_each(9)mas_for_each_rev(9)__mas_set_range(9)mas_set_range(9)mt_init_flags(9)mt_init(9)mt_clear_in_rcu(9)mt_set_in_rcu(9)mt_for_each(9)
Signed, sealed, delivered from ./include/linux π β date on the page is October 2026, and this whole sparkly situation is mas_set(9) from the Kernel API Manual. bye bestie, go touch some Maple Tree state πΈπ«Ά
π¦ 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