Home
last modified time | relevance | path

Searched refs:item_tag_get (Results 1 – 4 of 4) sorted by relevance

/linux/tools/testing/radix-tree/
A Dtag_check.c20 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 Dmain.c134 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 Dtest.h46 int item_tag_get(struct radix_tree_root *root, unsigned long index, int tag);
A Dtest.c23 int item_tag_get(struct radix_tree_root *root, unsigned long index, int tag) in item_tag_get() function

Completed in 6 milliseconds