commit | 64d3e9a9e0cc51957d243dd2b0adc5d74ff5e128 | [log] [tgz] |
---|---|---|
author | Matthew Wilcox <[email protected]> | Fri Dec 01 00:06:52 2017 -0500 |
committer | Matthew Wilcox <[email protected]> | Sun Oct 21 10:45:59 2018 -0400 |
tree | 2e829cc456ea717293f388f283e2c29242cb8df7 | |
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 <[email protected]>