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 35 daemons/controld/controld_callbacks.c if (!pcmk__str_eq(from, controld_globals.our_nodename, controld_globals 41 daemons/controld/controld_callbacks.c if (controld_globals.fsa_state != S_ELECTION) { controld_globals 178 daemons/controld/controld_callbacks.c const char *dc_s = controld_globals.dc_name; controld_globals 206 daemons/controld/controld_callbacks.c if (!pcmk_is_set(controld_globals.fsa_input_register, controld_globals 211 daemons/controld/controld_callbacks.c } else if (controld_globals.fsa_state == S_STOPPING) { controld_globals 217 daemons/controld/controld_callbacks.c && pcmk__str_eq(node->uname, controld_globals.our_nodename, controld_globals 223 daemons/controld/controld_callbacks.c } else if (pcmk__str_eq(node->uname, controld_globals.dc_name, controld_globals 228 daemons/controld/controld_callbacks.c controld_globals.dc_name); controld_globals 239 daemons/controld/controld_callbacks.c if (compare_version(controld_globals.dc_version, "3.0.9") > 0) { controld_globals 246 daemons/controld/controld_callbacks.c || pcmk_is_set(controld_globals.flags, controld_dc_left) controld_globals 247 daemons/controld/controld_callbacks.c || (controld_globals.dc_name == NULL)) { controld_globals 292 daemons/controld/controld_callbacks.c check_join_state(controld_globals.fsa_state, __func__); controld_globals 300 daemons/controld/controld_callbacks.c pcmk__update_graph(controld_globals.transition_graph, down); controld_globals 313 daemons/controld/controld_callbacks.c if ((controld_globals.transition_graph == NULL) controld_globals 314 daemons/controld/controld_callbacks.c || (controld_globals.transition_graph->id == -1)) { controld_globals 323 daemons/controld/controld_callbacks.c check_join_state(controld_globals.fsa_state, __func__); controld_globals 327 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 34 daemons/controld/controld_cib.c CRM_LOG_ASSERT(user_data == controld_globals.cib_conn); controld_globals 37 daemons/controld/controld_cib.c controld_globals.cib_conn->state = cib_disconnected; controld_globals 39 daemons/controld/controld_cib.c if (pcmk_is_set(controld_globals.fsa_input_register, R_CIB_CONNECTED)) { controld_globals 101 daemons/controld/controld_cib.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 129 daemons/controld/controld_cib.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 187 daemons/controld/controld_cib.c if (!pcmk_is_set(controld_globals.fsa_input_register, R_CIB_CONNECTED)) { controld_globals 238 daemons/controld/controld_cib.c if (controld_globals.cib_conn) { controld_globals 239 daemons/controld/controld_cib.c controld_globals.cib_conn->call_timeout = calculated_timeout; controld_globals 255 daemons/controld/controld_cib.c if ((controld_globals.fsa_state == S_ELECTION) controld_globals 256 daemons/controld/controld_cib.c || (controld_globals.fsa_state == S_PENDING)) { controld_globals 258 daemons/controld/controld_cib.c fsa_state2string(controld_globals.fsa_state)); controld_globals 325 daemons/controld/controld_cib.c - controld_globals.shutdown_lock_limit; controld_globals 373 daemons/controld/controld_cib.c cib_t *cib = controld_globals.cib_conn; controld_globals 419 daemons/controld/controld_cib.c cib_t *cib = controld_globals.cib_conn; controld_globals 499 daemons/controld/controld_cib.c && compare_version(controld_globals.dc_version, "3.16.0") >= 0) { controld_globals 679 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 981 daemons/controld/controld_cib.c controld_globals.cib_conn->cmds->remove(controld_globals.cib_conn, controld_globals 1039 daemons/controld/controld_cib.c controld_globals.cib_conn->cmds->remove(controld_globals.cib_conn, xpath, controld_globals 1067 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 456 daemons/controld/controld_control.c } else if (!pcmk_is_set(controld_globals.fsa_input_register, controld_globals 463 daemons/controld/controld_control.c } else if (!pcmk_is_set(controld_globals.fsa_input_register, controld_globals 470 daemons/controld/controld_control.c } else if (!pcmk_is_set(controld_globals.fsa_input_register, controld_globals 477 daemons/controld/controld_control.c } else if (!pcmk_is_set(controld_globals.fsa_input_register, controld_globals 484 daemons/controld/controld_control.c } else if (!pcmk_is_set(controld_globals.fsa_input_register, R_PEER_DATA)) { controld_globals 764 daemons/controld/controld_control.c controld_globals.shutdown_lock_limit = crm_parse_interval_spec(value) controld_globals 769 daemons/controld/controld_control.c controld_globals.node_pending_timeout = crm_parse_interval_spec(value) / 1000; controld_globals 772 daemons/controld/controld_control.c pcmk__str_update(&(controld_globals.cluster_name), value); controld_globals 810 daemons/controld/controld_control.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 838 daemons/controld/controld_control.c if ((controld_globals.mainloop == NULL) controld_globals 839 daemons/controld/controld_control.c || !g_main_loop_is_running(controld_globals.mainloop)) { controld_globals 844 daemons/controld/controld_control.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 81 daemons/controld/controld_corosync.c if (!pcmk_is_set(controld_globals.fsa_input_register, R_HA_DISCONNECTED)) { controld_globals 119 daemons/controld/controld_corosync.c if (controld_globals.dc_name != NULL) { controld_globals 122 daemons/controld/controld_corosync.c peer = pcmk__search_cluster_node_cache(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 226 daemons/controld/controld_election.c controld_globals.cib_conn->cmds->set_primary(controld_globals.cib_conn, controld_globals 238 daemons/controld/controld_election.c if ((controld_globals.cluster_name == NULL) && is_corosync_cluster()) { controld_globals 266 daemons/controld/controld_election.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 268 daemons/controld/controld_election.c crm_node_t *node = crm_get_peer(0, controld_globals.our_nodename); controld_globals 54 daemons/controld/controld_execd.c if (pcmk_is_set(controld_globals.fsa_input_register, R_LRM_CONNECTED)) { controld_globals 279 daemons/controld/controld_execd.c return pcmk__s(op->remote_nodename, controld_globals.our_nodename); controld_globals 359 daemons/controld/controld_execd.c if (controld_globals.our_nodename == NULL) { controld_globals 362 daemons/controld/controld_execd.c lrm_state = lrm_state_find_or_create(controld_globals.our_nodename); controld_globals 409 daemons/controld/controld_execd.c } else if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 440 daemons/controld/controld_execd.c || !pcmk_is_set(controld_globals.fsa_input_register, controld_globals 457 daemons/controld/controld_execd.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 576 daemons/controld/controld_execd.c lrm_state_t *lrm_state = lrm_state_find(controld_globals.our_nodename); controld_globals 580 daemons/controld/controld_execd.c controld_globals.our_nodename); controld_globals 652 daemons/controld/controld_execd.c cib__update_node_attr(controld_globals.logger_out, controld_globals 653 daemons/controld/controld_execd.c controld_globals.cib_conn, cib_none, controld_globals 1152 daemons/controld/controld_execd.c target = controld_globals.our_nodename; controld_globals 1224 daemons/controld/controld_execd.c controld_globals.our_uuid); controld_globals 1397 daemons/controld/controld_execd.c if (!pcmk_is_set(controld_globals.fsa_input_register, R_HA_DISCONNECTED)) { controld_globals 1422 daemons/controld/controld_execd.c is_remote_node = !pcmk__str_eq(target_node, controld_globals.our_nodename, controld_globals 1755 daemons/controld/controld_execd.c peer = crm_get_peer(0, controld_globals.our_nodename); controld_globals 1760 daemons/controld/controld_execd.c crm_xml_add(iter, XML_ATTR_ID, controld_globals.our_uuid); controld_globals 1767 daemons/controld/controld_execd.c controld_globals.our_nodename); controld_globals 1883 daemons/controld/controld_execd.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN) controld_globals 1890 daemons/controld/controld_execd.c switch (controld_globals.fsa_state) { controld_globals 1984 daemons/controld/controld_execd.c fsa_state2string(controld_globals.fsa_state), controld_globals 1985 daemons/controld/controld_execd.c pcmk__btoa(pcmk_is_set(controld_globals.fsa_input_register, controld_globals 2229 daemons/controld/controld_execd.c if (compare_version(controld_globals.dc_version, "3.2.0") < 0) { controld_globals 97 daemons/controld/controld_execd_state.c && pcmk__str_eq(lrm_state->node_name, controld_globals.our_nodename, controld_globals 348 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 258 daemons/controld/controld_fencing.c rc = controld_globals.cib_conn->cmds->modify(controld_globals.cib_conn, controld_globals 452 daemons/controld/controld_fencing.c if (pcmk_is_set(controld_globals.fsa_input_register, R_ST_REQUIRED)) { controld_globals 472 daemons/controld/controld_fencing.c fail_incompletable_stonith(controld_globals.transition_graph); controld_globals 539 daemons/controld/controld_fencing.c && pcmk__str_eq(event->target, controld_globals.our_nodename, controld_globals 615 daemons/controld/controld_fencing.c } else if (pcmk__str_eq(controld_globals.dc_name, event->target, controld_globals 620 daemons/controld/controld_fencing.c if (controld_globals.dc_name != NULL) { controld_globals 631 daemons/controld/controld_fencing.c if (pcmk__str_eq(event->executioner, controld_globals.our_nodename, controld_globals 697 daemons/controld/controld_fencing.c if (pcmk_is_set(controld_globals.fsa_input_register, controld_globals 810 daemons/controld/controld_fencing.c if (controld_globals.transition_graph->complete || (stonith_id < 0) controld_globals 811 daemons/controld/controld_fencing.c || !pcmk__str_eq(uuid, controld_globals.te_uuid, pcmk__str_none) controld_globals 812 daemons/controld/controld_fencing.c || (controld_globals.transition_graph->id != transition_id)) { controld_globals 817 daemons/controld/controld_fencing.c pcmk__btoa(controld_globals.transition_graph->complete), controld_globals 818 daemons/controld/controld_fencing.c stonith_id, uuid, controld_globals.te_uuid, transition_id, controld_globals 819 daemons/controld/controld_fencing.c controld_globals.transition_graph->id); controld_globals 918 daemons/controld/controld_fencing.c pcmk__update_graph(controld_globals.transition_graph, action); controld_globals 931 daemons/controld/controld_fencing.c int timeout_sec = (int) (controld_globals.transition_graph->stonith_timeout controld_globals 963 daemons/controld/controld_fencing.c int stonith_timeout = (int) (controld_globals.transition_graph->stonith_timeout controld_globals 989 daemons/controld/controld_fencing.c transition_key = pcmk__transition_key(controld_globals.transition_graph->id, controld_globals 991 daemons/controld/controld_fencing.c controld_globals.te_uuid), controld_globals 1005 daemons/controld/controld_fencing.c const char *our_nodename = controld_globals.our_nodename; controld_globals 95 daemons/controld/controld_fsa.c function(an_action, fsa_data->fsa_cause, controld_globals.fsa_state, controld_globals 185 daemons/controld/controld_fsa.c controld_globals_t *globals = &controld_globals; controld_globals 187 daemons/controld/controld_fsa.c uint64_t register_copy = controld_globals.fsa_input_register; controld_globals 195 daemons/controld/controld_fsa.c fsa_dump_actions(controld_globals.fsa_actions, "Initial"); controld_globals 198 daemons/controld/controld_fsa.c if ((controld_globals.fsa_message_queue == NULL) controld_globals 199 daemons/controld/controld_fsa.c && (controld_globals.fsa_actions != A_NOTHING)) { controld_globals 206 daemons/controld/controld_fsa.c controld_globals.fsa_message_queue controld_globals 207 daemons/controld/controld_fsa.c = g_list_append(controld_globals.fsa_message_queue, fsa_data); controld_globals 209 daemons/controld/controld_fsa.c while ((controld_globals.fsa_message_queue != NULL) controld_globals 210 daemons/controld/controld_fsa.c && !pcmk_is_set(controld_globals.flags, controld_fsa_is_stalled)) { controld_globals 212 daemons/controld/controld_fsa.c g_list_length(controld_globals.fsa_message_queue)); controld_globals 238 daemons/controld/controld_fsa.c if (pcmk_is_set(controld_globals.fsa_actions, A_ERROR)) { controld_globals 241 daemons/controld/controld_fsa.c if (pcmk_is_set(controld_globals.fsa_actions, A_WARN)) { controld_globals 244 daemons/controld/controld_fsa.c if (pcmk_is_set(controld_globals.fsa_actions, A_LOG)) { controld_globals 256 daemons/controld/controld_fsa.c || pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 279 daemons/controld/controld_fsa.c if ((controld_globals.fsa_message_queue != NULL) controld_globals 280 daemons/controld/controld_fsa.c || (controld_globals.fsa_actions != A_NOTHING) controld_globals 281 daemons/controld/controld_fsa.c || pcmk_is_set(controld_globals.flags, controld_fsa_is_stalled)) { controld_globals 284 daemons/controld/controld_fsa.c g_list_length(controld_globals.fsa_message_queue), controld_globals 285 daemons/controld/controld_fsa.c (unsigned long long) controld_globals.fsa_actions, controld_globals 286 daemons/controld/controld_fsa.c pcmk__btoa(pcmk_is_set(controld_globals.flags, controld_globals 293 daemons/controld/controld_fsa.c if (register_copy != controld_globals.fsa_input_register) { controld_globals 294 daemons/controld/controld_fsa.c uint64_t same = register_copy & controld_globals.fsa_input_register; controld_globals 297 daemons/controld/controld_fsa.c controld_globals.fsa_input_register ^ same); controld_globals 301 daemons/controld/controld_fsa.c fsa_dump_actions(controld_globals.fsa_actions, "Remaining"); controld_globals 315 daemons/controld/controld_fsa.c while ((controld_globals.fsa_actions != A_NOTHING) controld_globals 316 daemons/controld/controld_fsa.c && !pcmk_is_set(controld_globals.flags, controld_fsa_is_stalled)) { controld_globals 323 daemons/controld/controld_fsa.c if (pcmk_is_set(controld_globals.fsa_actions, A_ERROR)) { controld_globals 325 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_WARN)) { controld_globals 327 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_LOG)) { controld_globals 331 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_EXIT_1)) { controld_globals 335 daemons/controld/controld_fsa.c } else if (pcmk_all_flags_set(controld_globals.fsa_actions, controld_globals 339 daemons/controld/controld_fsa.c } else if (pcmk_all_flags_set(controld_globals.fsa_actions, controld_globals 343 daemons/controld/controld_fsa.c } else if (pcmk_all_flags_set(controld_globals.fsa_actions, controld_globals 347 daemons/controld/controld_fsa.c } else if (pcmk_all_flags_set(controld_globals.fsa_actions, controld_globals 352 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_STARTUP)) { controld_globals 354 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_CIB_START)) { controld_globals 356 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_HA_CONNECT)) { controld_globals 358 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_READCONFIG)) { controld_globals 362 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_LRM_CONNECT)) { controld_globals 364 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_TE_START)) { controld_globals 366 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_PE_START)) { controld_globals 370 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_DC_TIMER_STOP)) { controld_globals 372 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 375 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 378 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 381 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 388 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_MSG_ROUTE)) { controld_globals 390 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_RECOVER)) { controld_globals 392 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 397 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 402 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_SHUTDOWN_REQ)) { controld_globals 404 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_ELECTION_VOTE)) { controld_globals 406 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 410 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_LRM_EVENT)) { controld_globals 416 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_STARTED)) { controld_globals 418 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_CL_JOIN_QUERY)) { controld_globals 420 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 428 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_DC_TAKEOVER)) { controld_globals 430 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_DC_RELEASE)) { controld_globals 432 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_DC_JOIN_FINAL)) { controld_globals 434 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 438 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 442 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 446 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 450 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 455 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 459 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 463 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 472 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_TE_HALT)) { controld_globals 474 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_TE_CANCEL)) { controld_globals 476 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_LRM_INVOKE)) { controld_globals 478 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_PE_INVOKE)) { controld_globals 480 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_TE_INVOKE)) { controld_globals 484 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_DC_RELEASED)) { controld_globals 486 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_PE_STOP)) { controld_globals 488 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_TE_STOP)) { controld_globals 490 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_SHUTDOWN)) { controld_globals 492 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 496 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_HA_DISCONNECT)) { controld_globals 498 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_CIB_STOP)) { controld_globals 500 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_STOP)) { controld_globals 504 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_EXIT_0)) { controld_globals 510 daemons/controld/controld_fsa.c fsa_action2string(controld_globals.fsa_actions), controld_globals 511 daemons/controld/controld_fsa.c (unsigned long long) controld_globals.fsa_actions); controld_globals 566 daemons/controld/controld_fsa.c } else if (controld_globals.membership_id != crm_peer_seq) { controld_globals 568 daemons/controld/controld_fsa.c controld_globals.membership_id, crm_peer_seq); controld_globals 586 daemons/controld/controld_fsa.c uint64_t original_fsa_actions = controld_globals.fsa_actions; controld_globals 647 daemons/controld/controld_fsa.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 661 daemons/controld/controld_fsa.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 665 daemons/controld/controld_fsa.c CRM_LOG_ASSERT(controld_globals.dc_name != NULL); controld_globals 666 daemons/controld/controld_fsa.c if (controld_globals.dc_name == NULL) { controld_globals 711 daemons/controld/controld_fsa.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 729 daemons/controld/controld_fsa.c if (original_fsa_actions != controld_globals.fsa_actions) { controld_globals 730 daemons/controld/controld_fsa.c fsa_dump_actions(original_fsa_actions ^ controld_globals.fsa_actions, controld_globals 459 daemons/controld/controld_fsa.h controld_globals.fsa_input_register \ controld_globals 462 daemons/controld/controld_fsa.h controld_globals.fsa_input_register, \ controld_globals 467 daemons/controld/controld_fsa.h controld_globals.fsa_input_register \ controld_globals 470 daemons/controld/controld_fsa.h controld_globals.fsa_input_register, \ controld_globals 476 daemons/controld/controld_fsa.h controld_globals.fsa_actions \ controld_globals 479 daemons/controld/controld_fsa.h controld_globals.fsa_actions, \ controld_globals 484 daemons/controld/controld_fsa.h controld_globals.fsa_actions \ controld_globals 487 daemons/controld/controld_fsa.h controld_globals.fsa_actions, \ controld_globals 510 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 36 daemons/controld/controld_join_client.c if ((controld_globals.dc_name != NULL) controld_globals 38 daemons/controld/controld_join_client.c crm_node_t *dc_node = crm_get_peer(0, controld_globals.dc_name); 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 171 daemons/controld/controld_join_client.c join_id, controld_globals.dc_name); controld_globals 175 daemons/controld/controld_join_client.c controld_globals.dc_name, CRM_SYSTEM_DC, controld_globals 180 daemons/controld/controld_join_client.c send_cluster_message(crm_get_peer(0, controld_globals.dc_name), controld_globals 196 daemons/controld/controld_join_client.c cib__update_node_attr(controld_globals.logger_out, controld_globals 197 daemons/controld/controld_join_client.c controld_globals.cib_conn, cib_sync_call, controld_globals 205 daemons/controld/controld_join_client.c cib__update_node_attr(controld_globals.logger_out, controld_globals 206 daemons/controld/controld_join_client.c controld_globals.cib_conn, cib_sync_call, controld_globals 283 daemons/controld/controld_join_client.c && pcmk__str_eq(welcome_from, controld_globals.our_nodename, controld_globals 291 daemons/controld/controld_join_client.c op, welcome_from, controld_globals.dc_name); controld_globals 298 daemons/controld/controld_join_client.c update_attrd(controld_globals.our_nodename, CRM_ATTR_FEATURE_SET, controld_globals 306 daemons/controld/controld_join_client.c controld_globals.dc_name, CRM_SYSTEM_DC, controld_globals 312 daemons/controld/controld_join_client.c join_id, controld_globals.dc_name); controld_globals 327 daemons/controld/controld_join_client.c && !pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 331 daemons/controld/controld_join_client.c set_join_state(start_state, controld_globals.our_nodename, controld_globals 332 daemons/controld/controld_join_client.c controld_globals.our_uuid, false); controld_globals 336 daemons/controld/controld_join_client.c send_cluster_message(crm_get_peer(0, controld_globals.dc_name), controld_globals 357 daemons/controld/controld_join_client.c "failed", join_id, controld_globals.dc_name); controld_globals 197 daemons/controld/controld_join_dc.c pcmk_is_set(controld_globals.fsa_input_register, controld_globals 234 daemons/controld/controld_join_dc.c if (controld_globals.membership_id != crm_peer_seq) { controld_globals 235 daemons/controld/controld_join_dc.c controld_globals.membership_id = crm_peer_seq; controld_globals 334 daemons/controld/controld_join_dc.c if (strcasecmp(join_to, controld_globals.our_nodename) != 0) { controld_globals 335 daemons/controld/controld_join_dc.c member = crm_get_peer(0, controld_globals.our_nodename); controld_globals 485 daemons/controld/controld_join_dc.c && pcmk__str_eq(join_from, controld_globals.our_nodename, controld_globals 571 daemons/controld/controld_join_dc.c check_join_state(controld_globals.fsa_state, __func__); controld_globals 576 daemons/controld/controld_join_dc.c if (pcmk__str_eq(max_generation_from, controld_globals.our_nodename, controld_globals 581 daemons/controld/controld_join_dc.c if (!controld_globals.transition_graph->complete) { controld_globals 589 daemons/controld/controld_join_dc.c if (pcmk_is_set(controld_globals.fsa_input_register, R_HAVE_CIB)) { controld_globals 591 daemons/controld/controld_join_dc.c pcmk__str_update(&sync_from, controld_globals.our_nodename); controld_globals 607 daemons/controld/controld_join_dc.c rc = controld_globals.cib_conn->cmds->sync_from(controld_globals.cib_conn, controld_globals 645 daemons/controld/controld_join_dc.c } else if (controld_globals.fsa_state != S_FINALIZE_JOIN) { controld_globals 648 daemons/controld/controld_join_dc.c fsa_state2string(controld_globals.fsa_state)); controld_globals 654 daemons/controld/controld_join_dc.c if (!check_join_state(controld_globals.fsa_state, __func__)) { controld_globals 688 daemons/controld/controld_join_dc.c check_join_state(controld_globals.fsa_state, __func__); controld_globals 710 daemons/controld/controld_join_dc.c cib_t *cib = controld_globals.cib_conn; controld_globals 765 daemons/controld/controld_join_dc.c if (pcmk_is_set(controld_globals.flags, controld_shutdown_lock_enabled)) { controld_globals 780 daemons/controld/controld_join_dc.c if (pcmk__str_eq(join_from, controld_globals.our_nodename, controld_globals 931 daemons/controld/controld_join_dc.c if (controld_globals.membership_id != crm_peer_seq) { controld_globals 934 daemons/controld/controld_join_dc.c current_join_id, controld_globals.membership_id, crm_peer_seq, controld_globals 955 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 36 daemons/controld/controld_membership.c if (pcmk__str_eq(controld_globals.our_nodename, node->uname, controld_globals 42 daemons/controld/controld_membership.c && pcmk__str_eq(node->uname, controld_globals.dc_name, controld_globals 49 daemons/controld/controld_membership.c if ((controld_globals.fsa_state == S_INTEGRATION) controld_globals 50 daemons/controld/controld_membership.c || (controld_globals.fsa_state == S_FINALIZE_JOIN)) { controld_globals 51 daemons/controld/controld_membership.c check_join_state(controld_globals.fsa_state, __func__); controld_globals 54 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 263 daemons/controld/controld_membership.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 310 daemons/controld/controld_membership.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 416 daemons/controld/controld_membership.c bool has_quorum = pcmk_is_set(controld_globals.flags, controld_has_quorum); controld_globals 421 daemons/controld/controld_membership.c } else if (pcmk_all_flags_set(controld_globals.flags, controld_globals 434 daemons/controld/controld_membership.c crm_xml_add(update, XML_ATTR_DC_UUID, controld_globals.our_uuid); controld_globals 43 daemons/controld/controld_messages.c if (controld_globals.fsa_actions != A_NOTHING) { controld_globals 46 daemons/controld/controld_messages.c controld_globals.fsa_actions, TRUE, __func__); controld_globals 51 daemons/controld/controld_messages.c fsa_dump_actions(controld_globals.fsa_actions, "Drop"); controld_globals 52 daemons/controld/controld_messages.c controld_globals.fsa_actions = A_NOTHING; controld_globals 63 daemons/controld/controld_messages.c unsigned old_len = g_list_length(controld_globals.fsa_message_queue); controld_globals 95 daemons/controld/controld_messages.c with_actions |= controld_globals.fsa_actions; controld_globals 96 daemons/controld/controld_messages.c controld_globals.fsa_actions = A_NOTHING; controld_globals 153 daemons/controld/controld_messages.c controld_globals.fsa_message_queue controld_globals 154 daemons/controld/controld_messages.c = g_list_prepend(controld_globals.fsa_message_queue, fsa_data); controld_globals 156 daemons/controld/controld_messages.c controld_globals.fsa_message_queue controld_globals 157 daemons/controld/controld_messages.c = g_list_append(controld_globals.fsa_message_queue, fsa_data); controld_globals 161 daemons/controld/controld_messages.c g_list_length(controld_globals.fsa_message_queue)); controld_globals 165 daemons/controld/controld_messages.c if (old_len == g_list_length(controld_globals.fsa_message_queue)) { controld_globals 179 daemons/controld/controld_messages.c for (GList *iter = controld_globals.fsa_message_queue; iter != NULL; controld_globals 248 daemons/controld/controld_messages.c = (fsa_data_t *) controld_globals.fsa_message_queue->data; controld_globals 250 daemons/controld/controld_messages.c controld_globals.fsa_message_queue controld_globals 251 daemons/controld/controld_messages.c = g_list_remove(controld_globals.fsa_message_queue, message); controld_globals 425 daemons/controld/controld_messages.c } else if (pcmk__str_eq(controld_globals.our_nodename, host_to, controld_globals 810 daemons/controld/controld_messages.c value = fsa_state2string(controld_globals.fsa_state); controld_globals 891 daemons/controld/controld_messages.c pcmk_is_set(controld_globals.flags, controld_globals 903 daemons/controld/controld_messages.c value = controld_globals.our_nodename; controld_globals 958 daemons/controld/controld_messages.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 964 daemons/controld/controld_messages.c if (pcmk__str_eq(host_from, controld_globals.dc_name, pcmk__str_casei)) { controld_globals 971 daemons/controld/controld_messages.c if (controld_globals.fsa_state != S_STOPPING) { controld_globals 996 daemons/controld/controld_messages.c if (pcmk__str_eq(host_from, controld_globals.dc_name, controld_globals 999 daemons/controld/controld_messages.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 1011 daemons/controld/controld_messages.c host_from, controld_globals.dc_name); controld_globals 1074 daemons/controld/controld_messages.c if (AM_I_DC && (controld_globals.transition_graph != NULL) controld_globals 1075 daemons/controld/controld_messages.c && !controld_globals.transition_graph->complete) { controld_globals 1095 daemons/controld/controld_messages.c if (controld_globals.fsa_state == S_HALT) { controld_globals 1199 daemons/controld/controld_messages.c } else if (pcmk__str_eq(msg_ref, controld_globals.fsa_pe_ref, controld_globals 1237 daemons/controld/controld_messages.c host_from = controld_globals.our_nodename; controld_globals 1241 daemons/controld/controld_messages.c fsa_state2string(controld_globals.fsa_state)); controld_globals 1262 daemons/controld/controld_messages.c crm_xml_add(msg, F_CRM_HOST_FROM, controld_globals.our_nodename); controld_globals 1289 daemons/controld/controld_messages.c do_lrm_invoke(A_LRM_INVOKE, C_IPC_MESSAGE, controld_globals.fsa_state, controld_globals 1330 daemons/controld/controld_messages.c crm_xml_add(msg, PCMK__XA_CONN_HOST, controld_globals.our_nodename); controld_globals 242 daemons/controld/controld_remote_ra.c if (pcmk_is_set(controld_globals.flags, controld_shutdown_lock_enabled)) { controld_globals 617 daemons/controld/controld_remote_ra.c lrm_state = lrm_state_find(controld_globals.our_nodename); controld_globals 1031 daemons/controld/controld_remote_ra.c && !pcmk__str_eq(id, controld_globals.our_nodename, pcmk__str_casei)) { controld_globals 89 daemons/controld/controld_schedulerd.c if (pcmk_is_set(controld_globals.fsa_input_register, R_PE_REQUIRED)) { controld_globals 107 daemons/controld/controld_schedulerd.c rc = controld_globals.cib_conn->cmds->query(controld_globals.cib_conn, controld_globals 132 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 453 daemons/controld/controld_schedulerd.c || !pcmk_is_set(controld_globals.fsa_input_register, controld_globals 458 daemons/controld/controld_schedulerd.c } else if (controld_globals.fsa_state != S_POLICY_ENGINE) { controld_globals 460 daemons/controld/controld_schedulerd.c fsa_state2string(controld_globals.fsa_state)); controld_globals 479 daemons/controld/controld_schedulerd.c crm_xml_add(output, XML_ATTR_DC_UUID, controld_globals.our_uuid); controld_globals 481 daemons/controld/controld_schedulerd.c pcmk_is_set(controld_globals.flags, controld_globals 486 daemons/controld/controld_schedulerd.c if (pcmk_is_set(controld_globals.flags, controld_ever_had_quorum) controld_globals 501 daemons/controld/controld_schedulerd.c "quorate=%s", fsa_pe_query, controld_globals.fsa_pe_ref, controld_globals 502 daemons/controld/controld_schedulerd.c crm_peer_seq, pcmk__btoa(pcmk_is_set(controld_globals.flags, controld_globals 58 daemons/controld/controld_te_actions.c if (pcmk__str_eq(controld_globals.our_nodename, node->uname, controld_globals 132 daemons/controld/controld_te_actions.c router_node = controld_globals.our_nodename; controld_globals 137 daemons/controld/controld_te_actions.c if (pcmk__str_eq(router_node, controld_globals.our_nodename, controld_globals 168 daemons/controld/controld_te_actions.c counter = pcmk__transition_key(controld_globals.transition_graph->id, controld_globals 170 daemons/controld/controld_te_actions.c controld_globals.te_uuid); controld_globals 237 daemons/controld/controld_te_actions.c op->user_data = pcmk__transition_key(controld_globals.transition_graph->id, controld_globals 239 daemons/controld/controld_te_actions.c controld_globals.te_uuid); controld_globals 248 daemons/controld/controld_te_actions.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 381 daemons/controld/controld_te_actions.c counter = pcmk__transition_key(controld_globals.transition_graph->id, controld_globals 383 daemons/controld/controld_te_actions.c controld_globals.te_uuid); controld_globals 386 daemons/controld/controld_te_actions.c if (pcmk__str_eq(router_node, controld_globals.our_nodename, controld_globals 420 daemons/controld/controld_te_actions.c do_lrm_invoke(A_LRM_INVOKE, C_FSA_INTERNAL, controld_globals.fsa_state, controld_globals 442 daemons/controld/controld_te_actions.c pcmk__update_graph(controld_globals.transition_graph, action); controld_globals 693 daemons/controld/controld_te_actions.c fsa_state2string(controld_globals.fsa_state)); controld_globals 700 daemons/controld/controld_te_actions.c if (controld_globals.fsa_state == S_TRANSITION_ENGINE) { controld_globals 706 daemons/controld/controld_te_actions.c if (controld_globals.fsa_state == S_TRANSITION_ENGINE) { controld_globals 713 daemons/controld/controld_te_actions.c if (controld_globals.fsa_state == S_TRANSITION_ENGINE) { controld_globals 721 daemons/controld/controld_te_actions.c } else if (controld_globals.fsa_state == S_POLICY_ENGINE) { controld_globals 729 daemons/controld/controld_te_actions.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 47 daemons/controld/controld_te_callbacks.c pcmk__output_set_log_level(controld_globals.logger_out, LOG_TRACE); controld_globals 48 daemons/controld/controld_te_callbacks.c controld_globals.logger_out->message(controld_globals.logger_out, controld_globals 116 daemons/controld/controld_te_callbacks.c if ((controld_globals.transition_graph->pending == 0) && (max > 1)) { controld_globals 247 daemons/controld/controld_te_callbacks.c if ((controld_globals.transition_graph->pending == 0) controld_globals 536 daemons/controld/controld_te_callbacks.c if (controld_globals.transition_graph == NULL) { controld_globals 544 daemons/controld/controld_te_callbacks.c } else if (controld_globals.transition_graph->complete controld_globals 545 daemons/controld/controld_te_callbacks.c && (controld_globals.fsa_state != S_IDLE) controld_globals 546 daemons/controld/controld_te_callbacks.c && (controld_globals.fsa_state != S_TRANSITION_ENGINE) controld_globals 547 daemons/controld/controld_te_callbacks.c && (controld_globals.fsa_state != S_POLICY_ENGINE)) { controld_globals 549 daemons/controld/controld_te_callbacks.c fsa_state2string(controld_globals.fsa_state)); controld_globals 559 daemons/controld/controld_te_callbacks.c fsa_state2string(controld_globals.fsa_state)); controld_globals 660 daemons/controld/controld_te_callbacks.c if (controld_globals.transition_graph->complete) { controld_globals 673 daemons/controld/controld_te_callbacks.c + controld_globals.transition_graph->network_delay)); controld_globals 678 daemons/controld/controld_te_callbacks.c te_action_confirmed(action, controld_globals.transition_graph); controld_globals 205 daemons/controld/controld_te_events.c value = pcmk__s(controld_globals.transition_graph->failed_start_offset, controld_globals 210 daemons/controld/controld_te_events.c value = pcmk__s(controld_globals.transition_graph->failed_stop_offset, controld_globals 285 daemons/controld/controld_te_events.c for (GList *item = controld_globals.transition_graph->synapses; controld_globals 306 daemons/controld/controld_te_events.c gIter = controld_globals.transition_graph->synapses; controld_globals 355 daemons/controld/controld_te_events.c te_action_confirmed(cancel, controld_globals.transition_graph); controld_globals 382 daemons/controld/controld_te_events.c for (gIter = controld_globals.transition_graph->synapses; controld_globals 475 daemons/controld/controld_te_events.c || !pcmk__str_eq(update_te_uuid, controld_globals.te_uuid, controld_globals 480 daemons/controld/controld_te_events.c } else if ((controld_globals.transition_graph->id != transition_num) controld_globals 481 daemons/controld/controld_te_events.c || controld_globals.transition_graph->complete) { controld_globals 502 daemons/controld/controld_te_events.c } else if (controld_globals.transition_graph->id != transition_num) { controld_globals 544 daemons/controld/controld_te_events.c te_action_confirmed(action, controld_globals.transition_graph); controld_globals 42 daemons/controld/controld_te_utils.c if (controld_globals.transition_graph == NULL) { controld_globals 48 daemons/controld/controld_te_utils.c controld_globals.transition_graph->id, controld_globals 49 daemons/controld/controld_te_utils.c fsa_state2string(controld_globals.fsa_state)); controld_globals 51 daemons/controld/controld_te_utils.c switch (controld_globals.fsa_state) { controld_globals 64 daemons/controld/controld_te_utils.c if (!controld_globals.transition_graph->complete) { controld_globals 66 daemons/controld/controld_te_utils.c int orig_limit = controld_globals.transition_graph->batch_limit; controld_globals 69 daemons/controld/controld_te_utils.c controld_globals.transition_graph->batch_limit = throttled_limit; controld_globals 70 daemons/controld/controld_te_utils.c graph_rc = pcmk__execute_graph(controld_globals.transition_graph); controld_globals 71 daemons/controld/controld_te_utils.c controld_globals.transition_graph->batch_limit = orig_limit; controld_globals 85 daemons/controld/controld_te_utils.c pcmk__log_graph(LOG_NOTICE, controld_globals.transition_graph); controld_globals 90 daemons/controld/controld_te_utils.c controld_globals.transition_graph->id); controld_globals 91 daemons/controld/controld_te_utils.c controld_globals.transition_graph->complete = true; controld_globals 92 daemons/controld/controld_te_utils.c notify_crmd(controld_globals.transition_graph); controld_globals 197 daemons/controld/controld_te_utils.c (const char *) key, controld_globals.node_pending_timeout); controld_globals 199 daemons/controld/controld_te_utils.c if (controld_globals.node_pending_timeout > 0) { controld_globals 230 daemons/controld/controld_te_utils.c controld_globals.node_pending_timeout); controld_globals 272 daemons/controld/controld_te_utils.c || (controld_globals.node_pending_timeout == 0)) { controld_globals 280 daemons/controld/controld_te_utils.c + controld_globals.node_pending_timeout; controld_globals 357 daemons/controld/controld_te_utils.c CRM_CHECK(controld_globals.transition_graph != NULL, return); controld_globals 359 daemons/controld/controld_te_utils.c switch (controld_globals.fsa_state) { controld_globals 368 daemons/controld/controld_te_utils.c abort_text, fsa_state2string(controld_globals.fsa_state), controld_globals 369 daemons/controld/controld_te_utils.c (controld_globals.transition_graph->complete? "" : "in")); controld_globals 378 daemons/controld/controld_te_utils.c if (!controld_globals.transition_graph->complete controld_globals 379 daemons/controld/controld_te_utils.c && update_abort_priority(controld_globals.transition_graph, controld_globals 409 daemons/controld/controld_te_utils.c "complete=%s", controld_globals.transition_graph->id, controld_globals 411 daemons/controld/controld_te_utils.c pcmk__btoa(controld_globals.transition_graph->complete)); controld_globals 419 daemons/controld/controld_te_utils.c controld_globals.transition_graph->id, reason->name, controld_globals 422 daemons/controld/controld_te_utils.c pcmk__btoa(controld_globals.transition_graph->complete)); controld_globals 447 daemons/controld/controld_te_utils.c controld_globals.transition_graph->id, controld_globals 450 daemons/controld/controld_te_utils.c pcmk__btoa(controld_globals.transition_graph->complete)); controld_globals 455 daemons/controld/controld_te_utils.c controld_globals.transition_graph->id, controld_globals 460 daemons/controld/controld_te_utils.c pcmk__btoa(controld_globals.transition_graph->complete)); controld_globals 467 daemons/controld/controld_te_utils.c controld_globals.transition_graph->id, controld_globals 471 daemons/controld/controld_te_utils.c pcmk__btoa(controld_globals.transition_graph->complete)); controld_globals 479 daemons/controld/controld_te_utils.c controld_globals.transition_graph->id, controld_globals 482 daemons/controld/controld_te_utils.c pcmk__btoa(controld_globals.transition_graph->complete)); controld_globals 489 daemons/controld/controld_te_utils.c controld_globals.transition_graph->id, controld_globals 492 daemons/controld/controld_te_utils.c pcmk__btoa(controld_globals.transition_graph->complete)); controld_globals 497 daemons/controld/controld_te_utils.c if (controld_globals.transition_graph->complete) { controld_globals 178 daemons/controld/controld_timers.c fsa_state2string(controld_globals.fsa_state), controld_globals 209 daemons/controld/controld_timers.c && (controld_globals.fsa_state != S_IDLE)) { controld_globals 212 daemons/controld/controld_timers.c fsa_state2string(controld_globals.fsa_state)); controld_globals 215 daemons/controld/controld_timers.c && (controld_globals.fsa_state != S_FINALIZE_JOIN)) { controld_globals 218 daemons/controld/controld_timers.c fsa_state2string(controld_globals.fsa_state)); controld_globals 405 daemons/controld/controld_timers.c if (controld_globals.transition_graph->recheck_by > 0) { controld_globals 406 daemons/controld/controld_timers.c time_t diff_seconds = controld_globals.transition_graph->recheck_by controld_globals 36 daemons/controld/controld_transition.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 40 daemons/controld/controld_transition.c pcmk__free_graph(controld_globals.transition_graph); controld_globals 41 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 84 daemons/controld/controld_transition.c pcmk__free_graph(controld_globals.transition_graph); controld_globals 88 daemons/controld/controld_transition.c controld_globals.transition_graph = create_blank_graph(); controld_globals 102 daemons/controld/controld_transition.c || ((controld_globals.fsa_state != S_TRANSITION_ENGINE) controld_globals 106 daemons/controld/controld_transition.c fsa_state2string(controld_globals.fsa_state)); controld_globals 112 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 120 daemons/controld/controld_transition.c if (!controld_globals.transition_graph->complete) { controld_globals 137 daemons/controld/controld_transition.c if (!controld_globals.transition_graph->complete) { controld_globals 144 daemons/controld/controld_transition.c if ((controld_globals.fsa_pe_ref == NULL) controld_globals 145 daemons/controld/controld_transition.c || !pcmk__str_eq(controld_globals.fsa_pe_ref, ref, controld_globals 148 daemons/controld/controld_transition.c pcmk__s(controld_globals.fsa_pe_ref, "no reference"), controld_globals 168 daemons/controld/controld_transition.c pcmk__free_graph(controld_globals.transition_graph); controld_globals 169 daemons/controld/controld_transition.c controld_globals.transition_graph = pcmk__unpack_graph(graph_data, controld_globals 171 daemons/controld/controld_transition.c CRM_CHECK(controld_globals.transition_graph != NULL, controld_globals 172 daemons/controld/controld_transition.c controld_globals.transition_graph = create_blank_graph(); controld_globals 175 daemons/controld/controld_transition.c controld_globals.transition_graph->id, ref, graph_input); controld_globals 180 daemons/controld/controld_transition.c pcmk__log_graph(LOG_TRACE, controld_globals.transition_graph); controld_globals 690 daemons/controld/controld_utils.c char *last_dc = controld_globals.dc_name; controld_globals 704 daemons/controld/controld_utils.c && !pcmk__str_eq(welcome_from, controld_globals.our_nodename, controld_globals 708 daemons/controld/controld_utils.c } else if ((controld_globals.dc_name != NULL) controld_globals 709 daemons/controld/controld_utils.c && !pcmk__str_eq(welcome_from, controld_globals.dc_name, controld_globals 720 daemons/controld/controld_utils.c welcome_from, controld_globals.dc_name); controld_globals 729 daemons/controld/controld_utils.c controld_globals.dc_name = NULL; // freed as last_dc controld_globals 730 daemons/controld/controld_utils.c pcmk__str_update(&(controld_globals.dc_name), welcome_from); controld_globals 731 daemons/controld/controld_utils.c pcmk__str_update(&(controld_globals.dc_version), dc_version); controld_globals 733 daemons/controld/controld_utils.c if (pcmk__str_eq(controld_globals.dc_name, last_dc, pcmk__str_casei)) { controld_globals 736 daemons/controld/controld_utils.c } else if (controld_globals.dc_name != NULL) { controld_globals 737 daemons/controld/controld_utils.c crm_node_t *dc_node = crm_get_peer(0, controld_globals.dc_name); 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 146 daemons/controld/pacemaker-controld.c if (pcmk__log_output_new(&(controld_globals.logger_out)) != pcmk_rc_ok) { controld_globals 151 daemons/controld/pacemaker-controld.c pcmk__output_set_log_level(controld_globals.logger_out, LOG_TRACE); controld_globals 187 daemons/controld/pacemaker-controld.c controld_globals.mainloop = g_main_loop_new(NULL, FALSE); controld_globals 188 daemons/controld/pacemaker-controld.c g_main_loop_run(controld_globals.mainloop); controld_globals 189 daemons/controld/pacemaker-controld.c if (pcmk_is_set(controld_globals.fsa_input_register, R_STAYDOWN)) {