OSDN Git Service

xarray: Extract entries from an XArray
authorMatthew Wilcox <willy@infradead.org>
Tue, 14 Nov 2017 21:42:22 +0000 (16:42 -0500)
committerMatthew Wilcox <willy@infradead.org>
Sun, 21 Oct 2018 14:45:58 +0000 (10:45 -0400)
commit80a0a1a9a3cde9b23851e8eb7160e2786549306a
tree9f90a533bb16d5f91407e6d04d102ea4dbca225e
parentb803b42823d0d9e8b6deccf01ffc2aba5d0738df
xarray: Extract entries from an XArray

The xa_extract function combines the functionality of
radix_tree_gang_lookup() and radix_tree_gang_lookup_tagged().
It extracts entries matching the specified filter into a normal array.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
include/linux/xarray.h
lib/xarray.c