]> 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>
Tue, 2 May 2023 02:18:00 +0000 (22:18 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 2 May 2023 17:51:57 +0000 (13:51 -0400)
commit51bea9bb30db176936a00021532269e6cd4e9a53
treea05871166cc17c27aeadd9ba1b859e4a225e93d0
parent0d46575f749fe721c7fdc72baac9737b66ac9033
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