Lines Matching defs:new_current
1141 dns_rbtnode_t **root, *parent, *child, *current, *new_current;
1196 result = create_node(rbt->mctx, add_name, &new_current);
1199 new_current->is_root = 1;
1201 UPPERNODE(new_current) = NULL;
1203 rbt->root = new_current;
1204 *nodep = new_current;
1205 hash_node(rbt, new_current, name);
1325 &new_current);
1334 new_current->is_root = current->is_root;
1336 new_current->nsec = DNS_RBT_NSEC_NORMAL;
1338 new_current->nsec = current->nsec;
1339 PARENT(new_current) = PARENT(current);
1340 LEFT(new_current) = LEFT(current);
1341 RIGHT(new_current) = RIGHT(current);
1342 COLOR(new_current) = COLOR(current);
1349 LEFT(parent) = new_current;
1351 RIGHT(parent) = new_current;
1353 if (LEFT(new_current) != NULL)
1354 PARENT(LEFT(new_current)) =
1355 new_current;
1356 if (RIGHT(new_current) != NULL)
1357 PARENT(RIGHT(new_current)) =
1358 new_current;
1360 *root = new_current;
1371 PARENT(current) = new_current;
1372 DOWN(new_current) = current;
1373 root = &DOWN(new_current);
1375 UPPERNODE(new_current) = UPPERNODE(current);
1376 UPPERNODE(current) = new_current;
1392 hash_node(rbt, new_current, new_name);
1401 *nodep = new_current;
1433 result = create_node(rbt->mctx, add_name, &new_current);
1438 UPPERNODE(new_current) = current;
1440 UPPERNODE(new_current) = PARENT(*root);
1442 addonlevel(new_current, current, order, root);
1444 *nodep = new_current;
1445 hash_node(rbt, new_current, name);