graph 403 daemons/controld/controld_fencing.c fail_incompletable_stonith(pcmk__graph_t *graph) graph 409 daemons/controld/controld_fencing.c if (graph == NULL) { graph 413 daemons/controld/controld_fencing.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { graph 433 daemons/controld/controld_fencing.c pcmk__update_graph(graph, action); graph 959 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 126 daemons/controld/controld_schedulerd.c msg_ref = reply->data.graph.reference; graph 149 daemons/controld/controld_schedulerd.c reply->data.graph.input); graph 152 daemons/controld/controld_schedulerd.c pcmk__xml_copy(crm_data_node, reply->data.graph.tgraph); graph 27 daemons/controld/controld_te_actions.c te_start_action_timer(const pcmk__graph_t *graph, pcmk__graph_action_t *action) graph 29 daemons/controld/controld_te_actions.c action->timer = g_timeout_add(action->timeout + graph->network_delay, graph 44 daemons/controld/controld_te_actions.c execute_pseudo_action(pcmk__graph_t *graph, pcmk__graph_action_t *pseudo) graph 76 daemons/controld/controld_te_actions.c te_action_confirmed(pseudo, graph); graph 100 daemons/controld/controld_te_actions.c execute_cluster_action(pcmk__graph_t *graph, pcmk__graph_action_t *action) graph 156 daemons/controld/controld_te_actions.c graph->completion_action = pcmk__graph_shutdown; graph 157 daemons/controld/controld_te_actions.c graph->abort_reason = "local shutdown"; graph 158 daemons/controld/controld_te_actions.c te_action_confirmed(action, graph); graph 186 daemons/controld/controld_te_actions.c te_action_confirmed(action, graph); graph 191 daemons/controld/controld_te_actions.c action->id, task, on_node, action->timeout, graph->network_delay); graph 192 daemons/controld/controld_te_actions.c action->timeout = (int) graph->network_delay; graph 194 daemons/controld/controld_te_actions.c te_start_action_timer(graph, action); graph 348 daemons/controld/controld_te_actions.c execute_rsc_action(pcmk__graph_t *graph, pcmk__graph_action_t *action) graph 464 daemons/controld/controld_te_actions.c action->id, task, task_uuid, on_node, action->timeout, graph->network_delay); graph 465 daemons/controld/controld_te_actions.c action->timeout = (int) graph->network_delay; graph 468 daemons/controld/controld_te_actions.c te_start_action_timer(graph, action); graph 575 daemons/controld/controld_te_actions.c allowed_on_node(const pcmk__graph_t *graph, const pcmk__graph_action_t *action, graph 605 daemons/controld/controld_te_actions.c } else if(graph->migration_limit > 0 && r->migrate_jobs >= graph->migration_limit) { graph 609 daemons/controld/controld_te_actions.c target, graph->migration_limit, r->migrate_jobs, id); graph 629 daemons/controld/controld_te_actions.c graph_action_allowed(pcmk__graph_t *graph, pcmk__graph_action_t *action) graph 649 daemons/controld/controld_te_actions.c if (!allowed_on_node(graph, action, target)) { graph 659 daemons/controld/controld_te_actions.c return allowed_on_node(graph, action, target); graph 669 daemons/controld/controld_te_actions.c te_action_confirmed(pcmk__graph_action_t *action, pcmk__graph_t *graph) graph 678 daemons/controld/controld_te_actions.c if (graph) { graph 679 daemons/controld/controld_te_actions.c pcmk__update_graph(graph, action); graph 703 daemons/controld/controld_te_actions.c notify_crmd(pcmk__graph_t *graph) graph 711 daemons/controld/controld_te_actions.c CRM_CHECK(graph->complete, graph->complete = true); graph 713 daemons/controld/controld_te_actions.c switch (graph->completion_action) { graph 754 daemons/controld/controld_te_actions.c crm_debug("Transition %d status: %s - %s", graph->id, type, graph 755 daemons/controld/controld_te_actions.c pcmk__s(graph->abort_reason, "unspecified reason")); graph 757 daemons/controld/controld_te_actions.c graph->abort_reason = NULL; graph 758 daemons/controld/controld_te_actions.c graph->completion_action = pcmk__graph_done; graph 80 daemons/controld/controld_te_events.c fail_incompletable_actions(pcmk__graph_t *graph, const char *down_node) graph 90 daemons/controld/controld_te_events.c if (graph == NULL || graph->complete) { graph 94 daemons/controld/controld_te_events.c gIter = graph->synapses; graph 137 daemons/controld/controld_te_events.c pcmk__update_graph(graph, action); graph 313 daemons/controld/controld_te_utils.c update_abort_priority(pcmk__graph_t *graph, int priority, graph 318 daemons/controld/controld_te_utils.c if (graph == NULL) { graph 322 daemons/controld/controld_te_utils.c if (graph->abort_priority < priority) { graph 323 daemons/controld/controld_te_utils.c crm_debug("Abort priority upgraded from %d to %d", graph->abort_priority, priority); graph 324 daemons/controld/controld_te_utils.c graph->abort_priority = priority; graph 325 daemons/controld/controld_te_utils.c if (graph->abort_reason != NULL) { graph 326 daemons/controld/controld_te_utils.c crm_debug("'%s' abort superseded by %s", graph->abort_reason, abort_reason); graph 328 daemons/controld/controld_te_utils.c graph->abort_reason = abort_reason; graph 332 daemons/controld/controld_te_utils.c if (graph->completion_action < action) { graph 334 daemons/controld/controld_te_utils.c abort2text(graph->completion_action), abort2text(action), abort_reason); graph 335 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 62 daemons/controld/controld_transition.h void te_action_confirmed(pcmk__graph_action_t *action, pcmk__graph_t *graph); graph 85 daemons/schedulerd/schedulerd_messages.c scheduler->graph = pcmk__xe_create(NULL, PCMK__XE_TRANSITION_GRAPH); graph 86 daemons/schedulerd/schedulerd_messages.c crm_xml_add_int(scheduler->graph, "transition_id", 0); graph 87 daemons/schedulerd/schedulerd_messages.c crm_xml_add_int(scheduler->graph, PCMK_OPT_CLUSTER_DELAY, 0); graph 132 daemons/schedulerd/schedulerd_messages.c reply = create_reply(msg, scheduler->graph); graph 45 include/crm/common/ipc_schedulerd.h } graph; graph 247 include/crm/common/scheduler.h xmlNode *graph; // Transition 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 114 lib/common/ipc_schedulerd.c reply_data.data.graph.reference = crm_element_value(reply, graph 116 lib/common/ipc_schedulerd.c reply_data.data.graph.input = crm_element_value(reply, graph 118 lib/common/ipc_schedulerd.c reply_data.data.graph.tgraph = msg_data; graph 71 lib/pacemaker/pcmk_graph_consumer.c pcmk__free_graph(pcmk__graph_t *graph) graph 73 lib/pacemaker/pcmk_graph_consumer.c if (graph != NULL) { graph 74 lib/pacemaker/pcmk_graph_consumer.c g_list_free_full(graph->synapses, free_graph_synapse); graph 75 lib/pacemaker/pcmk_graph_consumer.c free(graph->source); graph 76 lib/pacemaker/pcmk_graph_consumer.c free(graph->failed_stop_offset); graph 77 lib/pacemaker/pcmk_graph_consumer.c free(graph->failed_start_offset); graph 78 lib/pacemaker/pcmk_graph_consumer.c free(graph); graph 176 lib/pacemaker/pcmk_graph_consumer.c pcmk__update_graph(pcmk__graph_t *graph, const pcmk__graph_action_t *action) graph 178 lib/pacemaker/pcmk_graph_consumer.c for (GList *lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { graph 235 lib/pacemaker/pcmk_graph_consumer.c should_fire_synapse(pcmk__graph_t *graph, pcmk__graph_synapse_t *synapse) graph 270 lib/pacemaker/pcmk_graph_consumer.c } else if (synapse->priority < graph->abort_priority) { graph 273 lib/pacemaker/pcmk_graph_consumer.c synapse->id, synapse->priority, graph->abort_priority); graph 274 lib/pacemaker/pcmk_graph_consumer.c graph->skipped++; graph 277 lib/pacemaker/pcmk_graph_consumer.c } else if (graph_fns->allowed && !(graph_fns->allowed(graph, a))) { graph 296 lib/pacemaker/pcmk_graph_consumer.c initiate_action(pcmk__graph_t *graph, pcmk__graph_action_t *action) graph 308 lib/pacemaker/pcmk_graph_consumer.c return graph_fns->pseudo(graph, action); graph 312 lib/pacemaker/pcmk_graph_consumer.c return graph_fns->rsc(graph, action); graph 319 lib/pacemaker/pcmk_graph_consumer.c return graph_fns->fence(graph, action); graph 322 lib/pacemaker/pcmk_graph_consumer.c return graph_fns->cluster(graph, action); graph 342 lib/pacemaker/pcmk_graph_consumer.c fire_synapse(pcmk__graph_t *graph, pcmk__graph_synapse_t *synapse) graph 347 lib/pacemaker/pcmk_graph_consumer.c int rc = initiate_action(graph, action); graph 376 lib/pacemaker/pcmk_graph_consumer.c pseudo_action_dummy(pcmk__graph_t *graph, pcmk__graph_action_t *action) graph 394 lib/pacemaker/pcmk_graph_consumer.c graph->abort_priority = PCMK_SCORE_INFINITY; graph 399 lib/pacemaker/pcmk_graph_consumer.c pcmk__update_graph(graph, action); graph 419 lib/pacemaker/pcmk_graph_consumer.c pcmk__execute_graph(pcmk__graph_t *graph) graph 429 lib/pacemaker/pcmk_graph_consumer.c if (graph == NULL) { graph 433 lib/pacemaker/pcmk_graph_consumer.c graph->fired = 0; graph 434 lib/pacemaker/pcmk_graph_consumer.c graph->pending = 0; graph 435 lib/pacemaker/pcmk_graph_consumer.c graph->skipped = 0; graph 436 lib/pacemaker/pcmk_graph_consumer.c graph->completed = 0; graph 437 lib/pacemaker/pcmk_graph_consumer.c graph->incomplete = 0; graph 440 lib/pacemaker/pcmk_graph_consumer.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { graph 444 lib/pacemaker/pcmk_graph_consumer.c graph->completed++; graph 448 lib/pacemaker/pcmk_graph_consumer.c graph->pending++; graph 452 lib/pacemaker/pcmk_graph_consumer.c graph->id, graph->completed, graph->pending); graph 455 lib/pacemaker/pcmk_graph_consumer.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { graph 458 lib/pacemaker/pcmk_graph_consumer.c if ((graph->batch_limit > 0) graph 459 lib/pacemaker/pcmk_graph_consumer.c && (graph->pending >= graph->batch_limit)) { graph 462 lib/pacemaker/pcmk_graph_consumer.c graph->batch_limit); graph 466 lib/pacemaker/pcmk_graph_consumer.c graph->skipped++; graph 474 lib/pacemaker/pcmk_graph_consumer.c } else if (should_fire_synapse(graph, synapse)) { graph 475 lib/pacemaker/pcmk_graph_consumer.c graph->fired++; graph 476 lib/pacemaker/pcmk_graph_consumer.c if (fire_synapse(graph, synapse) != pcmk_rc_ok) { graph 479 lib/pacemaker/pcmk_graph_consumer.c graph->abort_priority = PCMK_SCORE_INFINITY; graph 480 lib/pacemaker/pcmk_graph_consumer.c graph->incomplete++; graph 481 lib/pacemaker/pcmk_graph_consumer.c graph->fired--; graph 485 lib/pacemaker/pcmk_graph_consumer.c graph->pending++; graph 490 lib/pacemaker/pcmk_graph_consumer.c graph->incomplete++; graph 494 lib/pacemaker/pcmk_graph_consumer.c if ((graph->pending == 0) && (graph->fired == 0)) { graph 495 lib/pacemaker/pcmk_graph_consumer.c graph->complete = true; graph 497 lib/pacemaker/pcmk_graph_consumer.c if ((graph->incomplete != 0) && (graph->abort_priority <= 0)) { graph 502 lib/pacemaker/pcmk_graph_consumer.c } else if (graph->skipped != 0) { graph 513 lib/pacemaker/pcmk_graph_consumer.c } else if (graph->fired == 0) { graph 520 lib/pacemaker/pcmk_graph_consumer.c graph->id, graph->completed, graph->pending, graph->fired, graph 521 lib/pacemaker/pcmk_graph_consumer.c graph->skipped, graph->incomplete, graph->source, status); graph 64 lib/pacemaker/pcmk_graph_logging.c find_graph_action_by_id(const pcmk__graph_t *graph, int id) graph 66 lib/pacemaker/pcmk_graph_logging.c if (graph == NULL) { graph 70 lib/pacemaker/pcmk_graph_logging.c for (const GList *synapse_iter = graph->synapses; graph 119 lib/pacemaker/pcmk_graph_logging.c synapse_pending_inputs(const pcmk__graph_t *graph, graph 133 lib/pacemaker/pcmk_graph_logging.c } else if (find_graph_action_by_id(graph, input->id) != NULL) { graph 143 lib/pacemaker/pcmk_graph_logging.c log_unresolved_inputs(unsigned int log_level, pcmk__graph_t *graph, graph 151 lib/pacemaker/pcmk_graph_logging.c if (find_graph_action_by_id(graph, input->id) == NULL) { graph 178 lib/pacemaker/pcmk_graph_logging.c log_synapse(unsigned int log_level, pcmk__graph_t *graph, graph 185 lib/pacemaker/pcmk_graph_logging.c g_pending = synapse_pending_inputs(graph, synapse); graph 202 lib/pacemaker/pcmk_graph_logging.c log_unresolved_inputs(log_level, graph, synapse); graph 213 lib/pacemaker/pcmk_graph_logging.c pcmk__log_graph(unsigned int log_level, pcmk__graph_t *graph) graph 215 lib/pacemaker/pcmk_graph_logging.c if ((graph == NULL) || (graph->num_actions == 0)) { graph 225 lib/pacemaker/pcmk_graph_logging.c graph->id, graph->num_actions, graph 226 lib/pacemaker/pcmk_graph_logging.c graph->batch_limit, graph->network_delay); graph 228 lib/pacemaker/pcmk_graph_logging.c for (GList *lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { graph 229 lib/pacemaker/pcmk_graph_logging.c log_synapse(log_level, graph, (pcmk__graph_synapse_t *) lpc->data); graph 854 lib/pacemaker/pcmk_graph_producer.c xmlNode *syn = pcmk__xe_create(scheduler->graph, "synapse"); graph 1012 lib/pacemaker/pcmk_graph_producer.c scheduler->graph = pcmk__xe_create(NULL, PCMK__XE_TRANSITION_GRAPH); graph 1015 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(scheduler->graph, PCMK_OPT_CLUSTER_DELAY, value); graph 1018 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(scheduler->graph, PCMK_OPT_STONITH_TIMEOUT, value); graph 1020 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(scheduler->graph, "failed-stop-offset", "INFINITY"); graph 1023 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(scheduler->graph, "failed-start-offset", "INFINITY"); graph 1025 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(scheduler->graph, "failed-start-offset", "1"); graph 1029 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(scheduler->graph, PCMK_OPT_BATCH_LIMIT, value); graph 1031 lib/pacemaker/pcmk_graph_producer.c crm_xml_add_int(scheduler->graph, "transition_id", transition_id); graph 1035 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(scheduler->graph, PCMK_OPT_MIGRATION_LIMIT, value); graph 1043 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(scheduler->graph, "recheck-by", recheck_epoch); graph 1096 lib/pacemaker/pcmk_graph_producer.c crm_log_xml_trace(scheduler->graph, "graph"); graph 475 lib/pacemaker/pcmk_simulate.c simulate_pseudo_action(pcmk__graph_t *graph, pcmk__graph_action_t *action) graph 483 lib/pacemaker/pcmk_simulate.c pcmk__update_graph(graph, action); graph 497 lib/pacemaker/pcmk_simulate.c simulate_resource_action(pcmk__graph_t *graph, pcmk__graph_action_t *action) graph 639 lib/pacemaker/pcmk_simulate.c graph->abort_priority = PCMK_SCORE_INFINITY; graph 655 lib/pacemaker/pcmk_simulate.c pcmk__update_graph(graph, action); graph 669 lib/pacemaker/pcmk_simulate.c simulate_cluster_action(pcmk__graph_t *graph, pcmk__graph_action_t *action) graph 678 lib/pacemaker/pcmk_simulate.c pcmk__update_graph(graph, action); graph 692 lib/pacemaker/pcmk_simulate.c simulate_fencing_action(pcmk__graph_t *graph, pcmk__graph_action_t *action) graph 734 lib/pacemaker/pcmk_simulate.c pcmk__update_graph(graph, action); graph 763 lib/pacemaker/pcmk_simulate.c transition = pcmk__unpack_graph(scheduler->graph, crm_system_name); graph 934 lib/pacemaker/pcmk_simulate.c rc = pcmk__xml_write_file(scheduler->graph, graph_file, false, graph 358 lib/pengine/status.c free_xml(scheduler->graph); graph 5839 maint/gnulib/lib/gen-uni-tables.c PROPERTY(graph)