• Matthew Wilcox's avatar
    xarray: Step through an XArray · 64d3e9a9
    Matthew Wilcox authored
    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>
    64d3e9a9
xarray.c 43.3 KB