Lines Matching defs:tag
14 __simple_checks(struct radix_tree_root *tree, unsigned long index, int tag)
20 assert(item_tag_get(tree, index, tag) == 0);
23 assert(item_tag_get(tree, index, tag) == 0);
24 item_tag_set(tree, index, tag);
25 ret = item_tag_get(tree, index, tag);
27 ret = tag_tagged_items(tree, first, ~0UL, 10, tag, !tag);
29 ret = item_tag_get(tree, index, !tag);
34 ret = item_tag_get(tree, index, tag);
115 * Stupid tag thrasher
132 char *thrash_state, int tag)
140 index, BATCH, tag))) {
157 static void do_thrash(struct radix_tree_root *tree, char *thrash_state, int tag)
196 if (item_tag_get(tree, index, tag)) {
213 assert(item_tag_get(tree, index, tag));
216 item_tag_set(tree, index, tag);
217 item_tag_set(tree, index, tag);
229 assert(item_tag_get(tree, index, tag));
230 item_tag_clear(tree, index, tag);
231 item_tag_clear(tree, index, tag);
247 assert(!item_tag_get(tree, index, tag));
252 assert(item_tag_get(tree, index, tag));
259 gang_check(tree, thrash_state, tag);