graph 361 daemons/controld/controld_fencing.c fail_incompletable_stonith(crm_graph_t *graph) graph 367 daemons/controld/controld_fencing.c if (graph == NULL) { graph 371 daemons/controld/controld_fencing.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { graph 390 daemons/controld/controld_fencing.c update_graph(graph, action); graph 841 daemons/controld/controld_fencing.c te_fence_node(crm_graph_t *graph, crm_action_t *action) graph 26 daemons/controld/controld_fencing.h gboolean te_fence_node(crm_graph_t *graph, crm_action_t *action); graph 29 daemons/controld/controld_te_actions.c te_start_action_timer(crm_graph_t * graph, crm_action_t * action) graph 34 daemons/controld/controld_te_actions.c action->timer->source_id = g_timeout_add(action->timer->timeout + graph->network_delay, graph 41 daemons/controld/controld_te_actions.c te_pseudo_action(crm_graph_t * graph, crm_action_t * pseudo) graph 72 daemons/controld/controld_te_actions.c te_action_confirmed(pseudo, graph); graph 87 daemons/controld/controld_te_actions.c te_crm_command(crm_graph_t * graph, crm_action_t * action) graph 138 daemons/controld/controld_te_actions.c graph->completion_action = tg_shutdown; graph 139 daemons/controld/controld_te_actions.c graph->abort_reason = "local shutdown"; graph 140 daemons/controld/controld_te_actions.c te_action_confirmed(action, graph); graph 164 daemons/controld/controld_te_actions.c te_action_confirmed(action, graph); graph 169 daemons/controld/controld_te_actions.c action->id, task, on_node, action->timeout, graph->network_delay); graph 170 daemons/controld/controld_te_actions.c action->timeout = (int) graph->network_delay; graph 172 daemons/controld/controld_te_actions.c te_start_action_timer(graph, action); graph 266 daemons/controld/controld_te_actions.c te_rsc_command(crm_graph_t * graph, crm_action_t * action) graph 373 daemons/controld/controld_te_actions.c action->id, task, task_uuid, on_node, action->timeout, graph->network_delay); graph 374 daemons/controld/controld_te_actions.c action->timeout = (int) graph->network_delay; graph 377 daemons/controld/controld_te_actions.c te_start_action_timer(graph, action); graph 471 daemons/controld/controld_te_actions.c te_should_perform_action_on(crm_graph_t * graph, crm_action_t * action, const char *target) graph 500 daemons/controld/controld_te_actions.c } else if(graph->migration_limit > 0 && r->migrate_jobs >= graph->migration_limit) { graph 503 daemons/controld/controld_te_actions.c target, graph->migration_limit, r->migrate_jobs, id); graph 514 daemons/controld/controld_te_actions.c te_should_perform_action(crm_graph_t * graph, crm_action_t * action) graph 533 daemons/controld/controld_te_actions.c if(te_should_perform_action_on(graph, action, target) == FALSE) { graph 543 daemons/controld/controld_te_actions.c return te_should_perform_action_on(graph, action, target); graph 553 daemons/controld/controld_te_actions.c te_action_confirmed(crm_action_t *action, crm_graph_t *graph) graph 562 daemons/controld/controld_te_actions.c if (graph) { graph 563 daemons/controld/controld_te_actions.c update_graph(graph, action); graph 578 daemons/controld/controld_te_actions.c notify_crmd(crm_graph_t * graph) graph 585 daemons/controld/controld_te_actions.c if (graph->complete == FALSE) { graph 586 daemons/controld/controld_te_actions.c CRM_CHECK(graph->complete,); graph 587 daemons/controld/controld_te_actions.c graph->complete = TRUE; graph 590 daemons/controld/controld_te_actions.c switch (graph->completion_action) { graph 631 daemons/controld/controld_te_actions.c crm_debug("Transition %d status: %s - %s", graph->id, type, crm_str(graph->abort_reason)); graph 633 daemons/controld/controld_te_actions.c graph->abort_reason = NULL; graph 634 daemons/controld/controld_te_actions.c graph->completion_action = tg_done; graph 24 daemons/controld/controld_te_events.c fail_incompletable_actions(crm_graph_t * graph, const char *down_node) graph 34 daemons/controld/controld_te_events.c if (graph == NULL || graph->complete) { graph 38 daemons/controld/controld_te_events.c gIter = graph->synapses; graph 75 daemons/controld/controld_te_events.c update_graph(graph, action); graph 22 daemons/controld/controld_transition.h extern gboolean fail_incompletable_actions(crm_graph_t * graph, const char *down_node); graph 38 daemons/controld/controld_transition.h extern void notify_crmd(crm_graph_t * graph); graph 62 daemons/controld/controld_transition.h void te_action_confirmed(crm_action_t *action, crm_graph_t *graph); graph 105 daemons/schedulerd/pacemaker-schedulerd.c sched_data_set->graph = create_xml_node(NULL, XML_TAG_GRAPH); graph 106 daemons/schedulerd/pacemaker-schedulerd.c crm_xml_add_int(sched_data_set->graph, "transition_id", 0); graph 107 daemons/schedulerd/pacemaker-schedulerd.c crm_xml_add_int(sched_data_set->graph, "cluster-delay", 0); graph 148 daemons/schedulerd/pacemaker-schedulerd.c reply = create_reply(msg, sched_data_set->graph); graph 181 daemons/schedulerd/pacemaker-schedulerd.c write_xml_fd(sched_data_set->graph, graph_file, graph_file_fd, FALSE); graph 176 include/crm/pengine/pe_types.h xmlNode *graph; graph 107 include/pcmki/pcmki_transition.h gboolean(*pseudo) (crm_graph_t * graph, crm_action_t * action); graph 108 include/pcmki/pcmki_transition.h gboolean(*rsc) (crm_graph_t * graph, crm_action_t * action); graph 109 include/pcmki/pcmki_transition.h gboolean(*crmd) (crm_graph_t * graph, crm_action_t * action); graph 110 include/pcmki/pcmki_transition.h gboolean(*stonith) (crm_graph_t * graph, crm_action_t * action); graph 111 include/pcmki/pcmki_transition.h gboolean(*allowed) (crm_graph_t * graph, crm_action_t * action); graph 127 include/pcmki/pcmki_transition.h int run_graph(crm_graph_t * graph); graph 128 include/pcmki/pcmki_transition.h gboolean update_graph(crm_graph_t * graph, crm_action_t * action); graph 129 include/pcmki/pcmki_transition.h void destroy_graph(crm_graph_t * graph); graph 131 include/pcmki/pcmki_transition.h void print_graph(unsigned int log_level, crm_graph_t * graph); graph 133 include/pcmki/pcmki_transition.h bool update_abort_priority(crm_graph_t * graph, int priority, graph 2927 lib/pacemaker/pcmk_sched_allocate.c data_set->graph = create_xml_node(NULL, XML_TAG_GRAPH); graph 2930 lib/pacemaker/pcmk_sched_allocate.c crm_xml_add(data_set->graph, "cluster-delay", value); graph 2933 lib/pacemaker/pcmk_sched_allocate.c crm_xml_add(data_set->graph, "stonith-timeout", value); graph 2935 lib/pacemaker/pcmk_sched_allocate.c crm_xml_add(data_set->graph, "failed-stop-offset", "INFINITY"); graph 2938 lib/pacemaker/pcmk_sched_allocate.c crm_xml_add(data_set->graph, "failed-start-offset", "INFINITY"); graph 2940 lib/pacemaker/pcmk_sched_allocate.c crm_xml_add(data_set->graph, "failed-start-offset", "1"); graph 2944 lib/pacemaker/pcmk_sched_allocate.c crm_xml_add(data_set->graph, "batch-limit", value); graph 2946 lib/pacemaker/pcmk_sched_allocate.c crm_xml_add_int(data_set->graph, "transition_id", transition_id); graph 2950 lib/pacemaker/pcmk_sched_allocate.c crm_xml_add(data_set->graph, "migration-limit", value); graph 2958 lib/pacemaker/pcmk_sched_allocate.c crm_xml_add(data_set->graph, "recheck-by", recheck_epoch); graph 2983 lib/pacemaker/pcmk_sched_allocate.c crm_log_xml_trace(data_set->graph, "created resource-driven action list"); graph 3021 lib/pacemaker/pcmk_sched_allocate.c crm_log_xml_trace(data_set->graph, "created generic action list"); graph 1877 lib/pacemaker/pcmk_sched_graph.c syn = create_xml_node(data_set->graph, "synapse"); graph 130 lib/pacemaker/pcmk_sched_messages.c return data_set->graph; graph 597 lib/pacemaker/pcmk_sched_transition.c exec_pseudo_action(crm_graph_t * graph, crm_action_t * action) graph 605 lib/pacemaker/pcmk_sched_transition.c update_graph(graph, action); graph 610 lib/pacemaker/pcmk_sched_transition.c exec_rsc_action(crm_graph_t * graph, crm_action_t * action) graph 723 lib/pacemaker/pcmk_sched_transition.c graph->abort_priority = INFINITY; graph 742 lib/pacemaker/pcmk_sched_transition.c update_graph(graph, action); graph 747 lib/pacemaker/pcmk_sched_transition.c exec_crmd_action(crm_graph_t * graph, crm_action_t * action) graph 755 lib/pacemaker/pcmk_sched_transition.c update_graph(graph, action); graph 760 lib/pacemaker/pcmk_sched_transition.c exec_stonith_action(crm_graph_t * graph, crm_action_t * action) graph 792 lib/pacemaker/pcmk_sched_transition.c update_graph(graph, action); graph 820 lib/pacemaker/pcmk_sched_transition.c transition = unpack_graph(data_set->graph, crm_system_name); graph 91 lib/pacemaker/pcmk_trans_graph.c update_graph(crm_graph_t * graph, crm_action_t * action) graph 97 lib/pacemaker/pcmk_trans_graph.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { graph 120 lib/pacemaker/pcmk_trans_graph.c should_fire_synapse(crm_graph_t * graph, synapse_t * synapse) graph 151 lib/pacemaker/pcmk_trans_graph.c } else if (synapse->priority < graph->abort_priority) { graph 152 lib/pacemaker/pcmk_trans_graph.c crm_trace("Skipping synapse %d: abort level %d", synapse->id, graph->abort_priority); graph 153 lib/pacemaker/pcmk_trans_graph.c graph->skipped++; graph 156 lib/pacemaker/pcmk_trans_graph.c } else if(graph_fns->allowed && graph_fns->allowed(graph, a) == FALSE) { graph 166 lib/pacemaker/pcmk_trans_graph.c initiate_action(crm_graph_t * graph, crm_action_t * action) graph 178 lib/pacemaker/pcmk_trans_graph.c return graph_fns->pseudo(graph, action); graph 182 lib/pacemaker/pcmk_trans_graph.c return graph_fns->rsc(graph, action); graph 192 lib/pacemaker/pcmk_trans_graph.c return graph_fns->stonith(graph, action); graph 196 lib/pacemaker/pcmk_trans_graph.c return graph_fns->crmd(graph, action); graph 204 lib/pacemaker/pcmk_trans_graph.c fire_synapse(crm_graph_t * graph, synapse_t * synapse) graph 221 lib/pacemaker/pcmk_trans_graph.c passed = initiate_action(graph, action); graph 236 lib/pacemaker/pcmk_trans_graph.c run_graph(crm_graph_t * graph) graph 247 lib/pacemaker/pcmk_trans_graph.c if (graph == NULL) { graph 251 lib/pacemaker/pcmk_trans_graph.c graph->fired = 0; graph 252 lib/pacemaker/pcmk_trans_graph.c graph->pending = 0; graph 253 lib/pacemaker/pcmk_trans_graph.c graph->skipped = 0; graph 254 lib/pacemaker/pcmk_trans_graph.c graph->completed = 0; graph 255 lib/pacemaker/pcmk_trans_graph.c graph->incomplete = 0; graph 256 lib/pacemaker/pcmk_trans_graph.c crm_trace("Entering graph %d callback", graph->id); graph 259 lib/pacemaker/pcmk_trans_graph.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { graph 264 lib/pacemaker/pcmk_trans_graph.c graph->completed++; graph 268 lib/pacemaker/pcmk_trans_graph.c graph->pending++; graph 273 lib/pacemaker/pcmk_trans_graph.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { graph 276 lib/pacemaker/pcmk_trans_graph.c if (graph->batch_limit > 0 && graph->pending >= graph->batch_limit) { graph 277 lib/pacemaker/pcmk_trans_graph.c crm_debug("Throttling output: batch limit (%d) reached", graph->batch_limit); graph 280 lib/pacemaker/pcmk_trans_graph.c graph->skipped++; graph 288 lib/pacemaker/pcmk_trans_graph.c if (should_fire_synapse(graph, synapse)) { graph 290 lib/pacemaker/pcmk_trans_graph.c graph->fired++; graph 291 lib/pacemaker/pcmk_trans_graph.c if(fire_synapse(graph, synapse) == FALSE) { graph 294 lib/pacemaker/pcmk_trans_graph.c graph->abort_priority = INFINITY; graph 295 lib/pacemaker/pcmk_trans_graph.c graph->incomplete++; graph 296 lib/pacemaker/pcmk_trans_graph.c graph->fired--; graph 300 lib/pacemaker/pcmk_trans_graph.c graph->pending++; graph 305 lib/pacemaker/pcmk_trans_graph.c graph->incomplete++; graph 309 lib/pacemaker/pcmk_trans_graph.c if (graph->pending == 0 && graph->fired == 0) { graph 310 lib/pacemaker/pcmk_trans_graph.c graph->complete = TRUE; graph 315 lib/pacemaker/pcmk_trans_graph.c if (graph->incomplete != 0 && graph->abort_priority <= 0) { graph 320 lib/pacemaker/pcmk_trans_graph.c } else if (graph->skipped != 0) { graph 324 lib/pacemaker/pcmk_trans_graph.c } else if (graph->fired == 0) { graph 331 lib/pacemaker/pcmk_trans_graph.c graph->id, graph->completed, graph->pending, graph->fired, graph 332 lib/pacemaker/pcmk_trans_graph.c graph->skipped, graph->incomplete, graph->source, status); graph 287 lib/pacemaker/pcmk_trans_unpack.c destroy_graph(crm_graph_t * graph) graph 289 lib/pacemaker/pcmk_trans_unpack.c if (graph == NULL) { graph 292 lib/pacemaker/pcmk_trans_unpack.c while (graph->synapses != NULL) { graph 293 lib/pacemaker/pcmk_trans_unpack.c synapse_t *synapse = g_list_nth_data(graph->synapses, 0); graph 295 lib/pacemaker/pcmk_trans_unpack.c graph->synapses = g_list_remove(graph->synapses, synapse); graph 299 lib/pacemaker/pcmk_trans_unpack.c free(graph->source); graph 300 lib/pacemaker/pcmk_trans_unpack.c free(graph); graph 20 lib/pacemaker/pcmk_trans_utils.c pseudo_action_dummy(crm_graph_t * graph, crm_action_t * action) graph 39 lib/pacemaker/pcmk_trans_utils.c graph->abort_priority = INFINITY; graph 42 lib/pacemaker/pcmk_trans_utils.c update_graph(graph, action); graph 109 lib/pacemaker/pcmk_trans_utils.c find_action(crm_graph_t * graph, int id) graph 113 lib/pacemaker/pcmk_trans_utils.c if (graph == NULL) { graph 117 lib/pacemaker/pcmk_trans_utils.c for (sIter = graph->synapses; sIter != NULL; sIter = sIter->next) { graph 152 lib/pacemaker/pcmk_trans_utils.c synapse_pending_inputs(crm_graph_t *graph, synapse_t *synapse) graph 166 lib/pacemaker/pcmk_trans_utils.c } else if (find_action(graph, input->id) != NULL) { graph 179 lib/pacemaker/pcmk_trans_utils.c log_unresolved_inputs(unsigned int log_level, crm_graph_t *graph, graph 187 lib/pacemaker/pcmk_trans_utils.c if (find_action(graph, input->id) == NULL) { graph 214 lib/pacemaker/pcmk_trans_utils.c print_synapse(unsigned int log_level, crm_graph_t * graph, synapse_t * synapse) graph 219 lib/pacemaker/pcmk_trans_utils.c pending = synapse_pending_inputs(graph, synapse); graph 227 lib/pacemaker/pcmk_trans_utils.c log_unresolved_inputs(log_level, graph, synapse); graph 238 lib/pacemaker/pcmk_trans_utils.c print_graph(unsigned int log_level, crm_graph_t * graph) graph 242 lib/pacemaker/pcmk_trans_utils.c if (graph == NULL || graph->num_actions == 0) { graph 251 lib/pacemaker/pcmk_trans_utils.c graph->id, graph->num_actions, graph 252 lib/pacemaker/pcmk_trans_utils.c graph->batch_limit, graph->network_delay); graph 254 lib/pacemaker/pcmk_trans_utils.c for (lpc = graph->synapses; lpc != NULL; lpc = lpc->next) { graph 257 lib/pacemaker/pcmk_trans_utils.c print_synapse(log_level, graph, synapse); graph 278 lib/pacemaker/pcmk_trans_utils.c update_abort_priority(crm_graph_t * graph, int priority, graph 283 lib/pacemaker/pcmk_trans_utils.c if (graph == NULL) { graph 287 lib/pacemaker/pcmk_trans_utils.c if (graph->abort_priority < priority) { graph 288 lib/pacemaker/pcmk_trans_utils.c crm_debug("Abort priority upgraded from %d to %d", graph->abort_priority, priority); graph 289 lib/pacemaker/pcmk_trans_utils.c graph->abort_priority = priority; graph 290 lib/pacemaker/pcmk_trans_utils.c if (graph->abort_reason != NULL) { graph 291 lib/pacemaker/pcmk_trans_utils.c crm_debug("'%s' abort superseded by %s", graph->abort_reason, abort_reason); graph 293 lib/pacemaker/pcmk_trans_utils.c graph->abort_reason = abort_reason; graph 297 lib/pacemaker/pcmk_trans_utils.c if (graph->completion_action < action) { graph 299 lib/pacemaker/pcmk_trans_utils.c abort2text(graph->completion_action), abort2text(action), abort_reason); graph 300 lib/pacemaker/pcmk_trans_utils.c graph->completion_action = action; graph 310 lib/pengine/status.c free_xml(data_set->graph); graph 1081 tools/crm_simulate.c write_xml_file(data_set->graph, options.graph_file, FALSE);