thrash_state 132 tools/testing/radix-tree/tag_check.c char *thrash_state, int tag) thrash_state 147 tools/testing/radix-tree/tag_check.c assert(thrash_state[last_index] != NODE_TAGGED); thrash_state 150 tools/testing/radix-tree/tag_check.c assert(thrash_state[last_index] == NODE_TAGGED); thrash_state 157 tools/testing/radix-tree/tag_check.c static void do_thrash(struct radix_tree_root *tree, char *thrash_state, int tag) thrash_state 181 tools/testing/radix-tree/tag_check.c if (thrash_state[index] != NODE_ABSENT) thrash_state 185 tools/testing/radix-tree/tag_check.c assert(thrash_state[index] != NODE_PRESENT); thrash_state 186 tools/testing/radix-tree/tag_check.c thrash_state[index] = NODE_PRESENT; thrash_state 193 tools/testing/radix-tree/tag_check.c if (thrash_state[index] == NODE_ABSENT) thrash_state 197 tools/testing/radix-tree/tag_check.c assert(thrash_state[index] == NODE_TAGGED); thrash_state 200 tools/testing/radix-tree/tag_check.c assert(thrash_state[index] == NODE_PRESENT); thrash_state 203 tools/testing/radix-tree/tag_check.c assert(thrash_state[index] != NODE_ABSENT); thrash_state 204 tools/testing/radix-tree/tag_check.c thrash_state[index] = NODE_ABSENT; thrash_state 211 tools/testing/radix-tree/tag_check.c if (thrash_state[index] != NODE_PRESENT) { thrash_state 218 tools/testing/radix-tree/tag_check.c assert(thrash_state[index] != NODE_TAGGED); thrash_state 219 tools/testing/radix-tree/tag_check.c thrash_state[index] = NODE_TAGGED; thrash_state 226 tools/testing/radix-tree/tag_check.c if (thrash_state[index] != NODE_TAGGED) thrash_state 232 tools/testing/radix-tree/tag_check.c assert(thrash_state[index] != NODE_PRESENT); thrash_state 233 tools/testing/radix-tree/tag_check.c thrash_state[index] = NODE_PRESENT; thrash_state 241 tools/testing/radix-tree/tag_check.c switch (thrash_state[index]) { thrash_state 259 tools/testing/radix-tree/tag_check.c gang_check(tree, thrash_state, tag); thrash_state 275 tools/testing/radix-tree/tag_check.c char *thrash_state; thrash_state 277 tools/testing/radix-tree/tag_check.c thrash_state = malloc(THRASH_SIZE); thrash_state 278 tools/testing/radix-tree/tag_check.c memset(thrash_state, 0, THRASH_SIZE); thrash_state 280 tools/testing/radix-tree/tag_check.c do_thrash(&tree, thrash_state, 0); thrash_state 284 tools/testing/radix-tree/tag_check.c free(thrash_state);