summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@infradead.org>2017-12-01 06:06:52 +0100
committerMatthew Wilcox <willy@infradead.org>2018-10-21 16:45:59 +0200
commit64d3e9a9e0cc51957d243dd2b0adc5d74ff5e128 (patch)
tree2e829cc456ea717293f388f283e2c29242cb8df7 /scripts
parentxarray: Destroy an XArray (diff)
downloadlinux-64d3e9a9e0cc51957d243dd2b0adc5d74ff5e128.tar.xz
linux-64d3e9a9e0cc51957d243dd2b0adc5d74ff5e128.zip
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 'scripts')
0 files changed, 0 insertions, 0 deletions