Searched refs:item_tag_get (Results 1 – 4 of 4) sorted by relevance
/linux/tools/testing/radix-tree/ |
A D | tag_check.c | 20 assert(item_tag_get(tree, index, tag) == 0); in __simple_checks() 23 assert(item_tag_get(tree, index, tag) == 0); in __simple_checks() 25 ret = item_tag_get(tree, index, tag); in __simple_checks() 29 ret = item_tag_get(tree, index, !tag); in __simple_checks() 34 ret = item_tag_get(tree, index, tag); in __simple_checks() 67 assert(item_tag_get(&tree, 43, 0) == 0); in extend_checks() 69 assert(item_tag_get(&tree, 43, 0) == 1); in extend_checks() 71 assert(item_tag_get(&tree, 43, 0) == 1); in extend_checks() 76 assert(item_tag_get(&tree, 43, 0) != 0); in extend_checks() 79 assert(item_tag_get(&tree, 0, 0) == 1); in extend_checks() [all …]
|
A D | main.c | 134 if (item_tag_get(tree, idx[i], totag)) { in check_copied_tags() 136 end, idx[i], item_tag_get(tree, idx[i], in check_copied_tags() 138 item_tag_get(tree, idx[i], totag)); in check_copied_tags() 140 assert(!item_tag_get(tree, idx[i], totag)); in check_copied_tags() 143 if (item_tag_get(tree, idx[i], fromtag) ^ in check_copied_tags() 144 item_tag_get(tree, idx[i], totag)) { in check_copied_tags() 146 idx[i], item_tag_get(tree, idx[i], fromtag), in check_copied_tags() 147 item_tag_get(tree, idx[i], totag)); in check_copied_tags() 149 assert(!(item_tag_get(tree, idx[i], fromtag) ^ in check_copied_tags() 150 item_tag_get(tree, idx[i], totag))); in check_copied_tags()
|
A D | test.h | 46 int item_tag_get(struct radix_tree_root *root, unsigned long index, int tag);
|
A D | test.c | 23 int item_tag_get(struct radix_tree_root *root, unsigned long index, int tag) in item_tag_get() function
|
Completed in 6 milliseconds