Lines Matching refs:nodes
28 static struct test_node *nodes = NULL; variable
153 nodes[i].key = prandom_u32_state(&rnd); in init()
154 nodes[i].val = prandom_u32_state(&rnd); in init()
248 nodes = kmalloc_array(nnodes, sizeof(*nodes), GFP_KERNEL); in rbtree_test_init()
249 if (!nodes) in rbtree_test_init()
261 insert(nodes + j, &root); in rbtree_test_init()
263 erase(nodes + j, &root); in rbtree_test_init()
277 insert_cached(nodes + j, &root); in rbtree_test_init()
279 erase_cached(nodes + j, &root); in rbtree_test_init()
290 insert(nodes + i, &root); in rbtree_test_init()
330 erase(nodes + i, &root); in rbtree_test_init()
337 insert(nodes + j, &root); in rbtree_test_init()
341 erase(nodes + j, &root); in rbtree_test_init()
354 insert_augmented(nodes + j, &root); in rbtree_test_init()
356 erase_augmented(nodes + j, &root); in rbtree_test_init()
369 insert_augmented_cached(nodes + j, &root); in rbtree_test_init()
371 erase_augmented_cached(nodes + j, &root); in rbtree_test_init()
384 insert_augmented(nodes + j, &root); in rbtree_test_init()
388 erase_augmented(nodes + j, &root); in rbtree_test_init()
393 kfree(nodes); in rbtree_test_init()