diff options
author | Matthew Wilcox | 2017-12-01 00:06:52 -0500 |
---|---|---|
committer | Matthew Wilcox | 2018-10-21 10:45:59 -0400 |
commit | 64d3e9a9e0cc51957d243dd2b0adc5d74ff5e128 (patch) | |
tree | 2e829cc456ea717293f388f283e2c29242cb8df7 /init | |
parent | 687149fca1f37c447e5d161e0a4a04cb2c880cb6 (diff) |
xarray: Step through an XArray
The xas_next and xas_prev functions move the xas index by one position,
and adjust the rest of the iterator state to match it. This is more
efficient than calling xas_set() as it keeps the iterator at the leaves
of the tree instead of walking the iterator from the root each time.
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions