new_graph 564 lib/pacemaker/pcmk_graph_consumer.c unpack_synapse(pcmk__graph_t *new_graph, xmlNode *xml_synapse) new_graph 585 lib/pacemaker/pcmk_graph_consumer.c new_graph->num_synapses++; new_graph 605 lib/pacemaker/pcmk_graph_consumer.c new_graph->num_actions++; new_graph 669 lib/pacemaker/pcmk_graph_consumer.c pcmk__graph_t *new_graph = NULL; new_graph 673 lib/pacemaker/pcmk_graph_consumer.c new_graph = calloc(1, sizeof(pcmk__graph_t)); new_graph 674 lib/pacemaker/pcmk_graph_consumer.c if (new_graph == NULL) { new_graph 678 lib/pacemaker/pcmk_graph_consumer.c new_graph->source = strdup((reference == NULL)? "unknown" : reference); new_graph 679 lib/pacemaker/pcmk_graph_consumer.c if (new_graph->source == NULL) { new_graph 680 lib/pacemaker/pcmk_graph_consumer.c free(new_graph); new_graph 684 lib/pacemaker/pcmk_graph_consumer.c new_graph->id = -1; new_graph 685 lib/pacemaker/pcmk_graph_consumer.c new_graph->abort_priority = 0; new_graph 686 lib/pacemaker/pcmk_graph_consumer.c new_graph->network_delay = 0; new_graph 687 lib/pacemaker/pcmk_graph_consumer.c new_graph->stonith_timeout = 0; new_graph 688 lib/pacemaker/pcmk_graph_consumer.c new_graph->completion_action = pcmk__graph_done; new_graph 693 lib/pacemaker/pcmk_graph_consumer.c CRM_CHECK(t_id != NULL, free(new_graph); new_graph 695 lib/pacemaker/pcmk_graph_consumer.c pcmk__scan_min_int(t_id, &(new_graph->id), -1); new_graph 698 lib/pacemaker/pcmk_graph_consumer.c CRM_CHECK(time != NULL, free(new_graph); new_graph 700 lib/pacemaker/pcmk_graph_consumer.c new_graph->network_delay = crm_parse_interval_spec(time); new_graph 704 lib/pacemaker/pcmk_graph_consumer.c new_graph->stonith_timeout = new_graph->network_delay; new_graph 706 lib/pacemaker/pcmk_graph_consumer.c new_graph->stonith_timeout = crm_parse_interval_spec(time); new_graph 712 lib/pacemaker/pcmk_graph_consumer.c || (pcmk__scan_min_int(t_id, &(new_graph->batch_limit), new_graph 714 lib/pacemaker/pcmk_graph_consumer.c new_graph->batch_limit = 0; new_graph 718 lib/pacemaker/pcmk_graph_consumer.c pcmk__scan_min_int(t_id, &(new_graph->migration_limit), -1); new_graph 725 lib/pacemaker/pcmk_graph_consumer.c pcmk__graph_synapse_t *new_synapse = unpack_synapse(new_graph, new_graph 729 lib/pacemaker/pcmk_graph_consumer.c new_graph->synapses = g_list_append(new_graph->synapses, new_graph 735 lib/pacemaker/pcmk_graph_consumer.c new_graph->id, new_graph->source, new_graph->num_actions, new_graph 736 lib/pacemaker/pcmk_graph_consumer.c new_graph->num_synapses); new_graph 738 lib/pacemaker/pcmk_graph_consumer.c return new_graph;