new_node 341 crmd/membership.c xmlNode *new_node = NULL; new_node 348 crmd/membership.c new_node = create_xml_node(node_list, XML_CIB_TAG_NODE); new_node 349 crmd/membership.c crm_xml_add(new_node, XML_ATTR_ID, node->uuid); new_node 350 crmd/membership.c crm_xml_add(new_node, XML_ATTR_UNAME, node->uname); new_node 359 lib/pengine/unpack.c node_t *new_node = NULL; new_node 366 lib/pengine/unpack.c new_node = calloc(1, sizeof(node_t)); new_node 367 lib/pengine/unpack.c if (new_node == NULL) { new_node 371 lib/pengine/unpack.c new_node->weight = char2score(score); new_node 372 lib/pengine/unpack.c new_node->fixed = FALSE; new_node 373 lib/pengine/unpack.c new_node->details = calloc(1, sizeof(struct node_shared_s)); new_node 375 lib/pengine/unpack.c if (new_node->details == NULL) { new_node 376 lib/pengine/unpack.c free(new_node); new_node 381 lib/pengine/unpack.c new_node->details->id = id; new_node 382 lib/pengine/unpack.c new_node->details->uname = uname; new_node 383 lib/pengine/unpack.c new_node->details->online = FALSE; new_node 384 lib/pengine/unpack.c new_node->details->shutdown = FALSE; new_node 385 lib/pengine/unpack.c new_node->details->rsc_discovery_enabled = TRUE; new_node 386 lib/pengine/unpack.c new_node->details->running_rsc = NULL; new_node 387 lib/pengine/unpack.c new_node->details->type = node_ping; new_node 390 lib/pengine/unpack.c new_node->details->type = node_remote; new_node 394 lib/pengine/unpack.c new_node->details->type = node_member; new_node 397 lib/pengine/unpack.c new_node->details->attrs = crm_str_table_new(); new_node 399 lib/pengine/unpack.c if (is_remote_node(new_node)) { new_node 400 lib/pengine/unpack.c g_hash_table_insert(new_node->details->attrs, strdup(CRM_ATTR_KIND), new_node 403 lib/pengine/unpack.c g_hash_table_insert(new_node->details->attrs, strdup(CRM_ATTR_KIND), new_node 407 lib/pengine/unpack.c new_node->details->utilization = crm_str_table_new(); new_node 409 lib/pengine/unpack.c new_node->details->digest_cache = new_node 413 lib/pengine/unpack.c data_set->nodes = g_list_insert_sorted(data_set->nodes, new_node, sort_node_uname); new_node 414 lib/pengine/unpack.c return new_node; new_node 500 lib/pengine/unpack.c handle_startup_fencing(pe_working_set_t *data_set, node_t *new_node) new_node 502 lib/pengine/unpack.c if ((new_node->details->type == node_remote) && (new_node->details->remote_rsc == NULL)) { new_node 512 lib/pengine/unpack.c new_node->details->unclean = TRUE; new_node 516 lib/pengine/unpack.c new_node->details->unclean = FALSE; new_node 521 lib/pengine/unpack.c new_node->details->unseen = TRUE; new_node 528 lib/pengine/unpack.c node_t *new_node = NULL; new_node 536 lib/pengine/unpack.c new_node = NULL; new_node 548 lib/pengine/unpack.c new_node = pe_create_node(id, uname, type, score, data_set); new_node 550 lib/pengine/unpack.c if (new_node == NULL) { new_node 560 lib/pengine/unpack.c handle_startup_fencing(data_set, new_node); new_node 562 lib/pengine/unpack.c add_node_attrs(xml_obj, new_node, FALSE, data_set); new_node 564 lib/pengine/unpack.c new_node->details->utilization, NULL, FALSE, data_set->now); new_node 129 lib/pengine/utils.c node_t *new_node = NULL; new_node 133 lib/pengine/utils.c new_node = calloc(1, sizeof(node_t)); new_node 134 lib/pengine/utils.c CRM_ASSERT(new_node != NULL); new_node 136 lib/pengine/utils.c crm_trace("Copying %p (%s) to %p", this_node, this_node->details->uname, new_node); new_node 138 lib/pengine/utils.c new_node->rsc_discover_mode = this_node->rsc_discover_mode; new_node 139 lib/pengine/utils.c new_node->weight = this_node->weight; new_node 140 lib/pengine/utils.c new_node->fixed = this_node->fixed; new_node 141 lib/pengine/utils.c new_node->details = this_node->details; new_node 143 lib/pengine/utils.c return new_node; new_node 174 lib/pengine/utils.c node_t *new_node = node_copy(node); new_node 176 lib/pengine/utils.c new_node->weight = -INFINITY; new_node 177 lib/pengine/utils.c g_hash_table_insert(result, (gpointer) new_node->details->id, new_node); new_node 205 lib/pengine/utils.c node_t *new_node = NULL; new_node 212 lib/pengine/utils.c new_node = node_copy(this_node); new_node 214 lib/pengine/utils.c new_node->weight = 0; new_node 216 lib/pengine/utils.c if (new_node != NULL) { new_node 217 lib/pengine/utils.c result = g_list_prepend(result, new_node);