1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/base/data-struct
Zdenek Kabelac 3a9689652d radix_tree: add radix_tree_values
To more easily adopt radix_tree over existing code base, add
abstraction over 'radix_tree_iterate' which basically builds
an array of all traversed values, and then it's just easy to
go over all array elements.

TODO: code should be converted to use  radix_tree_iterate()
directly as it's more efficient.

Note: it can be possibly to rewrite recursive _iterate() usage
to linear travesal, not sure whether it's worth the effort
as conversion to 'radix_itree_iterator' is relatively simple.
2024-06-03 15:30:05 +02:00
..
hash.c const: array of const values 2024-05-08 01:55:20 +02:00
hash.h device_mapper: move hash.[hc] to base/data-struct 2018-06-08 13:54:19 +01:00
list.c base: Move list to base/data-struct 2018-06-08 11:24:18 +01:00
list.h list: use container_of 2020-05-20 16:01:20 +02:00
radix-tree-adaptive.c radix_tree: constify _iterate 2024-06-03 15:30:05 +02:00
radix-tree-simple.c radix_tree: debug updates 2024-06-03 15:30:05 +02:00
radix-tree.c radix_tree: add radix_tree_values 2024-06-03 15:30:05 +02:00
radix-tree.h radix_tree: add radix_tree_values 2024-06-03 15:30:05 +02:00