Lines Matching refs:nodes
27 static struct test_node *nodes = NULL; variable
106 nodes[i].key = prandom_u32_state(&rnd); in init()
107 nodes[i].val = prandom_u32_state(&rnd); in init()
187 nodes = kmalloc(nnodes * sizeof(*nodes), GFP_KERNEL); in rbtree_test_init()
188 if (!nodes) in rbtree_test_init()
200 insert(nodes + j, &root); in rbtree_test_init()
202 erase(nodes + j, &root); in rbtree_test_init()
215 insert(nodes + j, &root); in rbtree_test_init()
219 erase(nodes + j, &root); in rbtree_test_init()
232 insert_augmented(nodes + j, &root); in rbtree_test_init()
234 erase_augmented(nodes + j, &root); in rbtree_test_init()
247 insert_augmented(nodes + j, &root); in rbtree_test_init()
251 erase_augmented(nodes + j, &root); in rbtree_test_init()
256 kfree(nodes); in rbtree_test_init()