event 63 attrd/attrd_common.h void attrd_cib_updated_cb(const char *event, xmlNode *msg); event 141 attrd/attrd_common_alerts.c attrd_cib_updated_cb(const char *event, xmlNode * msg) event 550 attrd/legacy.c do_cib_replaced(const char *event, xmlNode * msg) event 552 attrd/legacy.c crm_info("Updating all attributes after %s event", event); event 96 attrd/main.c attrd_cib_replaced_cb(const char *event, xmlNode * msg) event 98 attrd/main.c crm_notice("Updating all attributes after %s event", event); event 1539 cib/callbacks.c cib_ccm_msg_callback(oc_ed_t event, void *cookie, size_t size, const void *data) event 1546 cib/callbacks.c crm_info("Processing CCM event=%s (id=%d)", ccm_event_name(event), membership->m_instance); event 1554 cib/callbacks.c switch (event) { event 1563 cib/callbacks.c crm_trace("Ignoring transitional CCM event: %s", ccm_event_name(event)); event 1566 cib/callbacks.c crm_err("Evicted from CCM: %s", ccm_event_name(event)); event 1569 cib/callbacks.c crm_err("Unknown CCM event: %d", event); event 85 cib/callbacks.h extern void cib_ccm_msg_callback(oc_ed_t event, void *cookie, size_t size, const void *data); event 60 cib/cibmon.c void cibmon_diff(const char *event, xmlNode * msg); event 199 cib/cibmon.c cibmon_diff(const char *event, xmlNode * msg) event 220 cib/cibmon.c do_crm_log(log_level, "[%s] %s ABORTED: %s", event, op, pcmk_strerror(rc)); event 39 crmd/cib.c do_cib_updated(const char *event, xmlNode * msg) event 80 crmd/cib.c do_cib_replaced(const char *event, xmlNode * msg) event 167 crmd/fsa_proto.h oc_ed_t event, const oc_ev_membership_t * oc, xmlNode * xml); event 40 crmd/heartbeat.c void ccm_event_detail(const oc_ev_membership_t * oc, oc_ed_t event); event 42 crmd/heartbeat.c void crmd_ccm_msg_callback(oc_ed_t event, void *cookie, size_t size, const void *data); event 160 crmd/heartbeat.c ccm_event_detail(const oc_ev_membership_t * oc, oc_ed_t event) event 170 crmd/heartbeat.c ccm_event_name(event), event 213 crmd/heartbeat.c oc_ed_t event, const oc_ev_membership_t * oc, xmlNode * xml) event 230 crmd/heartbeat.c ccm_event_name(event), instance, fsa_state2string(cur_state)); event 240 crmd/heartbeat.c ccm_event_detail(oc, event); event 254 crmd/heartbeat.c if (event == OC_EV_MS_EVICTED) { event 304 crmd/heartbeat.c crmd_ccm_msg_callback(oc_ed_t event, void *cookie, size_t size, const void *data) event 315 crmd/heartbeat.c ccm_have_quorum(event) ? "(re)attained" : "lost", event 316 crmd/heartbeat.c ccm_event_name(event), membership->m_instance); event 333 crmd/heartbeat.c switch (event) { event 348 crmd/heartbeat.c crm_err("Shutting down after CCM event: %s", ccm_event_name(event)); event 351 crmd/heartbeat.c crm_err("Unknown CCM event: %d", event); event 355 crmd/heartbeat.c crm_have_quorum = ccm_have_quorum(event); event 359 crmd/heartbeat.c crm_info("Quorum lost: %s", ccm_event_name(event)); event 366 crmd/heartbeat.c crm_trace("Updating cache after event %s", ccm_event_name(event)); event 367 crmd/heartbeat.c do_ccm_update_cache(C_CCM_CALLBACK, fsa_state, event, data, NULL); event 369 crmd/heartbeat.c } else if (event != OC_EV_MS_NOT_PRIMARY) { event 919 crmd/lrm.c struct delete_event_s *event = user_data; event 922 crmd/lrm.c if (crm_str_eq(event->rsc, op->rsc, TRUE)) { event 923 crmd/lrm.c notify_deleted(event->lrm_state, op->input, event->rsc, event->rc); event 975 crmd/lrm.c struct delete_event_s event; event 997 crmd/lrm.c event.rc = rc; event 998 crmd/lrm.c event.rsc = rsc_id; event 999 crmd/lrm.c event.lrm_state = lrm_state; event 1000 crmd/lrm.c g_hash_table_foreach_remove(lrm_state->deletion_ops, lrm_remove_deleted_rsc, &event); event 2035 crmd/lrm.c struct stop_recurring_action_s *event = user_data; event 2038 crmd/lrm.c if (op->interval != 0 && crm_str_eq(op->rsc_id, event->rsc->id, TRUE)) { event 2040 crmd/lrm.c remove = !cancel_op(event->lrm_state, event->rsc->id, key, op->call_id, FALSE); event 76 crmd/lrm_state.c lrmd_event_data_t event = { 0, }; event 84 crmd/lrm_state.c event.type = lrmd_event_exec_complete; event 85 crmd/lrm_state.c event.rsc_id = op->rsc_id; event 86 crmd/lrm_state.c event.op_type = op->op_type; event 87 crmd/lrm_state.c event.user_data = op->user_data; event 88 crmd/lrm_state.c event.timeout = 0; event 89 crmd/lrm_state.c event.interval = op->interval; event 90 crmd/lrm_state.c event.rc = PCMK_OCF_CONNECTION_DIED; event 91 crmd/lrm_state.c event.op_status = PCMK_LRM_OP_ERROR; event 92 crmd/lrm_state.c event.t_run = op->start_time; event 93 crmd/lrm_state.c event.t_rcchange = op->start_time; event 95 crmd/lrm_state.c event.call_id = op->call_id; event 96 crmd/lrm_state.c event.remote_nodename = lrm_state->node_name; event 97 crmd/lrm_state.c event.params = op->params; event 99 crmd/lrm_state.c process_lrm_event(lrm_state, &event, op); event 706 crmd/te_actions.c enum crmd_fsa_input event = I_NULL; event 716 crmd/te_actions.c event = I_TE_SUCCESS; event 722 crmd/te_actions.c event = I_TE_SUCCESS; event 733 crmd/te_actions.c event = I_PE_CALC; event 744 crmd/te_actions.c event = I_STOP; event 748 crmd/te_actions.c event = I_TERMINATE; event 758 crmd/te_actions.c if (event != I_NULL) { event 759 crmd/te_actions.c register_fsa_input(C_FSA_INTERNAL, event, NULL); event 33 crmd/te_callbacks.c void te_update_confirm(const char *event, xmlNode * msg); event 69 crmd/te_callbacks.c te_legacy_update_diff(const char *event, xmlNode * diff) event 365 crmd/te_callbacks.c te_update_diff(const char *event, xmlNode * msg) event 407 crmd/te_callbacks.c te_legacy_update_diff(event, diff); event 32 crmd/te_callbacks.h extern void te_update_diff(const char *event, xmlNode * msg); event 122 crmd/te_events.c update_failcount(xmlNode * event, const char *event_node_uuid, int rc, event 131 crmd/te_events.c const char *id = crm_element_value(event, XML_LRM_ATTR_TASK_KEY); event 133 crmd/te_events.c const char *origin = crm_element_value(event, XML_ATTR_ORIGIN); event 149 crmd/te_events.c crm_err("Couldn't parse: %s", ID(event)); goto bail); event 265 crmd/te_events.c match_graph_event(crm_action_t *action, xmlNode *event, int op_status, event 310 crmd/te_events.c abort_transition(action->synapse->priority + 1, tg_restart, "Event failed", event); event 313 crmd/te_events.c this_event = crm_element_value(event, XML_LRM_ATTR_TASK_KEY); event 440 crmd/te_events.c process_graph_event(xmlNode * event, const char *event_node) event 459 crmd/te_events.c CRM_ASSERT(event != NULL); event 465 crmd/te_events.c id = crm_element_value(event, XML_LRM_ATTR_TASK_KEY); event 466 crmd/te_events.c crm_element_value_int(event, XML_LRM_ATTR_RC, &rc); event 467 crmd/te_events.c crm_element_value_int(event, XML_LRM_ATTR_OPSTATUS, &status); event 468 crmd/te_events.c crm_element_value_int(event, XML_LRM_ATTR_CALLID, &callid); event 470 crmd/te_events.c magic = crm_element_value(event, XML_ATTR_TRANSITION_KEY); event 479 crmd/te_events.c abort_transition(INFINITY, tg_restart, "Bad event", event); event 489 crmd/te_events.c abort_transition(INFINITY, tg_restart, "Unexpected event", event); event 493 crmd/te_events.c abort_transition(INFINITY, tg_restart, "Foreign event", event); event 498 crmd/te_events.c abort_transition(INFINITY, tg_restart, "Old event", event); event 503 crmd/te_events.c abort_transition(INFINITY, tg_restart, "Inactive graph", event); event 510 crmd/te_events.c abort_transition(INFINITY, tg_restart, "Unknown event", event); event 515 crmd/te_events.c match_graph_event(action, event, status, rc, target_rc, ignore_failures); event 522 crmd/te_events.c if (update_failcount(event, event_node, rc, target_rc, event 41 crmd/tengine.h extern gboolean process_graph_event(xmlNode * event, const char *event_node); event 336 fencing/admin.c print_fence_event(stonith_history_t *event) event 338 fencing/admin.c char *action_s = fence_action_str(event->action); event 339 fencing/admin.c time_t complete = event->completed; event 342 fencing/admin.c (event->delegate? event->delegate : "This node"), action_s, event 343 fencing/admin.c event->target, event->client, event->origin, ctime(&complete)); event 746 fencing/main.c update_cib_stonith_devices_v2(const char *event, xmlNode * msg) event 809 fencing/main.c update_cib_stonith_devices_v1(const char *event, xmlNode * msg) event 870 fencing/main.c update_cib_stonith_devices(const char *event, xmlNode * msg) event 879 fencing/main.c update_cib_stonith_devices_v1(event, msg); event 882 fencing/main.c update_cib_stonith_devices_v2(event, msg); event 927 fencing/main.c update_fencing_topology(const char *event, xmlNode * msg) event 1024 fencing/main.c update_cib_cache_cb(const char *event, xmlNode * msg) event 1037 fencing/main.c crm_trace("Missing %s update", event); event 1062 fencing/main.c crm_notice("[%s] Patch aborted: %s (%d)", event, pcmk_strerror(rc), rc); event 1067 fencing/main.c crm_warn("[%s] ABORTED: %s (%d)", event, pcmk_strerror(rc), rc); event 1123 fencing/main.c update_fencing_topology(event, msg); event 1124 fencing/main.c update_cib_stonith_devices(event, msg); event 94 include/crm/cib.h int (*add_notify_callback) (cib_t * cib, const char *event, event 95 include/crm/cib.h void (*callback) (const char *event, xmlNode * msg)); event 97 include/crm/cib.h int (*del_notify_callback) (cib_t * cib, const char *event, event 98 include/crm/cib.h void (*callback) (const char *event, xmlNode * msg)); event 96 include/crm/cib/internal.h const char *event; event 99 include/crm/cib/internal.h void (*callback) (const char *event, xmlNode * msg); event 68 include/crm/cib/util.h int cib_apply_patch_event(xmlNode * event, xmlNode * input, xmlNode ** output, int level); event 401 include/crm/cluster/internal.h gboolean ccm_have_quorum(oc_ed_t event); event 402 include/crm/cluster/internal.h const char *ccm_event_name(oc_ed_t event); event 129 include/crm/common/util.h int rsc_op_expected_rc(lrmd_event_data_t *event); event 130 include/crm/common/util.h gboolean did_rsc_op_fail(lrmd_event_data_t *event, int target_rc); event 257 include/crm/lrmd.h lrmd_event_data_t *lrmd_copy_event(lrmd_event_data_t * event); event 258 include/crm/lrmd.h void lrmd_free_event(lrmd_event_data_t * event); event 270 include/crm/lrmd.h typedef void (*lrmd_event_callback) (lrmd_event_data_t * event); event 287 include/crm/stonith-ng.h stonith_t *st, const char *event, event 289 include/crm/stonith-ng.h int (*remove_notification)(stonith_t *st, const char *event); event 153 include/crm_internal.h xmlNode *create_operation_update(xmlNode *parent, lrmd_event_data_t *event, event 42 lib/cib/cib_client.c int cib_client_add_notify_callback(cib_t * cib, const char *event, event 43 lib/cib/cib_client.c void (*callback) (const char *event, xmlNode * msg)); event 45 lib/cib/cib_client.c int cib_client_del_notify_callback(cib_t * cib, const char *event, event 46 lib/cib/cib_client.c void (*callback) (const char *event, xmlNode * msg)); event 460 lib/cib/cib_client.c cib_client_add_notify_callback(cib_t * cib, const char *event, event 461 lib/cib/cib_client.c void (*callback) (const char *event, xmlNode * msg)) event 470 lib/cib/cib_client.c crm_trace("Adding callback for %s events (%d)", event, g_list_length(cib->notify_list)); event 473 lib/cib/cib_client.c new_client->event = event; event 486 lib/cib/cib_client.c cib->cmds->register_notification(cib, event, 1); event 494 lib/cib/cib_client.c get_notify_list_event_count(cib_t * cib, const char *event) event 502 lib/cib/cib_client.c if (strcmp(client->event, event) == 0) { event 506 lib/cib/cib_client.c crm_trace("event(%s) count : %d", event, count); event 511 lib/cib/cib_client.c cib_client_del_notify_callback(cib_t * cib, const char *event, event 512 lib/cib/cib_client.c void (*callback) (const char *event, xmlNode * msg)) event 521 lib/cib/cib_client.c if (get_notify_list_event_count(cib, event) == 0) { event 522 lib/cib/cib_client.c crm_debug("The callback of the event does not exist(%s)", event); event 526 lib/cib/cib_client.c crm_debug("Removing callback for %s events", event); event 529 lib/cib/cib_client.c new_client->event = event; event 546 lib/cib/cib_client.c if (get_notify_list_event_count(cib, event) == 0) { event 548 lib/cib/cib_client.c cib->cmds->register_notification(cib, event, 0); event 562 lib/cib/cib_client.c CRM_CHECK(a_client->event != NULL && b_client->event != NULL, return 0); event 563 lib/cib/cib_client.c rc = strcmp(a_client->event, b_client->event); event 569 lib/cib/cib_client.c a_client->event, a_client->callback, b_client->callback); event 573 lib/cib/cib_client.c a_client->event, a_client->callback, b_client->callback); event 674 lib/cib/cib_utils.c const char *event = NULL; event 681 lib/cib/cib_utils.c event = crm_element_value(msg, F_SUBTYPE); event 691 lib/cib/cib_utils.c } else if (safe_str_neq(entry->event, event)) { event 692 lib/cib/cib_utils.c crm_trace("Skipping callback - event mismatch %p/%s vs. %s", entry, entry->event, event); event 696 lib/cib/cib_utils.c crm_trace("Invoking callback for %p/%s event...", entry, event); event 697 lib/cib/cib_utils.c entry->callback(event, msg); event 773 lib/cib/cib_utils.c cib_apply_patch_event(xmlNode * event, xmlNode * input, xmlNode ** output, int level) event 779 lib/cib/cib_utils.c CRM_ASSERT(event); event 783 lib/cib/cib_utils.c crm_element_value_int(event, F_CIB_RC, &rc); event 784 lib/cib/cib_utils.c diff = get_message_xml(event, F_CIB_UPDATE_RESULT); event 795 lib/cib/cib_utils.c rc = cib_process_diff(NULL, cib_none, NULL, event, diff, input, output, NULL); event 576 lib/cluster/heartbeat.c ccm_have_quorum(oc_ed_t event) event 578 lib/cluster/heartbeat.c if (event == OC_EV_MS_NEW_MEMBERSHIP || event == OC_EV_MS_PRIMARY_RESTORED) { event 585 lib/cluster/heartbeat.c ccm_event_name(oc_ed_t event) event 588 lib/cluster/heartbeat.c if (event == OC_EV_MS_NEW_MEMBERSHIP) { event 591 lib/cluster/heartbeat.c } else if (event == OC_EV_MS_NOT_PRIMARY) { event 594 lib/cluster/heartbeat.c } else if (event == OC_EV_MS_PRIMARY_RESTORED) { event 597 lib/cluster/heartbeat.c } else if (event == OC_EV_MS_EVICTED) { event 600 lib/cluster/heartbeat.c } else if (event == OC_EV_MS_INVALID) { event 391 lib/common/ipc.c struct iovec *event = c->event_queue->data; event 393 lib/common/ipc.c c->event_queue = g_list_remove(c->event_queue, event); event 394 lib/common/ipc.c free(event[0].iov_base); event 395 lib/common/ipc.c free(event[1].iov_base); event 396 lib/common/ipc.c free(event); event 546 lib/common/ipc.c struct iovec *event = c->event_queue->data; event 548 lib/common/ipc.c rc = qb_ipcs_event_sendv(c->ipcs, event, 2); event 554 lib/common/ipc.c header = event[0].iov_base; event 561 lib/common/ipc.c (char *) (event[1].iov_base)); event 564 lib/common/ipc.c c->event_queue = g_list_remove(c->event_queue, event); event 565 lib/common/ipc.c free(event[0].iov_base); event 566 lib/common/ipc.c free(event[1].iov_base); event 567 lib/common/ipc.c free(event); event 94 lib/fencing/st_client.c const char *event; event 1648 lib/fencing/st_client.c CRM_CHECK(a_client->event != NULL && b_client->event != NULL, return 0); event 1649 lib/fencing/st_client.c rc = strcmp(a_client->event, b_client->event); event 1659 lib/fencing/st_client.c a_client->event, a_client->notify, b_client->notify); event 1663 lib/fencing/st_client.c a_client->event, a_client->notify, b_client->notify); event 1854 lib/fencing/st_client.c stonith_api_add_notification(stonith_t * stonith, const char *event, event 1862 lib/fencing/st_client.c crm_trace("Adding callback for %s events (%d)", event, g_list_length(private->notify_list)); event 1865 lib/fencing/st_client.c new_client->event = event; event 1878 lib/fencing/st_client.c stonith_set_notification(stonith, event, 1); event 1886 lib/fencing/st_client.c stonith_api_del_notification(stonith_t * stonith, const char *event) event 1892 lib/fencing/st_client.c crm_debug("Removing callback for %s events", event); event 1896 lib/fencing/st_client.c new_client->event = event; event 1901 lib/fencing/st_client.c stonith_set_notification(stonith, event, 0); event 2145 lib/fencing/st_client.c stonith_event_t *event = calloc(1, sizeof(stonith_event_t)); event 2152 lib/fencing/st_client.c crm_element_value_int(msg, F_STONITH_RC, &(event->result)); event 2155 lib/fencing/st_client.c event->operation = crm_element_value_copy(msg, F_STONITH_OPERATION); event 2158 lib/fencing/st_client.c event->origin = crm_element_value_copy(data, F_STONITH_ORIGIN); event 2159 lib/fencing/st_client.c event->action = crm_element_value_copy(data, F_STONITH_ACTION); event 2160 lib/fencing/st_client.c event->target = crm_element_value_copy(data, F_STONITH_TARGET); event 2161 lib/fencing/st_client.c event->executioner = crm_element_value_copy(data, F_STONITH_DELEGATE); event 2162 lib/fencing/st_client.c event->id = crm_element_value_copy(data, F_STONITH_REMOTE_OP_ID); event 2163 lib/fencing/st_client.c event->client_origin = crm_element_value_copy(data, F_STONITH_CLIENTNAME); event 2164 lib/fencing/st_client.c event->device = crm_element_value_copy(data, F_STONITH_DEVICE); event 2173 lib/fencing/st_client.c return event; event 2177 lib/fencing/st_client.c event_free(stonith_event_t * event) event 2179 lib/fencing/st_client.c free(event->id); event 2180 lib/fencing/st_client.c free(event->type); event 2181 lib/fencing/st_client.c free(event->message); event 2182 lib/fencing/st_client.c free(event->operation); event 2183 lib/fencing/st_client.c free(event->origin); event 2184 lib/fencing/st_client.c free(event->action); event 2185 lib/fencing/st_client.c free(event->target); event 2186 lib/fencing/st_client.c free(event->executioner); event 2187 lib/fencing/st_client.c free(event->device); event 2188 lib/fencing/st_client.c free(event->client_origin); event 2189 lib/fencing/st_client.c free(event); event 2198 lib/fencing/st_client.c const char *event = NULL; event 2205 lib/fencing/st_client.c event = crm_element_value(blob->xml, F_SUBTYPE); event 2215 lib/fencing/st_client.c } else if (safe_str_neq(entry->event, event)) { event 2216 lib/fencing/st_client.c crm_trace("Skipping callback - event mismatch %p/%s vs. %s", entry, entry->event, event); event 2222 lib/fencing/st_client.c crm_trace("Invoking callback for %p/%s event...", entry, event); event 190 lib/lrmd/lrmd_client.c lrmd_copy_event(lrmd_event_data_t * event) event 199 lib/lrmd/lrmd_client.c memcpy(copy, event, sizeof(lrmd_event_data_t)); event 201 lib/lrmd/lrmd_client.c copy->rsc_id = event->rsc_id ? strdup(event->rsc_id) : NULL; event 202 lib/lrmd/lrmd_client.c copy->op_type = event->op_type ? strdup(event->op_type) : NULL; event 203 lib/lrmd/lrmd_client.c copy->user_data = event->user_data ? strdup(event->user_data) : NULL; event 204 lib/lrmd/lrmd_client.c copy->output = event->output ? strdup(event->output) : NULL; event 205 lib/lrmd/lrmd_client.c copy->exit_reason = event->exit_reason ? strdup(event->exit_reason) : NULL; event 206 lib/lrmd/lrmd_client.c copy->remote_nodename = event->remote_nodename ? strdup(event->remote_nodename) : NULL; event 207 lib/lrmd/lrmd_client.c copy->params = crm_str_table_dup(event->params); event 213 lib/lrmd/lrmd_client.c lrmd_free_event(lrmd_event_data_t * event) event 215 lib/lrmd/lrmd_client.c if (!event) { event 220 lib/lrmd/lrmd_client.c free((char *)event->rsc_id); event 221 lib/lrmd/lrmd_client.c free((char *)event->op_type); event 222 lib/lrmd/lrmd_client.c free((char *)event->user_data); event 223 lib/lrmd/lrmd_client.c free((char *)event->output); event 224 lib/lrmd/lrmd_client.c free((char *)event->exit_reason); event 225 lib/lrmd/lrmd_client.c free((char *)event->remote_nodename); event 226 lib/lrmd/lrmd_client.c if (event->params) { event 227 lib/lrmd/lrmd_client.c g_hash_table_destroy(event->params); event 229 lib/lrmd/lrmd_client.c free(event); event 238 lib/lrmd/lrmd_client.c lrmd_event_data_t event = { 0, }; event 250 lib/lrmd/lrmd_client.c event.remote_nodename = native->remote_nodename; event 252 lib/lrmd/lrmd_client.c crm_element_value_int(msg, F_LRMD_CALLID, &event.call_id); event 253 lib/lrmd/lrmd_client.c event.rsc_id = crm_element_value(msg, F_LRMD_RSC_ID); event 256 lib/lrmd/lrmd_client.c event.type = lrmd_event_register; event 258 lib/lrmd/lrmd_client.c event.type = lrmd_event_unregister; event 260 lib/lrmd/lrmd_client.c crm_element_value_int(msg, F_LRMD_TIMEOUT, &event.timeout); event 261 lib/lrmd/lrmd_client.c crm_element_value_int(msg, F_LRMD_RSC_INTERVAL, &event.interval); event 262 lib/lrmd/lrmd_client.c crm_element_value_int(msg, F_LRMD_RSC_START_DELAY, &event.start_delay); event 263 lib/lrmd/lrmd_client.c crm_element_value_int(msg, F_LRMD_EXEC_RC, (int *)&event.rc); event 264 lib/lrmd/lrmd_client.c crm_element_value_int(msg, F_LRMD_OP_STATUS, &event.op_status); event 265 lib/lrmd/lrmd_client.c crm_element_value_int(msg, F_LRMD_RSC_DELETED, &event.rsc_deleted); event 267 lib/lrmd/lrmd_client.c crm_element_value_int(msg, F_LRMD_RSC_RUN_TIME, (int *)&event.t_run); event 268 lib/lrmd/lrmd_client.c crm_element_value_int(msg, F_LRMD_RSC_RCCHANGE_TIME, (int *)&event.t_rcchange); event 269 lib/lrmd/lrmd_client.c crm_element_value_int(msg, F_LRMD_RSC_EXEC_TIME, (int *)&event.exec_time); event 270 lib/lrmd/lrmd_client.c crm_element_value_int(msg, F_LRMD_RSC_QUEUE_TIME, (int *)&event.queue_time); event 272 lib/lrmd/lrmd_client.c event.op_type = crm_element_value(msg, F_LRMD_RSC_ACTION); event 273 lib/lrmd/lrmd_client.c event.user_data = crm_element_value(msg, F_LRMD_RSC_USERDATA_STR); event 274 lib/lrmd/lrmd_client.c event.output = crm_element_value(msg, F_LRMD_RSC_OUTPUT); event 275 lib/lrmd/lrmd_client.c event.exit_reason = crm_element_value(msg, F_LRMD_RSC_EXIT_REASON); event 276 lib/lrmd/lrmd_client.c event.type = lrmd_event_exec_complete; event 278 lib/lrmd/lrmd_client.c event.params = xml2list(msg); event 280 lib/lrmd/lrmd_client.c event.type = lrmd_event_new_client; event 282 lib/lrmd/lrmd_client.c event.type = lrmd_event_poke; event 288 lib/lrmd/lrmd_client.c native->callback(&event); event 290 lib/lrmd/lrmd_client.c if (event.params) { event 291 lib/lrmd/lrmd_client.c g_hash_table_destroy(event.params); event 500 lib/lrmd/lrmd_client.c lrmd_event_data_t event = { 0, }; event 501 lib/lrmd/lrmd_client.c event.type = lrmd_event_disconnect; event 502 lib/lrmd/lrmd_client.c event.remote_nodename = native->remote_nodename; event 503 lib/lrmd/lrmd_client.c native->callback(&event); event 545 lib/lrmd/lrmd_client.c lrmd_event_data_t event = { 0, }; event 546 lib/lrmd/lrmd_client.c event.remote_nodename = native->remote_nodename; event 547 lib/lrmd/lrmd_client.c event.type = lrmd_event_disconnect; event 548 lib/lrmd/lrmd_client.c native->callback(&event); event 1108 lib/lrmd/lrmd_client.c lrmd_event_data_t event = { 0, }; event 1109 lib/lrmd/lrmd_client.c event.type = lrmd_event_connect; event 1110 lib/lrmd/lrmd_client.c event.remote_nodename = native->remote_nodename; event 1111 lib/lrmd/lrmd_client.c event.connection_rc = rc; event 1112 lib/lrmd/lrmd_client.c native->callback(&event); event 81 lib/lrmd/proxy_common.c xmlNode *event = create_xml_node(NULL, T_LRMD_IPC_PROXY); event 82 lib/lrmd/proxy_common.c crm_xml_add(event, F_LRMD_IPC_OP, LRMD_IPC_OP_EVENT); event 83 lib/lrmd/proxy_common.c crm_xml_add(event, F_LRMD_IPC_SESSION, proxy->session_id); event 84 lib/lrmd/proxy_common.c add_message_xml(event, F_LRMD_IPC_MSG, msg); event 85 lib/lrmd/proxy_common.c crm_log_xml_explicit(event, "EventForProxy"); event 86 lib/lrmd/proxy_common.c lrmd_internal_proxy_send(proxy->lrm, event); event 87 lib/lrmd/proxy_common.c free_xml(event); event 106 lrmd/remote_ctl.c read_events(lrmd_event_data_t * event) event 108 lrmd/remote_ctl.c if (wait_poke && event->type == lrmd_event_poke) { event 111 lrmd/remote_ctl.c if ((event->call_id == exec_call_id) && (event->type == lrmd_event_exec_complete)) { event 112 lrmd/remote_ctl.c if (event->output) { event 113 lrmd/remote_ctl.c crm_info("%s", event->output); event 115 lrmd/remote_ctl.c if (event->exit_reason) { event 116 lrmd/remote_ctl.c fprintf(stderr, "%s%s\n", PCMK_OCF_REASON_PREFIX, event->exit_reason); event 118 lrmd/remote_ctl.c client_exit(event->rc); event 132 lrmd/remote_ctl.c connection_events(lrmd_event_data_t * event) event 134 lrmd/remote_ctl.c int rc = event->connection_rc; event 136 lrmd/remote_ctl.c if (event->type != lrmd_event_connect) { event 108 lrmd/test.c #define report_event(event) \ event 110 lrmd/test.c lrmd_event_type2str(event->type), \ event 111 lrmd/test.c event->rsc_id, \ event 112 lrmd/test.c event->op_type ? event->op_type : "none", \ event 113 lrmd/test.c services_ocf_exitcode_str(event->rc), \ event 114 lrmd/test.c services_lrm_status_str(event->op_status)); \ event 125 lrmd/test.c read_events(lrmd_event_data_t * event) event 127 lrmd/test.c report_event(event); event 135 lrmd/test.c if (exec_call_id && (event->call_id == exec_call_id)) { event 136 lrmd/test.c if (event->op_status == 0 && event->rc == 0) { event 140 lrmd/test.c event->rc, services_lrm_status_str(event->op_status))); event 160 lrmd/test.c connection_events(lrmd_event_data_t * event) event 162 lrmd/test.c int rc = event->connection_rc; event 164 lrmd/test.c if (event->type != lrmd_event_connect) { event 55 tools/crm_mon.c void crm_diff_update(const char *event, xmlNode * msg); event 3925 tools/crm_mon.c static void crm_diff_update_v2(const char *event, xmlNode * msg) event 4026 tools/crm_mon.c static void crm_diff_update_v1(const char *event, xmlNode * msg) event 4043 tools/crm_mon.c crm_diff_update(const char *event, xmlNode * msg) event 4064 tools/crm_mon.c crm_notice("[%s] Patch aborted: %s (%d)", event, pcmk_strerror(rc), rc); event 4071 tools/crm_mon.c crm_notice("[%s] ABORTED: %s (%d)", event, pcmk_strerror(rc), rc); event 4086 tools/crm_mon.c crm_diff_update_v1(event, msg); event 4089 tools/crm_mon.c crm_diff_update_v2(event, msg); event 417 tools/crm_node.c ccm_age_callback(oc_ed_t event, void *cookie, size_t size, const void *data) event 429 tools/crm_node.c event == OC_EV_MS_NEW_MEMBERSHIP ? "NEW MEMBERSHIP" : event 430 tools/crm_node.c event == OC_EV_MS_NOT_PRIMARY ? "NOT PRIMARY" : event 431 tools/crm_node.c event == OC_EV_MS_PRIMARY_RESTORED ? "PRIMARY RESTORED" : event 432 tools/crm_node.c event == OC_EV_MS_EVICTED ? "EVICTED" : "NO QUORUM MEMBERSHIP"); event 433 tools/crm_node.c if (ccm_have_quorum(event)) { event 82 tools/ipmiservicelogd.c ipmi_event_t * event); event 85 tools/ipmiservicelogd.c ipmi_event_t * event); event 352 tools/ipmiservicelogd.c double value, void *cb_data, ipmi_event_t * event) event 381 tools/ipmiservicelogd.c event_type = ipmi_event_get_type(event); event 416 tools/ipmiservicelogd.c int severity, int prev_severity, void *cb_data, ipmi_event_t * event) event 446 tools/ipmiservicelogd.c event_type = ipmi_event_get_type(event); event 37 tools/notifyServicelogEvent.c STATUS event2status(struct sl_event *event); event 54 tools/notifyServicelogEvent.c event2status(struct sl_event * event) event 58 tools/notifyServicelogEvent.c crm_debug("Severity = %d, Disposition = %d", event->severity, event->disposition); event 61 tools/notifyServicelogEvent.c if (event->severity == SL_SEV_WARNING) { event 65 tools/notifyServicelogEvent.c if (event->disposition == SL_DISP_UNRECOVERABLE) { event 91 tools/notifyServicelogEvent.c struct sl_event *event = NULL; event 152 tools/notifyServicelogEvent.c rc = servicelog_event_get(slog, event_id, &event); event 161 tools/notifyServicelogEvent.c event_id, ctime(&(event->time_logged)), ctime(&(event->time_event))); event 163 tools/notifyServicelogEvent.c status = event2status(event); event 185 tools/notifyServicelogEvent.c if (event) { event 186 tools/notifyServicelogEvent.c servicelog_event_free(event);