event 129 daemons/attrd/attrd_alerts.c attrd_cib_updated_cb(const char *event, xmlNode * msg) event 192 daemons/attrd/attrd_utils.c attrd_cib_replaced_cb(const char *event, xmlNode * msg) event 199 daemons/attrd/attrd_utils.c crm_notice("Updating all attributes after %s event", event); event 66 daemons/attrd/pacemaker-attrd.h void attrd_cib_replaced_cb(const char *event, xmlNode * msg); event 67 daemons/attrd/pacemaker-attrd.h void attrd_cib_updated_cb(const char *event, xmlNode *msg); event 48 daemons/based/cibmon.c void cibmon_diff(const char *event, xmlNode * msg); event 190 daemons/based/cibmon.c cibmon_diff(const char *event, xmlNode * msg) event 211 daemons/based/cibmon.c do_crm_log(log_level, "[%s] %s ABORTED: %s", event, op, pcmk_strerror(rc)); event 24 daemons/controld/controld_based.c do_cib_updated(const char *event, xmlNode * msg) event 32 daemons/controld/controld_based.c do_cib_replaced(const char *event, xmlNode * msg) event 862 daemons/controld/controld_execd.c controld_rc2event(lrmd_event_data_t *event, int rc) event 866 daemons/controld/controld_execd.c event->rc = PCMK_OCF_OK; event 867 daemons/controld/controld_execd.c event->op_status = PCMK_LRM_OP_DONE; event 870 daemons/controld/controld_execd.c event->rc = PCMK_OCF_INSUFFICIENT_PRIV; event 871 daemons/controld/controld_execd.c event->op_status = PCMK_LRM_OP_ERROR; event 874 daemons/controld/controld_execd.c event->rc = PCMK_OCF_UNKNOWN_ERROR; event 875 daemons/controld/controld_execd.c event->op_status = PCMK_LRM_OP_ERROR; event 925 daemons/controld/controld_execd.c struct delete_event_s *event = user_data; event 928 daemons/controld/controld_execd.c if (pcmk__str_eq(event->rsc, op->rsc, pcmk__str_none)) { event 929 daemons/controld/controld_execd.c notify_deleted(event->lrm_state, op->input, event->rsc, event->rc); event 953 daemons/controld/controld_execd.c struct delete_event_s event; event 975 daemons/controld/controld_execd.c event.rc = rc; event 976 daemons/controld/controld_execd.c event.rsc = rsc_id; event 977 daemons/controld/controld_execd.c event.lrm_state = lrm_state; event 978 daemons/controld/controld_execd.c g_hash_table_foreach_remove(lrm_state->deletion_ops, lrm_remove_deleted_rsc, &event); event 2153 daemons/controld/controld_execd.c struct stop_recurring_action_s *event = user_data; event 2157 daemons/controld/controld_execd.c && pcmk__str_eq(op->rsc_id, event->rsc->id, pcmk__str_none)) { event 2160 daemons/controld/controld_execd.c remove = !cancel_op(event->lrm_state, event->rsc->id, key, op->call_id, FALSE); event 62 daemons/controld/controld_execd_state.c lrmd_event_data_t event = { 0, }; event 70 daemons/controld/controld_execd_state.c event.type = lrmd_event_exec_complete; event 71 daemons/controld/controld_execd_state.c event.rsc_id = op->rsc_id; event 72 daemons/controld/controld_execd_state.c event.op_type = op->op_type; event 73 daemons/controld/controld_execd_state.c event.user_data = op->user_data; event 74 daemons/controld/controld_execd_state.c event.timeout = 0; event 75 daemons/controld/controld_execd_state.c event.interval_ms = op->interval_ms; event 76 daemons/controld/controld_execd_state.c event.rc = PCMK_OCF_UNKNOWN_ERROR; event 77 daemons/controld/controld_execd_state.c event.op_status = PCMK_LRM_OP_NOT_CONNECTED; event 78 daemons/controld/controld_execd_state.c event.t_run = (unsigned int) op->start_time; event 79 daemons/controld/controld_execd_state.c event.t_rcchange = (unsigned int) op->start_time; event 81 daemons/controld/controld_execd_state.c event.call_id = op->call_id; event 82 daemons/controld/controld_execd_state.c event.remote_nodename = lrm_state->node_name; event 83 daemons/controld/controld_execd_state.c event.params = op->params; event 85 daemons/controld/controld_execd_state.c process_lrm_event(lrm_state, &event, op, NULL); event 190 daemons/controld/controld_lrm.h void controld_rc2event(lrmd_event_data_t *event, int rc); event 581 daemons/controld/controld_te_actions.c enum crmd_fsa_input event = I_NULL; event 594 daemons/controld/controld_te_actions.c event = I_TE_SUCCESS; event 600 daemons/controld/controld_te_actions.c event = I_TE_SUCCESS; event 611 daemons/controld/controld_te_actions.c event = I_PE_CALC; event 623 daemons/controld/controld_te_actions.c event = I_STOP; event 627 daemons/controld/controld_te_actions.c event = I_TERMINATE; event 637 daemons/controld/controld_te_actions.c if (event != I_NULL) { event 638 daemons/controld/controld_te_actions.c register_fsa_input(C_FSA_INTERNAL, event, NULL); event 22 daemons/controld/controld_te_callbacks.c void te_update_confirm(const char *event, xmlNode * msg); event 44 daemons/controld/controld_te_callbacks.c te_update_diff_v1(const char *event, xmlNode *diff) event 550 daemons/controld/controld_te_callbacks.c te_update_diff(const char *event, xmlNode * msg) event 590 daemons/controld/controld_te_callbacks.c te_update_diff_v1(event, diff); event 111 daemons/controld/controld_te_events.c update_failcount(xmlNode * event, const char *event_node_uuid, int rc, event 120 daemons/controld/controld_te_events.c const char *id = crm_element_value(event, XML_LRM_ATTR_TASK_KEY); event 122 daemons/controld/controld_te_events.c const char *origin = crm_element_value(event, XML_ATTR_ORIGIN); event 136 daemons/controld/controld_te_events.c crm_err("Couldn't parse: %s", ID(event)); goto bail); event 332 daemons/controld/controld_te_events.c process_graph_event(xmlNode *event, const char *event_node) event 347 daemons/controld/controld_te_events.c CRM_ASSERT(event != NULL); event 353 daemons/controld/controld_te_events.c magic = crm_element_value(event, XML_ATTR_TRANSITION_KEY); event 359 daemons/controld/controld_te_events.c crm_element_value_int(event, XML_LRM_ATTR_OPSTATUS, &status); event 364 daemons/controld/controld_te_events.c id = crm_element_value(event, XML_LRM_ATTR_TASK_KEY); event 365 daemons/controld/controld_te_events.c crm_element_value_int(event, XML_LRM_ATTR_RC, &rc); event 366 daemons/controld/controld_te_events.c crm_element_value_int(event, XML_LRM_ATTR_CALLID, &callid); event 375 daemons/controld/controld_te_events.c abort_transition(INFINITY, tg_restart, "Bad event", event); event 382 daemons/controld/controld_te_events.c abort_transition(INFINITY, tg_restart, "Unexpected event", event); event 386 daemons/controld/controld_te_events.c abort_transition(INFINITY, tg_restart, "Foreign event", event); event 402 daemons/controld/controld_te_events.c confirm_cancel_action(id, get_node_id(event)); event 408 daemons/controld/controld_te_events.c event); event 412 daemons/controld/controld_te_events.c abort_transition(INFINITY, tg_restart, "Old event", event); event 415 daemons/controld/controld_te_events.c abort_transition(INFINITY, tg_restart, "Inactive graph", event); event 425 daemons/controld/controld_te_events.c abort_transition(INFINITY, tg_restart, "Unknown event", event); event 434 daemons/controld/controld_te_events.c crm_log_xml_debug(event, "Event already confirmed:"); event 454 daemons/controld/controld_te_events.c "Event failed", event); event 462 daemons/controld/controld_te_events.c uname = crm_element_value(event, XML_LRM_ATTR_TARGET); event 473 daemons/controld/controld_te_events.c } else if (desc && update_failcount(event, event_node, rc, target_rc, event 495 daemons/controld/controld_te_events.c update_failcount(event, event_node, rc, target_rc, event 23 daemons/controld/controld_transition.h void process_graph_event(xmlNode *event, const char *event_node); event 44 daemons/controld/controld_transition.h void te_update_diff(const char *event, xmlNode *msg); event 29 daemons/controld/pacemaker-controld.h void do_cib_updated(const char *event, xmlNode * msg); event 30 daemons/controld/pacemaker-controld.h void do_cib_replaced(const char *event, xmlNode * msg); event 167 daemons/execd/cts-exec-helper.c #define report_event(event) \ event 169 daemons/execd/cts-exec-helper.c lrmd_event_type2str(event->type), \ event 170 daemons/execd/cts-exec-helper.c event->rsc_id, \ event 171 daemons/execd/cts-exec-helper.c event->op_type ? event->op_type : "none", \ event 172 daemons/execd/cts-exec-helper.c services_ocf_exitcode_str(event->rc), \ event 173 daemons/execd/cts-exec-helper.c services_lrm_status_str(event->op_status)); \ event 184 daemons/execd/cts-exec-helper.c read_events(lrmd_event_data_t * event) event 186 daemons/execd/cts-exec-helper.c report_event(event); event 194 daemons/execd/cts-exec-helper.c if (exec_call_id && (event->call_id == exec_call_id)) { event 195 daemons/execd/cts-exec-helper.c if (event->op_status == 0 && event->rc == 0) { event 199 daemons/execd/cts-exec-helper.c event->rc, services_lrm_status_str(event->op_status))); event 218 daemons/execd/cts-exec-helper.c connection_events(lrmd_event_data_t * event) event 220 daemons/execd/cts-exec-helper.c int rc = event->connection_rc; event 222 daemons/execd/cts-exec-helper.c if (event->type != lrmd_event_connect) { event 714 daemons/fenced/pacemaker-fenced.c update_cib_stonith_devices_v2(const char *event, xmlNode * msg) event 777 daemons/fenced/pacemaker-fenced.c update_cib_stonith_devices_v1(const char *event, xmlNode * msg) event 838 daemons/fenced/pacemaker-fenced.c update_cib_stonith_devices(const char *event, xmlNode * msg) event 847 daemons/fenced/pacemaker-fenced.c update_cib_stonith_devices_v1(event, msg); event 850 daemons/fenced/pacemaker-fenced.c update_cib_stonith_devices_v2(event, msg); event 895 daemons/fenced/pacemaker-fenced.c update_fencing_topology(const char *event, xmlNode * msg) event 993 daemons/fenced/pacemaker-fenced.c update_cib_cache_cb(const char *event, xmlNode * msg) event 1006 daemons/fenced/pacemaker-fenced.c crm_trace("Missing %s update", event); event 1031 daemons/fenced/pacemaker-fenced.c crm_notice("[%s] Patch aborted: %s (%d)", event, pcmk_strerror(rc), rc); event 1036 daemons/fenced/pacemaker-fenced.c crm_warn("[%s] ABORTED: %s (%d)", event, pcmk_strerror(rc), rc); event 1099 daemons/fenced/pacemaker-fenced.c update_fencing_topology(event, msg); event 1100 daemons/fenced/pacemaker-fenced.c update_cib_stonith_devices(event, msg); event 81 include/crm/cib/cib_types.h int (*add_notify_callback) (cib_t *cib, const char *event, event 82 include/crm/cib/cib_types.h void (*callback) (const char *event, event 84 include/crm/cib/cib_types.h int (*del_notify_callback) (cib_t *cib, const char *event, event 85 include/crm/cib/cib_types.h void (*callback) (const char *event, event 78 include/crm/cib/internal.h const char *event; event 81 include/crm/cib/internal.h void (*callback) (const char *event, xmlNode * msg); event 74 include/crm/cib/util.h int cib_apply_patch_event(xmlNode * event, xmlNode * input, xmlNode ** output, int level); event 168 include/crm/common/ipc.h void pcmk_free_ipc_event(struct iovec *event); event 128 include/crm/common/util.h int rsc_op_expected_rc(lrmd_event_data_t *event); event 129 include/crm/common/util.h gboolean did_rsc_op_fail(lrmd_event_data_t *event, int target_rc); event 88 include/crm/fencing/internal.h gboolean stonith__later_succeeded(stonith_history_t *event, stonith_history_t *top_history); event 253 include/crm/lrmd.h lrmd_event_data_t *lrmd_copy_event(lrmd_event_data_t * event); event 254 include/crm/lrmd.h void lrmd_free_event(lrmd_event_data_t * event); event 276 include/crm/lrmd.h typedef void (*lrmd_event_callback) (lrmd_event_data_t * event); event 298 include/crm/stonith-ng.h stonith_t *st, const char *event, event 300 include/crm/stonith-ng.h int (*remove_notification)(stonith_t *st, const char *event); event 87 include/pcmki/pcmki_sched_utils.h xmlNode *pcmk__create_history_xml(xmlNode *parent, lrmd_event_data_t *event, event 33 lib/cib/cib_client.c int cib_client_add_notify_callback(cib_t * cib, const char *event, event 34 lib/cib/cib_client.c void (*callback) (const char *event, xmlNode * msg)); event 36 lib/cib/cib_client.c int cib_client_del_notify_callback(cib_t * cib, const char *event, event 37 lib/cib/cib_client.c void (*callback) (const char *event, xmlNode * msg)); event 451 lib/cib/cib_client.c cib_client_add_notify_callback(cib_t * cib, const char *event, event 452 lib/cib/cib_client.c void (*callback) (const char *event, xmlNode * msg)) event 461 lib/cib/cib_client.c crm_trace("Adding callback for %s events (%d)", event, g_list_length(cib->notify_list)); event 464 lib/cib/cib_client.c new_client->event = event; event 477 lib/cib/cib_client.c cib->cmds->register_notification(cib, event, 1); event 485 lib/cib/cib_client.c get_notify_list_event_count(cib_t * cib, const char *event) event 493 lib/cib/cib_client.c if (strcmp(client->event, event) == 0) { event 497 lib/cib/cib_client.c crm_trace("event(%s) count : %d", event, count); event 502 lib/cib/cib_client.c cib_client_del_notify_callback(cib_t * cib, const char *event, event 503 lib/cib/cib_client.c void (*callback) (const char *event, xmlNode * msg)) event 512 lib/cib/cib_client.c if (get_notify_list_event_count(cib, event) == 0) { event 513 lib/cib/cib_client.c crm_debug("The callback of the event does not exist(%s)", event); event 517 lib/cib/cib_client.c crm_debug("Removing callback for %s events", event); event 520 lib/cib/cib_client.c new_client->event = event; event 537 lib/cib/cib_client.c if (get_notify_list_event_count(cib, event) == 0) { event 539 lib/cib/cib_client.c cib->cmds->register_notification(cib, event, 0); event 553 lib/cib/cib_client.c CRM_CHECK(a_client->event != NULL && b_client->event != NULL, return 0); event 554 lib/cib/cib_client.c rc = strcmp(a_client->event, b_client->event); event 560 lib/cib/cib_client.c a_client->event, a_client->callback, b_client->callback); event 564 lib/cib/cib_client.c a_client->event, a_client->callback, b_client->callback); event 589 lib/cib/cib_utils.c const char *event = NULL; event 596 lib/cib/cib_utils.c event = crm_element_value(msg, F_SUBTYPE); event 606 lib/cib/cib_utils.c } else if (!pcmk__str_eq(entry->event, event, pcmk__str_casei)) { event 607 lib/cib/cib_utils.c crm_trace("Skipping callback - event mismatch %p/%s vs. %s", entry, entry->event, event); event 611 lib/cib/cib_utils.c crm_trace("Invoking callback for %p/%s event...", entry, event); event 612 lib/cib/cib_utils.c entry->callback(event, msg); event 728 lib/cib/cib_utils.c int cib_apply_patch_event(xmlNode *event, xmlNode *input, xmlNode **output, event 735 lib/cib/cib_utils.c cib_apply_patch_event(xmlNode *event, xmlNode *input, xmlNode **output, event 742 lib/cib/cib_utils.c CRM_ASSERT(event); event 746 lib/cib/cib_utils.c crm_element_value_int(event, F_CIB_RC, &rc); event 747 lib/cib/cib_utils.c diff = get_message_xml(event, F_CIB_UPDATE_RESULT); event 758 lib/cib/cib_utils.c rc = cib_process_diff(NULL, cib_none, NULL, event, diff, input, output, event 270 lib/common/ipc_server.c pcmk_free_ipc_event(struct iovec *event) event 272 lib/common/ipc_server.c if (event != NULL) { event 273 lib/common/ipc_server.c free(event[0].iov_base); event 274 lib/common/ipc_server.c free(event[1].iov_base); event 275 lib/common/ipc_server.c free(event); event 496 lib/common/ipc_server.c struct iovec *event = NULL; event 500 lib/common/ipc_server.c event = g_queue_peek_head(c->event_queue); event 502 lib/common/ipc_server.c if (event == NULL) { // Queue is empty event 506 lib/common/ipc_server.c qb_rc = qb_ipcs_event_sendv(c->ipcs, event, 2); event 511 lib/common/ipc_server.c event = g_queue_pop_head(c->event_queue); event 514 lib/common/ipc_server.c header = event[0].iov_base; event 521 lib/common/ipc_server.c (char *) (event[1].iov_base)); event 523 lib/common/ipc_server.c pcmk_free_ipc_event(event); event 77 lib/fencing/st_client.c const char *event; event 1189 lib/fencing/st_client.c CRM_CHECK(a_client->event != NULL && b_client->event != NULL, return 0); event 1190 lib/fencing/st_client.c rc = strcmp(a_client->event, b_client->event); event 1200 lib/fencing/st_client.c a_client->event, a_client->notify, b_client->notify); event 1204 lib/fencing/st_client.c a_client->event, a_client->notify, b_client->notify); event 1588 lib/fencing/st_client.c stonith_api_add_notification(stonith_t * stonith, const char *event, event 1596 lib/fencing/st_client.c crm_trace("Adding callback for %s events (%d)", event, g_list_length(private->notify_list)); event 1599 lib/fencing/st_client.c new_client->event = event; event 1612 lib/fencing/st_client.c stonith_set_notification(stonith, event, 1); event 1620 lib/fencing/st_client.c stonith_api_del_notification(stonith_t * stonith, const char *event) event 1626 lib/fencing/st_client.c crm_debug("Removing callback for %s events", event); event 1630 lib/fencing/st_client.c new_client->event = event; event 1635 lib/fencing/st_client.c stonith_set_notification(stonith, event, 0); event 1741 lib/fencing/st_client.c stonith_event_t *event = calloc(1, sizeof(stonith_event_t)); event 1748 lib/fencing/st_client.c crm_element_value_int(msg, F_STONITH_RC, &(event->result)); event 1751 lib/fencing/st_client.c event->operation = crm_element_value_copy(msg, F_STONITH_OPERATION); event 1754 lib/fencing/st_client.c event->origin = crm_element_value_copy(data, F_STONITH_ORIGIN); event 1755 lib/fencing/st_client.c event->action = crm_element_value_copy(data, F_STONITH_ACTION); event 1756 lib/fencing/st_client.c event->target = crm_element_value_copy(data, F_STONITH_TARGET); event 1757 lib/fencing/st_client.c event->executioner = crm_element_value_copy(data, F_STONITH_DELEGATE); event 1758 lib/fencing/st_client.c event->id = crm_element_value_copy(data, F_STONITH_REMOTE_OP_ID); event 1759 lib/fencing/st_client.c event->client_origin = crm_element_value_copy(data, F_STONITH_CLIENTNAME); event 1760 lib/fencing/st_client.c event->device = crm_element_value_copy(data, F_STONITH_DEVICE); event 1769 lib/fencing/st_client.c return event; event 1773 lib/fencing/st_client.c event_free(stonith_event_t * event) event 1775 lib/fencing/st_client.c free(event->id); event 1776 lib/fencing/st_client.c free(event->type); event 1777 lib/fencing/st_client.c free(event->message); event 1778 lib/fencing/st_client.c free(event->operation); event 1779 lib/fencing/st_client.c free(event->origin); event 1780 lib/fencing/st_client.c free(event->action); event 1781 lib/fencing/st_client.c free(event->target); event 1782 lib/fencing/st_client.c free(event->executioner); event 1783 lib/fencing/st_client.c free(event->device); event 1784 lib/fencing/st_client.c free(event->client_origin); event 1785 lib/fencing/st_client.c free(event); event 1794 lib/fencing/st_client.c const char *event = NULL; event 1801 lib/fencing/st_client.c event = crm_element_value(blob->xml, F_SUBTYPE); event 1815 lib/fencing/st_client.c } else if (!pcmk__str_eq(entry->event, event, pcmk__str_casei)) { event 1816 lib/fencing/st_client.c crm_trace("Skipping callback - event mismatch %p/%s vs. %s", entry, entry->event, event); event 1822 lib/fencing/st_client.c crm_trace("Invoking callback for %p/%s event...", entry, event); event 2540 lib/fencing/st_client.c stonith__later_succeeded(stonith_history_t *event, stonith_history_t *top_history) event 2545 lib/fencing/st_client.c if (prev_hp == event) { event 2550 lib/fencing/st_client.c pcmk__str_eq(event->target, prev_hp->target, pcmk__str_casei) && event 2551 lib/fencing/st_client.c pcmk__str_eq(event->action, prev_hp->action, pcmk__str_casei) && event 2552 lib/fencing/st_client.c pcmk__str_eq(event->delegate, prev_hp->delegate, pcmk__str_casei) && event 2553 lib/fencing/st_client.c (event->completed < prev_hp->completed)) { event 230 lib/fencing/st_output.c stonith_history_t *event = va_arg(args, stonith_history_t *); event 234 lib/fencing/st_output.c switch(event->state) { event 236 lib/fencing/st_output.c char *completed_s = time_t_string(event->completed); event 240 lib/fencing/st_output.c stonith_action_str(event->action), event->target, event 241 lib/fencing/st_output.c event->delegate ? event->delegate : "", event 242 lib/fencing/st_output.c event->client, event->origin, event 250 lib/fencing/st_output.c char *failed_s = time_t_string(event->completed); event 254 lib/fencing/st_output.c stonith_action_str(event->action), event->target, event 255 lib/fencing/st_output.c event->delegate ? event->delegate : "", event 256 lib/fencing/st_output.c event->client, event->origin, event 267 lib/fencing/st_output.c stonith_action_str(event->action), event->target, event 268 lib/fencing/st_output.c event->client, event->origin); event 278 lib/fencing/st_output.c stonith_history_t *event = va_arg(args, stonith_history_t *); event 282 lib/fencing/st_output.c char *buf = time_t_string(event->completed); event 284 lib/fencing/st_output.c switch (event->state) { event 287 lib/fencing/st_output.c stonith_action_str(event->action), event->target, event 288 lib/fencing/st_output.c event->delegate ? event->delegate : "", event 289 lib/fencing/st_output.c event->client, event->origin, event 296 lib/fencing/st_output.c stonith_action_str(event->action), event->target, event 297 lib/fencing/st_output.c event->delegate ? event->delegate : "", event 298 lib/fencing/st_output.c event->client, event->origin, event 304 lib/fencing/st_output.c stonith_action_str(event->action), event->target, event 305 lib/fencing/st_output.c event->client, event->origin); event 317 lib/fencing/st_output.c stonith_history_t *event = va_arg(args, stonith_history_t *); event 323 lib/fencing/st_output.c switch (event->state) { event 333 lib/fencing/st_output.c char *state = crm_itoa(event->state); event 341 lib/fencing/st_output.c if (event->delegate != NULL) { event 342 lib/fencing/st_output.c xmlSetProp(node, (pcmkXmlStr) "delegate", (pcmkXmlStr) event->delegate); event 345 lib/fencing/st_output.c xmlSetProp(node, (pcmkXmlStr) "action", (pcmkXmlStr) event->action); event 346 lib/fencing/st_output.c xmlSetProp(node, (pcmkXmlStr) "target", (pcmkXmlStr) event->target); event 347 lib/fencing/st_output.c xmlSetProp(node, (pcmkXmlStr) "client", (pcmkXmlStr) event->client); event 348 lib/fencing/st_output.c xmlSetProp(node, (pcmkXmlStr) "origin", (pcmkXmlStr) event->origin); event 350 lib/fencing/st_output.c if (event->state == st_failed || event->state == st_done) { event 351 lib/fencing/st_output.c buf = time_t_string(event->completed); event 196 lib/lrmd/lrmd_client.c lrmd_event_data_t *event = calloc(1, sizeof(lrmd_event_data_t)); event 198 lib/lrmd/lrmd_client.c CRM_ASSERT(event != NULL); event 200 lib/lrmd/lrmd_client.c event->rsc_id = strdup(rsc_id); event 201 lib/lrmd/lrmd_client.c CRM_ASSERT(event->rsc_id != NULL); event 204 lib/lrmd/lrmd_client.c event->op_type = strdup(task); event 205 lib/lrmd/lrmd_client.c CRM_ASSERT(event->op_type != NULL); event 207 lib/lrmd/lrmd_client.c event->interval_ms = interval_ms; event 208 lib/lrmd/lrmd_client.c return event; event 212 lib/lrmd/lrmd_client.c lrmd_copy_event(lrmd_event_data_t * event) event 221 lib/lrmd/lrmd_client.c memcpy(copy, event, sizeof(lrmd_event_data_t)); event 223 lib/lrmd/lrmd_client.c copy->rsc_id = event->rsc_id ? strdup(event->rsc_id) : NULL; event 224 lib/lrmd/lrmd_client.c copy->op_type = event->op_type ? strdup(event->op_type) : NULL; event 225 lib/lrmd/lrmd_client.c copy->user_data = event->user_data ? strdup(event->user_data) : NULL; event 226 lib/lrmd/lrmd_client.c copy->output = event->output ? strdup(event->output) : NULL; event 227 lib/lrmd/lrmd_client.c copy->exit_reason = event->exit_reason ? strdup(event->exit_reason) : NULL; event 228 lib/lrmd/lrmd_client.c copy->remote_nodename = event->remote_nodename ? strdup(event->remote_nodename) : NULL; event 229 lib/lrmd/lrmd_client.c copy->params = crm_str_table_dup(event->params); event 235 lib/lrmd/lrmd_client.c lrmd_free_event(lrmd_event_data_t * event) event 237 lib/lrmd/lrmd_client.c if (!event) { event 242 lib/lrmd/lrmd_client.c free((char *)event->rsc_id); event 243 lib/lrmd/lrmd_client.c free((char *)event->op_type); event 244 lib/lrmd/lrmd_client.c free((char *)event->user_data); event 245 lib/lrmd/lrmd_client.c free((char *)event->output); event 246 lib/lrmd/lrmd_client.c free((char *)event->exit_reason); event 247 lib/lrmd/lrmd_client.c free((char *)event->remote_nodename); event 248 lib/lrmd/lrmd_client.c if (event->params) { event 249 lib/lrmd/lrmd_client.c g_hash_table_destroy(event->params); event 251 lib/lrmd/lrmd_client.c free(event); event 260 lib/lrmd/lrmd_client.c lrmd_event_data_t event = { 0, }; event 272 lib/lrmd/lrmd_client.c event.remote_nodename = native->remote_nodename; event 274 lib/lrmd/lrmd_client.c crm_element_value_int(msg, F_LRMD_CALLID, &event.call_id); event 275 lib/lrmd/lrmd_client.c event.rsc_id = crm_element_value(msg, F_LRMD_RSC_ID); event 278 lib/lrmd/lrmd_client.c event.type = lrmd_event_register; event 280 lib/lrmd/lrmd_client.c event.type = lrmd_event_unregister; event 284 lib/lrmd/lrmd_client.c crm_element_value_int(msg, F_LRMD_TIMEOUT, &event.timeout); event 285 lib/lrmd/lrmd_client.c crm_element_value_ms(msg, F_LRMD_RSC_INTERVAL, &event.interval_ms); event 286 lib/lrmd/lrmd_client.c crm_element_value_int(msg, F_LRMD_RSC_START_DELAY, &event.start_delay); event 287 lib/lrmd/lrmd_client.c crm_element_value_int(msg, F_LRMD_EXEC_RC, (int *)&event.rc); event 288 lib/lrmd/lrmd_client.c crm_element_value_int(msg, F_LRMD_OP_STATUS, &event.op_status); event 289 lib/lrmd/lrmd_client.c crm_element_value_int(msg, F_LRMD_RSC_DELETED, &event.rsc_deleted); event 292 lib/lrmd/lrmd_client.c event.t_run = (unsigned int) epoch; event 295 lib/lrmd/lrmd_client.c event.t_rcchange = (unsigned int) epoch; event 297 lib/lrmd/lrmd_client.c crm_element_value_int(msg, F_LRMD_RSC_EXEC_TIME, (int *)&event.exec_time); event 298 lib/lrmd/lrmd_client.c crm_element_value_int(msg, F_LRMD_RSC_QUEUE_TIME, (int *)&event.queue_time); event 300 lib/lrmd/lrmd_client.c event.op_type = crm_element_value(msg, F_LRMD_RSC_ACTION); event 301 lib/lrmd/lrmd_client.c event.user_data = crm_element_value(msg, F_LRMD_RSC_USERDATA_STR); event 302 lib/lrmd/lrmd_client.c event.output = crm_element_value(msg, F_LRMD_RSC_OUTPUT); event 303 lib/lrmd/lrmd_client.c event.exit_reason = crm_element_value(msg, F_LRMD_RSC_EXIT_REASON); event 304 lib/lrmd/lrmd_client.c event.type = lrmd_event_exec_complete; event 306 lib/lrmd/lrmd_client.c event.params = xml2list(msg); event 308 lib/lrmd/lrmd_client.c event.type = lrmd_event_new_client; event 310 lib/lrmd/lrmd_client.c event.type = lrmd_event_poke; event 316 lib/lrmd/lrmd_client.c native->callback(&event); event 318 lib/lrmd/lrmd_client.c if (event.params) { event 319 lib/lrmd/lrmd_client.c g_hash_table_destroy(event.params); event 540 lib/lrmd/lrmd_client.c lrmd_event_data_t event = { 0, }; event 541 lib/lrmd/lrmd_client.c event.type = lrmd_event_disconnect; event 542 lib/lrmd/lrmd_client.c event.remote_nodename = native->remote_nodename; event 543 lib/lrmd/lrmd_client.c native->callback(&event); event 585 lib/lrmd/lrmd_client.c lrmd_event_data_t event = { 0, }; event 586 lib/lrmd/lrmd_client.c event.remote_nodename = native->remote_nodename; event 587 lib/lrmd/lrmd_client.c event.type = lrmd_event_disconnect; event 588 lib/lrmd/lrmd_client.c native->callback(&event); event 1165 lib/lrmd/lrmd_client.c lrmd_event_data_t event = { 0, }; event 1166 lib/lrmd/lrmd_client.c event.type = lrmd_event_connect; event 1167 lib/lrmd/lrmd_client.c event.remote_nodename = native->remote_nodename; event 1168 lib/lrmd/lrmd_client.c event.connection_rc = rc; event 1169 lib/lrmd/lrmd_client.c native->callback(&event); event 72 lib/lrmd/proxy_common.c xmlNode *event = create_xml_node(NULL, T_LRMD_IPC_PROXY); event 73 lib/lrmd/proxy_common.c crm_xml_add(event, F_LRMD_IPC_OP, LRMD_IPC_OP_EVENT); event 74 lib/lrmd/proxy_common.c crm_xml_add(event, F_LRMD_IPC_SESSION, proxy->session_id); event 75 lib/lrmd/proxy_common.c add_message_xml(event, F_LRMD_IPC_MSG, msg); event 76 lib/lrmd/proxy_common.c crm_log_xml_explicit(event, "EventForProxy"); event 77 lib/lrmd/proxy_common.c lrmd_internal_proxy_send(proxy->lrm, event); event 78 lib/lrmd/proxy_common.c free_xml(event); event 127 tools/crm_mon.c static void crm_diff_update(const char *event, xmlNode * msg); event 1749 tools/crm_mon.c crm_diff_update_v2(const char *event, xmlNode * msg) event 1856 tools/crm_mon.c crm_diff_update_v1(const char *event, xmlNode * msg) event 1873 tools/crm_mon.c crm_diff_update(const char *event, xmlNode * msg) event 1888 tools/crm_mon.c crm_notice("[%s] Patch aborted: %s (%d)", event, pcmk_strerror(rc), rc); event 1895 tools/crm_mon.c crm_notice("[%s] ABORTED: %s (%d)", event, pcmk_strerror(rc), rc); event 1910 tools/crm_mon.c crm_diff_update_v1(event, msg); event 1913 tools/crm_mon.c crm_diff_update_v2(event, msg); event 322 tools/crm_mon_curses.c stonith_history_t *event = va_arg(args, stonith_history_t *); event 329 tools/crm_mon_curses.c crm_time_set_timet(crm_when, &(event->completed)); event 332 tools/crm_mon_curses.c switch (event->state) { event 335 tools/crm_mon_curses.c stonith_action_str(event->action), event->target, event 336 tools/crm_mon_curses.c event->delegate ? event->delegate : "", event 337 tools/crm_mon_curses.c event->client, event->origin, event 344 tools/crm_mon_curses.c stonith_action_str(event->action), event->target, event 345 tools/crm_mon_curses.c event->delegate ? event->delegate : "", event 346 tools/crm_mon_curses.c event->client, event->origin, event 352 tools/crm_mon_curses.c stonith_action_str(event->action), event->target, event 353 tools/crm_mon_curses.c event->client, event->origin); event 84 tools/ipmiservicelogd.c ipmi_event_t * event); event 87 tools/ipmiservicelogd.c ipmi_event_t * event); event 349 tools/ipmiservicelogd.c double value, void *cb_data, ipmi_event_t * event) event 375 tools/ipmiservicelogd.c event_type = ipmi_event_get_type(event); event 410 tools/ipmiservicelogd.c int severity, int prev_severity, void *cb_data, ipmi_event_t * event) event 437 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 103 tools/notifyServicelogEvent.c struct sl_event *event = NULL; event 164 tools/notifyServicelogEvent.c rc = servicelog_event_get(slog, event_id, &event); event 173 tools/notifyServicelogEvent.c event_id, ctime(&(event->time_logged)), ctime(&(event->time_event))); event 175 tools/notifyServicelogEvent.c status = event2status(event); event 198 tools/notifyServicelogEvent.c if (event) { event 199 tools/notifyServicelogEvent.c servicelog_event_free(event);