new_graph 560 lib/pacemaker/pcmk_graph_consumer.c unpack_synapse(crm_graph_t *new_graph, xmlNode *xml_synapse) new_graph 581 lib/pacemaker/pcmk_graph_consumer.c new_graph->num_synapses++; new_graph 600 lib/pacemaker/pcmk_graph_consumer.c new_graph->num_actions++; new_graph 663 lib/pacemaker/pcmk_graph_consumer.c crm_graph_t *new_graph = NULL; new_graph 667 lib/pacemaker/pcmk_graph_consumer.c new_graph = calloc(1, sizeof(crm_graph_t)); new_graph 668 lib/pacemaker/pcmk_graph_consumer.c if (new_graph == NULL) { new_graph 672 lib/pacemaker/pcmk_graph_consumer.c new_graph->source = strdup((reference == NULL)? "unknown" : reference); new_graph 673 lib/pacemaker/pcmk_graph_consumer.c if (new_graph->source == NULL) { new_graph 674 lib/pacemaker/pcmk_graph_consumer.c free(new_graph); new_graph 678 lib/pacemaker/pcmk_graph_consumer.c new_graph->id = -1; new_graph 679 lib/pacemaker/pcmk_graph_consumer.c new_graph->abort_priority = 0; new_graph 680 lib/pacemaker/pcmk_graph_consumer.c new_graph->network_delay = 0; new_graph 681 lib/pacemaker/pcmk_graph_consumer.c new_graph->stonith_timeout = 0; new_graph 682 lib/pacemaker/pcmk_graph_consumer.c new_graph->completion_action = tg_done; new_graph 687 lib/pacemaker/pcmk_graph_consumer.c CRM_CHECK(t_id != NULL, free(new_graph); new_graph 689 lib/pacemaker/pcmk_graph_consumer.c pcmk__scan_min_int(t_id, &(new_graph->id), -1); new_graph 692 lib/pacemaker/pcmk_graph_consumer.c CRM_CHECK(time != NULL, free(new_graph); new_graph 694 lib/pacemaker/pcmk_graph_consumer.c new_graph->network_delay = crm_parse_interval_spec(time); new_graph 698 lib/pacemaker/pcmk_graph_consumer.c new_graph->stonith_timeout = new_graph->network_delay; new_graph 700 lib/pacemaker/pcmk_graph_consumer.c new_graph->stonith_timeout = crm_parse_interval_spec(time); new_graph 706 lib/pacemaker/pcmk_graph_consumer.c || (pcmk__scan_min_int(t_id, &(new_graph->batch_limit), new_graph 708 lib/pacemaker/pcmk_graph_consumer.c new_graph->batch_limit = 0; new_graph 712 lib/pacemaker/pcmk_graph_consumer.c pcmk__scan_min_int(t_id, &(new_graph->migration_limit), -1); new_graph 719 lib/pacemaker/pcmk_graph_consumer.c synapse_t *new_synapse = unpack_synapse(new_graph, synapse_xml); new_graph 722 lib/pacemaker/pcmk_graph_consumer.c new_graph->synapses = g_list_append(new_graph->synapses, new_graph 728 lib/pacemaker/pcmk_graph_consumer.c new_graph->id, new_graph->source, new_graph->num_actions, new_graph 729 lib/pacemaker/pcmk_graph_consumer.c new_graph->num_synapses); new_graph 731 lib/pacemaker/pcmk_graph_consumer.c return new_graph;