diff options
author | Liam R. Howlett <Liam.Howlett@oracle.com> | 2023-05-18 17:55:37 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-06-10 02:25:34 +0300 |
commit | 6169b553195a193c52a675e45a9578f595fe194f (patch) | |
tree | 444b3def2be5736f030dbaea59f74524115523d6 /mm/slab_common.c | |
parent | fff4a58cc00b3baef860c82d6e5e149f71c79d44 (diff) | |
download | linux-6169b553195a193c52a675e45a9578f595fe194f.tar.xz |
maple_tree: add mas_next_range() and mas_find_range() interfaces
Some users of the maple tree may want to move to the next range in the
tree, even if it stores a NULL. This family of function provides that
functionality by advancing one slot at a time and returning the result,
while mas_contiguous() will iterate over the range and stop on
encountering the first NULL.
Link: https://lkml.kernel.org/r/20230518145544.1722059-29-Liam.Howlett@oracle.com
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: David Binderman <dcb314@hotmail.com>
Cc: Peng Zhang <zhangpeng.00@bytedance.com>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Vernon Yang <vernon2gm@gmail.com>
Cc: Wei Yang <richard.weiyang@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/slab_common.c')
0 files changed, 0 insertions, 0 deletions