mas_for_each_rev(9)
π NAME π
okay bestie, this is mas_for_each_rev(9) from the Kernel API Manual β it's the one that will Iterate over a range of the maple tree in reverse order. yes queen, reverse. π
β¨ SYNOPSIS β¨
mas_for_each_rev (__mas , __entry , __min );
π ARGUMENTS π
__masβ Maple Tree operation state (maple_state) β the operation-state bestie for the maple tree.__entryβ Entry retrieved from the tree β the entry you got back from the tree.__minβ minimum index to retrieve from the tree β the lowest index you're asking for.
π¦ DESCRIPTION π¦
When returned, mas->index and mas->last will hold the entire range for the entry. that's the whole vibe: you get the entry, and those two fields carry the full range. π«Ά
β οΈ NOTE β οΈ
heads up bestie: it may return the zero entry. not a drill, just the note. π
π SEE ALSO π
- Kernel file
./include/linux/maple_tree.h Maple tree flags(9)MTREE_INIT(9)MTREE_INIT_EXT(9)mtree_empty(9)mas_reset(9)mas_for_each(9)__mas_set_range(9)mas_set_range(9)mas_set(9)mt_init_flags(9)mt_init(9)mt_clear_in_rcu(9)mt_set_in_rcu(9)mt_for_each(9)
xoxo bestie π β source/version: ./include/linux, dated October 2026. mas_for_each_rev(9) out! πβ¨
π¦ 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