]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Add mas_prev_range() and mas_find_range_rev interface
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Fri, 14 Apr 2023 21:22:24 +0000 (17:22 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 24 Apr 2023 20:20:43 +0000 (16:20 -0400)
commit653e4fe43eacbabea8420f7b233b6de7d2868fab
tree280882a53ca07522edee9debaa2b5e7a4955ce6b
parent305121ef7a5919aa91088caa57937230aae47216
maple_tree: Add mas_prev_range() and mas_find_range_rev interface

Some users of the maple tree may want to move to the previous range
regardless of the value stored there.  Add this interface as well as the
'find' variant to support walking to the first value, then iterating
over the previous ranges.

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
include/linux/maple_tree.h
lib/maple_tree.c