summaryrefslogtreecommitdiffstats
path: root/include/linux/radix-tree.h
diff options
context:
space:
mode:
authorMatthew Wilcox <mawilcox@microsoft.com>2017-01-28 09:55:20 -0500
committerMatthew Wilcox <mawilcox@microsoft.com>2017-02-13 16:09:44 -0500
commit30b888ba950d9f77326b50a4aa2d7d99557d5718 (patch)
tree18ca4db821dc2da1ccb2c851ca5a7347a49da1f4 /include/linux/radix-tree.h
parentbfa11193c46d5ea8ef4d9a4f1c10221cdd985ab1 (diff)
downloadlinux-30b888ba950d9f77326b50a4aa2d7d99557d5718.tar.gz
linux-30b888ba950d9f77326b50a4aa2d7d99557d5718.tar.bz2
linux-30b888ba950d9f77326b50a4aa2d7d99557d5718.zip
radix-tree: Add radix_tree_iter_tag_clear()
The counterpart to radix_tree_iter_tag_set(), used by the IDR code Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com> Reviewed-by: Rehas Sachdeva <aquannie@gmail.com>
Diffstat (limited to 'include/linux/radix-tree.h')
-rw-r--r--include/linux/radix-tree.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/radix-tree.h b/include/linux/radix-tree.h
index 32683c7c2e0d..8bf4ef448ce1 100644
--- a/include/linux/radix-tree.h
+++ b/include/linux/radix-tree.h
@@ -332,7 +332,9 @@ void *radix_tree_tag_clear(struct radix_tree_root *root,
unsigned long index, unsigned int tag);
int radix_tree_tag_get(const struct radix_tree_root *,
unsigned long index, unsigned int tag);
-void radix_tree_iter_tag_set(struct radix_tree_root *root,
+void radix_tree_iter_tag_set(struct radix_tree_root *,
+ const struct radix_tree_iter *iter, unsigned int tag);
+void radix_tree_iter_tag_clear(struct radix_tree_root *,
const struct radix_tree_iter *iter, unsigned int tag);
unsigned int
radix_tree_gang_lookup_tag(const struct radix_tree_root *, void **results,