Star64_linux/tools/testing/radix-tree
Matthew Wilcox 4dd6c0987c radix-tree: rename indirect_to_ptr() to entry_to_node()
Mirrors the earlier commit introducing node_to_entry().

Also change the type returned to be a struct radix_tree_node pointer.
That lets us simplify a couple of places in the radix tree shrink &
extend paths where we could convert an entry into a pointer, modify the
node, then convert the pointer back into an entry.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Cc: Konstantin Khlebnikov <koct9i@gmail.com>
Cc: Kirill Shutemov <kirill.shutemov@linux.intel.com>
Cc: Jan Kara <jack@suse.com>
Cc: Neil Brown <neilb@suse.de>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-05-20 17:58:30 -07:00
..
generated radix-tree: add support for multi-order iterating 2016-05-20 17:58:30 -07:00
linux radix-tree: add test for radix_tree_locate_item() 2016-05-20 17:58:30 -07:00
.gitignore
find_next_bit.c
linux.c
main.c radix-tree: add test for radix_tree_locate_item() 2016-05-20 17:58:30 -07:00
Makefile radix tree test suite: start adding multiorder tests 2016-05-20 17:58:30 -07:00
multiorder.c radix-tree: fix radix_tree_range_tag_if_tagged() for multiorder entries 2016-05-20 17:58:30 -07:00
rcupdate.c
regression.h radix-tree tests: add regression3 test 2016-03-17 15:09:34 -07:00
regression1.c
regression2.c radix tree test suite: allow testing other fan-out values 2016-05-20 17:58:30 -07:00
regression3.c radix-tree tests: add test for radix_tree_iter_next 2016-03-17 15:09:34 -07:00
tag_check.c radix-tree: fix radix_tree_range_tag_if_tagged() for multiorder entries 2016-05-20 17:58:30 -07:00
test.c radix-tree: rename indirect_to_ptr() to entry_to_node() 2016-05-20 17:58:30 -07:00
test.h radix-tree: rename indirect_to_ptr() to entry_to_node() 2016-05-20 17:58:30 -07:00