Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/radix-tree/
Dtag_check.c132 char *thrash_state, int tag) in gang_check() argument
147 assert(thrash_state[last_index] != NODE_TAGGED); in gang_check()
150 assert(thrash_state[last_index] == NODE_TAGGED); in gang_check()
157 static void do_thrash(struct radix_tree_root *tree, char *thrash_state, int tag) in do_thrash() argument
181 if (thrash_state[index] != NODE_ABSENT) in do_thrash()
185 assert(thrash_state[index] != NODE_PRESENT); in do_thrash()
186 thrash_state[index] = NODE_PRESENT; in do_thrash()
193 if (thrash_state[index] == NODE_ABSENT) in do_thrash()
197 assert(thrash_state[index] == NODE_TAGGED); in do_thrash()
200 assert(thrash_state[index] == NODE_PRESENT); in do_thrash()
[all …]