fsa_data 210 daemons/controld/controld_control.c fsa_data_t *fsa_data = gIter->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 53 daemons/controld/controld_fsa.c void s_crmd_fsa_actions(fsa_data_t * fsa_data); fsa_data 102 daemons/controld/controld_fsa.c do_fsa_action(fsa_data_t * fsa_data, long long an_action, fsa_data 110 daemons/controld/controld_fsa.c function(an_action, fsa_data->fsa_cause, fsa_state, fsa_data->fsa_input, fsa_data); fsa_data 161 daemons/controld/controld_fsa.c fsa_data_t *fsa_data = NULL; fsa_data 174 daemons/controld/controld_fsa.c fsa_data = calloc(1, sizeof(fsa_data_t)); fsa_data 175 daemons/controld/controld_fsa.c fsa_data->fsa_input = I_NULL; fsa_data 176 daemons/controld/controld_fsa.c fsa_data->fsa_cause = C_FSA_INTERNAL; fsa_data 177 daemons/controld/controld_fsa.c fsa_data->origin = __func__; fsa_data 178 daemons/controld/controld_fsa.c fsa_data->data_type = fsa_dt_none; fsa_data 179 daemons/controld/controld_fsa.c fsa_message_queue = g_list_append(fsa_message_queue, fsa_data); fsa_data 180 daemons/controld/controld_fsa.c fsa_data = NULL; fsa_data 185 daemons/controld/controld_fsa.c fsa_data = get_message(); fsa_data 186 daemons/controld/controld_fsa.c if(fsa_data == NULL) { fsa_data 190 daemons/controld/controld_fsa.c log_fsa_input(fsa_data); fsa_data 193 daemons/controld/controld_fsa.c controld_set_fsa_action_flags(fsa_data->actions); fsa_data 194 daemons/controld/controld_fsa.c fsa_dump_actions(fsa_data->actions, "Restored actions"); fsa_data 197 daemons/controld/controld_fsa.c new_actions = crmd_fsa_actions[fsa_data->fsa_input][fsa_state]; fsa_data 201 daemons/controld/controld_fsa.c if (fsa_data->fsa_input != I_NULL && fsa_data->fsa_input != I_ROUTER) { fsa_data 203 daemons/controld/controld_fsa.c fsa_input2string(fsa_data->fsa_input), fsa_data 205 daemons/controld/controld_fsa.c fsa_cause2string(fsa_data->fsa_cause), fsa_data->origin); fsa_data 210 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_ERROR, do_log); fsa_data 213 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_WARN, do_log); fsa_data 216 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_LOG, do_log); fsa_data 221 daemons/controld/controld_fsa.c fsa_state = crmd_fsa_state[fsa_data->fsa_input][fsa_state]; fsa_data 235 daemons/controld/controld_fsa.c do_state_transition(last_state, fsa_state, fsa_data); fsa_data 240 daemons/controld/controld_fsa.c fsa_cause2string(fsa_data->fsa_cause), fsa_data 241 daemons/controld/controld_fsa.c fsa_input2string(fsa_data->fsa_input), fsa_data->origin, fsa_data->id); fsa_data 245 daemons/controld/controld_fsa.c s_crmd_fsa_actions(fsa_data); fsa_data 246 daemons/controld/controld_fsa.c delete_fsa_input(fsa_data); fsa_data 247 daemons/controld/controld_fsa.c fsa_data = NULL; fsa_data 274 daemons/controld/controld_fsa.c s_crmd_fsa_actions(fsa_data_t * fsa_data) fsa_data 280 daemons/controld/controld_fsa.c CRM_CHECK(fsa_data != NULL, return); fsa_data 289 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_ERROR, do_log); fsa_data 291 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_WARN, do_log); fsa_data 293 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_LOG, do_log); fsa_data 297 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_EXIT_1, do_exit); fsa_data 301 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, O_LRM_RECONNECT, do_lrm_control); fsa_data 303 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, O_CIB_RESTART, do_cib_control); fsa_data 305 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, O_PE_RESTART, do_pe_control); fsa_data 307 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, O_TE_RESTART, do_te_control); fsa_data 311 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_STARTUP, do_startup); fsa_data 313 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_CIB_START, do_cib_control); fsa_data 315 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_HA_CONNECT, do_ha_control); fsa_data 317 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_READCONFIG, do_read_config); fsa_data 321 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_LRM_CONNECT, do_lrm_control); fsa_data 324 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_TE_START, do_te_control); fsa_data 326 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_PE_START, do_pe_control); fsa_data 332 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_TIMER_STOP, do_timer_control); fsa_data 334 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_INTEGRATE_TIMER_STOP, do_timer_control); fsa_data 336 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_INTEGRATE_TIMER_START, do_timer_control); fsa_data 338 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_FINALIZE_TIMER_STOP, do_timer_control); fsa_data 340 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_FINALIZE_TIMER_START, do_timer_control); fsa_data 346 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_MSG_ROUTE, do_msg_route); fsa_data 348 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_RECOVER, do_recover); fsa_data 350 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_CL_JOIN_RESULT, do_cl_join_finalize_respond); fsa_data 352 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_CL_JOIN_REQUEST, do_cl_join_offer_respond); fsa_data 354 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_SHUTDOWN_REQ, do_shutdown_req); fsa_data 356 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_ELECTION_VOTE, do_election_vote); fsa_data 358 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_ELECTION_COUNT, do_election_count_vote); fsa_data 360 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_LRM_EVENT, do_lrm_event); fsa_data 366 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_STARTED, do_started); fsa_data 368 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_CL_JOIN_QUERY, do_cl_join_query); fsa_data 370 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_TIMER_START, do_timer_control); fsa_data 377 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_TAKEOVER, do_dc_takeover); fsa_data 379 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_RELEASE, do_dc_release); fsa_data 381 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_JOIN_FINAL, do_dc_join_final); fsa_data 383 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_ELECTION_CHECK, do_election_check); fsa_data 385 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_ELECTION_START, do_election_vote); fsa_data 387 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_JOIN_OFFER_ALL, do_dc_join_offer_all); fsa_data 389 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_JOIN_OFFER_ONE, do_dc_join_offer_one); fsa_data 391 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_JOIN_PROCESS_REQ, do_dc_join_filter_offer); fsa_data 393 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_JOIN_PROCESS_ACK, do_dc_join_ack); fsa_data 395 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_JOIN_FINALIZE, do_dc_join_finalize); fsa_data 397 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_CL_JOIN_ANNOUNCE, do_cl_join_announce); fsa_data 405 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_TE_HALT, do_te_invoke); fsa_data 407 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_TE_CANCEL, do_te_invoke); fsa_data 409 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_LRM_INVOKE, do_lrm_invoke); fsa_data 411 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_PE_INVOKE, do_pe_invoke); fsa_data 413 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_TE_INVOKE, do_te_invoke); fsa_data 417 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_DC_RELEASED, do_dc_release); fsa_data 419 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_PE_STOP, do_pe_control); fsa_data 421 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_TE_STOP, do_te_control); fsa_data 423 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_SHUTDOWN, do_shutdown); fsa_data 425 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_LRM_DISCONNECT, do_lrm_control); fsa_data 427 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_HA_DISCONNECT, do_ha_control); fsa_data 429 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_CIB_STOP, do_cib_control); fsa_data 431 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_STOP, do_stop); fsa_data 435 daemons/controld/controld_fsa.c do_fsa_action(fsa_data, A_EXIT_0, do_exit); fsa_data 442 daemons/controld/controld_fsa.c register_fsa_error_adv(C_FSA_INTERNAL, I_ERROR, fsa_data, NULL, fsa_data 65 daemons/controld/controld_messages.c fsa_data_t *fsa_data = NULL; fsa_data 104 daemons/controld/controld_messages.c fsa_data = calloc(1, sizeof(fsa_data_t)); fsa_data 105 daemons/controld/controld_messages.c fsa_data->id = last_data_id; fsa_data 106 daemons/controld/controld_messages.c fsa_data->fsa_input = input; fsa_data 107 daemons/controld/controld_messages.c fsa_data->fsa_cause = cause; fsa_data 108 daemons/controld/controld_messages.c fsa_data->origin = raised_from; fsa_data 109 daemons/controld/controld_messages.c fsa_data->data = NULL; fsa_data 110 daemons/controld/controld_messages.c fsa_data->data_type = fsa_dt_none; fsa_data 111 daemons/controld/controld_messages.c fsa_data->actions = with_actions; fsa_data 128 daemons/controld/controld_messages.c fsa_data->data = copy_ha_msg_input(data); fsa_data 129 daemons/controld/controld_messages.c fsa_data->data_type = fsa_dt_ha_msg; fsa_data 135 daemons/controld/controld_messages.c fsa_data->data = lrmd_copy_event((lrmd_event_data_t *) data); fsa_data 136 daemons/controld/controld_messages.c fsa_data->data_type = fsa_dt_lrm; fsa_data 152 daemons/controld/controld_messages.c fsa_message_queue = g_list_prepend(fsa_message_queue, fsa_data); fsa_data 154 daemons/controld/controld_messages.c fsa_message_queue = g_list_append(fsa_message_queue, fsa_data); fsa_data 202 daemons/controld/controld_messages.c delete_fsa_input(fsa_data_t * fsa_data) fsa_data 207 daemons/controld/controld_messages.c if (fsa_data == NULL) { fsa_data 210 daemons/controld/controld_messages.c crm_trace("About to free %s data", fsa_cause2string(fsa_data->fsa_cause)); fsa_data 212 daemons/controld/controld_messages.c if (fsa_data->data != NULL) { fsa_data 213 daemons/controld/controld_messages.c switch (fsa_data->data_type) { fsa_data 215 daemons/controld/controld_messages.c delete_ha_msg_input(fsa_data->data); fsa_data 219 daemons/controld/controld_messages.c foo = fsa_data->data; fsa_data 224 daemons/controld/controld_messages.c op = (lrmd_event_data_t *) fsa_data->data; fsa_data 229 daemons/controld/controld_messages.c if (fsa_data->data != NULL) { fsa_data 231 daemons/controld/controld_messages.c fsa_cause2string(fsa_data->fsa_cause), fsa_data->origin); fsa_data 236 daemons/controld/controld_messages.c crm_trace("%s data freed", fsa_cause2string(fsa_data->fsa_cause)); fsa_data 239 daemons/controld/controld_messages.c free(fsa_data); fsa_data 254 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 258 daemons/controld/controld_messages.c if (fsa_data == NULL) { fsa_data 261 daemons/controld/controld_messages.c } else if (fsa_data->data == NULL) { fsa_data 262 daemons/controld/controld_messages.c crm_err("%s: No message data available. Origin: %s", caller, fsa_data->origin); fsa_data 264 daemons/controld/controld_messages.c } else if (fsa_data->data_type != a_type) { fsa_data 266 daemons/controld/controld_messages.c caller, fsa_data->data_type, a_type, fsa_data->origin); fsa_data 267 daemons/controld/controld_messages.c CRM_ASSERT(fsa_data->data_type == a_type); fsa_data 269 daemons/controld/controld_messages.c ret_val = fsa_data->data; fsa_data 1230 daemons/controld/controld_messages.c fsa_data_t fsa_data; fsa_data 1236 daemons/controld/controld_messages.c fsa_data.id = 0; fsa_data 1237 daemons/controld/controld_messages.c fsa_data.actions = 0; fsa_data 1238 daemons/controld/controld_messages.c fsa_data.data = &fsa_input; fsa_data 1239 daemons/controld/controld_messages.c fsa_data.fsa_input = I_MESSAGE; fsa_data 1240 daemons/controld/controld_messages.c fsa_data.fsa_cause = C_IPC_MESSAGE; fsa_data 1241 daemons/controld/controld_messages.c fsa_data.origin = __func__; fsa_data 1242 daemons/controld/controld_messages.c fsa_data.data_type = fsa_dt_ha_msg; fsa_data 1244 daemons/controld/controld_messages.c do_lrm_invoke(A_LRM_INVOKE, C_IPC_MESSAGE, fsa_state, I_MESSAGE, &fsa_data); fsa_data 28 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);