]> 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>
Thu, 27 Apr 2023 01:40:55 +0000 (21:40 -0400)
commit58d8a087cf7327631bab5ad46879fc370229784a
tree2f71ac64b96da5647456a63f5ec15878d9f4c25d
parentdee640e8094d58010a7dbeeac704bce0f26a14f7
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