fsa_data 210 daemons/controld/controld_control.c fsa_data_t *fsa_data = (fsa_data_t *) iter->data; fsa_data 213 daemons/controld/controld_control.c fsa_input2string(fsa_data->fsa_input), fsa_data 215 daemons/controld/controld_control.c fsa_cause2string(fsa_data->fsa_cause), fsa_data->origin); fsa_data 216 daemons/controld/controld_control.c delete_fsa_input(fsa_data); fsa_data 37 daemons/controld/controld_fsa.c void s_crmd_fsa_actions(fsa_data_t * fsa_data); fsa_data 86 daemons/controld/controld_fsa.c do_fsa_action(fsa_data_t * fsa_data, long long an_action, fsa_data 94 daemons/controld/controld_fsa.c function(an_action, fsa_data->fsa_cause, controld_globals.fsa_state, fsa_data 95 daemons/controld/controld_fsa.c fsa_data->fsa_input, fsa_data); fsa_data 185 daemons/controld/controld_fsa.c fsa_data_t *fsa_data = NULL; fsa_data 200 daemons/controld/controld_fsa.c fsa_data = pcmk__assert_alloc(1, sizeof(fsa_data_t)); fsa_data 201 daemons/controld/controld_fsa.c fsa_data->fsa_input = I_NULL; fsa_data 202 daemons/controld/controld_fsa.c fsa_data->fsa_cause = C_FSA_INTERNAL; fsa_data 203 daemons/controld/controld_fsa.c fsa_data->origin = __func__; fsa_data 204 daemons/controld/controld_fsa.c fsa_data->data_type = fsa_dt_none; fsa_data 206 daemons/controld/controld_fsa.c = g_list_append(controld_globals.fsa_message_queue, fsa_data); fsa_data 213 daemons/controld/controld_fsa.c fsa_data = get_message(); fsa_data 214 daemons/controld/controld_fsa.c if(fsa_data == NULL) { fsa_data 218 daemons/controld/controld_fsa.c log_fsa_input(fsa_data); fsa_data 221 daemons/controld/controld_fsa.c controld_set_fsa_action_flags(fsa_data->actions); fsa_data 222 daemons/controld/controld_fsa.c fsa_dump_actions(fsa_data->actions, "Restored actions"); fsa_data 225 daemons/controld/controld_fsa.c new_actions = controld_fsa_get_action(fsa_data->fsa_input); fsa_data 229 daemons/controld/controld_fsa.c if (fsa_data->fsa_input != I_NULL && fsa_data->fsa_input != I_ROUTER) { fsa_data 231 daemons/controld/controld_fsa.c fsa_input2string(fsa_data->fsa_input), fsa_data 233 daemons/controld/controld_fsa.c fsa_cause2string(fsa_data->fsa_cause), fsa_data->origin); fsa_data 238 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_ERROR, do_log); fsa_data 241 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_WARN, do_log); fsa_data 244 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_LOG, do_log); fsa_data 249 daemons/controld/controld_fsa.c globals->fsa_state = controld_fsa_get_next_state(fsa_data->fsa_input); fsa_data 264 daemons/controld/controld_fsa.c do_state_transition(last_state, globals->fsa_state, fsa_data); fsa_data 269 daemons/controld/controld_fsa.c fsa_cause2string(fsa_data->fsa_cause), fsa_data 270 daemons/controld/controld_fsa.c fsa_input2string(fsa_data->fsa_input), fsa_data->origin, fsa_data->id); fsa_data 274 daemons/controld/controld_fsa.c s_crmd_fsa_actions(fsa_data); fsa_data 275 daemons/controld/controld_fsa.c delete_fsa_input(fsa_data); fsa_data 307 daemons/controld/controld_fsa.c s_crmd_fsa_actions(fsa_data_t * fsa_data) fsa_data 313 daemons/controld/controld_fsa.c CRM_CHECK(fsa_data != NULL, return); fsa_data 323 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_ERROR, do_log); fsa_data 325 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_WARN, do_log); fsa_data 327 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_LOG, do_log); fsa_data 331 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_EXIT_1, do_exit); fsa_data 336 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, O_LRM_RECONNECT, do_lrm_control); fsa_data 340 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, O_CIB_RESTART, do_cib_control); fsa_data 344 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, O_PE_RESTART, do_pe_control); fsa_data 348 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, O_TE_RESTART, do_te_control); fsa_data 352 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_STARTUP, do_startup); fsa_data 354 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_CIB_START, do_cib_control); fsa_data 356 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_HA_CONNECT, do_ha_control); fsa_data 358 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_READCONFIG, do_read_config); fsa_data 362 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_LRM_CONNECT, do_lrm_control); fsa_data 364 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_TE_START, do_te_control); fsa_data 366 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_PE_START, do_pe_control); fsa_data 370 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_TIMER_STOP, do_timer_control); fsa_data 373 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_INTEGRATE_TIMER_STOP, do_timer_control); fsa_data 376 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_INTEGRATE_TIMER_START, do_timer_control); fsa_data 379 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_FINALIZE_TIMER_STOP, do_timer_control); fsa_data 382 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_FINALIZE_TIMER_START, do_timer_control); fsa_data 388 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_MSG_ROUTE, do_msg_route); fsa_data 390 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_RECOVER, do_recover); fsa_data 393 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_CL_JOIN_RESULT, fsa_data 398 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_CL_JOIN_REQUEST, fsa_data 402 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_SHUTDOWN_REQ, do_shutdown_req); fsa_data 404 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_ELECTION_VOTE, do_election_vote); fsa_data 407 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_ELECTION_COUNT, do_election_count_vote); fsa_data 410 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_LRM_EVENT, do_lrm_event); fsa_data 416 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_STARTED, do_started); fsa_data 418 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_CL_JOIN_QUERY, do_cl_join_query); fsa_data 421 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_TIMER_START, do_timer_control); fsa_data 428 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_TAKEOVER, do_dc_takeover); fsa_data 430 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_RELEASE, do_dc_release); fsa_data 432 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_JOIN_FINAL, do_dc_join_final); fsa_data 435 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_ELECTION_CHECK, do_election_check); fsa_data 439 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_ELECTION_START, do_election_vote); fsa_data 443 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_JOIN_OFFER_ALL, do_dc_join_offer_all); fsa_data 447 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_JOIN_OFFER_ONE, do_dc_join_offer_one); fsa_data 451 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_JOIN_PROCESS_REQ, fsa_data 456 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_JOIN_PROCESS_ACK, do_dc_join_ack); fsa_data 460 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_JOIN_FINALIZE, do_dc_join_finalize); fsa_data 464 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_CL_JOIN_ANNOUNCE, do_cl_join_announce); fsa_data 472 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_TE_HALT, do_te_invoke); fsa_data 474 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_TE_CANCEL, do_te_invoke); fsa_data 476 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_LRM_INVOKE, do_lrm_invoke); fsa_data 478 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_PE_INVOKE, do_pe_invoke); fsa_data 480 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_TE_INVOKE, do_te_invoke); fsa_data 484 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_RELEASED, do_dc_release); fsa_data 486 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_PE_STOP, do_pe_control); fsa_data 488 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_TE_STOP, do_te_control); fsa_data 490 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_SHUTDOWN, do_shutdown); fsa_data 493 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_LRM_DISCONNECT, do_lrm_control); fsa_data 496 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_HA_DISCONNECT, do_ha_control); fsa_data 498 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_CIB_STOP, do_cib_control); fsa_data 500 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_STOP, do_stop); fsa_data 504 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_EXIT_0, do_exit); fsa_data 511 daemons/controld/controld_fsa.c register_fsa_error_adv(C_FSA_INTERNAL, I_ERROR, fsa_data, NULL, fsa_data 62 daemons/controld/controld_messages.c fsa_data_t *fsa_data = NULL; fsa_data 103 daemons/controld/controld_messages.c fsa_data = pcmk__assert_alloc(1, sizeof(fsa_data_t)); fsa_data 104 daemons/controld/controld_messages.c fsa_data->id = last_data_id; fsa_data 105 daemons/controld/controld_messages.c fsa_data->fsa_input = input; fsa_data 106 daemons/controld/controld_messages.c fsa_data->fsa_cause = cause; fsa_data 107 daemons/controld/controld_messages.c fsa_data->origin = raised_from; fsa_data 108 daemons/controld/controld_messages.c fsa_data->data = NULL; fsa_data 109 daemons/controld/controld_messages.c fsa_data->data_type = fsa_dt_none; fsa_data 110 daemons/controld/controld_messages.c fsa_data->actions = with_actions; fsa_data 127 daemons/controld/controld_messages.c fsa_data->data = copy_ha_msg_input(data); fsa_data 128 daemons/controld/controld_messages.c fsa_data->data_type = fsa_dt_ha_msg; fsa_data 134 daemons/controld/controld_messages.c fsa_data->data = lrmd_copy_event((lrmd_event_data_t *) data); fsa_data 135 daemons/controld/controld_messages.c fsa_data->data_type = fsa_dt_lrm; fsa_data 152 daemons/controld/controld_messages.c = g_list_prepend(controld_globals.fsa_message_queue, fsa_data); fsa_data 155 daemons/controld/controld_messages.c = g_list_append(controld_globals.fsa_message_queue, fsa_data); fsa_data 204 daemons/controld/controld_messages.c delete_fsa_input(fsa_data_t * fsa_data) fsa_data 209 daemons/controld/controld_messages.c if (fsa_data == NULL) { fsa_data 212 daemons/controld/controld_messages.c crm_trace("About to free %s data", fsa_cause2string(fsa_data->fsa_cause)); fsa_data 214 daemons/controld/controld_messages.c if (fsa_data->data != NULL) { fsa_data 215 daemons/controld/controld_messages.c switch (fsa_data->data_type) { fsa_data 217 daemons/controld/controld_messages.c delete_ha_msg_input(fsa_data->data); fsa_data 221 daemons/controld/controld_messages.c foo = fsa_data->data; fsa_data 226 daemons/controld/controld_messages.c op = (lrmd_event_data_t *) fsa_data->data; fsa_data 231 daemons/controld/controld_messages.c if (fsa_data->data != NULL) { fsa_data 233 daemons/controld/controld_messages.c fsa_cause2string(fsa_data->fsa_cause), fsa_data->origin); fsa_data 238 daemons/controld/controld_messages.c crm_trace("%s data freed", fsa_cause2string(fsa_data->fsa_cause)); fsa_data 241 daemons/controld/controld_messages.c free(fsa_data); fsa_data 258 daemons/controld/controld_messages.c fsa_typed_data_adv(fsa_data_t * fsa_data, enum fsa_data_type a_type, const char *caller) fsa_data 262 daemons/controld/controld_messages.c if (fsa_data == NULL) { fsa_data 265 daemons/controld/controld_messages.c } else if (fsa_data->data == NULL) { fsa_data 266 daemons/controld/controld_messages.c crm_err("%s: No message data available. Origin: %s", caller, fsa_data->origin); fsa_data 268 daemons/controld/controld_messages.c } else if (fsa_data->data_type != a_type) { fsa_data 270 daemons/controld/controld_messages.c caller, fsa_data->data_type, a_type, fsa_data->origin); fsa_data 271 daemons/controld/controld_messages.c pcmk__assert(fsa_data->data_type == a_type); fsa_data 273 daemons/controld/controld_messages.c ret_val = fsa_data->data; fsa_data 1316 daemons/controld/controld_messages.c fsa_data_t fsa_data; fsa_data 1325 daemons/controld/controld_messages.c fsa_data.id = 0; fsa_data 1326 daemons/controld/controld_messages.c fsa_data.actions = 0; fsa_data 1327 daemons/controld/controld_messages.c fsa_data.data = &fsa_input; fsa_data 1328 daemons/controld/controld_messages.c fsa_data.fsa_input = I_MESSAGE; fsa_data 1329 daemons/controld/controld_messages.c fsa_data.fsa_cause = C_IPC_MESSAGE; fsa_data 1330 daemons/controld/controld_messages.c fsa_data.origin = __func__; fsa_data 1331 daemons/controld/controld_messages.c fsa_data.data_type = fsa_dt_ha_msg; fsa_data 1334 daemons/controld/controld_messages.c I_MESSAGE, &fsa_data); fsa_data 27 daemons/controld/controld_messages.h extern void *fsa_typed_data_adv(fsa_data_t * fsa_data, enum fsa_data_type a_type, fsa_data 67 daemons/controld/controld_messages.h void delete_fsa_input(fsa_data_t * fsa_data);