Skip to content
Snippets Groups Projects
Commit 64d3e9a9 authored by Matthew Wilcox's avatar Matthew Wilcox
Browse files

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: default avatarMatthew Wilcox <willy@infradead.org>
parent 687149fc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment