new_graph 566 lib/pacemaker/pcmk_graph_consumer.c unpack_synapse(pcmk__graph_t *new_graph, const xmlNode *xml_synapse) new_graph 587 lib/pacemaker/pcmk_graph_consumer.c new_graph->num_synapses++; new_graph 607 lib/pacemaker/pcmk_graph_consumer.c new_graph->num_actions++; new_graph 671 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 694 lib/pacemaker/pcmk_graph_consumer.c CRM_CHECK(buf != NULL, free(new_graph); new_graph 696 lib/pacemaker/pcmk_graph_consumer.c pcmk__scan_min_int(buf, &(new_graph->id), -1); new_graph 699 lib/pacemaker/pcmk_graph_consumer.c CRM_CHECK(buf != NULL, free(new_graph); new_graph 701 lib/pacemaker/pcmk_graph_consumer.c new_graph->network_delay = crm_parse_interval_spec(buf); new_graph 705 lib/pacemaker/pcmk_graph_consumer.c new_graph->stonith_timeout = new_graph->network_delay; new_graph 707 lib/pacemaker/pcmk_graph_consumer.c new_graph->stonith_timeout = crm_parse_interval_spec(buf); new_graph 713 lib/pacemaker/pcmk_graph_consumer.c || (pcmk__scan_min_int(buf, &(new_graph->batch_limit), new_graph 715 lib/pacemaker/pcmk_graph_consumer.c new_graph->batch_limit = 0; new_graph 719 lib/pacemaker/pcmk_graph_consumer.c pcmk__scan_min_int(buf, &(new_graph->migration_limit), -1); new_graph 721 lib/pacemaker/pcmk_graph_consumer.c pcmk__str_update(&(new_graph->failed_stop_offset), new_graph 723 lib/pacemaker/pcmk_graph_consumer.c pcmk__str_update(&(new_graph->failed_start_offset), new_graph 727 lib/pacemaker/pcmk_graph_consumer.c &(new_graph->recheck_by)) != pcmk_ok) { new_graph 728 lib/pacemaker/pcmk_graph_consumer.c new_graph->recheck_by = 0; new_graph 736 lib/pacemaker/pcmk_graph_consumer.c pcmk__graph_synapse_t *new_synapse = unpack_synapse(new_graph, new_graph 740 lib/pacemaker/pcmk_graph_consumer.c new_graph->synapses = g_list_append(new_graph->synapses, new_graph 746 lib/pacemaker/pcmk_graph_consumer.c new_graph->id, new_graph->source, new_graph->num_actions, new_graph 747 lib/pacemaker/pcmk_graph_consumer.c new_graph->num_synapses); new_graph 749 lib/pacemaker/pcmk_graph_consumer.c return new_graph;