new_node 317 daemons/controld/controld_membership.c xmlNode *new_node = NULL; new_node 324 daemons/controld/controld_membership.c new_node = create_xml_node(node_list, XML_CIB_TAG_NODE); new_node 325 daemons/controld/controld_membership.c crm_xml_add(new_node, XML_ATTR_ID, node->uuid); new_node 326 daemons/controld/controld_membership.c crm_xml_add(new_node, XML_ATTR_UNAME, node->uname); new_node 108 lib/pacemaker/pcmk_sched_utils.c pe_node_t *new_node = pe__copy_node(node); new_node 110 lib/pacemaker/pcmk_sched_utils.c g_hash_table_insert(new_table, (gpointer) new_node->details->id, new_node 111 lib/pacemaker/pcmk_sched_utils.c new_node); new_node 131 lib/pacemaker/pcmk_sched_utils.c pe_node_t *new_node = NULL; new_node 134 lib/pacemaker/pcmk_sched_utils.c new_node = pe__copy_node(this_node); new_node 136 lib/pacemaker/pcmk_sched_utils.c new_node->weight = 0; new_node 138 lib/pacemaker/pcmk_sched_utils.c result = g_list_prepend(result, new_node); new_node 393 lib/pengine/unpack.c pe_node_t *new_node = NULL; new_node 399 lib/pengine/unpack.c new_node = calloc(1, sizeof(pe_node_t)); new_node 400 lib/pengine/unpack.c if (new_node == NULL) { new_node 404 lib/pengine/unpack.c new_node->weight = char2score(score); new_node 405 lib/pengine/unpack.c new_node->fixed = FALSE; new_node 406 lib/pengine/unpack.c new_node->details = calloc(1, sizeof(struct pe_node_shared_s)); new_node 408 lib/pengine/unpack.c if (new_node->details == NULL) { new_node 409 lib/pengine/unpack.c free(new_node); new_node 414 lib/pengine/unpack.c new_node->details->id = id; new_node 415 lib/pengine/unpack.c new_node->details->uname = uname; new_node 416 lib/pengine/unpack.c new_node->details->online = FALSE; new_node 417 lib/pengine/unpack.c new_node->details->shutdown = FALSE; new_node 418 lib/pengine/unpack.c new_node->details->rsc_discovery_enabled = TRUE; new_node 419 lib/pengine/unpack.c new_node->details->running_rsc = NULL; new_node 420 lib/pengine/unpack.c new_node->details->type = node_ping; new_node 423 lib/pengine/unpack.c new_node->details->type = node_remote; new_node 426 lib/pengine/unpack.c new_node->details->type = node_member; new_node 429 lib/pengine/unpack.c new_node->details->attrs = pcmk__strkey_table(free, free); new_node 431 lib/pengine/unpack.c if (pe__is_guest_or_remote_node(new_node)) { new_node 432 lib/pengine/unpack.c g_hash_table_insert(new_node->details->attrs, strdup(CRM_ATTR_KIND), new_node 435 lib/pengine/unpack.c g_hash_table_insert(new_node->details->attrs, strdup(CRM_ATTR_KIND), new_node 439 lib/pengine/unpack.c new_node->details->utilization = pcmk__strkey_table(free, free); new_node 440 lib/pengine/unpack.c new_node->details->digest_cache = pcmk__strkey_table(free, new_node 443 lib/pengine/unpack.c data_set->nodes = g_list_insert_sorted(data_set->nodes, new_node, sort_node_uname); new_node 444 lib/pengine/unpack.c return new_node; new_node 505 lib/pengine/unpack.c handle_startup_fencing(pe_working_set_t *data_set, pe_node_t *new_node) new_node 507 lib/pengine/unpack.c if ((new_node->details->type == node_remote) && (new_node->details->remote_rsc == NULL)) { new_node 517 lib/pengine/unpack.c new_node->details->unclean = TRUE; new_node 521 lib/pengine/unpack.c new_node->details->unclean = FALSE; new_node 526 lib/pengine/unpack.c new_node->details->unseen = TRUE; new_node 533 lib/pengine/unpack.c pe_node_t *new_node = NULL; new_node 552 lib/pengine/unpack.c new_node = NULL; new_node 565 lib/pengine/unpack.c new_node = pe_create_node(id, uname, type, score, data_set); new_node 567 lib/pengine/unpack.c if (new_node == NULL) { new_node 577 lib/pengine/unpack.c handle_startup_fencing(data_set, new_node); new_node 579 lib/pengine/unpack.c add_node_attrs(xml_obj, new_node, FALSE, data_set); new_node 581 lib/pengine/unpack.c new_node->details->utilization, NULL, new_node 144 lib/pengine/utils.c pe_node_t *new_node = NULL; new_node 148 lib/pengine/utils.c new_node = calloc(1, sizeof(pe_node_t)); new_node 149 lib/pengine/utils.c CRM_ASSERT(new_node != NULL); new_node 151 lib/pengine/utils.c new_node->rsc_discover_mode = this_node->rsc_discover_mode; new_node 152 lib/pengine/utils.c new_node->weight = this_node->weight; new_node 153 lib/pengine/utils.c new_node->fixed = this_node->fixed; new_node 154 lib/pengine/utils.c new_node->details = this_node->details; new_node 156 lib/pengine/utils.c return new_node; new_node 187 lib/pengine/utils.c pe_node_t *new_node = pe__copy_node(node); new_node 189 lib/pengine/utils.c new_node->weight = -INFINITY; new_node 190 lib/pengine/utils.c g_hash_table_insert(result, (gpointer) new_node->details->id, new_node); new_node 210 lib/pengine/utils.c pe_node_t *new_node = pe__copy_node((pe_node_t *) gIter->data); new_node 212 lib/pengine/utils.c g_hash_table_insert(result, (gpointer) new_node->details->id, new_node);