]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
lib/generic-radix-tree.c: Add peek_prev()
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 12 Sep 2023 05:17:22 +0000 (01:17 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 19 Oct 2023 18:47:33 +0000 (14:47 -0400)
commit73badee4280ce30a927b82eedc919fb23ee549ae
treefe1cb9a268aa583b8be1a6e235c215e36ccb6e6d
parent9492261ff2460252cf2d8de89cdf854c7e2b28a0
lib/generic-radix-tree.c: Add peek_prev()

This patch adds genradix_peek_prev(), genradix_iter_rewind(), and
genradix_for_each_reverse(), for iterating backwards over a generic
radix tree.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
include/linux/generic-radix-tree.h
lib/generic-radix-tree.c