new_graph 634 lib/pacemaker/pcmk_graph_consumer.c unpack_synapse(pcmk__graph_t *new_graph, const xmlNode *xml_synapse) new_graph 655 lib/pacemaker/pcmk_graph_consumer.c new_graph->num_synapses++; new_graph 677 lib/pacemaker/pcmk_graph_consumer.c new_graph->num_actions++; new_graph 744 lib/pacemaker/pcmk_graph_consumer.c pcmk__graph_t *new_graph = NULL; new_graph 746 lib/pacemaker/pcmk_graph_consumer.c new_graph = calloc(1, sizeof(pcmk__graph_t)); new_graph 747 lib/pacemaker/pcmk_graph_consumer.c if (new_graph == NULL) { new_graph 751 lib/pacemaker/pcmk_graph_consumer.c new_graph->source = strdup(pcmk__s(reference, "unknown")); new_graph 752 lib/pacemaker/pcmk_graph_consumer.c if (new_graph->source == NULL) { new_graph 753 lib/pacemaker/pcmk_graph_consumer.c pcmk__free_graph(new_graph); new_graph 757 lib/pacemaker/pcmk_graph_consumer.c new_graph->id = -1; new_graph 758 lib/pacemaker/pcmk_graph_consumer.c new_graph->abort_priority = 0; new_graph 759 lib/pacemaker/pcmk_graph_consumer.c new_graph->network_delay = 0; new_graph 760 lib/pacemaker/pcmk_graph_consumer.c new_graph->stonith_timeout = 0; new_graph 761 lib/pacemaker/pcmk_graph_consumer.c new_graph->completion_action = pcmk__graph_done; new_graph 768 lib/pacemaker/pcmk_graph_consumer.c pcmk__free_graph(new_graph); return NULL); new_graph 769 lib/pacemaker/pcmk_graph_consumer.c pcmk__scan_min_int(buf, &(new_graph->id), -1); new_graph 773 lib/pacemaker/pcmk_graph_consumer.c pcmk__free_graph(new_graph); return NULL); new_graph 774 lib/pacemaker/pcmk_graph_consumer.c pcmk_parse_interval_spec(buf, &(new_graph->network_delay)); new_graph 778 lib/pacemaker/pcmk_graph_consumer.c new_graph->stonith_timeout = new_graph->network_delay; new_graph 780 lib/pacemaker/pcmk_graph_consumer.c pcmk_parse_interval_spec(buf, &(new_graph->stonith_timeout)); new_graph 786 lib/pacemaker/pcmk_graph_consumer.c || (pcmk__scan_min_int(buf, &(new_graph->batch_limit), new_graph 788 lib/pacemaker/pcmk_graph_consumer.c new_graph->batch_limit = 0; new_graph 792 lib/pacemaker/pcmk_graph_consumer.c pcmk__scan_min_int(buf, &(new_graph->migration_limit), -1); new_graph 794 lib/pacemaker/pcmk_graph_consumer.c new_graph->failed_stop_offset = new_graph 796 lib/pacemaker/pcmk_graph_consumer.c new_graph->failed_start_offset = new_graph 800 lib/pacemaker/pcmk_graph_consumer.c &(new_graph->recheck_by)) != pcmk_ok) { new_graph 801 lib/pacemaker/pcmk_graph_consumer.c new_graph->recheck_by = 0; new_graph 811 lib/pacemaker/pcmk_graph_consumer.c pcmk__graph_synapse_t *new_synapse = unpack_synapse(new_graph, new_graph 815 lib/pacemaker/pcmk_graph_consumer.c new_graph->synapses = g_list_append(new_graph->synapses, new_graph 821 lib/pacemaker/pcmk_graph_consumer.c new_graph->id, new_graph->source, new_graph->num_actions, new_graph 822 lib/pacemaker/pcmk_graph_consumer.c new_graph->num_synapses); new_graph 824 lib/pacemaker/pcmk_graph_consumer.c return new_graph;