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 399 lib/pengine/unpack.c pe_node_t *new_node = NULL; new_node 405 lib/pengine/unpack.c new_node = calloc(1, sizeof(pe_node_t)); new_node 406 lib/pengine/unpack.c if (new_node == NULL) { new_node 410 lib/pengine/unpack.c new_node->weight = char2score(score); new_node 411 lib/pengine/unpack.c new_node->fixed = FALSE; new_node 412 lib/pengine/unpack.c new_node->details = calloc(1, sizeof(struct pe_node_shared_s)); new_node 414 lib/pengine/unpack.c if (new_node->details == NULL) { new_node 415 lib/pengine/unpack.c free(new_node); new_node 420 lib/pengine/unpack.c new_node->details->id = id; new_node 421 lib/pengine/unpack.c new_node->details->uname = uname; new_node 422 lib/pengine/unpack.c new_node->details->online = FALSE; new_node 423 lib/pengine/unpack.c new_node->details->shutdown = FALSE; new_node 424 lib/pengine/unpack.c new_node->details->rsc_discovery_enabled = TRUE; new_node 425 lib/pengine/unpack.c new_node->details->running_rsc = NULL; new_node 426 lib/pengine/unpack.c new_node->details->type = node_ping; new_node 429 lib/pengine/unpack.c new_node->details->type = node_remote; new_node 432 lib/pengine/unpack.c new_node->details->type = node_member; new_node 435 lib/pengine/unpack.c new_node->details->attrs = crm_str_table_new(); new_node 437 lib/pengine/unpack.c if (pe__is_guest_or_remote_node(new_node)) { new_node 438 lib/pengine/unpack.c g_hash_table_insert(new_node->details->attrs, strdup(CRM_ATTR_KIND), new_node 441 lib/pengine/unpack.c g_hash_table_insert(new_node->details->attrs, strdup(CRM_ATTR_KIND), new_node 445 lib/pengine/unpack.c new_node->details->utilization = crm_str_table_new(); new_node 447 lib/pengine/unpack.c new_node->details->digest_cache = g_hash_table_new_full(crm_str_hash, new_node 451 lib/pengine/unpack.c data_set->nodes = g_list_insert_sorted(data_set->nodes, new_node, sort_node_uname); new_node 452 lib/pengine/unpack.c return new_node; new_node 513 lib/pengine/unpack.c handle_startup_fencing(pe_working_set_t *data_set, pe_node_t *new_node) new_node 515 lib/pengine/unpack.c if ((new_node->details->type == node_remote) && (new_node->details->remote_rsc == NULL)) { new_node 525 lib/pengine/unpack.c new_node->details->unclean = TRUE; new_node 529 lib/pengine/unpack.c new_node->details->unclean = FALSE; new_node 534 lib/pengine/unpack.c new_node->details->unseen = TRUE; new_node 541 lib/pengine/unpack.c pe_node_t *new_node = NULL; new_node 560 lib/pengine/unpack.c new_node = NULL; new_node 573 lib/pengine/unpack.c new_node = pe_create_node(id, uname, type, score, data_set); new_node 575 lib/pengine/unpack.c if (new_node == NULL) { new_node 585 lib/pengine/unpack.c handle_startup_fencing(data_set, new_node); new_node 587 lib/pengine/unpack.c add_node_attrs(xml_obj, new_node, FALSE, data_set); new_node 589 lib/pengine/unpack.c new_node->details->utilization, NULL, new_node 141 lib/pengine/utils.c pe_node_t *new_node = NULL; new_node 145 lib/pengine/utils.c new_node = calloc(1, sizeof(pe_node_t)); new_node 146 lib/pengine/utils.c CRM_ASSERT(new_node != NULL); new_node 148 lib/pengine/utils.c new_node->rsc_discover_mode = this_node->rsc_discover_mode; new_node 149 lib/pengine/utils.c new_node->weight = this_node->weight; new_node 150 lib/pengine/utils.c new_node->fixed = this_node->fixed; new_node 151 lib/pengine/utils.c new_node->details = this_node->details; new_node 153 lib/pengine/utils.c return new_node; new_node 184 lib/pengine/utils.c pe_node_t *new_node = pe__copy_node(node); new_node 186 lib/pengine/utils.c new_node->weight = -INFINITY; new_node 187 lib/pengine/utils.c g_hash_table_insert(result, (gpointer) new_node->details->id, new_node); new_node 207 lib/pengine/utils.c pe_node_t *new_node = pe__copy_node((pe_node_t *) gIter->data); new_node 209 lib/pengine/utils.c g_hash_table_insert(result, (gpointer) new_node->details->id, new_node);