]> 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>
Fri, 21 Apr 2023 15:08:40 +0000 (11:08 -0400)
commit33b2a639f4111b0a2aaaac7f427259ba5064bd46
tree9eabcf5fb7c0dac399d305738206161d15e8112a
parent5898eced54ce56583c70552b0bda93f33eb32d62
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