controld_globals 42 daemons/controld/controld_alerts.c lrm_state = lrm_state_find(controld_globals.our_nodename); controld_globals 61 daemons/controld/controld_alerts.c lrm_state = lrm_state_find(controld_globals.our_nodename); controld_globals 81 daemons/controld/controld_alerts.c lrm_state = lrm_state_find(controld_globals.our_nodename); controld_globals 42 daemons/controld/controld_attrd.c return pcmk_is_set(controld_globals.fsa_input_register, controld_globals 56 daemons/controld/controld_attrd.c } else if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 34 daemons/controld/controld_callbacks.c if (!pcmk__str_eq(from, controld_globals.our_nodename, controld_globals 40 daemons/controld/controld_callbacks.c if (controld_globals.fsa_state != S_ELECTION) { controld_globals 177 daemons/controld/controld_callbacks.c const char *dc_s = controld_globals.dc_name; controld_globals 205 daemons/controld/controld_callbacks.c if (!pcmk_is_set(controld_globals.fsa_input_register, controld_globals 210 daemons/controld/controld_callbacks.c } else if (controld_globals.fsa_state == S_STOPPING) { controld_globals 216 daemons/controld/controld_callbacks.c && pcmk__str_eq(node->uname, controld_globals.our_nodename, controld_globals 222 daemons/controld/controld_callbacks.c } else if (pcmk__str_eq(node->uname, controld_globals.dc_name, controld_globals 227 daemons/controld/controld_callbacks.c controld_globals.dc_name); controld_globals 238 daemons/controld/controld_callbacks.c if (compare_version(controld_globals.dc_version, "3.0.9") > 0) { controld_globals 245 daemons/controld/controld_callbacks.c || pcmk_is_set(controld_globals.flags, controld_dc_left) controld_globals 246 daemons/controld/controld_callbacks.c || (controld_globals.dc_name == NULL)) { controld_globals 291 daemons/controld/controld_callbacks.c check_join_state(controld_globals.fsa_state, __func__); controld_globals 299 daemons/controld/controld_callbacks.c pcmk__update_graph(controld_globals.transition_graph, down); controld_globals 312 daemons/controld/controld_callbacks.c if ((controld_globals.transition_graph == NULL) controld_globals 313 daemons/controld/controld_callbacks.c || (controld_globals.transition_graph->id <= 0)) { controld_globals 322 daemons/controld/controld_callbacks.c check_join_state(controld_globals.fsa_state, __func__); controld_globals 326 daemons/controld/controld_callbacks.c fail_incompletable_actions(controld_globals.transition_graph, controld_globals 376 daemons/controld/controld_callbacks.c g_list_length(controld_globals.fsa_message_queue)); controld_globals 379 daemons/controld/controld_callbacks.c g_list_length(controld_globals.fsa_message_queue)); controld_globals 33 daemons/controld/controld_cib.c CRM_LOG_ASSERT(user_data == controld_globals.cib_conn); controld_globals 36 daemons/controld/controld_cib.c controld_globals.cib_conn->state = cib_disconnected; controld_globals 38 daemons/controld/controld_cib.c if (pcmk_is_set(controld_globals.fsa_input_register, R_CIB_CONNECTED)) { controld_globals 100 daemons/controld/controld_cib.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 128 daemons/controld/controld_cib.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 186 daemons/controld/controld_cib.c if (!pcmk_is_set(controld_globals.fsa_input_register, R_CIB_CONNECTED)) { controld_globals 234 daemons/controld/controld_cib.c if (controld_globals.cib_conn) { controld_globals 235 daemons/controld/controld_cib.c controld_globals.cib_conn->call_timeout = calculated_timeout; controld_globals 251 daemons/controld/controld_cib.c if ((controld_globals.fsa_state == S_ELECTION) controld_globals 252 daemons/controld/controld_cib.c || (controld_globals.fsa_state == S_PENDING)) { controld_globals 254 daemons/controld/controld_cib.c fsa_state2string(controld_globals.fsa_state)); controld_globals 321 daemons/controld/controld_cib.c - controld_globals.shutdown_lock_limit; controld_globals 369 daemons/controld/controld_cib.c cib_t *cib = controld_globals.cib_conn; controld_globals 415 daemons/controld/controld_cib.c cib_t *cib = controld_globals.cib_conn; controld_globals 495 daemons/controld/controld_cib.c && compare_version(controld_globals.dc_version, "3.16.0") >= 0) { controld_globals 678 daemons/controld/controld_cib.c controld_globals.our_nodename, func); controld_globals 797 daemons/controld/controld_cib.c if (!pcmk_is_set(controld_globals.flags, controld_shutdown_lock_enabled)) { controld_globals 828 daemons/controld/controld_cib.c cib_t *cib = controld_globals.cib_conn; controld_globals 897 daemons/controld/controld_cib.c if (pcmk__str_eq(node_name, controld_globals.our_nodename, controld_globals 899 daemons/controld/controld_cib.c node_id = controld_globals.our_uuid; controld_globals 980 daemons/controld/controld_cib.c controld_globals.cib_conn->cmds->remove(controld_globals.cib_conn, controld_globals 1036 daemons/controld/controld_cib.c controld_globals.cib_conn->cmds->remove(controld_globals.cib_conn, xpath, controld_globals 1064 daemons/controld/controld_cib.c controld_globals.cib_conn->cmds->remove(controld_globals.cib_conn, xpath, controld_globals 24 daemons/controld/controld_cib.h if (controld_globals.cib_conn == NULL) { controld_globals 27 daemons/controld/controld_cib.h controld_globals.cib_conn->cmds->modify(controld_globals.cib_conn, controld_globals 35 daemons/controld/controld_cib.h if (controld_globals.cib_conn == NULL) { controld_globals 38 daemons/controld/controld_cib.h controld_globals.cib_conn->cmds->modify(controld_globals.cib_conn, controld_globals 72 daemons/controld/controld_cib.h cib_t *cib_conn = controld_globals.cib_conn; \ controld_globals 69 daemons/controld/controld_control.c controld_globals.our_nodename = cluster->uname; controld_globals 70 daemons/controld/controld_control.c controld_globals.our_uuid = cluster->uuid; controld_globals 117 daemons/controld/controld_control.c pcmk__s(controld_globals.dc_name, "not set")); controld_globals 129 daemons/controld/controld_control.c if (pcmk_is_set(controld_globals.fsa_input_register, R_STAYDOWN)) { controld_globals 135 daemons/controld/controld_control.c && pcmk_is_set(controld_globals.fsa_input_register, controld_globals 141 daemons/controld/controld_control.c if (controld_globals.logger_out != NULL) { controld_globals 142 daemons/controld/controld_control.c controld_globals.logger_out->finish(controld_globals.logger_out, controld_globals 144 daemons/controld/controld_control.c pcmk__output_free(controld_globals.logger_out); controld_globals 145 daemons/controld/controld_control.c controld_globals.logger_out = NULL; controld_globals 154 daemons/controld/controld_control.c GMainLoop *mloop = controld_globals.mainloop; controld_globals 188 daemons/controld/controld_control.c if ((exit_code == CRM_EX_OK) && (controld_globals.mainloop == NULL)) { controld_globals 208 daemons/controld/controld_control.c for (GList *iter = controld_globals.fsa_message_queue; iter != NULL; controld_globals 214 daemons/controld/controld_control.c fsa_state2string(controld_globals.fsa_state), controld_globals 221 daemons/controld/controld_control.c g_list_free(controld_globals.fsa_message_queue); controld_globals 222 daemons/controld/controld_control.c controld_globals.fsa_message_queue = NULL; controld_globals 233 daemons/controld/controld_control.c verify_stopped(controld_globals.fsa_state, LOG_WARNING); controld_globals 250 daemons/controld/controld_control.c free(controld_globals.our_nodename); controld_globals 251 daemons/controld/controld_control.c controld_globals.our_nodename = NULL; controld_globals 253 daemons/controld/controld_control.c free(controld_globals.our_uuid); controld_globals 254 daemons/controld/controld_control.c controld_globals.our_uuid = NULL; controld_globals 256 daemons/controld/controld_control.c free(controld_globals.dc_name); controld_globals 257 daemons/controld/controld_control.c controld_globals.dc_name = NULL; controld_globals 259 daemons/controld/controld_control.c free(controld_globals.dc_version); controld_globals 260 daemons/controld/controld_control.c controld_globals.dc_version = NULL; controld_globals 262 daemons/controld/controld_control.c free(controld_globals.cluster_name); controld_globals 263 daemons/controld/controld_control.c controld_globals.cluster_name = NULL; controld_globals 265 daemons/controld/controld_control.c free(controld_globals.te_uuid); controld_globals 266 daemons/controld/controld_control.c controld_globals.te_uuid = NULL; controld_globals 279 daemons/controld/controld_control.c GMainContext *ctx = g_main_loop_get_context(controld_globals.mainloop); controld_globals 282 daemons/controld/controld_control.c controld_globals.mainloop = NULL; controld_globals 308 daemons/controld/controld_control.c cib_delete(controld_globals.cib_conn); controld_globals 309 daemons/controld/controld_control.c controld_globals.cib_conn = NULL; controld_globals 354 daemons/controld/controld_control.c controld_globals.cib_conn = cib_new(); controld_globals 458 daemons/controld/controld_control.c } else if (!pcmk_is_set(controld_globals.fsa_input_register, controld_globals 465 daemons/controld/controld_control.c } else if (!pcmk_is_set(controld_globals.fsa_input_register, controld_globals 472 daemons/controld/controld_control.c } else if (!pcmk_is_set(controld_globals.fsa_input_register, controld_globals 479 daemons/controld/controld_control.c } else if (!pcmk_is_set(controld_globals.fsa_input_register, controld_globals 486 daemons/controld/controld_control.c } else if (!pcmk_is_set(controld_globals.fsa_input_register, R_PEER_DATA)) { controld_globals 592 daemons/controld/controld_control.c pcmk_parse_interval_spec(value, &controld_globals.shutdown_lock_limit); controld_globals 593 daemons/controld/controld_control.c controld_globals.shutdown_lock_limit /= 1000; controld_globals 596 daemons/controld/controld_control.c pcmk_parse_interval_spec(value, &controld_globals.node_pending_timeout); controld_globals 597 daemons/controld/controld_control.c controld_globals.node_pending_timeout /= 1000; controld_globals 600 daemons/controld/controld_control.c pcmk__str_update(&(controld_globals.cluster_name), value); controld_globals 638 daemons/controld/controld_control.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 666 daemons/controld/controld_control.c if ((controld_globals.mainloop == NULL) controld_globals 667 daemons/controld/controld_control.c || !g_main_loop_is_running(controld_globals.mainloop)) { controld_globals 672 daemons/controld/controld_control.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 80 daemons/controld/controld_corosync.c if (!pcmk_is_set(controld_globals.fsa_input_register, R_HA_DISCONNECTED)) { controld_globals 118 daemons/controld/controld_corosync.c if (controld_globals.dc_name != NULL) { controld_globals 121 daemons/controld/controld_corosync.c peer = pcmk__search_node_caches(0, controld_globals.dc_name, controld_globals 58 daemons/controld/controld_election.c if (pcmk__str_eq(uname, controld_globals.dc_name, pcmk__str_casei)) { controld_globals 107 daemons/controld/controld_election.c if (pcmk_is_set(controld_globals.fsa_input_register, R_STARTING)) { controld_globals 132 daemons/controld/controld_election.c if (controld_globals.fsa_state == S_ELECTION) { controld_globals 150 daemons/controld/controld_election.c if (!pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 166 daemons/controld/controld_election.c if (pcmk_is_set(controld_globals.fsa_input_register, R_THE_DC)) { controld_globals 167 daemons/controld/controld_election.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 202 daemons/controld/controld_election.c cib__update_node_attr(controld_globals.logger_out, \ controld_globals 203 daemons/controld/controld_election.c controld_globals.cib_conn, cib_none, \ controld_globals 227 daemons/controld/controld_election.c controld_globals.cib_conn->cmds->set_primary(controld_globals.cib_conn, controld_globals 240 daemons/controld/controld_election.c if ((controld_globals.cluster_name == NULL) controld_globals 270 daemons/controld/controld_election.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 273 daemons/controld/controld_election.c pcmk__get_node(0, controld_globals.our_nodename, controld_globals 53 daemons/controld/controld_execd.c if (pcmk_is_set(controld_globals.fsa_input_register, R_LRM_CONNECTED)) { controld_globals 278 daemons/controld/controld_execd.c return pcmk__s(op->remote_nodename, controld_globals.our_nodename); controld_globals 358 daemons/controld/controld_execd.c if (controld_globals.our_nodename == NULL) { controld_globals 361 daemons/controld/controld_execd.c lrm_state = lrm_state_find_or_create(controld_globals.our_nodename); controld_globals 408 daemons/controld/controld_execd.c } else if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 439 daemons/controld/controld_execd.c || !pcmk_is_set(controld_globals.fsa_input_register, controld_globals 456 daemons/controld/controld_execd.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 578 daemons/controld/controld_execd.c lrm_state_t *lrm_state = lrm_state_find(controld_globals.our_nodename); controld_globals 582 daemons/controld/controld_execd.c controld_globals.our_nodename); controld_globals 654 daemons/controld/controld_execd.c cib__update_node_attr(controld_globals.logger_out, controld_globals 655 daemons/controld/controld_execd.c controld_globals.cib_conn, cib_none, controld_globals 1156 daemons/controld/controld_execd.c target = controld_globals.our_nodename; controld_globals 1231 daemons/controld/controld_execd.c controld_globals.our_uuid); controld_globals 1405 daemons/controld/controld_execd.c if (!pcmk_is_set(controld_globals.fsa_input_register, R_HA_DISCONNECTED)) { controld_globals 1430 daemons/controld/controld_execd.c is_remote_node = !pcmk__str_eq(target_node, controld_globals.our_nodename, controld_globals 1767 daemons/controld/controld_execd.c peer = pcmk__get_node(0, controld_globals.our_nodename, NULL, controld_globals 1773 daemons/controld/controld_execd.c crm_xml_add(iter, PCMK_XA_ID, controld_globals.our_uuid); controld_globals 1780 daemons/controld/controld_execd.c controld_globals.our_nodename); controld_globals 1896 daemons/controld/controld_execd.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN) controld_globals 1903 daemons/controld/controld_execd.c switch (controld_globals.fsa_state) { controld_globals 1997 daemons/controld/controld_execd.c fsa_state2string(controld_globals.fsa_state), controld_globals 1998 daemons/controld/controld_execd.c pcmk__flag_text(controld_globals.fsa_input_register, controld_globals 2242 daemons/controld/controld_execd.c if (compare_version(controld_globals.dc_version, "3.2.0") < 0) { controld_globals 99 daemons/controld/controld_execd_state.c && pcmk__str_eq(lrm_state->node_name, controld_globals.our_nodename, controld_globals 347 daemons/controld/controld_execd_state.c if (!pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 505 daemons/controld/controld_execd_state.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 266 daemons/controld/controld_fencing.c rc = controld_globals.cib_conn->cmds->modify(controld_globals.cib_conn, controld_globals 463 daemons/controld/controld_fencing.c if (pcmk_is_set(controld_globals.fsa_input_register, R_ST_REQUIRED)) { controld_globals 483 daemons/controld/controld_fencing.c fail_incompletable_stonith(controld_globals.transition_graph); controld_globals 550 daemons/controld/controld_fencing.c && pcmk__str_eq(event->target, controld_globals.our_nodename, controld_globals 628 daemons/controld/controld_fencing.c } else if (pcmk__str_eq(controld_globals.dc_name, event->target, controld_globals 633 daemons/controld/controld_fencing.c if (controld_globals.dc_name != NULL) { controld_globals 644 daemons/controld/controld_fencing.c if (pcmk__str_eq(event->executioner, controld_globals.our_nodename, controld_globals 710 daemons/controld/controld_fencing.c if (pcmk_is_set(controld_globals.fsa_input_register, controld_globals 824 daemons/controld/controld_fencing.c if (controld_globals.transition_graph->complete || (stonith_id < 0) controld_globals 825 daemons/controld/controld_fencing.c || !pcmk__str_eq(uuid, controld_globals.te_uuid, pcmk__str_none) controld_globals 826 daemons/controld/controld_fencing.c || (controld_globals.transition_graph->id != transition_id)) { controld_globals 831 daemons/controld/controld_fencing.c pcmk__btoa(controld_globals.transition_graph->complete), controld_globals 832 daemons/controld/controld_fencing.c stonith_id, uuid, controld_globals.te_uuid, transition_id, controld_globals 833 daemons/controld/controld_fencing.c controld_globals.transition_graph->id); controld_globals 935 daemons/controld/controld_fencing.c pcmk__update_graph(controld_globals.transition_graph, action); controld_globals 948 daemons/controld/controld_fencing.c int timeout_sec = (int) (controld_globals.transition_graph->stonith_timeout controld_globals 981 daemons/controld/controld_fencing.c int stonith_timeout = (int) (controld_globals.transition_graph->stonith_timeout controld_globals 1008 daemons/controld/controld_fencing.c transition_key = pcmk__transition_key(controld_globals.transition_graph->id, controld_globals 1010 daemons/controld/controld_fencing.c controld_globals.te_uuid), controld_globals 1024 daemons/controld/controld_fencing.c const char *our_nodename = controld_globals.our_nodename; controld_globals 94 daemons/controld/controld_fsa.c function(an_action, fsa_data->fsa_cause, controld_globals.fsa_state, controld_globals 184 daemons/controld/controld_fsa.c controld_globals_t *globals = &controld_globals; controld_globals 186 daemons/controld/controld_fsa.c uint64_t register_copy = controld_globals.fsa_input_register; controld_globals 194 daemons/controld/controld_fsa.c fsa_dump_actions(controld_globals.fsa_actions, "Initial"); controld_globals 197 daemons/controld/controld_fsa.c if ((controld_globals.fsa_message_queue == NULL) controld_globals 198 daemons/controld/controld_fsa.c && (controld_globals.fsa_actions != A_NOTHING)) { controld_globals 205 daemons/controld/controld_fsa.c controld_globals.fsa_message_queue controld_globals 206 daemons/controld/controld_fsa.c = g_list_append(controld_globals.fsa_message_queue, fsa_data); controld_globals 208 daemons/controld/controld_fsa.c while ((controld_globals.fsa_message_queue != NULL) controld_globals 209 daemons/controld/controld_fsa.c && !pcmk_is_set(controld_globals.flags, controld_fsa_is_stalled)) { controld_globals 211 daemons/controld/controld_fsa.c g_list_length(controld_globals.fsa_message_queue)); controld_globals 237 daemons/controld/controld_fsa.c if (pcmk_is_set(controld_globals.fsa_actions, A_ERROR)) { controld_globals 240 daemons/controld/controld_fsa.c if (pcmk_is_set(controld_globals.fsa_actions, A_WARN)) { controld_globals 243 daemons/controld/controld_fsa.c if (pcmk_is_set(controld_globals.fsa_actions, A_LOG)) { controld_globals 255 daemons/controld/controld_fsa.c || pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 278 daemons/controld/controld_fsa.c if ((controld_globals.fsa_message_queue != NULL) controld_globals 279 daemons/controld/controld_fsa.c || (controld_globals.fsa_actions != A_NOTHING) controld_globals 280 daemons/controld/controld_fsa.c || pcmk_is_set(controld_globals.flags, controld_fsa_is_stalled)) { controld_globals 283 daemons/controld/controld_fsa.c g_list_length(controld_globals.fsa_message_queue), controld_globals 284 daemons/controld/controld_fsa.c (unsigned long long) controld_globals.fsa_actions, controld_globals 285 daemons/controld/controld_fsa.c pcmk__flag_text(controld_globals.flags, controld_globals 292 daemons/controld/controld_fsa.c if (register_copy != controld_globals.fsa_input_register) { controld_globals 293 daemons/controld/controld_fsa.c uint64_t same = register_copy & controld_globals.fsa_input_register; controld_globals 296 daemons/controld/controld_fsa.c controld_globals.fsa_input_register ^ same); controld_globals 300 daemons/controld/controld_fsa.c fsa_dump_actions(controld_globals.fsa_actions, "Remaining"); controld_globals 314 daemons/controld/controld_fsa.c while ((controld_globals.fsa_actions != A_NOTHING) controld_globals 315 daemons/controld/controld_fsa.c && !pcmk_is_set(controld_globals.flags, controld_fsa_is_stalled)) { controld_globals 322 daemons/controld/controld_fsa.c if (pcmk_is_set(controld_globals.fsa_actions, A_ERROR)) { controld_globals 324 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_WARN)) { controld_globals 326 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_LOG)) { controld_globals 330 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_EXIT_1)) { controld_globals 334 daemons/controld/controld_fsa.c } else if (pcmk_all_flags_set(controld_globals.fsa_actions, controld_globals 338 daemons/controld/controld_fsa.c } else if (pcmk_all_flags_set(controld_globals.fsa_actions, controld_globals 342 daemons/controld/controld_fsa.c } else if (pcmk_all_flags_set(controld_globals.fsa_actions, controld_globals 346 daemons/controld/controld_fsa.c } else if (pcmk_all_flags_set(controld_globals.fsa_actions, controld_globals 351 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_STARTUP)) { controld_globals 353 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_CIB_START)) { controld_globals 355 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_HA_CONNECT)) { controld_globals 357 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_READCONFIG)) { controld_globals 361 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_LRM_CONNECT)) { controld_globals 363 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_TE_START)) { controld_globals 365 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_PE_START)) { controld_globals 369 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_DC_TIMER_STOP)) { controld_globals 371 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 374 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 377 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 380 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 387 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_MSG_ROUTE)) { controld_globals 389 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_RECOVER)) { controld_globals 391 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 396 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 401 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_SHUTDOWN_REQ)) { controld_globals 403 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_ELECTION_VOTE)) { controld_globals 405 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 409 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_LRM_EVENT)) { controld_globals 415 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_STARTED)) { controld_globals 417 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_CL_JOIN_QUERY)) { controld_globals 419 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 427 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_DC_TAKEOVER)) { controld_globals 429 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_DC_RELEASE)) { controld_globals 431 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_DC_JOIN_FINAL)) { controld_globals 433 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 437 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 441 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 445 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 449 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 454 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 458 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 462 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 471 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_TE_HALT)) { controld_globals 473 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_TE_CANCEL)) { controld_globals 475 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_LRM_INVOKE)) { controld_globals 477 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_PE_INVOKE)) { controld_globals 479 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_TE_INVOKE)) { controld_globals 483 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_DC_RELEASED)) { controld_globals 485 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_PE_STOP)) { controld_globals 487 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_TE_STOP)) { controld_globals 489 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_SHUTDOWN)) { controld_globals 491 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 495 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_HA_DISCONNECT)) { controld_globals 497 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_CIB_STOP)) { controld_globals 499 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_STOP)) { controld_globals 503 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_EXIT_0)) { controld_globals 509 daemons/controld/controld_fsa.c fsa_action2string(controld_globals.fsa_actions), controld_globals 510 daemons/controld/controld_fsa.c (unsigned long long) controld_globals.fsa_actions); controld_globals 565 daemons/controld/controld_fsa.c } else if (controld_globals.membership_id != crm_peer_seq) { controld_globals 567 daemons/controld/controld_fsa.c controld_globals.membership_id, crm_peer_seq); controld_globals 585 daemons/controld/controld_fsa.c uint64_t original_fsa_actions = controld_globals.fsa_actions; controld_globals 646 daemons/controld/controld_fsa.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 660 daemons/controld/controld_fsa.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 664 daemons/controld/controld_fsa.c CRM_LOG_ASSERT(controld_globals.dc_name != NULL); controld_globals 665 daemons/controld/controld_fsa.c if (controld_globals.dc_name == NULL) { controld_globals 710 daemons/controld/controld_fsa.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 728 daemons/controld/controld_fsa.c if (original_fsa_actions != controld_globals.fsa_actions) { controld_globals 729 daemons/controld/controld_fsa.c fsa_dump_actions(original_fsa_actions ^ controld_globals.fsa_actions, controld_globals 461 daemons/controld/controld_fsa.h controld_globals.fsa_input_register \ controld_globals 464 daemons/controld/controld_fsa.h controld_globals.fsa_input_register, \ controld_globals 469 daemons/controld/controld_fsa.h controld_globals.fsa_input_register \ controld_globals 472 daemons/controld/controld_fsa.h controld_globals.fsa_input_register, \ controld_globals 478 daemons/controld/controld_fsa.h controld_globals.fsa_actions \ controld_globals 481 daemons/controld/controld_fsa.h controld_globals.fsa_actions, \ controld_globals 486 daemons/controld/controld_fsa.h controld_globals.fsa_actions \ controld_globals 489 daemons/controld/controld_fsa.h controld_globals.fsa_actions, \ controld_globals 512 daemons/controld/controld_fsa.h # define AM_I_DC pcmk_is_set(controld_globals.fsa_input_register, R_THE_DC) controld_globals 100 daemons/controld/controld_globals.h extern controld_globals_t controld_globals; controld_globals 128 daemons/controld/controld_globals.h controld_globals.flags = pcmk__set_flags_as(__func__, __LINE__, \ controld_globals 131 daemons/controld/controld_globals.h controld_globals.flags, \ controld_globals 137 daemons/controld/controld_globals.h controld_globals.flags \ controld_globals 139 daemons/controld/controld_globals.h "controller", controld_globals.flags, \ controld_globals 35 daemons/controld/controld_join_client.c if ((controld_globals.dc_name != NULL) controld_globals 37 daemons/controld/controld_join_client.c crm_node_t *dc_node = pcmk__get_node(0, controld_globals.dc_name, NULL, controld_globals 80 daemons/controld/controld_join_client.c if (!pcmk_is_set(controld_globals.fsa_input_register, R_STARTING)) { controld_globals 107 daemons/controld/controld_join_client.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 129 daemons/controld/controld_join_client.c welcome_from, controld_globals.dc_name); controld_globals 164 daemons/controld/controld_join_client.c } else if (controld_globals.dc_name == NULL) { controld_globals 170 daemons/controld/controld_join_client.c pcmk__get_node(0, controld_globals.dc_name, NULL, controld_globals 174 daemons/controld/controld_join_client.c join_id, controld_globals.dc_name); controld_globals 178 daemons/controld/controld_join_client.c controld_globals.dc_name, CRM_SYSTEM_DC, controld_globals 198 daemons/controld/controld_join_client.c cib__update_node_attr(controld_globals.logger_out, controld_globals 199 daemons/controld/controld_join_client.c controld_globals.cib_conn, cib_sync_call, controld_globals 208 daemons/controld/controld_join_client.c cib__update_node_attr(controld_globals.logger_out, controld_globals 209 daemons/controld/controld_join_client.c controld_globals.cib_conn, cib_sync_call, controld_globals 288 daemons/controld/controld_join_client.c && pcmk__str_eq(welcome_from, controld_globals.our_nodename, controld_globals 296 daemons/controld/controld_join_client.c op, welcome_from, controld_globals.dc_name); controld_globals 303 daemons/controld/controld_join_client.c update_attrd(controld_globals.our_nodename, CRM_ATTR_FEATURE_SET, controld_globals 311 daemons/controld/controld_join_client.c controld_globals.dc_name, CRM_SYSTEM_DC, controld_globals 314 daemons/controld/controld_join_client.c pcmk__get_node(0, controld_globals.dc_name, NULL, controld_globals 320 daemons/controld/controld_join_client.c join_id, controld_globals.dc_name); controld_globals 335 daemons/controld/controld_join_client.c && !pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 339 daemons/controld/controld_join_client.c set_join_state(start_state, controld_globals.our_nodename, controld_globals 340 daemons/controld/controld_join_client.c controld_globals.our_uuid, false); controld_globals 365 daemons/controld/controld_join_client.c "failed", join_id, controld_globals.dc_name); controld_globals 196 daemons/controld/controld_join_dc.c pcmk_is_set(controld_globals.fsa_input_register, controld_globals 233 daemons/controld/controld_join_dc.c if (controld_globals.membership_id != crm_peer_seq) { controld_globals 234 daemons/controld/controld_join_dc.c controld_globals.membership_id = crm_peer_seq; controld_globals 333 daemons/controld/controld_join_dc.c if (strcasecmp(join_to, controld_globals.our_nodename) != 0) { controld_globals 334 daemons/controld/controld_join_dc.c member = pcmk__get_node(0, controld_globals.our_nodename, NULL, controld_globals 507 daemons/controld/controld_join_dc.c && pcmk__str_eq(join_from, controld_globals.our_nodename, controld_globals 594 daemons/controld/controld_join_dc.c check_join_state(controld_globals.fsa_state, __func__); controld_globals 599 daemons/controld/controld_join_dc.c if (pcmk__str_eq(max_generation_from, controld_globals.our_nodename, controld_globals 604 daemons/controld/controld_join_dc.c if (!controld_globals.transition_graph->complete) { controld_globals 612 daemons/controld/controld_join_dc.c if (pcmk_is_set(controld_globals.fsa_input_register, R_HAVE_CIB)) { controld_globals 614 daemons/controld/controld_join_dc.c sync_from = pcmk__str_copy(controld_globals.our_nodename); controld_globals 630 daemons/controld/controld_join_dc.c rc = controld_globals.cib_conn->cmds->sync_from(controld_globals.cib_conn, controld_globals 668 daemons/controld/controld_join_dc.c } else if (controld_globals.fsa_state != S_FINALIZE_JOIN) { controld_globals 671 daemons/controld/controld_join_dc.c fsa_state2string(controld_globals.fsa_state)); controld_globals 677 daemons/controld/controld_join_dc.c if (!check_join_state(controld_globals.fsa_state, __func__)) { controld_globals 711 daemons/controld/controld_join_dc.c check_join_state(controld_globals.fsa_state, __func__); controld_globals 733 daemons/controld/controld_join_dc.c cib_t *cib = controld_globals.cib_conn; controld_globals 788 daemons/controld/controld_join_dc.c if (pcmk_is_set(controld_globals.flags, controld_shutdown_lock_enabled)) { controld_globals 803 daemons/controld/controld_join_dc.c if (pcmk__str_eq(join_from, controld_globals.our_nodename, controld_globals 955 daemons/controld/controld_join_dc.c if (controld_globals.membership_id != crm_peer_seq) { controld_globals 958 daemons/controld/controld_join_dc.c current_join_id, controld_globals.membership_id, crm_peer_seq, controld_globals 979 daemons/controld/controld_join_dc.c if (!pcmk_is_set(controld_globals.fsa_input_register, R_HAVE_CIB)) { controld_globals 1235 daemons/controld/controld_matrix.c return fsa_next_states[input][controld_globals.fsa_state]; controld_globals 1249 daemons/controld/controld_matrix.c return fsa_actions[input][controld_globals.fsa_state]; controld_globals 35 daemons/controld/controld_membership.c if (pcmk__str_eq(controld_globals.our_nodename, node->uname, controld_globals 41 daemons/controld/controld_membership.c && pcmk__str_eq(node->uname, controld_globals.dc_name, controld_globals 48 daemons/controld/controld_membership.c if ((controld_globals.fsa_state == S_INTEGRATION) controld_globals 49 daemons/controld/controld_membership.c || (controld_globals.fsa_state == S_FINALIZE_JOIN)) { controld_globals 50 daemons/controld/controld_membership.c check_join_state(controld_globals.fsa_state, __func__); controld_globals 53 daemons/controld/controld_membership.c fail_incompletable_actions(controld_globals.transition_graph, controld_globals 150 daemons/controld/controld_membership.c if (compare_version(controld_globals.dc_version, "3.18.0") >= 0) { controld_globals 163 daemons/controld/controld_membership.c if (compare_version(controld_globals.dc_version, "3.18.0") >= 0) { controld_globals 259 daemons/controld/controld_membership.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 305 daemons/controld/controld_membership.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 413 daemons/controld/controld_membership.c bool has_quorum = pcmk_is_set(controld_globals.flags, controld_has_quorum); controld_globals 418 daemons/controld/controld_membership.c } else if (pcmk_all_flags_set(controld_globals.flags, controld_globals 431 daemons/controld/controld_membership.c crm_xml_add(update, PCMK_XA_DC_UUID, controld_globals.our_uuid); controld_globals 41 daemons/controld/controld_messages.c if (controld_globals.fsa_actions != A_NOTHING) { controld_globals 44 daemons/controld/controld_messages.c controld_globals.fsa_actions, TRUE, __func__); controld_globals 49 daemons/controld/controld_messages.c fsa_dump_actions(controld_globals.fsa_actions, "Drop"); controld_globals 50 daemons/controld/controld_messages.c controld_globals.fsa_actions = A_NOTHING; controld_globals 61 daemons/controld/controld_messages.c unsigned old_len = g_list_length(controld_globals.fsa_message_queue); controld_globals 93 daemons/controld/controld_messages.c with_actions |= controld_globals.fsa_actions; controld_globals 94 daemons/controld/controld_messages.c controld_globals.fsa_actions = A_NOTHING; controld_globals 151 daemons/controld/controld_messages.c controld_globals.fsa_message_queue controld_globals 152 daemons/controld/controld_messages.c = g_list_prepend(controld_globals.fsa_message_queue, fsa_data); controld_globals 154 daemons/controld/controld_messages.c controld_globals.fsa_message_queue controld_globals 155 daemons/controld/controld_messages.c = g_list_append(controld_globals.fsa_message_queue, fsa_data); controld_globals 159 daemons/controld/controld_messages.c g_list_length(controld_globals.fsa_message_queue)); controld_globals 163 daemons/controld/controld_messages.c if (old_len == g_list_length(controld_globals.fsa_message_queue)) { controld_globals 177 daemons/controld/controld_messages.c for (GList *iter = controld_globals.fsa_message_queue; iter != NULL; controld_globals 249 daemons/controld/controld_messages.c = (fsa_data_t *) controld_globals.fsa_message_queue->data; controld_globals 251 daemons/controld/controld_messages.c controld_globals.fsa_message_queue controld_globals 252 daemons/controld/controld_messages.c = g_list_remove(controld_globals.fsa_message_queue, message); controld_globals 428 daemons/controld/controld_messages.c } else if (pcmk__str_eq(controld_globals.our_nodename, host_to, controld_globals 446 daemons/controld/controld_messages.c && (controld_globals.dc_name == NULL)) { controld_globals 464 daemons/controld/controld_messages.c send_msg_via_ipc(msg, sys_to, controld_globals.our_nodename); controld_globals 500 daemons/controld/controld_messages.c send_msg_via_ipc(msg, sys_to, controld_globals.our_nodename); controld_globals 840 daemons/controld/controld_messages.c value = fsa_state2string(controld_globals.fsa_state); controld_globals 927 daemons/controld/controld_messages.c pcmk_is_set(controld_globals.flags, controld_globals 943 daemons/controld/controld_messages.c value = controld_globals.our_nodename; controld_globals 998 daemons/controld/controld_messages.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 1004 daemons/controld/controld_messages.c if (pcmk__str_eq(host_from, controld_globals.dc_name, pcmk__str_casei)) { controld_globals 1011 daemons/controld/controld_messages.c if (controld_globals.fsa_state != S_STOPPING) { controld_globals 1036 daemons/controld/controld_messages.c if (pcmk__str_eq(host_from, controld_globals.dc_name, controld_globals 1039 daemons/controld/controld_messages.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 1051 daemons/controld/controld_messages.c host_from, controld_globals.dc_name); controld_globals 1115 daemons/controld/controld_messages.c if (AM_I_DC && (controld_globals.transition_graph != NULL) controld_globals 1116 daemons/controld/controld_messages.c && !controld_globals.transition_graph->complete) { controld_globals 1136 daemons/controld/controld_messages.c if (controld_globals.fsa_state == S_HALT) { controld_globals 1238 daemons/controld/controld_messages.c } else if (pcmk__str_eq(msg_ref, controld_globals.fsa_pe_ref, controld_globals 1276 daemons/controld/controld_messages.c host_from = controld_globals.our_nodename; controld_globals 1280 daemons/controld/controld_messages.c fsa_state2string(controld_globals.fsa_state)); controld_globals 1333 daemons/controld/controld_messages.c do_lrm_invoke(A_LRM_INVOKE, C_IPC_MESSAGE, controld_globals.fsa_state, controld_globals 1375 daemons/controld/controld_messages.c controld_globals.our_nodename); controld_globals 243 daemons/controld/controld_remote_ra.c if (pcmk_is_set(controld_globals.flags, controld_shutdown_lock_enabled)) { controld_globals 621 daemons/controld/controld_remote_ra.c lrm_state = lrm_state_find(controld_globals.our_nodename); controld_globals 1041 daemons/controld/controld_remote_ra.c && !pcmk__str_eq(id, controld_globals.our_nodename, pcmk__str_casei)) { controld_globals 88 daemons/controld/controld_schedulerd.c if (pcmk_is_set(controld_globals.fsa_input_register, R_PE_REQUIRED)) { controld_globals 106 daemons/controld/controld_schedulerd.c rc = controld_globals.cib_conn->cmds->query(controld_globals.cib_conn, controld_globals 131 daemons/controld/controld_schedulerd.c } else if (pcmk__str_eq(msg_ref, controld_globals.fsa_pe_ref, controld_globals 227 daemons/controld/controld_schedulerd.c && !pcmk_is_set(controld_globals.fsa_input_register, R_PE_CONNECTED)) { controld_globals 275 daemons/controld/controld_schedulerd.c && (controld_globals.fsa_pe_ref != NULL)) { controld_globals 277 daemons/controld/controld_schedulerd.c controld_globals.fsa_pe_ref); controld_globals 304 daemons/controld/controld_schedulerd.c free(controld_globals.fsa_pe_ref); controld_globals 305 daemons/controld/controld_schedulerd.c controld_globals.fsa_pe_ref = ref; controld_globals 328 daemons/controld/controld_schedulerd.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 336 daemons/controld/controld_schedulerd.c if (!pcmk_is_set(controld_globals.fsa_input_register, R_PE_CONNECTED)) { controld_globals 337 daemons/controld/controld_schedulerd.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 355 daemons/controld/controld_schedulerd.c if (!pcmk_is_set(controld_globals.fsa_input_register, R_HAVE_CIB)) { controld_globals 366 daemons/controld/controld_schedulerd.c fsa_state2string(controld_globals.fsa_state)); controld_globals 459 daemons/controld/controld_schedulerd.c || !pcmk_is_set(controld_globals.fsa_input_register, controld_globals 464 daemons/controld/controld_schedulerd.c } else if (controld_globals.fsa_state != S_POLICY_ENGINE) { controld_globals 466 daemons/controld/controld_schedulerd.c fsa_state2string(controld_globals.fsa_state)); controld_globals 485 daemons/controld/controld_schedulerd.c crm_xml_add(output, PCMK_XA_DC_UUID, controld_globals.our_uuid); controld_globals 487 daemons/controld/controld_schedulerd.c pcmk_is_set(controld_globals.flags, controld_globals 492 daemons/controld/controld_schedulerd.c if (pcmk_is_set(controld_globals.flags, controld_ever_had_quorum) controld_globals 508 daemons/controld/controld_schedulerd.c fsa_pe_query, controld_globals.fsa_pe_ref, crm_peer_seq, controld_globals 509 daemons/controld/controld_schedulerd.c pcmk__flag_text(controld_globals.flags, controld_has_quorum)); controld_globals 57 daemons/controld/controld_te_actions.c if (pcmk__str_eq(controld_globals.our_nodename, node->uname, controld_globals 133 daemons/controld/controld_te_actions.c router_node = controld_globals.our_nodename; controld_globals 138 daemons/controld/controld_te_actions.c if (pcmk__str_eq(router_node, controld_globals.our_nodename, controld_globals 170 daemons/controld/controld_te_actions.c counter = pcmk__transition_key(controld_globals.transition_graph->id, controld_globals 172 daemons/controld/controld_te_actions.c controld_globals.te_uuid); controld_globals 242 daemons/controld/controld_te_actions.c op->user_data = pcmk__transition_key(controld_globals.transition_graph->id, controld_globals 244 daemons/controld/controld_te_actions.c controld_globals.te_uuid); controld_globals 253 daemons/controld/controld_te_actions.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 389 daemons/controld/controld_te_actions.c counter = pcmk__transition_key(controld_globals.transition_graph->id, controld_globals 391 daemons/controld/controld_te_actions.c controld_globals.te_uuid); controld_globals 394 daemons/controld/controld_te_actions.c if (pcmk__str_eq(router_node, controld_globals.our_nodename, controld_globals 428 daemons/controld/controld_te_actions.c do_lrm_invoke(A_LRM_INVOKE, C_FSA_INTERNAL, controld_globals.fsa_state, controld_globals 454 daemons/controld/controld_te_actions.c pcmk__update_graph(controld_globals.transition_graph, action); controld_globals 708 daemons/controld/controld_te_actions.c fsa_state2string(controld_globals.fsa_state)); controld_globals 715 daemons/controld/controld_te_actions.c if (controld_globals.fsa_state == S_TRANSITION_ENGINE) { controld_globals 721 daemons/controld/controld_te_actions.c if (controld_globals.fsa_state == S_TRANSITION_ENGINE) { controld_globals 728 daemons/controld/controld_te_actions.c if (controld_globals.fsa_state == S_TRANSITION_ENGINE) { controld_globals 736 daemons/controld/controld_te_actions.c } else if (controld_globals.fsa_state == S_POLICY_ENGINE) { controld_globals 744 daemons/controld/controld_te_actions.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 45 daemons/controld/controld_te_callbacks.c pcmk__output_set_log_level(controld_globals.logger_out, LOG_TRACE); controld_globals 46 daemons/controld/controld_te_callbacks.c controld_globals.logger_out->message(controld_globals.logger_out, controld_globals 119 daemons/controld/controld_te_callbacks.c if ((controld_globals.transition_graph->pending == 0) && (max > 1)) { controld_globals 255 daemons/controld/controld_te_callbacks.c if ((controld_globals.transition_graph->pending == 0) controld_globals 556 daemons/controld/controld_te_callbacks.c if (controld_globals.transition_graph == NULL) { controld_globals 564 daemons/controld/controld_te_callbacks.c } else if (controld_globals.transition_graph->complete controld_globals 565 daemons/controld/controld_te_callbacks.c && (controld_globals.fsa_state != S_IDLE) controld_globals 566 daemons/controld/controld_te_callbacks.c && (controld_globals.fsa_state != S_TRANSITION_ENGINE) controld_globals 567 daemons/controld/controld_te_callbacks.c && (controld_globals.fsa_state != S_POLICY_ENGINE)) { controld_globals 569 daemons/controld/controld_te_callbacks.c fsa_state2string(controld_globals.fsa_state)); controld_globals 581 daemons/controld/controld_te_callbacks.c fsa_state2string(controld_globals.fsa_state)); controld_globals 682 daemons/controld/controld_te_callbacks.c if (controld_globals.transition_graph->complete) { controld_globals 695 daemons/controld/controld_te_callbacks.c + controld_globals.transition_graph->network_delay)); controld_globals 700 daemons/controld/controld_te_callbacks.c te_action_confirmed(action, controld_globals.transition_graph); controld_globals 214 daemons/controld/controld_te_events.c value = pcmk__s(controld_globals.transition_graph->failed_start_offset, controld_globals 219 daemons/controld/controld_te_events.c value = pcmk__s(controld_globals.transition_graph->failed_stop_offset, controld_globals 292 daemons/controld/controld_te_events.c for (GList *item = controld_globals.transition_graph->synapses; controld_globals 313 daemons/controld/controld_te_events.c gIter = controld_globals.transition_graph->synapses; controld_globals 362 daemons/controld/controld_te_events.c te_action_confirmed(cancel, controld_globals.transition_graph); controld_globals 389 daemons/controld/controld_te_events.c for (gIter = controld_globals.transition_graph->synapses; controld_globals 484 daemons/controld/controld_te_events.c || !pcmk__str_eq(update_te_uuid, controld_globals.te_uuid, controld_globals 490 daemons/controld/controld_te_events.c } else if ((controld_globals.transition_graph->id != transition_num) controld_globals 491 daemons/controld/controld_te_events.c || controld_globals.transition_graph->complete) { controld_globals 512 daemons/controld/controld_te_events.c } else if (controld_globals.transition_graph->id != transition_num) { controld_globals 556 daemons/controld/controld_te_events.c te_action_confirmed(action, controld_globals.transition_graph); controld_globals 41 daemons/controld/controld_te_utils.c if (controld_globals.transition_graph == NULL) { controld_globals 47 daemons/controld/controld_te_utils.c controld_globals.transition_graph->id, controld_globals 48 daemons/controld/controld_te_utils.c fsa_state2string(controld_globals.fsa_state)); controld_globals 50 daemons/controld/controld_te_utils.c switch (controld_globals.fsa_state) { controld_globals 63 daemons/controld/controld_te_utils.c if (!controld_globals.transition_graph->complete) { controld_globals 65 daemons/controld/controld_te_utils.c int orig_limit = controld_globals.transition_graph->batch_limit; controld_globals 68 daemons/controld/controld_te_utils.c controld_globals.transition_graph->batch_limit = throttled_limit; controld_globals 69 daemons/controld/controld_te_utils.c graph_rc = pcmk__execute_graph(controld_globals.transition_graph); controld_globals 70 daemons/controld/controld_te_utils.c controld_globals.transition_graph->batch_limit = orig_limit; controld_globals 84 daemons/controld/controld_te_utils.c pcmk__log_graph(LOG_NOTICE, controld_globals.transition_graph); controld_globals 89 daemons/controld/controld_te_utils.c controld_globals.transition_graph->id); controld_globals 90 daemons/controld/controld_te_utils.c controld_globals.transition_graph->complete = true; controld_globals 91 daemons/controld/controld_te_utils.c notify_crmd(controld_globals.transition_graph); controld_globals 196 daemons/controld/controld_te_utils.c (const char *) key, controld_globals.node_pending_timeout); controld_globals 198 daemons/controld/controld_te_utils.c if (controld_globals.node_pending_timeout > 0) { controld_globals 229 daemons/controld/controld_te_utils.c controld_globals.node_pending_timeout); controld_globals 268 daemons/controld/controld_te_utils.c || (controld_globals.node_pending_timeout == 0)) { controld_globals 276 daemons/controld/controld_te_utils.c + controld_globals.node_pending_timeout; controld_globals 353 daemons/controld/controld_te_utils.c CRM_CHECK(controld_globals.transition_graph != NULL, return); controld_globals 355 daemons/controld/controld_te_utils.c switch (controld_globals.fsa_state) { controld_globals 364 daemons/controld/controld_te_utils.c abort_text, fsa_state2string(controld_globals.fsa_state), controld_globals 365 daemons/controld/controld_te_utils.c (controld_globals.transition_graph->complete? "" : "in")); controld_globals 374 daemons/controld/controld_te_utils.c if (!controld_globals.transition_graph->complete controld_globals 375 daemons/controld/controld_te_utils.c && update_abort_priority(controld_globals.transition_graph, controld_globals 405 daemons/controld/controld_te_utils.c "complete=%s", controld_globals.transition_graph->id, controld_globals 407 daemons/controld/controld_te_utils.c pcmk__btoa(controld_globals.transition_graph->complete)); controld_globals 415 daemons/controld/controld_te_utils.c controld_globals.transition_graph->id, reason->name, controld_globals 418 daemons/controld/controld_te_utils.c pcmk__btoa(controld_globals.transition_graph->complete)); controld_globals 444 daemons/controld/controld_te_utils.c controld_globals.transition_graph->id, controld_globals 447 daemons/controld/controld_te_utils.c pcmk__btoa(controld_globals.transition_graph->complete)); controld_globals 452 daemons/controld/controld_te_utils.c controld_globals.transition_graph->id, controld_globals 457 daemons/controld/controld_te_utils.c pcmk__btoa(controld_globals.transition_graph->complete)); controld_globals 465 daemons/controld/controld_te_utils.c controld_globals.transition_graph->id, controld_globals 470 daemons/controld/controld_te_utils.c pcmk__btoa(controld_globals.transition_graph->complete)); controld_globals 478 daemons/controld/controld_te_utils.c controld_globals.transition_graph->id, controld_globals 481 daemons/controld/controld_te_utils.c pcmk__btoa(controld_globals.transition_graph->complete)); controld_globals 488 daemons/controld/controld_te_utils.c controld_globals.transition_graph->id, controld_globals 491 daemons/controld/controld_te_utils.c pcmk__btoa(controld_globals.transition_graph->complete)); controld_globals 496 daemons/controld/controld_te_utils.c if (controld_globals.transition_graph->complete) { controld_globals 179 daemons/controld/controld_timers.c fsa_state2string(controld_globals.fsa_state), controld_globals 210 daemons/controld/controld_timers.c && (controld_globals.fsa_state != S_IDLE)) { controld_globals 213 daemons/controld/controld_timers.c fsa_state2string(controld_globals.fsa_state)); controld_globals 216 daemons/controld/controld_timers.c && (controld_globals.fsa_state != S_FINALIZE_JOIN)) { controld_globals 219 daemons/controld/controld_timers.c fsa_state2string(controld_globals.fsa_state)); controld_globals 379 daemons/controld/controld_timers.c if (controld_globals.transition_graph->recheck_by > 0) { controld_globals 380 daemons/controld/controld_timers.c time_t diff_seconds = controld_globals.transition_graph->recheck_by controld_globals 35 daemons/controld/controld_transition.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 39 daemons/controld/controld_transition.c pcmk__free_graph(controld_globals.transition_graph); controld_globals 40 daemons/controld/controld_transition.c controld_globals.transition_graph = NULL; controld_globals 55 daemons/controld/controld_transition.c } else if (pcmk_is_set(controld_globals.fsa_input_register, controld_globals 65 daemons/controld/controld_transition.c if (controld_globals.te_uuid == NULL) { controld_globals 66 daemons/controld/controld_transition.c controld_globals.te_uuid = crm_generate_uuid(); controld_globals 67 daemons/controld/controld_transition.c crm_info("Registering TE UUID: %s", controld_globals.te_uuid); controld_globals 83 daemons/controld/controld_transition.c pcmk__free_graph(controld_globals.transition_graph); controld_globals 87 daemons/controld/controld_transition.c controld_globals.transition_graph = create_blank_graph(); controld_globals 101 daemons/controld/controld_transition.c || ((controld_globals.fsa_state != S_TRANSITION_ENGINE) controld_globals 105 daemons/controld/controld_transition.c fsa_state2string(controld_globals.fsa_state)); controld_globals 111 daemons/controld/controld_transition.c controld_globals.transition_graph->complete? "in" : ""); controld_globals 114 daemons/controld/controld_transition.c if (!controld_globals.transition_graph->complete) { controld_globals 121 daemons/controld/controld_transition.c if (!controld_globals.transition_graph->complete) { controld_globals 138 daemons/controld/controld_transition.c if (!controld_globals.transition_graph->complete) { controld_globals 145 daemons/controld/controld_transition.c if ((controld_globals.fsa_pe_ref == NULL) controld_globals 146 daemons/controld/controld_transition.c || !pcmk__str_eq(controld_globals.fsa_pe_ref, ref, controld_globals 149 daemons/controld/controld_transition.c pcmk__s(controld_globals.fsa_pe_ref, "no reference"), controld_globals 165 daemons/controld/controld_transition.c pcmk__free_graph(controld_globals.transition_graph); controld_globals 166 daemons/controld/controld_transition.c controld_globals.transition_graph = pcmk__unpack_graph(graph_data, controld_globals 168 daemons/controld/controld_transition.c CRM_CHECK(controld_globals.transition_graph != NULL, controld_globals 169 daemons/controld/controld_transition.c controld_globals.transition_graph = create_blank_graph(); controld_globals 172 daemons/controld/controld_transition.c controld_globals.transition_graph->id, ref, graph_input); controld_globals 177 daemons/controld/controld_transition.c pcmk__log_graph(LOG_TRACE, controld_globals.transition_graph); controld_globals 689 daemons/controld/controld_utils.c char *last_dc = controld_globals.dc_name; controld_globals 703 daemons/controld/controld_utils.c && !pcmk__str_eq(welcome_from, controld_globals.our_nodename, controld_globals 707 daemons/controld/controld_utils.c } else if ((controld_globals.dc_name != NULL) controld_globals 708 daemons/controld/controld_utils.c && !pcmk__str_eq(welcome_from, controld_globals.dc_name, controld_globals 719 daemons/controld/controld_utils.c welcome_from, controld_globals.dc_name); controld_globals 728 daemons/controld/controld_utils.c controld_globals.dc_name = NULL; // freed as last_dc controld_globals 729 daemons/controld/controld_utils.c pcmk__str_update(&(controld_globals.dc_name), welcome_from); controld_globals 730 daemons/controld/controld_utils.c pcmk__str_update(&(controld_globals.dc_version), dc_version); controld_globals 732 daemons/controld/controld_utils.c if (pcmk__str_eq(controld_globals.dc_name, last_dc, pcmk__str_casei)) { controld_globals 735 daemons/controld/controld_utils.c } else if (controld_globals.dc_name != NULL) { controld_globals 736 daemons/controld/controld_utils.c crm_node_t *dc_node = pcmk__get_node(0, controld_globals.dc_name, NULL, controld_globals 740 daemons/controld/controld_utils.c controld_globals.dc_name, controld_globals 741 daemons/controld/controld_utils.c pcmk__s(controld_globals.dc_version, "unknown version")); controld_globals 36 daemons/controld/pacemaker-controld.c controld_globals_t controld_globals = { controld_globals 164 daemons/controld/pacemaker-controld.c if (pcmk__log_output_new(&(controld_globals.logger_out)) != pcmk_rc_ok) { controld_globals 169 daemons/controld/pacemaker-controld.c pcmk__output_set_log_level(controld_globals.logger_out, LOG_TRACE); controld_globals 205 daemons/controld/pacemaker-controld.c controld_globals.mainloop = g_main_loop_new(NULL, FALSE); controld_globals 206 daemons/controld/pacemaker-controld.c g_main_loop_run(controld_globals.mainloop); controld_globals 207 daemons/controld/pacemaker-controld.c if (pcmk_is_set(controld_globals.fsa_input_register, R_STAYDOWN)) {