mas_prev_range(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ mas_prev_range(9) ✨

okay so this is mas_prev_range(9) from the Kernel API Manual, and bestie, it's literally the β€œgo back one range” girlie. no cap. the name is giving exactly what it is:

πŸ’… NAME πŸ’…

mas_prev_range β€” advance to the previous range. that's the whole assignment, and she ate.

✨ SYNOPSIS ✨

void * mas_prev_range (struct ma_state *mas , unsigned long min );

🌸 ARGUMENTS 🌸

  • mas β€” the maple state. that's the state object you're working with, bestie.
  • min β€” the minimum value to check. yes queen, this is the cutoff.

πŸ¦‹ DESCRIPTION πŸ¦‹

Sets mas->index and mas->last to the range.

You must be holding rcu_read_lock or the write lock β€” like, actually, no exceptions, periodt. πŸ”₯

If the node is ma_none, it will reset mas to ma_start. and it will stop on not searchable nodes. that's the vibe check, and it means what it says.

πŸŽ€ RETURN πŸŽ€

the previous value or NULL. that's it, that's the return. πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./lib/maple_tree.c β€” and the whole squad:

source/version: ./lib Β· date: October 2026 Β· page: mas_prev_range(9) β€” mwah, bye bestie! πŸ’–βœ¨

πŸ“¦ where this page comes from