linux-hardened/tools/testing/radix-tree/linux
Matthew Wilcox ad3d6c7263 xarray: Add XArray load operation
The xa_load function brings with it a lot of infrastructure; xa_empty(),
xa_is_err(), and large chunks of the XArray advanced API that are used
to implement xa_load.

As the test-suite demonstrates, it is possible to use the XArray functions
on a radix tree.  The radix tree functions depend on the GFP flags being
stored in the root of the tree, so it's not possible to use the radix
tree functions on an XArray.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
2018-10-21 10:45:57 -04:00
..
bug.h xarray: Add definition of struct xarray 2018-10-21 10:45:53 -04:00
compiler_types.h radix tree test suite: Fix build 2018-02-25 06:00:11 -05:00
cpu.h redo: radix tree test suite: fix compilation 2016-12-15 11:04:20 -08:00
gfp.h radix tree: use GFP_ZONEMASK bits of gfp_t for flags 2018-04-11 10:28:39 -07:00
idr.h Reimplement IDR and IDA using the radix tree 2017-02-13 21:44:01 -05:00
init.h radix tree test suite: Reduce kernel.h 2017-02-13 16:09:42 -05:00
kconfig.h xarray: Add definition of struct xarray 2018-10-21 10:45:53 -04:00
kernel.h xarray: Add XArray load operation 2018-10-21 10:45:57 -04:00
kmemleak.h radix tree test harness 2016-03-17 15:09:34 -07:00
percpu.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
preempt.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
radix-tree.h xarray: Replace exceptional entries 2018-09-29 22:47:49 -04:00
rcupdate.h xarray: Add XArray load operation 2018-10-21 10:45:57 -04:00
slab.h radix tree test suite: Fix build 2018-02-25 06:00:11 -05:00
xarray.h radix tree test suite: Fix compilation 2018-08-21 23:31:20 -04:00