graph 398 daemons/controld/controld_fencing.c fail_incompletable_stonith(pcmk__graph_t *graph) graph 404 daemons/controld/controld_fencing.c if (graph == NULL) { graph 408 daemons/controld/controld_fencing.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { graph 428 daemons/controld/controld_fencing.c pcmk__update_graph(graph, action); graph 950 daemons/controld/controld_fencing.c controld_execute_fence_action(pcmk__graph_t *graph, graph 24 daemons/controld/controld_fencing.h int controld_execute_fence_action(pcmk__graph_t *graph, graph 129 daemons/controld/controld_schedulerd.c msg_ref = reply->data.graph.reference; graph 151 daemons/controld/controld_schedulerd.c crm_xml_add(fsa_input.msg, F_CRM_TGRAPH_INPUT, reply->data.graph.input); graph 154 daemons/controld/controld_schedulerd.c add_node_copy(crm_data_node, reply->data.graph.tgraph); graph 28 daemons/controld/controld_te_actions.c te_start_action_timer(const pcmk__graph_t *graph, pcmk__graph_action_t *action) graph 30 daemons/controld/controld_te_actions.c action->timer = g_timeout_add(action->timeout + graph->network_delay, graph 45 daemons/controld/controld_te_actions.c execute_pseudo_action(pcmk__graph_t *graph, pcmk__graph_action_t *pseudo) graph 77 daemons/controld/controld_te_actions.c te_action_confirmed(pseudo, graph); graph 101 daemons/controld/controld_te_actions.c execute_cluster_action(pcmk__graph_t *graph, pcmk__graph_action_t *action) graph 154 daemons/controld/controld_te_actions.c graph->completion_action = pcmk__graph_shutdown; graph 155 daemons/controld/controld_te_actions.c graph->abort_reason = "local shutdown"; graph 156 daemons/controld/controld_te_actions.c te_action_confirmed(action, graph); graph 181 daemons/controld/controld_te_actions.c te_action_confirmed(action, graph); graph 186 daemons/controld/controld_te_actions.c action->id, task, on_node, action->timeout, graph->network_delay); graph 187 daemons/controld/controld_te_actions.c action->timeout = (int) graph->network_delay; graph 189 daemons/controld/controld_te_actions.c te_start_action_timer(graph, action); graph 338 daemons/controld/controld_te_actions.c execute_rsc_action(pcmk__graph_t *graph, pcmk__graph_action_t *action) graph 450 daemons/controld/controld_te_actions.c action->id, task, task_uuid, on_node, action->timeout, graph->network_delay); graph 451 daemons/controld/controld_te_actions.c action->timeout = (int) graph->network_delay; graph 454 daemons/controld/controld_te_actions.c te_start_action_timer(graph, action); graph 558 daemons/controld/controld_te_actions.c allowed_on_node(const pcmk__graph_t *graph, const pcmk__graph_action_t *action, graph 588 daemons/controld/controld_te_actions.c } else if(graph->migration_limit > 0 && r->migrate_jobs >= graph->migration_limit) { graph 591 daemons/controld/controld_te_actions.c target, graph->migration_limit, r->migrate_jobs, id); graph 611 daemons/controld/controld_te_actions.c graph_action_allowed(pcmk__graph_t *graph, pcmk__graph_action_t *action) graph 630 daemons/controld/controld_te_actions.c if (!allowed_on_node(graph, action, target)) { graph 640 daemons/controld/controld_te_actions.c return allowed_on_node(graph, action, target); graph 650 daemons/controld/controld_te_actions.c te_action_confirmed(pcmk__graph_action_t *action, pcmk__graph_t *graph) graph 659 daemons/controld/controld_te_actions.c if (graph) { graph 660 daemons/controld/controld_te_actions.c pcmk__update_graph(graph, action); graph 684 daemons/controld/controld_te_actions.c notify_crmd(pcmk__graph_t *graph) graph 692 daemons/controld/controld_te_actions.c CRM_CHECK(graph->complete, graph->complete = true); graph 694 daemons/controld/controld_te_actions.c switch (graph->completion_action) { graph 735 daemons/controld/controld_te_actions.c crm_debug("Transition %d status: %s - %s", graph->id, type, graph 736 daemons/controld/controld_te_actions.c pcmk__s(graph->abort_reason, "unspecified reason")); graph 738 daemons/controld/controld_te_actions.c graph->abort_reason = NULL; graph 739 daemons/controld/controld_te_actions.c graph->completion_action = pcmk__graph_done; graph 81 daemons/controld/controld_te_events.c fail_incompletable_actions(pcmk__graph_t *graph, const char *down_node) graph 91 daemons/controld/controld_te_events.c if (graph == NULL || graph->complete) { graph 95 daemons/controld/controld_te_events.c gIter = graph->synapses; graph 133 daemons/controld/controld_te_events.c pcmk__update_graph(graph, action); graph 177 daemons/controld/controld_te_utils.c update_abort_priority(pcmk__graph_t *graph, int priority, graph 182 daemons/controld/controld_te_utils.c if (graph == NULL) { graph 186 daemons/controld/controld_te_utils.c if (graph->abort_priority < priority) { graph 187 daemons/controld/controld_te_utils.c crm_debug("Abort priority upgraded from %d to %d", graph->abort_priority, priority); graph 188 daemons/controld/controld_te_utils.c graph->abort_priority = priority; graph 189 daemons/controld/controld_te_utils.c if (graph->abort_reason != NULL) { graph 190 daemons/controld/controld_te_utils.c crm_debug("'%s' abort superseded by %s", graph->abort_reason, abort_reason); graph 192 daemons/controld/controld_te_utils.c graph->abort_reason = abort_reason; graph 196 daemons/controld/controld_te_utils.c if (graph->completion_action < action) { graph 198 daemons/controld/controld_te_utils.c abort2text(graph->completion_action), abort2text(action), abort_reason); graph 199 daemons/controld/controld_te_utils.c graph->completion_action = action; graph 26 daemons/controld/controld_transition.h gboolean fail_incompletable_actions(pcmk__graph_t *graph, const char *down_node); graph 38 daemons/controld/controld_transition.h void notify_crmd(pcmk__graph_t * graph); graph 60 daemons/controld/controld_transition.h void te_action_confirmed(pcmk__graph_action_t *action, pcmk__graph_t *graph); graph 84 daemons/schedulerd/schedulerd_messages.c data_set->graph = create_xml_node(NULL, XML_TAG_GRAPH); graph 85 daemons/schedulerd/schedulerd_messages.c crm_xml_add_int(data_set->graph, "transition_id", 0); graph 86 daemons/schedulerd/schedulerd_messages.c crm_xml_add_int(data_set->graph, "cluster-delay", 0); graph 130 daemons/schedulerd/schedulerd_messages.c reply = create_reply(msg, data_set->graph); graph 45 include/crm/common/ipc_schedulerd.h } graph; graph 199 include/crm/pengine/pe_types.h xmlNode *graph; graph 143 include/pcmki/pcmki_transition.h int (*pseudo) (pcmk__graph_t *graph, pcmk__graph_action_t *action); graph 144 include/pcmki/pcmki_transition.h int (*rsc) (pcmk__graph_t *graph, pcmk__graph_action_t *action); graph 145 include/pcmki/pcmki_transition.h int (*cluster) (pcmk__graph_t *graph, pcmk__graph_action_t *action); graph 146 include/pcmki/pcmki_transition.h int (*fence) (pcmk__graph_t *graph, pcmk__graph_action_t *action); graph 147 include/pcmki/pcmki_transition.h bool (*allowed) (pcmk__graph_t *graph, pcmk__graph_action_t *action); graph 160 include/pcmki/pcmki_transition.h enum pcmk__graph_status pcmk__execute_graph(pcmk__graph_t *graph); graph 161 include/pcmki/pcmki_transition.h void pcmk__update_graph(pcmk__graph_t *graph, graph 163 include/pcmki/pcmki_transition.h void pcmk__free_graph(pcmk__graph_t *graph); graph 165 include/pcmki/pcmki_transition.h void pcmk__log_graph(unsigned int log_level, pcmk__graph_t *graph); graph 112 lib/common/ipc_schedulerd.c reply_data.data.graph.reference = crm_element_value(reply, XML_ATTR_REFERENCE); graph 113 lib/common/ipc_schedulerd.c reply_data.data.graph.input = crm_element_value(reply, F_CRM_TGRAPH_INPUT); graph 114 lib/common/ipc_schedulerd.c reply_data.data.graph.tgraph = msg_data; graph 111 lib/pacemaker/pcmk_graph_consumer.c pcmk__update_graph(pcmk__graph_t *graph, const pcmk__graph_action_t *action) graph 113 lib/pacemaker/pcmk_graph_consumer.c for (GList *lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { graph 168 lib/pacemaker/pcmk_graph_consumer.c should_fire_synapse(pcmk__graph_t *graph, pcmk__graph_synapse_t *synapse) graph 201 lib/pacemaker/pcmk_graph_consumer.c } else if (synapse->priority < graph->abort_priority) { graph 204 lib/pacemaker/pcmk_graph_consumer.c synapse->id, synapse->priority, graph->abort_priority); graph 205 lib/pacemaker/pcmk_graph_consumer.c graph->skipped++; graph 208 lib/pacemaker/pcmk_graph_consumer.c } else if (graph_fns->allowed && !(graph_fns->allowed(graph, a))) { graph 227 lib/pacemaker/pcmk_graph_consumer.c initiate_action(pcmk__graph_t *graph, pcmk__graph_action_t *action) graph 239 lib/pacemaker/pcmk_graph_consumer.c return graph_fns->pseudo(graph, action); graph 243 lib/pacemaker/pcmk_graph_consumer.c return graph_fns->rsc(graph, action); graph 250 lib/pacemaker/pcmk_graph_consumer.c return graph_fns->fence(graph, action); graph 253 lib/pacemaker/pcmk_graph_consumer.c return graph_fns->cluster(graph, action); graph 273 lib/pacemaker/pcmk_graph_consumer.c fire_synapse(pcmk__graph_t *graph, pcmk__graph_synapse_t *synapse) graph 278 lib/pacemaker/pcmk_graph_consumer.c int rc = initiate_action(graph, action); graph 307 lib/pacemaker/pcmk_graph_consumer.c pseudo_action_dummy(pcmk__graph_t *graph, pcmk__graph_action_t *action) graph 325 lib/pacemaker/pcmk_graph_consumer.c graph->abort_priority = INFINITY; graph 330 lib/pacemaker/pcmk_graph_consumer.c pcmk__update_graph(graph, action); graph 350 lib/pacemaker/pcmk_graph_consumer.c pcmk__execute_graph(pcmk__graph_t *graph) graph 360 lib/pacemaker/pcmk_graph_consumer.c if (graph == NULL) { graph 364 lib/pacemaker/pcmk_graph_consumer.c graph->fired = 0; graph 365 lib/pacemaker/pcmk_graph_consumer.c graph->pending = 0; graph 366 lib/pacemaker/pcmk_graph_consumer.c graph->skipped = 0; graph 367 lib/pacemaker/pcmk_graph_consumer.c graph->completed = 0; graph 368 lib/pacemaker/pcmk_graph_consumer.c graph->incomplete = 0; graph 371 lib/pacemaker/pcmk_graph_consumer.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { graph 375 lib/pacemaker/pcmk_graph_consumer.c graph->completed++; graph 378 lib/pacemaker/pcmk_graph_consumer.c graph->pending++; graph 382 lib/pacemaker/pcmk_graph_consumer.c graph->id, graph->completed, graph->pending); graph 385 lib/pacemaker/pcmk_graph_consumer.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { graph 388 lib/pacemaker/pcmk_graph_consumer.c if ((graph->batch_limit > 0) graph 389 lib/pacemaker/pcmk_graph_consumer.c && (graph->pending >= graph->batch_limit)) { graph 392 lib/pacemaker/pcmk_graph_consumer.c graph->batch_limit); graph 396 lib/pacemaker/pcmk_graph_consumer.c graph->skipped++; graph 402 lib/pacemaker/pcmk_graph_consumer.c } else if (should_fire_synapse(graph, synapse)) { graph 403 lib/pacemaker/pcmk_graph_consumer.c graph->fired++; graph 404 lib/pacemaker/pcmk_graph_consumer.c if (fire_synapse(graph, synapse) != pcmk_rc_ok) { graph 407 lib/pacemaker/pcmk_graph_consumer.c graph->abort_priority = INFINITY; graph 408 lib/pacemaker/pcmk_graph_consumer.c graph->incomplete++; graph 409 lib/pacemaker/pcmk_graph_consumer.c graph->fired--; graph 413 lib/pacemaker/pcmk_graph_consumer.c graph->pending++; graph 418 lib/pacemaker/pcmk_graph_consumer.c graph->incomplete++; graph 422 lib/pacemaker/pcmk_graph_consumer.c if ((graph->pending == 0) && (graph->fired == 0)) { graph 423 lib/pacemaker/pcmk_graph_consumer.c graph->complete = true; graph 425 lib/pacemaker/pcmk_graph_consumer.c if ((graph->incomplete != 0) && (graph->abort_priority <= 0)) { graph 430 lib/pacemaker/pcmk_graph_consumer.c } else if (graph->skipped != 0) { graph 441 lib/pacemaker/pcmk_graph_consumer.c } else if (graph->fired == 0) { graph 448 lib/pacemaker/pcmk_graph_consumer.c graph->id, graph->completed, graph->pending, graph->fired, graph 449 lib/pacemaker/pcmk_graph_consumer.c graph->skipped, graph->incomplete, graph->source, status); graph 802 lib/pacemaker/pcmk_graph_consumer.c pcmk__free_graph(pcmk__graph_t *graph) graph 804 lib/pacemaker/pcmk_graph_consumer.c if (graph != NULL) { graph 805 lib/pacemaker/pcmk_graph_consumer.c g_list_free_full(graph->synapses, free_graph_synapse); graph 806 lib/pacemaker/pcmk_graph_consumer.c free(graph->source); graph 807 lib/pacemaker/pcmk_graph_consumer.c free(graph->failed_stop_offset); graph 808 lib/pacemaker/pcmk_graph_consumer.c free(graph->failed_start_offset); graph 809 lib/pacemaker/pcmk_graph_consumer.c free(graph); graph 65 lib/pacemaker/pcmk_graph_logging.c find_graph_action_by_id(const pcmk__graph_t *graph, int id) graph 67 lib/pacemaker/pcmk_graph_logging.c if (graph == NULL) { graph 71 lib/pacemaker/pcmk_graph_logging.c for (const GList *sIter = graph->synapses; sIter != NULL; graph 123 lib/pacemaker/pcmk_graph_logging.c synapse_pending_inputs(const pcmk__graph_t *graph, graph 137 lib/pacemaker/pcmk_graph_logging.c } else if (find_graph_action_by_id(graph, input->id) != NULL) { graph 147 lib/pacemaker/pcmk_graph_logging.c log_unresolved_inputs(unsigned int log_level, pcmk__graph_t *graph, graph 155 lib/pacemaker/pcmk_graph_logging.c if (find_graph_action_by_id(graph, input->id) == NULL) { graph 182 lib/pacemaker/pcmk_graph_logging.c log_synapse(unsigned int log_level, pcmk__graph_t *graph, graph 189 lib/pacemaker/pcmk_graph_logging.c g_pending = synapse_pending_inputs(graph, synapse); graph 206 lib/pacemaker/pcmk_graph_logging.c log_unresolved_inputs(log_level, graph, synapse); graph 217 lib/pacemaker/pcmk_graph_logging.c pcmk__log_graph(unsigned int log_level, pcmk__graph_t *graph) graph 219 lib/pacemaker/pcmk_graph_logging.c if ((graph == NULL) || (graph->num_actions == 0)) { graph 228 lib/pacemaker/pcmk_graph_logging.c graph->id, graph->num_actions, graph 229 lib/pacemaker/pcmk_graph_logging.c graph->batch_limit, graph->network_delay); graph 231 lib/pacemaker/pcmk_graph_logging.c for (GList *lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { graph 232 lib/pacemaker/pcmk_graph_logging.c log_synapse(log_level, graph, (pcmk__graph_synapse_t *) lpc->data); graph 840 lib/pacemaker/pcmk_graph_producer.c xmlNode *syn = create_xml_node(data_set->graph, "synapse"); graph 997 lib/pacemaker/pcmk_graph_producer.c data_set->graph = create_xml_node(NULL, XML_TAG_GRAPH); graph 1000 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(data_set->graph, "cluster-delay", value); graph 1003 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(data_set->graph, "stonith-timeout", value); graph 1005 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(data_set->graph, "failed-stop-offset", "INFINITY"); graph 1008 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(data_set->graph, "failed-start-offset", "INFINITY"); graph 1010 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(data_set->graph, "failed-start-offset", "1"); graph 1014 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(data_set->graph, "batch-limit", value); graph 1016 lib/pacemaker/pcmk_graph_producer.c crm_xml_add_int(data_set->graph, "transition_id", transition_id); graph 1020 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(data_set->graph, "migration-limit", value); graph 1028 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(data_set->graph, "recheck-by", recheck_epoch); graph 1077 lib/pacemaker/pcmk_graph_producer.c crm_log_xml_trace(data_set->graph, "graph"); graph 466 lib/pacemaker/pcmk_simulate.c simulate_pseudo_action(pcmk__graph_t *graph, pcmk__graph_action_t *action) graph 474 lib/pacemaker/pcmk_simulate.c pcmk__update_graph(graph, action); graph 488 lib/pacemaker/pcmk_simulate.c simulate_resource_action(pcmk__graph_t *graph, pcmk__graph_action_t *action) graph 628 lib/pacemaker/pcmk_simulate.c graph->abort_priority = INFINITY; graph 644 lib/pacemaker/pcmk_simulate.c pcmk__update_graph(graph, action); graph 658 lib/pacemaker/pcmk_simulate.c simulate_cluster_action(pcmk__graph_t *graph, pcmk__graph_action_t *action) graph 666 lib/pacemaker/pcmk_simulate.c pcmk__update_graph(graph, action); graph 680 lib/pacemaker/pcmk_simulate.c simulate_fencing_action(pcmk__graph_t *graph, pcmk__graph_action_t *action) graph 722 lib/pacemaker/pcmk_simulate.c pcmk__update_graph(graph, action); graph 751 lib/pacemaker/pcmk_simulate.c transition = pcmk__unpack_graph(data_set->graph, crm_system_name); graph 921 lib/pacemaker/pcmk_simulate.c rc = write_xml_file(data_set->graph, graph_file, FALSE); graph 319 lib/pengine/status.c free_xml(data_set->graph); graph 5839 maint/gnulib/lib/gen-uni-tables.c PROPERTY(graph)