diff options
Diffstat (limited to 'include/linux/radix-tree.h')
-rw-r--r-- | include/linux/radix-tree.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/radix-tree.h b/include/linux/radix-tree.h index 55ca73cf25e5..634b8e674ac5 100644 --- a/include/linux/radix-tree.h +++ b/include/linux/radix-tree.h | |||
@@ -55,7 +55,7 @@ static inline int radix_tree_is_indirect_ptr(void *ptr) | |||
55 | 55 | ||
56 | /*** radix-tree API starts here ***/ | 56 | /*** radix-tree API starts here ***/ |
57 | 57 | ||
58 | #define RADIX_TREE_MAX_TAGS 2 | 58 | #define RADIX_TREE_MAX_TAGS 3 |
59 | 59 | ||
60 | /* root tags are stored in gfp_mask, shifted by __GFP_BITS_SHIFT */ | 60 | /* root tags are stored in gfp_mask, shifted by __GFP_BITS_SHIFT */ |
61 | struct radix_tree_root { | 61 | struct radix_tree_root { |
@@ -192,6 +192,10 @@ unsigned int | |||
192 | radix_tree_gang_lookup_tag_slot(struct radix_tree_root *root, void ***results, | 192 | radix_tree_gang_lookup_tag_slot(struct radix_tree_root *root, void ***results, |
193 | unsigned long first_index, unsigned int max_items, | 193 | unsigned long first_index, unsigned int max_items, |
194 | unsigned int tag); | 194 | unsigned int tag); |
195 | unsigned long radix_tree_range_tag_if_tagged(struct radix_tree_root *root, | ||
196 | unsigned long *first_indexp, unsigned long last_index, | ||
197 | unsigned long nr_to_tag, | ||
198 | unsigned int fromtag, unsigned int totag); | ||
195 | int radix_tree_tagged(struct radix_tree_root *root, unsigned int tag); | 199 | int radix_tree_tagged(struct radix_tree_root *root, unsigned int tag); |
196 | 200 | ||
197 | static inline void radix_tree_preload_end(void) | 201 | static inline void radix_tree_preload_end(void) |