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 38 daemons/controld/controld_fsa.c void s_crmd_fsa_actions(fsa_data_t * fsa_data); fsa_data 87 daemons/controld/controld_fsa.c do_fsa_action(fsa_data_t * fsa_data, long long an_action, fsa_data 95 daemons/controld/controld_fsa.c function(an_action, fsa_data->fsa_cause, controld_globals.fsa_state, fsa_data 96 daemons/controld/controld_fsa.c fsa_data->fsa_input, fsa_data); fsa_data 186 daemons/controld/controld_fsa.c fsa_data_t *fsa_data = NULL; fsa_data 201 daemons/controld/controld_fsa.c fsa_data = calloc(1, sizeof(fsa_data_t)); fsa_data 202 daemons/controld/controld_fsa.c fsa_data->fsa_input = I_NULL; fsa_data 203 daemons/controld/controld_fsa.c fsa_data->fsa_cause = C_FSA_INTERNAL; fsa_data 204 daemons/controld/controld_fsa.c fsa_data->origin = __func__; fsa_data 205 daemons/controld/controld_fsa.c fsa_data->data_type = fsa_dt_none; fsa_data 207 daemons/controld/controld_fsa.c = g_list_append(controld_globals.fsa_message_queue, fsa_data); fsa_data 208 daemons/controld/controld_fsa.c fsa_data = NULL; fsa_data 215 daemons/controld/controld_fsa.c fsa_data = get_message(); fsa_data 216 daemons/controld/controld_fsa.c if(fsa_data == NULL) { fsa_data 220 daemons/controld/controld_fsa.c log_fsa_input(fsa_data); fsa_data 223 daemons/controld/controld_fsa.c controld_set_fsa_action_flags(fsa_data->actions); fsa_data 224 daemons/controld/controld_fsa.c fsa_dump_actions(fsa_data->actions, "Restored actions"); fsa_data 227 daemons/controld/controld_fsa.c new_actions = controld_fsa_get_action(fsa_data->fsa_input); fsa_data 231 daemons/controld/controld_fsa.c if (fsa_data->fsa_input != I_NULL && fsa_data->fsa_input != I_ROUTER) { fsa_data 233 daemons/controld/controld_fsa.c fsa_input2string(fsa_data->fsa_input), fsa_data 235 daemons/controld/controld_fsa.c fsa_cause2string(fsa_data->fsa_cause), fsa_data->origin); fsa_data 240 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_ERROR, do_log); fsa_data 243 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_WARN, do_log); fsa_data 246 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_LOG, do_log); fsa_data 251 daemons/controld/controld_fsa.c globals->fsa_state = controld_fsa_get_next_state(fsa_data->fsa_input); fsa_data 266 daemons/controld/controld_fsa.c do_state_transition(last_state, globals->fsa_state, fsa_data); fsa_data 271 daemons/controld/controld_fsa.c fsa_cause2string(fsa_data->fsa_cause), fsa_data 272 daemons/controld/controld_fsa.c fsa_input2string(fsa_data->fsa_input), fsa_data->origin, fsa_data->id); fsa_data 276 daemons/controld/controld_fsa.c s_crmd_fsa_actions(fsa_data); fsa_data 277 daemons/controld/controld_fsa.c delete_fsa_input(fsa_data); fsa_data 278 daemons/controld/controld_fsa.c fsa_data = NULL; fsa_data 310 daemons/controld/controld_fsa.c s_crmd_fsa_actions(fsa_data_t * fsa_data) fsa_data 316 daemons/controld/controld_fsa.c CRM_CHECK(fsa_data != NULL, return); fsa_data 326 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_ERROR, do_log); fsa_data 328 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_WARN, do_log); fsa_data 330 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_LOG, do_log); fsa_data 334 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_EXIT_1, do_exit); fsa_data 339 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, O_LRM_RECONNECT, do_lrm_control); fsa_data 343 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, O_CIB_RESTART, do_cib_control); fsa_data 347 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, O_PE_RESTART, do_pe_control); fsa_data 351 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, O_TE_RESTART, do_te_control); fsa_data 355 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_STARTUP, do_startup); fsa_data 357 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_CIB_START, do_cib_control); fsa_data 359 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_HA_CONNECT, do_ha_control); fsa_data 361 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_READCONFIG, do_read_config); fsa_data 365 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_LRM_CONNECT, do_lrm_control); fsa_data 367 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_TE_START, do_te_control); fsa_data 369 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_PE_START, do_pe_control); fsa_data 373 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_TIMER_STOP, do_timer_control); fsa_data 376 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_INTEGRATE_TIMER_STOP, do_timer_control); fsa_data 379 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_INTEGRATE_TIMER_START, do_timer_control); fsa_data 382 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_FINALIZE_TIMER_STOP, do_timer_control); fsa_data 385 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_FINALIZE_TIMER_START, do_timer_control); fsa_data 391 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_MSG_ROUTE, do_msg_route); fsa_data 393 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_RECOVER, do_recover); fsa_data 396 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_CL_JOIN_RESULT, fsa_data 401 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_CL_JOIN_REQUEST, fsa_data 405 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_SHUTDOWN_REQ, do_shutdown_req); fsa_data 407 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_ELECTION_VOTE, do_election_vote); fsa_data 410 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_ELECTION_COUNT, do_election_count_vote); fsa_data 413 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_LRM_EVENT, do_lrm_event); fsa_data 419 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_STARTED, do_started); fsa_data 421 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_CL_JOIN_QUERY, do_cl_join_query); fsa_data 424 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_TIMER_START, do_timer_control); fsa_data 431 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_TAKEOVER, do_dc_takeover); fsa_data 433 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_RELEASE, do_dc_release); fsa_data 435 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_JOIN_FINAL, do_dc_join_final); fsa_data 438 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_ELECTION_CHECK, do_election_check); fsa_data 442 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_ELECTION_START, do_election_vote); fsa_data 446 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_JOIN_OFFER_ALL, do_dc_join_offer_all); fsa_data 450 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_JOIN_OFFER_ONE, do_dc_join_offer_one); fsa_data 454 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_JOIN_PROCESS_REQ, fsa_data 459 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_JOIN_PROCESS_ACK, do_dc_join_ack); fsa_data 463 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_JOIN_FINALIZE, do_dc_join_finalize); fsa_data 467 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_CL_JOIN_ANNOUNCE, do_cl_join_announce); fsa_data 475 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_TE_HALT, do_te_invoke); fsa_data 477 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_TE_CANCEL, do_te_invoke); fsa_data 479 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_LRM_INVOKE, do_lrm_invoke); fsa_data 481 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_PE_INVOKE, do_pe_invoke); fsa_data 483 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_TE_INVOKE, do_te_invoke); fsa_data 487 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_RELEASED, do_dc_release); fsa_data 489 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_PE_STOP, do_pe_control); fsa_data 491 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_TE_STOP, do_te_control); fsa_data 493 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_SHUTDOWN, do_shutdown); fsa_data 496 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_LRM_DISCONNECT, do_lrm_control); fsa_data 499 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_HA_DISCONNECT, do_ha_control); fsa_data 501 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_CIB_STOP, do_cib_control); fsa_data 503 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_STOP, do_stop); fsa_data 507 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_EXIT_0, do_exit); fsa_data 514 daemons/controld/controld_fsa.c register_fsa_error_adv(C_FSA_INTERNAL, I_ERROR, fsa_data, NULL, fsa_data 64 daemons/controld/controld_messages.c fsa_data_t *fsa_data = NULL; fsa_data 105 daemons/controld/controld_messages.c fsa_data = calloc(1, sizeof(fsa_data_t)); fsa_data 106 daemons/controld/controld_messages.c fsa_data->id = last_data_id; fsa_data 107 daemons/controld/controld_messages.c fsa_data->fsa_input = input; fsa_data 108 daemons/controld/controld_messages.c fsa_data->fsa_cause = cause; fsa_data 109 daemons/controld/controld_messages.c fsa_data->origin = raised_from; fsa_data 110 daemons/controld/controld_messages.c fsa_data->data = NULL; fsa_data 111 daemons/controld/controld_messages.c fsa_data->data_type = fsa_dt_none; fsa_data 112 daemons/controld/controld_messages.c fsa_data->actions = with_actions; fsa_data 129 daemons/controld/controld_messages.c fsa_data->data = copy_ha_msg_input(data); fsa_data 130 daemons/controld/controld_messages.c fsa_data->data_type = fsa_dt_ha_msg; fsa_data 136 daemons/controld/controld_messages.c fsa_data->data = lrmd_copy_event((lrmd_event_data_t *) data); fsa_data 137 daemons/controld/controld_messages.c fsa_data->data_type = fsa_dt_lrm; fsa_data 154 daemons/controld/controld_messages.c = g_list_prepend(controld_globals.fsa_message_queue, fsa_data); fsa_data 157 daemons/controld/controld_messages.c = g_list_append(controld_globals.fsa_message_queue, fsa_data); fsa_data 203 daemons/controld/controld_messages.c delete_fsa_input(fsa_data_t * fsa_data) fsa_data 208 daemons/controld/controld_messages.c if (fsa_data == NULL) { fsa_data 211 daemons/controld/controld_messages.c crm_trace("About to free %s data", fsa_cause2string(fsa_data->fsa_cause)); fsa_data 213 daemons/controld/controld_messages.c if (fsa_data->data != NULL) { fsa_data 214 daemons/controld/controld_messages.c switch (fsa_data->data_type) { fsa_data 216 daemons/controld/controld_messages.c delete_ha_msg_input(fsa_data->data); fsa_data 220 daemons/controld/controld_messages.c foo = fsa_data->data; fsa_data 225 daemons/controld/controld_messages.c op = (lrmd_event_data_t *) fsa_data->data; fsa_data 230 daemons/controld/controld_messages.c if (fsa_data->data != NULL) { fsa_data 232 daemons/controld/controld_messages.c fsa_cause2string(fsa_data->fsa_cause), fsa_data->origin); fsa_data 237 daemons/controld/controld_messages.c crm_trace("%s data freed", fsa_cause2string(fsa_data->fsa_cause)); fsa_data 240 daemons/controld/controld_messages.c free(fsa_data); fsa_data 257 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 261 daemons/controld/controld_messages.c if (fsa_data == NULL) { fsa_data 264 daemons/controld/controld_messages.c } else if (fsa_data->data == NULL) { fsa_data 265 daemons/controld/controld_messages.c crm_err("%s: No message data available. Origin: %s", caller, fsa_data->origin); fsa_data 267 daemons/controld/controld_messages.c } else if (fsa_data->data_type != a_type) { fsa_data 269 daemons/controld/controld_messages.c caller, fsa_data->data_type, a_type, fsa_data->origin); fsa_data 270 daemons/controld/controld_messages.c CRM_ASSERT(fsa_data->data_type == a_type); fsa_data 272 daemons/controld/controld_messages.c ret_val = fsa_data->data; fsa_data 1246 daemons/controld/controld_messages.c fsa_data_t fsa_data; fsa_data 1252 daemons/controld/controld_messages.c fsa_data.id = 0; fsa_data 1253 daemons/controld/controld_messages.c fsa_data.actions = 0; fsa_data 1254 daemons/controld/controld_messages.c fsa_data.data = &fsa_input; fsa_data 1255 daemons/controld/controld_messages.c fsa_data.fsa_input = I_MESSAGE; fsa_data 1256 daemons/controld/controld_messages.c fsa_data.fsa_cause = C_IPC_MESSAGE; fsa_data 1257 daemons/controld/controld_messages.c fsa_data.origin = __func__; fsa_data 1258 daemons/controld/controld_messages.c fsa_data.data_type = fsa_dt_ha_msg; fsa_data 1261 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);