Lines Matching refs:nodes
86 /* Red nodes must be interleaved with black nodes. */
224 assert_u_gt(*nnodes, 0, "Destruction removed too many nodes");
236 node_t nodes[NNODES];
258 /* Initialize tree and nodes. */
261 nodes[k].magic = NODE_MAGIC;
262 nodes[k].key = bag[k];
265 /* Insert nodes. */
267 tree_insert(&tree, &nodes[k]);
288 tree_next(&tree, &nodes[k]);
289 tree_prev(&tree, &nodes[k]);
292 /* Remove nodes. */
296 node_remove(&tree, &nodes[k], j - k);
300 node_remove(&tree, &nodes[k-1], k);