Lines Matching refs:new_node
305 isc_radix_node_t *node, *new_node, *parent, *glue = NULL;
497 new_node = isc_mem_get(radix->mctx, sizeof(isc_radix_node_t));
498 if (new_node == NULL)
503 isc_mem_put(radix->mctx, new_node,
508 new_node->bit = bitlen;
509 new_node->prefix = NULL;
510 result = _ref_prefix(radix->mctx, &new_node->prefix, prefix);
512 isc_mem_put(radix->mctx, new_node, sizeof(isc_radix_node_t));
518 new_node->parent = NULL;
519 new_node->l = new_node->r = NULL;
520 new_node->node_num[0] = new_node->node_num[1] = -1;
526 new_node->node_num[0] = radix->num_added_node +
529 new_node->node_num[1] = radix->num_added_node +
531 new_node->data[0] = source->data[0];
532 new_node->data[1] = source->data[1];
536 new_node->node_num[0] = new_node->node_num[1] =
539 new_node->node_num[ISC_IS6(fam)] =
542 new_node->data[0] = NULL;
543 new_node->data[1] = NULL;
548 new_node->parent = node;
553 node->r = new_node;
556 node->l = new_node;
558 *target = new_node;
566 new_node->r = node;
568 new_node->l = node;
570 new_node->parent = node->parent;
573 radix->head = new_node;
575 node->parent->r = new_node;
577 node->parent->l = new_node;
579 node->parent = new_node;
590 glue->r = new_node;
594 glue->l = new_node;
596 new_node->parent = glue;
609 *target = new_node;