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 176 daemons/controld/controld_callbacks.c const char *dc_s = controld_globals.dc_name; controld_globals 204 daemons/controld/controld_callbacks.c if (!pcmk_is_set(controld_globals.fsa_input_register, controld_globals 209 daemons/controld/controld_callbacks.c } else if (controld_globals.fsa_state == S_STOPPING) { controld_globals 215 daemons/controld/controld_callbacks.c && pcmk__str_eq(node->uname, controld_globals.our_nodename, controld_globals 221 daemons/controld/controld_callbacks.c } else if (pcmk__str_eq(node->uname, controld_globals.dc_name, controld_globals 226 daemons/controld/controld_callbacks.c controld_globals.dc_name); controld_globals 237 daemons/controld/controld_callbacks.c if (compare_version(controld_globals.dc_version, "3.0.9") > 0) { controld_globals 244 daemons/controld/controld_callbacks.c || pcmk_is_set(controld_globals.flags, controld_dc_left) controld_globals 245 daemons/controld/controld_callbacks.c || (controld_globals.dc_name == NULL)) { controld_globals 289 daemons/controld/controld_callbacks.c check_join_state(controld_globals.fsa_state, __func__); controld_globals 297 daemons/controld/controld_callbacks.c pcmk__update_graph(controld_globals.transition_graph, down); controld_globals 310 daemons/controld/controld_callbacks.c if ((controld_globals.transition_graph == NULL) controld_globals 311 daemons/controld/controld_callbacks.c || (controld_globals.transition_graph->id == -1)) { controld_globals 320 daemons/controld/controld_callbacks.c check_join_state(controld_globals.fsa_state, __func__); controld_globals 324 daemons/controld/controld_callbacks.c fail_incompletable_actions(controld_globals.transition_graph, controld_globals 362 daemons/controld/controld_callbacks.c g_list_length(controld_globals.fsa_message_queue)); controld_globals 365 daemons/controld/controld_callbacks.c g_list_length(controld_globals.fsa_message_queue)); controld_globals 118 daemons/controld/controld_cib.c CRM_LOG_ASSERT(user_data == controld_globals.cib_conn); controld_globals 121 daemons/controld/controld_cib.c controld_globals.cib_conn->state = cib_disconnected; controld_globals 123 daemons/controld/controld_cib.c if (pcmk_is_set(controld_globals.fsa_input_register, R_CIB_CONNECTED)) { controld_globals 157 daemons/controld/controld_cib.c && pcmk__str_eq(client_id, controld_globals.cib_client_id, controld_globals 185 daemons/controld/controld_cib.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 217 daemons/controld/controld_cib.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 279 daemons/controld/controld_cib.c cib_conn->cmds->client_id(cib_conn, &controld_globals.cib_client_id, controld_globals 283 daemons/controld/controld_cib.c if (!pcmk_is_set(controld_globals.fsa_input_register, R_CIB_CONNECTED)) { controld_globals 333 daemons/controld/controld_cib.c if (controld_globals.cib_conn) { controld_globals 334 daemons/controld/controld_cib.c controld_globals.cib_conn->call_timeout = calculated_timeout; controld_globals 350 daemons/controld/controld_cib.c if ((controld_globals.fsa_state == S_ELECTION) controld_globals 351 daemons/controld/controld_cib.c || (controld_globals.fsa_state == S_PENDING)) { controld_globals 353 daemons/controld/controld_cib.c fsa_state2string(controld_globals.fsa_state)); controld_globals 414 daemons/controld/controld_cib.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 421 daemons/controld/controld_cib.c - controld_globals.shutdown_lock_limit; controld_globals 498 daemons/controld/controld_cib.c if (controld_globals.cib_conn == NULL) { controld_globals 506 daemons/controld/controld_cib.c rc = cib_internal_op(controld_globals.cib_conn, PCMK__CIB_REQUEST_DELETE, controld_globals 572 daemons/controld/controld_cib.c && compare_version(controld_globals.dc_version, "3.16.0") >= 0) { controld_globals 752 daemons/controld/controld_cib.c controld_globals.our_nodename, func); controld_globals 863 daemons/controld/controld_cib.c if (!pcmk_is_set(controld_globals.flags, controld_shutdown_lock_enabled)) { controld_globals 897 daemons/controld/controld_cib.c if (controld_globals.cib_conn != NULL) { controld_globals 898 daemons/controld/controld_cib.c cib_rc = cib_internal_op(controld_globals.cib_conn, controld_globals 963 daemons/controld/controld_cib.c if (pcmk__str_eq(node_name, controld_globals.our_nodename, controld_globals 965 daemons/controld/controld_cib.c node_id = controld_globals.our_uuid; controld_globals 1047 daemons/controld/controld_cib.c controld_globals.cib_conn->cmds->remove(controld_globals.cib_conn, controld_globals 1107 daemons/controld/controld_cib.c controld_globals.cib_conn->cmds->remove(controld_globals.cib_conn, xpath, controld_globals 1135 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 74 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 232 daemons/controld/controld_control.c verify_stopped(controld_globals.fsa_state, LOG_WARNING); controld_globals 249 daemons/controld/controld_control.c free(controld_globals.our_nodename); controld_globals 250 daemons/controld/controld_control.c controld_globals.our_nodename = NULL; controld_globals 252 daemons/controld/controld_control.c free(controld_globals.our_uuid); controld_globals 253 daemons/controld/controld_control.c controld_globals.our_uuid = NULL; controld_globals 255 daemons/controld/controld_control.c free(controld_globals.dc_name); controld_globals 256 daemons/controld/controld_control.c controld_globals.dc_name = NULL; controld_globals 258 daemons/controld/controld_control.c free(controld_globals.dc_version); controld_globals 259 daemons/controld/controld_control.c controld_globals.dc_version = NULL; controld_globals 261 daemons/controld/controld_control.c free(controld_globals.cluster_name); controld_globals 262 daemons/controld/controld_control.c controld_globals.cluster_name = NULL; controld_globals 264 daemons/controld/controld_control.c free(controld_globals.te_uuid); controld_globals 265 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 362 daemons/controld/controld_control.c controld_globals.cib_conn = cib_new(); controld_globals 464 daemons/controld/controld_control.c } else if (!pcmk_is_set(controld_globals.fsa_input_register, controld_globals 471 daemons/controld/controld_control.c } else if (!pcmk_is_set(controld_globals.fsa_input_register, controld_globals 478 daemons/controld/controld_control.c } else if (!pcmk_is_set(controld_globals.fsa_input_register, controld_globals 485 daemons/controld/controld_control.c } else if (!pcmk_is_set(controld_globals.fsa_input_register, controld_globals 492 daemons/controld/controld_control.c } else if (!pcmk_is_set(controld_globals.fsa_input_register, R_PEER_DATA)) { controld_globals 761 daemons/controld/controld_control.c controld_globals.shutdown_lock_limit = crm_parse_interval_spec(value) controld_globals 765 daemons/controld/controld_control.c pcmk__str_update(&(controld_globals.cluster_name), value); controld_globals 803 daemons/controld/controld_control.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 831 daemons/controld/controld_control.c if ((controld_globals.mainloop == NULL) controld_globals 832 daemons/controld/controld_control.c || !g_main_loop_is_running(controld_globals.mainloop)) { controld_globals 837 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 122 daemons/controld/controld_corosync.c if (controld_globals.dc_name != NULL) { controld_globals 125 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 273 daemons/controld/controld_election.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 275 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 281 daemons/controld/controld_execd.c return pcmk__s(op->remote_nodename, controld_globals.our_nodename); controld_globals 361 daemons/controld/controld_execd.c if (controld_globals.our_nodename == NULL) { controld_globals 364 daemons/controld/controld_execd.c lrm_state = lrm_state_find_or_create(controld_globals.our_nodename); controld_globals 413 daemons/controld/controld_execd.c } else if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 444 daemons/controld/controld_execd.c || !pcmk_is_set(controld_globals.fsa_input_register, controld_globals 461 daemons/controld/controld_execd.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 577 daemons/controld/controld_execd.c lrm_state_t *lrm_state = lrm_state_find(controld_globals.our_nodename); controld_globals 581 daemons/controld/controld_execd.c controld_globals.our_nodename); controld_globals 653 daemons/controld/controld_execd.c cib__update_node_attr(controld_globals.logger_out, controld_globals 654 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 1420 daemons/controld/controld_execd.c is_remote_node = !pcmk__str_eq(target_node, controld_globals.our_nodename, controld_globals 1750 daemons/controld/controld_execd.c peer = crm_get_peer(0, controld_globals.our_nodename); controld_globals 1755 daemons/controld/controld_execd.c crm_xml_add(iter, XML_ATTR_ID, controld_globals.our_uuid); controld_globals 1762 daemons/controld/controld_execd.c controld_globals.our_nodename); controld_globals 1878 daemons/controld/controld_execd.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN) controld_globals 1885 daemons/controld/controld_execd.c switch (controld_globals.fsa_state) { controld_globals 1978 daemons/controld/controld_execd.c fsa_state2string(controld_globals.fsa_state), controld_globals 1979 daemons/controld/controld_execd.c pcmk__btoa(pcmk_is_set(controld_globals.fsa_input_register, controld_globals 2222 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 349 daemons/controld/controld_execd_state.c if (!pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 506 daemons/controld/controld_execd_state.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 255 daemons/controld/controld_fencing.c rc = controld_globals.cib_conn->cmds->modify(controld_globals.cib_conn, controld_globals 449 daemons/controld/controld_fencing.c if (pcmk_is_set(controld_globals.fsa_input_register, R_ST_REQUIRED)) { controld_globals 468 daemons/controld/controld_fencing.c fail_incompletable_stonith(controld_globals.transition_graph); controld_globals 535 daemons/controld/controld_fencing.c && pcmk__str_eq(event->target, controld_globals.our_nodename, controld_globals 611 daemons/controld/controld_fencing.c } else if (pcmk__str_eq(controld_globals.dc_name, event->target, controld_globals 616 daemons/controld/controld_fencing.c if (controld_globals.dc_name != NULL) { controld_globals 627 daemons/controld/controld_fencing.c if (pcmk__str_eq(event->executioner, controld_globals.our_nodename, controld_globals 685 daemons/controld/controld_fencing.c if (pcmk_is_set(controld_globals.fsa_input_register, controld_globals 809 daemons/controld/controld_fencing.c if (controld_globals.transition_graph->complete || (stonith_id < 0) controld_globals 810 daemons/controld/controld_fencing.c || !pcmk__str_eq(uuid, controld_globals.te_uuid, pcmk__str_none) controld_globals 811 daemons/controld/controld_fencing.c || (controld_globals.transition_graph->id != transition_id)) { controld_globals 816 daemons/controld/controld_fencing.c pcmk__btoa(controld_globals.transition_graph->complete), controld_globals 817 daemons/controld/controld_fencing.c stonith_id, uuid, controld_globals.te_uuid, transition_id, controld_globals 818 daemons/controld/controld_fencing.c controld_globals.transition_graph->id); controld_globals 917 daemons/controld/controld_fencing.c pcmk__update_graph(controld_globals.transition_graph, action); controld_globals 930 daemons/controld/controld_fencing.c int timeout_sec = (int) (controld_globals.transition_graph->stonith_timeout controld_globals 962 daemons/controld/controld_fencing.c int stonith_timeout = (int) (controld_globals.transition_graph->stonith_timeout controld_globals 988 daemons/controld/controld_fencing.c transition_key = pcmk__transition_key(controld_globals.transition_graph->id, controld_globals 990 daemons/controld/controld_fencing.c controld_globals.te_uuid), controld_globals 1003 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 210 daemons/controld/controld_fsa.c while ((controld_globals.fsa_message_queue != NULL) controld_globals 211 daemons/controld/controld_fsa.c && !pcmk_is_set(controld_globals.flags, controld_fsa_is_stalled)) { controld_globals 213 daemons/controld/controld_fsa.c g_list_length(controld_globals.fsa_message_queue)); controld_globals 239 daemons/controld/controld_fsa.c if (pcmk_is_set(controld_globals.fsa_actions, A_ERROR)) { controld_globals 242 daemons/controld/controld_fsa.c if (pcmk_is_set(controld_globals.fsa_actions, A_WARN)) { controld_globals 245 daemons/controld/controld_fsa.c if (pcmk_is_set(controld_globals.fsa_actions, A_LOG)) { controld_globals 257 daemons/controld/controld_fsa.c || pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 281 daemons/controld/controld_fsa.c if ((controld_globals.fsa_message_queue != NULL) controld_globals 282 daemons/controld/controld_fsa.c || (controld_globals.fsa_actions != A_NOTHING) controld_globals 283 daemons/controld/controld_fsa.c || pcmk_is_set(controld_globals.flags, controld_fsa_is_stalled)) { controld_globals 286 daemons/controld/controld_fsa.c g_list_length(controld_globals.fsa_message_queue), controld_globals 287 daemons/controld/controld_fsa.c (unsigned long long) controld_globals.fsa_actions, controld_globals 288 daemons/controld/controld_fsa.c pcmk__btoa(pcmk_is_set(controld_globals.flags, controld_globals 295 daemons/controld/controld_fsa.c if (register_copy != controld_globals.fsa_input_register) { controld_globals 296 daemons/controld/controld_fsa.c uint64_t same = register_copy & controld_globals.fsa_input_register; controld_globals 299 daemons/controld/controld_fsa.c controld_globals.fsa_input_register ^ same); controld_globals 303 daemons/controld/controld_fsa.c fsa_dump_actions(controld_globals.fsa_actions, "Remaining"); controld_globals 317 daemons/controld/controld_fsa.c while ((controld_globals.fsa_actions != A_NOTHING) controld_globals 318 daemons/controld/controld_fsa.c && !pcmk_is_set(controld_globals.flags, controld_fsa_is_stalled)) { controld_globals 325 daemons/controld/controld_fsa.c if (pcmk_is_set(controld_globals.fsa_actions, A_ERROR)) { controld_globals 327 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_WARN)) { controld_globals 329 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_LOG)) { controld_globals 333 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_EXIT_1)) { controld_globals 337 daemons/controld/controld_fsa.c } else if (pcmk_all_flags_set(controld_globals.fsa_actions, controld_globals 341 daemons/controld/controld_fsa.c } else if (pcmk_all_flags_set(controld_globals.fsa_actions, controld_globals 345 daemons/controld/controld_fsa.c } else if (pcmk_all_flags_set(controld_globals.fsa_actions, controld_globals 349 daemons/controld/controld_fsa.c } else if (pcmk_all_flags_set(controld_globals.fsa_actions, controld_globals 354 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_STARTUP)) { controld_globals 356 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_CIB_START)) { controld_globals 358 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_HA_CONNECT)) { controld_globals 360 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_READCONFIG)) { controld_globals 364 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_LRM_CONNECT)) { controld_globals 366 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_TE_START)) { controld_globals 368 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_PE_START)) { controld_globals 372 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_DC_TIMER_STOP)) { 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 383 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 390 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_MSG_ROUTE)) { controld_globals 392 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_RECOVER)) { controld_globals 394 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 399 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 404 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_SHUTDOWN_REQ)) { controld_globals 406 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_ELECTION_VOTE)) { controld_globals 408 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 412 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_LRM_EVENT)) { controld_globals 418 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_STARTED)) { controld_globals 420 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_CL_JOIN_QUERY)) { controld_globals 422 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 430 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_DC_TAKEOVER)) { controld_globals 432 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_DC_RELEASE)) { controld_globals 434 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_DC_JOIN_FINAL)) { controld_globals 436 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 440 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 444 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 448 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 452 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 457 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 461 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 465 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 474 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_TE_HALT)) { controld_globals 476 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_TE_CANCEL)) { controld_globals 478 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_LRM_INVOKE)) { controld_globals 480 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_PE_INVOKE)) { controld_globals 482 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_TE_INVOKE)) { controld_globals 486 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_DC_RELEASED)) { controld_globals 488 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_PE_STOP)) { controld_globals 490 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_TE_STOP)) { controld_globals 492 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_SHUTDOWN)) { controld_globals 494 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, controld_globals 498 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_HA_DISCONNECT)) { controld_globals 500 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_CIB_STOP)) { controld_globals 502 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_STOP)) { controld_globals 506 daemons/controld/controld_fsa.c } else if (pcmk_is_set(controld_globals.fsa_actions, A_EXIT_0)) { controld_globals 512 daemons/controld/controld_fsa.c fsa_action2string(controld_globals.fsa_actions), controld_globals 513 daemons/controld/controld_fsa.c (unsigned long long) controld_globals.fsa_actions); controld_globals 568 daemons/controld/controld_fsa.c } else if (controld_globals.membership_id != crm_peer_seq) { controld_globals 570 daemons/controld/controld_fsa.c controld_globals.membership_id, crm_peer_seq); controld_globals 588 daemons/controld/controld_fsa.c uint64_t original_fsa_actions = controld_globals.fsa_actions; controld_globals 624 daemons/controld/controld_fsa.c if ((controld_globals.fsa_input_register & R_SHUTDOWN)) { controld_globals 654 daemons/controld/controld_fsa.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 668 daemons/controld/controld_fsa.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 672 daemons/controld/controld_fsa.c CRM_LOG_ASSERT(controld_globals.dc_name != NULL); controld_globals 673 daemons/controld/controld_fsa.c if (controld_globals.dc_name == NULL) { controld_globals 718 daemons/controld/controld_fsa.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 736 daemons/controld/controld_fsa.c if (original_fsa_actions != controld_globals.fsa_actions) { controld_globals 737 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 138 daemons/controld/controld_join_client.c welcome_from, controld_globals.dc_name); controld_globals 173 daemons/controld/controld_join_client.c } else if (controld_globals.dc_name == NULL) { controld_globals 180 daemons/controld/controld_join_client.c join_id, controld_globals.dc_name); controld_globals 184 daemons/controld/controld_join_client.c controld_globals.dc_name, CRM_SYSTEM_DC, controld_globals 189 daemons/controld/controld_join_client.c send_cluster_message(crm_get_peer(0, controld_globals.dc_name), controld_globals 203 daemons/controld/controld_join_client.c "environment", controld_globals.our_nodename, start_state); controld_globals 204 daemons/controld/controld_join_client.c cib__update_node_attr(controld_globals.logger_out, controld_globals 205 daemons/controld/controld_join_client.c controld_globals.cib_conn, cib_sync_call, controld_globals 206 daemons/controld/controld_join_client.c XML_CIB_TAG_NODES, controld_globals.our_uuid, controld_globals 211 daemons/controld/controld_join_client.c "environment", controld_globals.our_nodename, start_state); controld_globals 212 daemons/controld/controld_join_client.c cib__update_node_attr(controld_globals.logger_out, controld_globals 213 daemons/controld/controld_join_client.c controld_globals.cib_conn, cib_sync_call, controld_globals 214 daemons/controld/controld_join_client.c XML_CIB_TAG_NODES, controld_globals.our_uuid, controld_globals 219 daemons/controld/controld_join_client.c controld_globals.our_nodename); controld_globals 223 daemons/controld/controld_join_client.c start_state, controld_globals.our_nodename); controld_globals 290 daemons/controld/controld_join_client.c && pcmk__str_eq(welcome_from, controld_globals.our_nodename, controld_globals 298 daemons/controld/controld_join_client.c op, welcome_from, controld_globals.dc_name); controld_globals 305 daemons/controld/controld_join_client.c update_attrd(controld_globals.our_nodename, CRM_ATTR_FEATURE_SET, controld_globals 313 daemons/controld/controld_join_client.c controld_globals.dc_name, CRM_SYSTEM_DC, controld_globals 319 daemons/controld/controld_join_client.c join_id, controld_globals.dc_name); controld_globals 334 daemons/controld/controld_join_client.c && !pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 342 daemons/controld/controld_join_client.c send_cluster_message(crm_get_peer(0, controld_globals.dc_name), controld_globals 363 daemons/controld/controld_join_client.c "failed", join_id, controld_globals.dc_name); controld_globals 198 daemons/controld/controld_join_dc.c pcmk_is_set(controld_globals.fsa_input_register, controld_globals 235 daemons/controld/controld_join_dc.c if (controld_globals.membership_id != crm_peer_seq) { controld_globals 236 daemons/controld/controld_join_dc.c controld_globals.membership_id = crm_peer_seq; controld_globals 335 daemons/controld/controld_join_dc.c if (strcasecmp(join_to, controld_globals.our_nodename) != 0) { controld_globals 336 daemons/controld/controld_join_dc.c member = crm_get_peer(0, controld_globals.our_nodename); controld_globals 486 daemons/controld/controld_join_dc.c && pcmk__str_eq(join_from, controld_globals.our_nodename, controld_globals 572 daemons/controld/controld_join_dc.c check_join_state(controld_globals.fsa_state, __func__); controld_globals 577 daemons/controld/controld_join_dc.c if (pcmk__str_eq(max_generation_from, controld_globals.our_nodename, controld_globals 582 daemons/controld/controld_join_dc.c if (!controld_globals.transition_graph->complete) { controld_globals 590 daemons/controld/controld_join_dc.c if (pcmk_is_set(controld_globals.fsa_input_register, R_HAVE_CIB)) { controld_globals 592 daemons/controld/controld_join_dc.c pcmk__str_update(&sync_from, controld_globals.our_nodename); controld_globals 608 daemons/controld/controld_join_dc.c rc = controld_globals.cib_conn->cmds->sync_from(controld_globals.cib_conn, controld_globals 611 daemons/controld/controld_join_dc.c if (pcmk_is_set(controld_globals.fsa_input_register, R_HAVE_CIB)) { controld_globals 652 daemons/controld/controld_join_dc.c } else if (controld_globals.fsa_state != S_FINALIZE_JOIN) { controld_globals 655 daemons/controld/controld_join_dc.c fsa_state2string(controld_globals.fsa_state)); controld_globals 661 daemons/controld/controld_join_dc.c if (!check_join_state(controld_globals.fsa_state, __func__)) { controld_globals 684 daemons/controld/controld_join_dc.c check_join_state(controld_globals.fsa_state, __func__); controld_globals 755 daemons/controld/controld_join_dc.c if (pcmk_is_set(controld_globals.flags, controld_shutdown_lock_enabled)) { controld_globals 759 daemons/controld/controld_join_dc.c if (pcmk__str_eq(join_from, controld_globals.our_nodename, controld_globals 884 daemons/controld/controld_join_dc.c if (controld_globals.membership_id != crm_peer_seq) { controld_globals 887 daemons/controld/controld_join_dc.c current_join_id, controld_globals.membership_id, crm_peer_seq, controld_globals 908 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 251 daemons/controld/controld_membership.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 298 daemons/controld/controld_membership.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 404 daemons/controld/controld_membership.c bool has_quorum = pcmk_is_set(controld_globals.flags, controld_has_quorum); controld_globals 409 daemons/controld/controld_membership.c } else if (pcmk_all_flags_set(controld_globals.flags, controld_globals 422 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 397 daemons/controld/controld_messages.c } else if (pcmk__str_eq(controld_globals.our_nodename, host_to, controld_globals 778 daemons/controld/controld_messages.c value = fsa_state2string(controld_globals.fsa_state); controld_globals 859 daemons/controld/controld_messages.c pcmk_is_set(controld_globals.flags, controld_globals 871 daemons/controld/controld_messages.c value = controld_globals.our_nodename; controld_globals 926 daemons/controld/controld_messages.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 932 daemons/controld/controld_messages.c if (pcmk__str_eq(host_from, controld_globals.dc_name, pcmk__str_casei)) { controld_globals 939 daemons/controld/controld_messages.c if (controld_globals.fsa_state != S_STOPPING) { controld_globals 964 daemons/controld/controld_messages.c if (pcmk__str_eq(host_from, controld_globals.dc_name, controld_globals 967 daemons/controld/controld_messages.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 979 daemons/controld/controld_messages.c host_from, controld_globals.dc_name); controld_globals 1041 daemons/controld/controld_messages.c if (AM_I_DC && (controld_globals.transition_graph != NULL) controld_globals 1042 daemons/controld/controld_messages.c && !controld_globals.transition_graph->complete) { controld_globals 1062 daemons/controld/controld_messages.c if (controld_globals.fsa_state == S_HALT) { controld_globals 1170 daemons/controld/controld_messages.c } else if (pcmk__str_eq(msg_ref, controld_globals.fsa_pe_ref, controld_globals 1208 daemons/controld/controld_messages.c host_from = controld_globals.our_nodename; controld_globals 1212 daemons/controld/controld_messages.c fsa_state2string(controld_globals.fsa_state)); controld_globals 1233 daemons/controld/controld_messages.c crm_xml_add(msg, F_CRM_HOST_FROM, controld_globals.our_nodename); controld_globals 1260 daemons/controld/controld_messages.c do_lrm_invoke(A_LRM_INVOKE, C_IPC_MESSAGE, controld_globals.fsa_state, controld_globals 1301 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 600 daemons/controld/controld_remote_ra.c lrm_state = lrm_state_find(controld_globals.our_nodename); controld_globals 1004 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 106 daemons/controld/controld_schedulerd.c rc = controld_globals.cib_conn->cmds->query(controld_globals.cib_conn, controld_globals 134 daemons/controld/controld_schedulerd.c } else if (pcmk__str_eq(msg_ref, controld_globals.fsa_pe_ref, controld_globals 228 daemons/controld/controld_schedulerd.c && !pcmk_is_set(controld_globals.fsa_input_register, R_PE_CONNECTED)) { controld_globals 276 daemons/controld/controld_schedulerd.c && (controld_globals.fsa_pe_ref != NULL)) { controld_globals 278 daemons/controld/controld_schedulerd.c controld_globals.fsa_pe_ref); controld_globals 305 daemons/controld/controld_schedulerd.c free(controld_globals.fsa_pe_ref); controld_globals 306 daemons/controld/controld_schedulerd.c controld_globals.fsa_pe_ref = ref; controld_globals 329 daemons/controld/controld_schedulerd.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 337 daemons/controld/controld_schedulerd.c if (!pcmk_is_set(controld_globals.fsa_input_register, R_PE_CONNECTED)) { controld_globals 338 daemons/controld/controld_schedulerd.c if (pcmk_is_set(controld_globals.fsa_input_register, R_SHUTDOWN)) { controld_globals 356 daemons/controld/controld_schedulerd.c if (!pcmk_is_set(controld_globals.fsa_input_register, R_HAVE_CIB)) { controld_globals 367 daemons/controld/controld_schedulerd.c fsa_state2string(controld_globals.fsa_state)); controld_globals 454 daemons/controld/controld_schedulerd.c || !pcmk_is_set(controld_globals.fsa_input_register, controld_globals 459 daemons/controld/controld_schedulerd.c } else if (controld_globals.fsa_state != S_POLICY_ENGINE) { controld_globals 461 daemons/controld/controld_schedulerd.c fsa_state2string(controld_globals.fsa_state)); controld_globals 480 daemons/controld/controld_schedulerd.c crm_xml_add(output, XML_ATTR_DC_UUID, controld_globals.our_uuid); controld_globals 482 daemons/controld/controld_schedulerd.c pcmk_is_set(controld_globals.flags, controld_globals 487 daemons/controld/controld_schedulerd.c if (pcmk_is_set(controld_globals.flags, controld_ever_had_quorum) controld_globals 502 daemons/controld/controld_schedulerd.c "quorate=%s", fsa_pe_query, controld_globals.fsa_pe_ref, controld_globals 503 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 167 daemons/controld/controld_te_actions.c counter = pcmk__transition_key(controld_globals.transition_graph->id, controld_globals 169 daemons/controld/controld_te_actions.c controld_globals.te_uuid); controld_globals 236 daemons/controld/controld_te_actions.c op->user_data = pcmk__transition_key(controld_globals.transition_graph->id, controld_globals 238 daemons/controld/controld_te_actions.c controld_globals.te_uuid); controld_globals 247 daemons/controld/controld_te_actions.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 380 daemons/controld/controld_te_actions.c counter = pcmk__transition_key(controld_globals.transition_graph->id, controld_globals 382 daemons/controld/controld_te_actions.c controld_globals.te_uuid); controld_globals 385 daemons/controld/controld_te_actions.c if (pcmk__str_eq(router_node, controld_globals.our_nodename, controld_globals 419 daemons/controld/controld_te_actions.c do_lrm_invoke(A_LRM_INVOKE, C_FSA_INTERNAL, controld_globals.fsa_state, controld_globals 441 daemons/controld/controld_te_actions.c pcmk__update_graph(controld_globals.transition_graph, action); controld_globals 690 daemons/controld/controld_te_actions.c fsa_state2string(controld_globals.fsa_state)); controld_globals 697 daemons/controld/controld_te_actions.c if (controld_globals.fsa_state == S_TRANSITION_ENGINE) { controld_globals 703 daemons/controld/controld_te_actions.c if (controld_globals.fsa_state == S_TRANSITION_ENGINE) { controld_globals 710 daemons/controld/controld_te_actions.c if (controld_globals.fsa_state == S_TRANSITION_ENGINE) { controld_globals 718 daemons/controld/controld_te_actions.c } else if (controld_globals.fsa_state == S_POLICY_ENGINE) { controld_globals 726 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 40 daemons/controld/controld_te_utils.c if (controld_globals.transition_graph == NULL) { controld_globals 46 daemons/controld/controld_te_utils.c controld_globals.transition_graph->id, controld_globals 47 daemons/controld/controld_te_utils.c fsa_state2string(controld_globals.fsa_state)); controld_globals 49 daemons/controld/controld_te_utils.c switch (controld_globals.fsa_state) { controld_globals 62 daemons/controld/controld_te_utils.c if (!controld_globals.transition_graph->complete) { controld_globals 64 daemons/controld/controld_te_utils.c int orig_limit = controld_globals.transition_graph->batch_limit; controld_globals 67 daemons/controld/controld_te_utils.c controld_globals.transition_graph->batch_limit = throttled_limit; controld_globals 68 daemons/controld/controld_te_utils.c graph_rc = pcmk__execute_graph(controld_globals.transition_graph); controld_globals 69 daemons/controld/controld_te_utils.c controld_globals.transition_graph->batch_limit = orig_limit; controld_globals 83 daemons/controld/controld_te_utils.c pcmk__log_graph(LOG_NOTICE, controld_globals.transition_graph); controld_globals 88 daemons/controld/controld_te_utils.c controld_globals.transition_graph->id); controld_globals 89 daemons/controld/controld_te_utils.c controld_globals.transition_graph->complete = true; controld_globals 90 daemons/controld/controld_te_utils.c notify_crmd(controld_globals.transition_graph); controld_globals 217 daemons/controld/controld_te_utils.c CRM_CHECK(controld_globals.transition_graph != NULL, return); controld_globals 219 daemons/controld/controld_te_utils.c switch (controld_globals.fsa_state) { controld_globals 228 daemons/controld/controld_te_utils.c abort_text, fsa_state2string(controld_globals.fsa_state), controld_globals 229 daemons/controld/controld_te_utils.c (controld_globals.transition_graph->complete? "" : "in")); controld_globals 238 daemons/controld/controld_te_utils.c if (!controld_globals.transition_graph->complete controld_globals 239 daemons/controld/controld_te_utils.c && update_abort_priority(controld_globals.transition_graph, controld_globals 269 daemons/controld/controld_te_utils.c "complete=%s", controld_globals.transition_graph->id, controld_globals 271 daemons/controld/controld_te_utils.c pcmk__btoa(controld_globals.transition_graph->complete)); controld_globals 279 daemons/controld/controld_te_utils.c controld_globals.transition_graph->id, TYPE(reason), controld_globals 282 daemons/controld/controld_te_utils.c pcmk__btoa(controld_globals.transition_graph->complete)); controld_globals 308 daemons/controld/controld_te_utils.c controld_globals.transition_graph->id, controld_globals 311 daemons/controld/controld_te_utils.c pcmk__btoa(controld_globals.transition_graph->complete)); controld_globals 316 daemons/controld/controld_te_utils.c controld_globals.transition_graph->id, controld_globals 321 daemons/controld/controld_te_utils.c pcmk__btoa(controld_globals.transition_graph->complete)); controld_globals 328 daemons/controld/controld_te_utils.c controld_globals.transition_graph->id, controld_globals 332 daemons/controld/controld_te_utils.c pcmk__btoa(controld_globals.transition_graph->complete)); controld_globals 339 daemons/controld/controld_te_utils.c controld_globals.transition_graph->id, controld_globals 342 daemons/controld/controld_te_utils.c pcmk__btoa(controld_globals.transition_graph->complete)); controld_globals 349 daemons/controld/controld_te_utils.c controld_globals.transition_graph->id, controld_globals 352 daemons/controld/controld_te_utils.c pcmk__btoa(controld_globals.transition_graph->complete)); controld_globals 356 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 41 daemons/controld/controld_transition.c cib_t *cib_conn = controld_globals.cib_conn; controld_globals 45 daemons/controld/controld_transition.c pcmk__free_graph(controld_globals.transition_graph); controld_globals 46 daemons/controld/controld_transition.c controld_globals.transition_graph = NULL; controld_globals 60 daemons/controld/controld_transition.c } else if (pcmk_is_set(controld_globals.fsa_input_register, controld_globals 70 daemons/controld/controld_transition.c if (controld_globals.te_uuid == NULL) { controld_globals 71 daemons/controld/controld_transition.c controld_globals.te_uuid = crm_generate_uuid(); controld_globals 72 daemons/controld/controld_transition.c crm_info("Registering TE UUID: %s", controld_globals.te_uuid); controld_globals 95 daemons/controld/controld_transition.c pcmk__free_graph(controld_globals.transition_graph); controld_globals 99 daemons/controld/controld_transition.c controld_globals.transition_graph = create_blank_graph(); controld_globals 113 daemons/controld/controld_transition.c || ((controld_globals.fsa_state != S_TRANSITION_ENGINE) controld_globals 117 daemons/controld/controld_transition.c fsa_state2string(controld_globals.fsa_state)); controld_globals 123 daemons/controld/controld_transition.c controld_globals.transition_graph->complete? "in" : ""); controld_globals 125 daemons/controld/controld_transition.c if (!controld_globals.transition_graph->complete) { controld_globals 131 daemons/controld/controld_transition.c if (!controld_globals.transition_graph->complete) { controld_globals 148 daemons/controld/controld_transition.c if (!controld_globals.transition_graph->complete) { controld_globals 155 daemons/controld/controld_transition.c if ((controld_globals.fsa_pe_ref == NULL) controld_globals 156 daemons/controld/controld_transition.c || !pcmk__str_eq(controld_globals.fsa_pe_ref, ref, controld_globals 159 daemons/controld/controld_transition.c pcmk__s(controld_globals.fsa_pe_ref, "no reference"), controld_globals 179 daemons/controld/controld_transition.c pcmk__free_graph(controld_globals.transition_graph); controld_globals 180 daemons/controld/controld_transition.c controld_globals.transition_graph = pcmk__unpack_graph(graph_data, controld_globals 182 daemons/controld/controld_transition.c CRM_CHECK(controld_globals.transition_graph != NULL, controld_globals 183 daemons/controld/controld_transition.c controld_globals.transition_graph = create_blank_graph(); controld_globals 186 daemons/controld/controld_transition.c controld_globals.transition_graph->id, ref, graph_input); controld_globals 191 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)) {