event 50 daemons/attrd/attrd_cib.c attrd_cib_updated_cb(const char *event, xmlNode *msg) event 93 daemons/attrd/attrd_cib.c event, pcmk__s(client_name, "(unidentified client)")); event 50 daemons/controld/controld_cib.c do_cib_updated(const char *event, xmlNode * msg) event 90 daemons/controld/controld_cib.c event, pcmk__s(client_name, "(unidentified client)")); event 131 daemons/controld/controld_cib.c void (*update_cb) (const char *event, xmlNodePtr msg) = do_cib_updated; event 616 daemons/controld/controld_execd.c controld_rc2event(lrmd_event_data_t *event, int rc) event 623 daemons/controld/controld_execd.c lrmd__set_result(event, PCMK_OCF_OK, PCMK_EXEC_DONE, NULL); event 626 daemons/controld/controld_execd.c lrmd__set_result(event, PCMK_OCF_INSUFFICIENT_PRIV, event 630 daemons/controld/controld_execd.c lrmd__set_result(event, PCMK_OCF_UNKNOWN_ERROR, PCMK_EXEC_ERROR, event 682 daemons/controld/controld_execd.c struct delete_event_s *event = user_data; event 685 daemons/controld/controld_execd.c if (pcmk__str_eq(event->rsc, op->rsc, pcmk__str_none)) { event 686 daemons/controld/controld_execd.c notify_deleted(event->lrm_state, op->input, event->rsc, event->rc); event 711 daemons/controld/controld_execd.c struct delete_event_s event; event 737 daemons/controld/controld_execd.c event.rc = rc; event 738 daemons/controld/controld_execd.c event.rsc = rsc_id; event 739 daemons/controld/controld_execd.c event.lrm_state = lrm_state; event 740 daemons/controld/controld_execd.c g_hash_table_foreach_remove(lrm_state->deletion_ops, lrm_remove_deleted_rsc, &event); event 1827 daemons/controld/controld_execd.c struct stop_recurring_action_s *event = user_data; event 1831 daemons/controld/controld_execd.c && pcmk__str_eq(op->rsc_id, event->rsc->id, pcmk__str_none)) { event 1834 daemons/controld/controld_execd.c remove = !cancel_op(event->lrm_state, event->rsc->id, key, op->call_id, FALSE); event 65 daemons/controld/controld_execd_state.c lrmd_event_data_t event = { 0, }; event 73 daemons/controld/controld_execd_state.c event.type = lrmd_event_exec_complete; event 74 daemons/controld/controld_execd_state.c event.rsc_id = op->rsc_id; event 75 daemons/controld/controld_execd_state.c event.op_type = op->op_type; event 76 daemons/controld/controld_execd_state.c event.user_data = op->user_data; event 77 daemons/controld/controld_execd_state.c event.timeout = 0; event 78 daemons/controld/controld_execd_state.c event.interval_ms = op->interval_ms; event 79 daemons/controld/controld_execd_state.c lrmd__set_result(&event, PCMK_OCF_UNKNOWN_ERROR, PCMK_EXEC_NOT_CONNECTED, event 82 daemons/controld/controld_execd_state.c event.t_run = (unsigned int) op->start_time; event 84 daemons/controld/controld_execd_state.c event.t_rcchange = (unsigned int) op->start_time; event 86 daemons/controld/controld_execd_state.c event.call_id = op->call_id; event 87 daemons/controld/controld_execd_state.c event.remote_nodename = lrm_state->node_name; event 88 daemons/controld/controld_execd_state.c event.params = op->params; event 90 daemons/controld/controld_execd_state.c process_lrm_event(lrm_state, &event, op, NULL); event 91 daemons/controld/controld_execd_state.c lrmd__reset_result(&event); event 496 daemons/controld/controld_fencing.c handle_fence_notification(stonith_t *st, stonith_event_t *event) event 509 daemons/controld/controld_fencing.c if (event == NULL) { event 514 daemons/controld/controld_fencing.c if (event->executioner != NULL) { event 515 daemons/controld/controld_fencing.c executioner = event->executioner; event 517 daemons/controld/controld_fencing.c if (event->client_origin != NULL) { event 518 daemons/controld/controld_fencing.c client = event->client_origin; event 521 daemons/controld/controld_fencing.c exec_status = stonith__event_execution_status(event); event 522 daemons/controld/controld_fencing.c if ((stonith__event_exit_status(event) != CRM_EX_OK) event 529 daemons/controld/controld_fencing.c reason = stonith__event_exit_reason(event); event 531 daemons/controld/controld_fencing.c crmd_alert_fencing_op(event); event 533 daemons/controld/controld_fencing.c if (pcmk__str_eq(PCMK_ACTION_ON, event->action, pcmk__str_none)) { event 537 daemons/controld/controld_fencing.c event->target, executioner, client, event->origin); event 540 daemons/controld/controld_fencing.c event->target, executioner, event 544 daemons/controld/controld_fencing.c stonith__event_exit_status(event)); event 550 daemons/controld/controld_fencing.c && pcmk__str_eq(event->target, controld_globals.our_nodename, event 562 daemons/controld/controld_fencing.c executioner, event->origin); // Dumps blackbox if enabled event 577 daemons/controld/controld_fencing.c st_fail_count_reset(event->target); event 579 daemons/controld/controld_fencing.c st_fail_count_increment(event->target); event 585 daemons/controld/controld_fencing.c event->target, (succeeded? "" : " not"), event 586 daemons/controld/controld_fencing.c event->action, executioner, client, event->origin, event 591 daemons/controld/controld_fencing.c event->id); event 597 daemons/controld/controld_fencing.c crm_node_t *peer = pcmk__search_node_caches(0, event->target, flags); event 608 daemons/controld/controld_fencing.c send_stonith_update(NULL, event->target, uuid); event 623 daemons/controld/controld_fencing.c client, event->target); event 628 daemons/controld/controld_fencing.c } else if (pcmk__str_eq(controld_globals.dc_name, event->target, event 634 daemons/controld/controld_fencing.c crm_notice("Fencing target %s was our DC", event->target); event 637 daemons/controld/controld_fencing.c event->target); event 644 daemons/controld/controld_fencing.c if (pcmk__str_eq(event->executioner, controld_globals.our_nodename, event 646 daemons/controld/controld_fencing.c send_stonith_update(NULL, event->target, uuid); event 648 daemons/controld/controld_fencing.c add_stonith_cleanup(event->target); event 657 daemons/controld/controld_fencing.c remote_ra_fail(event->target); event 180 daemons/controld/controld_lrm.h void controld_rc2event(lrmd_event_data_t *event, int rc); event 705 daemons/controld/controld_te_actions.c enum crmd_fsa_input event = I_NULL; event 716 daemons/controld/controld_te_actions.c event = I_TE_SUCCESS; event 722 daemons/controld/controld_te_actions.c event = I_TE_SUCCESS; event 733 daemons/controld/controld_te_actions.c event = I_PE_CALC; event 745 daemons/controld/controld_te_actions.c event = I_STOP; event 749 daemons/controld/controld_te_actions.c event = I_TERMINATE; event 759 daemons/controld/controld_te_actions.c if (event != I_NULL) { event 760 daemons/controld/controld_te_actions.c register_fsa_input(C_FSA_INTERNAL, event, NULL); event 20 daemons/controld/controld_te_callbacks.c void te_update_confirm(const char *event, xmlNode * msg); event 37 daemons/controld/controld_te_callbacks.c te_update_diff_v1(const char *event, xmlNode *diff) event 543 daemons/controld/controld_te_callbacks.c te_update_diff(const char *event, xmlNode * msg) event 586 daemons/controld/controld_te_callbacks.c te_update_diff_v1(event, diff); event 179 daemons/controld/controld_te_events.c update_failcount(const xmlNode *event, const char *event_node_uuid, int rc, event 188 daemons/controld/controld_te_events.c const char *id = crm_element_value(event, PCMK__XA_OPERATION_KEY); event 190 daemons/controld/controld_te_events.c const char *origin = crm_element_value(event, PCMK_XA_CRM_DEBUG_ORIGIN); event 204 daemons/controld/controld_te_events.c crm_err("Couldn't parse: %s", pcmk__xe_id(event)); goto bail); event 424 daemons/controld/controld_te_events.c process_graph_event(xmlNode *event, const char *event_node) event 439 daemons/controld/controld_te_events.c pcmk__assert(event != NULL); event 445 daemons/controld/controld_te_events.c magic = crm_element_value(event, PCMK__XA_TRANSITION_KEY); event 451 daemons/controld/controld_te_events.c crm_element_value_int(event, PCMK__XA_OP_STATUS, &status); event 456 daemons/controld/controld_te_events.c id = crm_element_value(event, PCMK__XA_OPERATION_KEY); event 457 daemons/controld/controld_te_events.c crm_element_value_int(event, PCMK__XA_RC_CODE, &rc); event 458 daemons/controld/controld_te_events.c crm_element_value_int(event, PCMK__XA_CALL_ID, &callid); event 468 daemons/controld/controld_te_events.c "Bad event", event); event 481 daemons/controld/controld_te_events.c "Unexpected event", event); event 488 daemons/controld/controld_te_events.c "Foreign event", event); event 504 daemons/controld/controld_te_events.c confirm_cancel_action(id, get_node_id(event)); event 510 daemons/controld/controld_te_events.c "Change in recurring result", event); event 515 daemons/controld/controld_te_events.c "Old event", event); event 519 daemons/controld/controld_te_events.c "Inactive graph", event); event 530 daemons/controld/controld_te_events.c "Unknown event", event); event 539 daemons/controld/controld_te_events.c crm_log_xml_debug(event, "Event already confirmed:"); event 560 daemons/controld/controld_te_events.c pcmk__graph_restart, "Event failed", event); event 568 daemons/controld/controld_te_events.c uname = crm_element_value(event, PCMK__META_ON_NODE); event 579 daemons/controld/controld_te_events.c } else if (desc && update_failcount(event, event_node, rc, target_rc, event 601 daemons/controld/controld_te_events.c update_failcount(event, event_node, rc, target_rc, event 27 daemons/controld/controld_transition.h void process_graph_event(xmlNode *event, const char *event_node); event 43 daemons/controld/controld_transition.h void te_update_diff(const char *event, xmlNode *msg); event 177 daemons/execd/cts-exec-helper.c #define report_event(event) \ event 179 daemons/execd/cts-exec-helper.c lrmd_event_type2str(event->type), \ event 180 daemons/execd/cts-exec-helper.c event->rsc_id, \ event 181 daemons/execd/cts-exec-helper.c event->op_type ? event->op_type : "none", \ event 182 daemons/execd/cts-exec-helper.c services_ocf_exitcode_str(event->rc), \ event 183 daemons/execd/cts-exec-helper.c pcmk_exec_status_str(event->op_status)); \ event 194 daemons/execd/cts-exec-helper.c read_events(lrmd_event_data_t * event) event 196 daemons/execd/cts-exec-helper.c report_event(event); event 204 daemons/execd/cts-exec-helper.c if (exec_call_id && (event->call_id == exec_call_id)) { event 205 daemons/execd/cts-exec-helper.c if (event->op_status == 0 && event->rc == 0) { event 209 daemons/execd/cts-exec-helper.c event->rc, pcmk_exec_status_str(event->op_status)); event 228 daemons/execd/cts-exec-helper.c connection_events(lrmd_event_data_t * event) event 230 daemons/execd/cts-exec-helper.c int rc = event->connection_rc; event 232 daemons/execd/cts-exec-helper.c if (event->type != lrmd_event_connect) { event 256 daemons/fenced/fenced_cib.c update_cib_stonith_devices_v1(const char *event, xmlNode * msg) event 325 daemons/fenced/fenced_cib.c update_cib_stonith_devices_v2(const char *event, xmlNode * msg) event 394 daemons/fenced/fenced_cib.c update_cib_stonith_devices(const char *event, xmlNode * msg) event 405 daemons/fenced/fenced_cib.c update_cib_stonith_devices_v1(event, msg); event 408 daemons/fenced/fenced_cib.c update_cib_stonith_devices_v2(event, msg); event 509 daemons/fenced/fenced_cib.c update_fencing_topology(const char *event, xmlNode * msg) event 619 daemons/fenced/fenced_cib.c update_cib_cache_cb(const char *event, xmlNode * msg) event 629 daemons/fenced/fenced_cib.c crm_trace("Missing %s update", event); event 657 daemons/fenced/fenced_cib.c crm_notice("[%s] Patch aborted: %s (%d)", event, pcmk_strerror(rc), rc); event 662 daemons/fenced/fenced_cib.c crm_warn("[%s] ABORTED: %s (%d)", event, pcmk_strerror(rc), rc); event 687 daemons/fenced/fenced_cib.c update_fencing_topology(event, msg); event 688 daemons/fenced/fenced_cib.c update_cib_stonith_devices(event, msg); event 176 include/crm/cib/cib_types.h int (*add_notify_callback) (cib_t *cib, const char *event, event 177 include/crm/cib/cib_types.h void (*callback) (const char *event, event 181 include/crm/cib/cib_types.h int (*del_notify_callback) (cib_t *cib, const char *event, event 182 include/crm/cib/cib_types.h void (*callback) (const char *event, event 95 include/crm/cib/internal.h const char *event; event 98 include/crm/cib/internal.h void (*callback) (const char *event, xmlNode * msg); event 54 include/crm/cib/util.h int cib_apply_patch_event(xmlNode *event, xmlNode *input, xmlNode **output, event 403 include/crm/common/actions.h int rsc_op_expected_rc(const lrmd_event_data_t *event); event 404 include/crm/common/actions.h gboolean did_rsc_op_fail(lrmd_event_data_t *event, int target_rc); event 190 include/crm/common/ipc.h void pcmk_free_ipc_event(struct iovec *event); event 95 include/crm/fencing/internal.h const char *stonith__later_succeeded(const stonith_history_t *event, event 144 include/crm/fencing/internal.h int stonith__event_exit_status(const stonith_event_t *event); event 145 include/crm/fencing/internal.h int stonith__event_execution_status(const stonith_event_t *event); event 146 include/crm/fencing/internal.h const char *stonith__event_exit_reason(const stonith_event_t *event); event 147 include/crm/fencing/internal.h char *stonith__event_description(const stonith_event_t *event); event 148 include/crm/fencing/internal.h gchar *stonith__history_description(const stonith_history_t *event, event 187 include/crm/lrmd.h typedef void (*lrmd_event_callback) (lrmd_event_data_t * event); event 101 include/crm/lrmd_events.h lrmd_event_data_t *lrmd_copy_event(lrmd_event_data_t *event); event 102 include/crm/lrmd_events.h void lrmd_free_event(lrmd_event_data_t *event); event 44 include/crm/lrmd_internal.h void lrmd__set_result(lrmd_event_data_t *event, enum ocf_exitcode rc, event 47 include/crm/lrmd_internal.h void lrmd__reset_result(lrmd_event_data_t *event); event 422 include/crm/stonith-ng.h int (*register_notification)(stonith_t *stonith, const char *event, event 434 include/crm/stonith-ng.h int (*remove_notification)(stonith_t *stonith, const char *event); event 40 include/pcmki/pcmki_scheduler.h xmlNode *pcmk__create_history_xml(xmlNode *parent, lrmd_event_data_t *event, event 51 lib/cib/cib_client.c CRM_CHECK(a_client->event != NULL && b_client->event != NULL, return 0); event 52 lib/cib/cib_client.c rc = strcmp(a_client->event, b_client->event); event 58 lib/cib/cib_client.c a_client->event, a_client->callback, b_client->callback); event 62 lib/cib/cib_client.c a_client->event, a_client->callback, b_client->callback); event 69 lib/cib/cib_client.c cib_client_add_notify_callback(cib_t * cib, const char *event, event 70 lib/cib/cib_client.c void (*callback) (const char *event, event 81 lib/cib/cib_client.c event, g_list_length(cib->notify_list)); event 84 lib/cib/cib_client.c new_client->event = event; event 98 lib/cib/cib_client.c cib->cmds->register_notification(cib, event, 1); event 106 lib/cib/cib_client.c get_notify_list_event_count(cib_t *cib, const char *event) event 114 lib/cib/cib_client.c if (strcmp(client->event, event) == 0) { event 118 lib/cib/cib_client.c crm_trace("event(%s) count : %d", event, count); event 123 lib/cib/cib_client.c cib_client_del_notify_callback(cib_t *cib, const char *event, event 124 lib/cib/cib_client.c void (*callback) (const char *event, event 134 lib/cib/cib_client.c if (get_notify_list_event_count(cib, event) == 0) { event 135 lib/cib/cib_client.c crm_debug("The callback of the event does not exist(%s)", event); event 139 lib/cib/cib_client.c crm_debug("Removing callback for %s events", event); event 142 lib/cib/cib_client.c new_client->event = event; event 159 lib/cib/cib_client.c if (get_notify_list_event_count(cib, event) == 0) { event 161 lib/cib/cib_client.c cib->cmds->register_notification(cib, event, 0); event 828 lib/cib/cib_utils.c const char *event = NULL; event 835 lib/cib/cib_utils.c event = crm_element_value(msg, PCMK__XA_SUBT); event 845 lib/cib/cib_utils.c } else if (!pcmk__str_eq(entry->event, event, pcmk__str_casei)) { event 846 lib/cib/cib_utils.c crm_trace("Skipping callback - event mismatch %p/%s vs. %s", entry, entry->event, event); event 850 lib/cib/cib_utils.c crm_trace("Invoking callback for %p/%s event...", entry, event); event 851 lib/cib/cib_utils.c entry->callback(event, msg); event 918 lib/cib/cib_utils.c cib_apply_patch_event(xmlNode *event, xmlNode *input, xmlNode **output, event 926 lib/cib/cib_utils.c pcmk__assert((event != NULL) && (input != NULL) && (output != NULL)); event 928 lib/cib/cib_utils.c crm_element_value_int(event, PCMK__XA_CIB_RC, &rc); event 929 lib/cib/cib_utils.c wrapper = pcmk__xe_first_child(event, PCMK__XE_CIB_UPDATE_RESULT, NULL, event 942 lib/cib/cib_utils.c rc = cib_process_diff(NULL, cib_none, NULL, event, diff, input, output, event 259 lib/common/ipc_server.c pcmk_free_ipc_event(struct iovec *event) event 261 lib/common/ipc_server.c if (event != NULL) { event 262 lib/common/ipc_server.c free(event[0].iov_base); event 263 lib/common/ipc_server.c free(event[1].iov_base); event 264 lib/common/ipc_server.c free(event); event 513 lib/common/ipc_server.c struct iovec *event = NULL; event 517 lib/common/ipc_server.c event = g_queue_peek_head(c->event_queue); event 519 lib/common/ipc_server.c if (event == NULL) { // Queue is empty event 523 lib/common/ipc_server.c qb_rc = qb_ipcs_event_sendv(c->ipcs, event, 2); event 528 lib/common/ipc_server.c event = g_queue_pop_head(c->event_queue); event 531 lib/common/ipc_server.c header = event[0].iov_base; event 538 lib/common/ipc_server.c (char *) (event[1].iov_base)); event 540 lib/common/ipc_server.c pcmk_free_ipc_event(event); event 52 lib/fencing/st_client.c const char *event; event 95 lib/fencing/st_client.c const char *event); event 787 lib/fencing/st_client.c CRM_CHECK(a_client->event != NULL && b_client->event != NULL, return 0); event 788 lib/fencing/st_client.c rc = strcmp(a_client->event, b_client->event); event 798 lib/fencing/st_client.c a_client->event, a_client->notify, b_client->notify); event 802 lib/fencing/st_client.c a_client->event, a_client->notify, b_client->notify); event 1223 lib/fencing/st_client.c stonith_api_add_notification(stonith_t * stonith, const char *event, event 1231 lib/fencing/st_client.c crm_trace("Adding callback for %s events (%d)", event, g_list_length(private->notify_list)); event 1234 lib/fencing/st_client.c new_client->event = event; event 1247 lib/fencing/st_client.c stonith_set_notification(stonith, event, 1); event 1261 lib/fencing/st_client.c crm_debug("Removing callback for %s events", entry->event); event 1262 lib/fencing/st_client.c stonith_api_del_notification(stonith, entry->event); event 1267 lib/fencing/st_client.c stonith_api_del_notification(stonith_t * stonith, const char *event) event 1273 lib/fencing/st_client.c if (event == NULL) { event 1280 lib/fencing/st_client.c crm_debug("Removing callback for %s events", event); event 1283 lib/fencing/st_client.c new_client->event = event; event 1288 lib/fencing/st_client.c stonith_set_notification(stonith, event, 0); event 1417 lib/fencing/st_client.c stonith_event_t *event = pcmk__assert_alloc(1, sizeof(stonith_event_t)); event 1420 lib/fencing/st_client.c event->opaque = pcmk__assert_alloc(1, sizeof(struct event_private)); event 1421 lib/fencing/st_client.c event_private = (struct event_private *) event->opaque; event 1427 lib/fencing/st_client.c event->operation = crm_element_value_copy(msg, PCMK__XA_ST_OP); event 1430 lib/fencing/st_client.c event->result = pcmk_rc2legacy(stonith__result2rc(&event_private->result)); event 1434 lib/fencing/st_client.c if (pcmk__str_eq(event->operation, PCMK__VALUE_ST_NOTIFY_FENCE, event 1436 lib/fencing/st_client.c xmlNode *data = get_event_data_xml(msg, event->operation); event 1439 lib/fencing/st_client.c crm_err("No data for %s event", event->operation); event 1442 lib/fencing/st_client.c event->origin = crm_element_value_copy(data, PCMK__XA_ST_ORIGIN); event 1443 lib/fencing/st_client.c event->action = crm_element_value_copy(data, event 1445 lib/fencing/st_client.c event->target = crm_element_value_copy(data, PCMK__XA_ST_TARGET); event 1446 lib/fencing/st_client.c event->executioner = crm_element_value_copy(data, event 1448 lib/fencing/st_client.c event->id = crm_element_value_copy(data, PCMK__XA_ST_REMOTE_OP); event 1449 lib/fencing/st_client.c event->client_origin = event 1451 lib/fencing/st_client.c event->device = crm_element_value_copy(data, PCMK__XA_ST_DEVICE_ID); event 1454 lib/fencing/st_client.c } else if (pcmk__str_any_of(event->operation, event 1458 lib/fencing/st_client.c xmlNode *data = get_event_data_xml(msg, event->operation); event 1461 lib/fencing/st_client.c crm_err("No data for %s event", event->operation); event 1464 lib/fencing/st_client.c event->device = crm_element_value_copy(data, PCMK__XA_ST_DEVICE_ID); event 1468 lib/fencing/st_client.c return event; event 1472 lib/fencing/st_client.c event_free(stonith_event_t * event) event 1474 lib/fencing/st_client.c struct event_private *event_private = event->opaque; event 1476 lib/fencing/st_client.c free(event->id); event 1477 lib/fencing/st_client.c free(event->type); event 1478 lib/fencing/st_client.c free(event->message); event 1479 lib/fencing/st_client.c free(event->operation); event 1480 lib/fencing/st_client.c free(event->origin); event 1481 lib/fencing/st_client.c free(event->action); event 1482 lib/fencing/st_client.c free(event->target); event 1483 lib/fencing/st_client.c free(event->executioner); event 1484 lib/fencing/st_client.c free(event->device); event 1485 lib/fencing/st_client.c free(event->client_origin); event 1487 lib/fencing/st_client.c free(event->opaque); event 1488 lib/fencing/st_client.c free(event); event 1497 lib/fencing/st_client.c const char *event = NULL; event 1504 lib/fencing/st_client.c event = crm_element_value(blob->xml, PCMK__XA_SUBT); event 1518 lib/fencing/st_client.c } else if (!pcmk__str_eq(entry->event, event, pcmk__str_none)) { event 1519 lib/fencing/st_client.c crm_trace("Skipping callback - event mismatch %p/%s vs. %s", entry, entry->event, event); event 1525 lib/fencing/st_client.c crm_trace("Invoking callback for %p/%s event...", entry, event); event 2266 lib/fencing/st_client.c stonith__later_succeeded(const stonith_history_t *event, event 2273 lib/fencing/st_client.c if (prev_hp == event) { event 2277 lib/fencing/st_client.c pcmk__str_eq(event->target, prev_hp->target, pcmk__str_casei) && event 2278 lib/fencing/st_client.c pcmk__str_eq(event->action, prev_hp->action, pcmk__str_none) && event 2279 lib/fencing/st_client.c ((event->completed < prev_hp->completed) || event 2280 lib/fencing/st_client.c ((event->completed == prev_hp->completed) && (event->completed_nsec < prev_hp->completed_nsec)))) { event 2282 lib/fencing/st_client.c if ((event->delegate == NULL) event 2283 lib/fencing/st_client.c || pcmk__str_eq(event->delegate, prev_hp->delegate, event 2588 lib/fencing/st_client.c stonith__event_exit_status(const stonith_event_t *event) event 2590 lib/fencing/st_client.c if ((event == NULL) || (event->opaque == NULL)) { event 2593 lib/fencing/st_client.c struct event_private *event_private = event->opaque; event 2608 lib/fencing/st_client.c stonith__event_execution_status(const stonith_event_t *event) event 2610 lib/fencing/st_client.c if ((event == NULL) || (event->opaque == NULL)) { event 2613 lib/fencing/st_client.c struct event_private *event_private = event->opaque; event 2628 lib/fencing/st_client.c stonith__event_exit_reason(const stonith_event_t *event) event 2630 lib/fencing/st_client.c if ((event == NULL) || (event->opaque == NULL)) { event 2633 lib/fencing/st_client.c struct event_private *event_private = event->opaque; event 2650 lib/fencing/st_client.c stonith__event_description(const stonith_event_t *event) event 2653 lib/fencing/st_client.c const char *origin = pcmk__s(event->client_origin, "a client"); event 2654 lib/fencing/st_client.c const char *origin_node = pcmk__s(event->origin, "a node"); event 2655 lib/fencing/st_client.c const char *executioner = pcmk__s(event->executioner, "the cluster"); event 2656 lib/fencing/st_client.c const char *device = pcmk__s(event->device, "unknown"); event 2657 lib/fencing/st_client.c const char *action = pcmk__s(event->action, event->operation); event 2658 lib/fencing/st_client.c const char *target = pcmk__s(event->target, "no node"); event 2659 lib/fencing/st_client.c const char *reason = stonith__event_exit_reason(event); event 2666 lib/fencing/st_client.c if (stonith__event_execution_status(event) != PCMK_EXEC_DONE) { event 2667 lib/fencing/st_client.c status = pcmk_exec_status_str(stonith__event_execution_status(event)); event 2668 lib/fencing/st_client.c } else if (stonith__event_exit_status(event) != CRM_EX_OK) { event 2674 lib/fencing/st_client.c if (pcmk__str_eq(event->operation, PCMK__VALUE_ST_NOTIFY_HISTORY, event 2678 lib/fencing/st_client.c } else if (pcmk__str_eq(event->operation, STONITH_OP_DEVICE_ADD, event 2682 lib/fencing/st_client.c } else if (pcmk__str_eq(event->operation, STONITH_OP_DEVICE_DEL, event 2686 lib/fencing/st_client.c } else if (pcmk__str_eq(event->operation, STONITH_OP_LEVEL_ADD, event 2691 lib/fencing/st_client.c } else if (pcmk__str_eq(event->operation, STONITH_OP_LEVEL_DEL, event 2704 lib/fencing/st_client.c pcmk__s(event->id, "(none)")); event 398 lib/fencing/st_output.c stonith_history_t *event = va_arg(args, stonith_history_t *); event 404 lib/fencing/st_output.c gchar *desc = stonith__history_description(event, full_history, succeeded, event 407 lib/fencing/st_output.c switch(event->state) { event 429 lib/fencing/st_output.c stonith_history_t *event = va_arg(args, stonith_history_t *); event 436 lib/fencing/st_output.c pcmk__formatted_printf(out, "%lld\n", (long long) event->completed); event 438 lib/fencing/st_output.c gchar *desc = stonith__history_description(event, full_history, succeeded, event 453 lib/fencing/st_output.c stonith_history_t *event = va_arg(args, stonith_history_t *); event 462 lib/fencing/st_output.c PCMK_XA_ACTION, event->action, event 463 lib/fencing/st_output.c PCMK_XA_TARGET, event->target, event 464 lib/fencing/st_output.c PCMK_XA_CLIENT, event->client, event 465 lib/fencing/st_output.c PCMK_XA_ORIGIN, event->origin, event 468 lib/fencing/st_output.c switch (event->state) { event 472 lib/fencing/st_output.c PCMK_XA_EXIT_REASON, event->exit_reason, event 481 lib/fencing/st_output.c char *state = pcmk__itoa(event->state); event 491 lib/fencing/st_output.c if (event->delegate != NULL) { event 492 lib/fencing/st_output.c crm_xml_add(node, PCMK_XA_DELEGATE, event->delegate); event 495 lib/fencing/st_output.c if ((event->state == st_failed) || (event->state == st_done)) { event 496 lib/fencing/st_output.c char *time_s = timespec_string(event->completed, event->completed_nsec, event 203 lib/lrmd/lrmd_client.c lrmd_event_data_t *event = pcmk__assert_alloc(1, sizeof(lrmd_event_data_t)); event 206 lib/lrmd/lrmd_client.c event->rsc_id = pcmk__str_copy(rsc_id); event 207 lib/lrmd/lrmd_client.c event->op_type = pcmk__str_copy(task); event 208 lib/lrmd/lrmd_client.c event->interval_ms = interval_ms; event 209 lib/lrmd/lrmd_client.c return event; event 213 lib/lrmd/lrmd_client.c lrmd_copy_event(lrmd_event_data_t * event) event 219 lib/lrmd/lrmd_client.c copy->type = event->type; event 222 lib/lrmd/lrmd_client.c copy->rsc_id = pcmk__str_copy(event->rsc_id); event 223 lib/lrmd/lrmd_client.c copy->op_type = pcmk__str_copy(event->op_type); event 224 lib/lrmd/lrmd_client.c copy->user_data = pcmk__str_copy(event->user_data); event 225 lib/lrmd/lrmd_client.c copy->output = pcmk__str_copy(event->output); event 226 lib/lrmd/lrmd_client.c copy->remote_nodename = pcmk__str_copy(event->remote_nodename); event 227 lib/lrmd/lrmd_client.c copy->exit_reason = pcmk__str_copy(event->exit_reason); event 229 lib/lrmd/lrmd_client.c copy->call_id = event->call_id; event 230 lib/lrmd/lrmd_client.c copy->timeout = event->timeout; event 231 lib/lrmd/lrmd_client.c copy->interval_ms = event->interval_ms; event 232 lib/lrmd/lrmd_client.c copy->start_delay = event->start_delay; event 233 lib/lrmd/lrmd_client.c copy->rsc_deleted = event->rsc_deleted; event 234 lib/lrmd/lrmd_client.c copy->rc = event->rc; event 235 lib/lrmd/lrmd_client.c copy->op_status = event->op_status; event 236 lib/lrmd/lrmd_client.c copy->t_run = event->t_run; event 237 lib/lrmd/lrmd_client.c copy->t_rcchange = event->t_rcchange; event 238 lib/lrmd/lrmd_client.c copy->exec_time = event->exec_time; event 239 lib/lrmd/lrmd_client.c copy->queue_time = event->queue_time; event 240 lib/lrmd/lrmd_client.c copy->connection_rc = event->connection_rc; event 241 lib/lrmd/lrmd_client.c copy->params = pcmk__str_table_dup(event->params); event 252 lib/lrmd/lrmd_client.c lrmd_free_event(lrmd_event_data_t *event) event 254 lib/lrmd/lrmd_client.c if (event == NULL) { event 258 lib/lrmd/lrmd_client.c free((void *) event->rsc_id); event 259 lib/lrmd/lrmd_client.c free((void *) event->op_type); event 260 lib/lrmd/lrmd_client.c free((void *) event->user_data); event 261 lib/lrmd/lrmd_client.c free((void *) event->remote_nodename); event 262 lib/lrmd/lrmd_client.c lrmd__reset_result(event); event 263 lib/lrmd/lrmd_client.c if (event->params != NULL) { event 264 lib/lrmd/lrmd_client.c g_hash_table_destroy(event->params); event 266 lib/lrmd/lrmd_client.c free(event); event 279 lib/lrmd/lrmd_client.c lrmd_event_data_t event = { 0, }; event 291 lib/lrmd/lrmd_client.c event.remote_nodename = native->remote_nodename; event 293 lib/lrmd/lrmd_client.c crm_element_value_int(msg, PCMK__XA_LRMD_CALLID, &event.call_id); event 294 lib/lrmd/lrmd_client.c event.rsc_id = crm_element_value(msg, PCMK__XA_LRMD_RSC_ID); event 297 lib/lrmd/lrmd_client.c event.type = lrmd_event_register; event 299 lib/lrmd/lrmd_client.c event.type = lrmd_event_unregister; event 306 lib/lrmd/lrmd_client.c crm_element_value_int(msg, PCMK__XA_LRMD_TIMEOUT, &event.timeout); event 308 lib/lrmd/lrmd_client.c &event.interval_ms); event 310 lib/lrmd/lrmd_client.c &event.start_delay); event 313 lib/lrmd/lrmd_client.c event.rc = (enum ocf_exitcode) rc; event 316 lib/lrmd/lrmd_client.c &event.op_status); event 318 lib/lrmd/lrmd_client.c &event.rsc_deleted); event 322 lib/lrmd/lrmd_client.c event.t_run = (unsigned int) epoch; event 326 lib/lrmd/lrmd_client.c event.t_rcchange = (unsigned int) epoch; event 330 lib/lrmd/lrmd_client.c event.exec_time = QB_MAX(0, exec_time); event 334 lib/lrmd/lrmd_client.c event.queue_time = QB_MAX(0, queue_time); event 336 lib/lrmd/lrmd_client.c event.op_type = crm_element_value(msg, PCMK__XA_LRMD_RSC_ACTION); event 337 lib/lrmd/lrmd_client.c event.user_data = crm_element_value(msg, event 339 lib/lrmd/lrmd_client.c event.type = lrmd_event_exec_complete; event 342 lib/lrmd/lrmd_client.c event.output = crm_element_value_copy(msg, PCMK__XA_LRMD_RSC_OUTPUT); event 343 lib/lrmd/lrmd_client.c lrmd__set_result(&event, event.rc, event.op_status, event 346 lib/lrmd/lrmd_client.c event.params = xml2list(msg); event 348 lib/lrmd/lrmd_client.c event.type = lrmd_event_new_client; event 350 lib/lrmd/lrmd_client.c event.type = lrmd_event_poke; event 356 lib/lrmd/lrmd_client.c native->callback(&event); event 358 lib/lrmd/lrmd_client.c if (event.params) { event 359 lib/lrmd/lrmd_client.c g_hash_table_destroy(event.params); event 361 lib/lrmd/lrmd_client.c lrmd__reset_result(&event); event 612 lib/lrmd/lrmd_client.c lrmd_event_data_t event = { 0, }; event 613 lib/lrmd/lrmd_client.c event.type = lrmd_event_disconnect; event 614 lib/lrmd/lrmd_client.c event.remote_nodename = native->remote_nodename; event 615 lib/lrmd/lrmd_client.c native->callback(&event); event 663 lib/lrmd/lrmd_client.c lrmd_event_data_t event = { 0, }; event 664 lib/lrmd/lrmd_client.c event.remote_nodename = native->remote_nodename; event 665 lib/lrmd/lrmd_client.c event.type = lrmd_event_disconnect; event 666 lib/lrmd/lrmd_client.c native->callback(&event); event 1452 lib/lrmd/lrmd_client.c lrmd_event_data_t event = { 0, }; event 1453 lib/lrmd/lrmd_client.c event.type = lrmd_event_connect; event 1454 lib/lrmd/lrmd_client.c event.remote_nodename = native->remote_nodename; event 1455 lib/lrmd/lrmd_client.c event.connection_rc = rc; event 1456 lib/lrmd/lrmd_client.c native->callback(&event); event 2667 lib/lrmd/lrmd_client.c lrmd__set_result(lrmd_event_data_t *event, enum ocf_exitcode rc, int op_status, event 2670 lib/lrmd/lrmd_client.c if (event == NULL) { event 2674 lib/lrmd/lrmd_client.c event->rc = rc; event 2675 lib/lrmd/lrmd_client.c event->op_status = op_status; event 2678 lib/lrmd/lrmd_client.c pcmk__str_update((char **) &event->exit_reason, exit_reason); event 2688 lib/lrmd/lrmd_client.c lrmd__reset_result(lrmd_event_data_t *event) event 2690 lib/lrmd/lrmd_client.c if (event == NULL) { event 2694 lib/lrmd/lrmd_client.c free((void *) event->exit_reason); event 2695 lib/lrmd/lrmd_client.c event->exit_reason = NULL; event 2697 lib/lrmd/lrmd_client.c free((void *) event->output); event 2698 lib/lrmd/lrmd_client.c event->output = NULL; event 73 lib/lrmd/proxy_common.c xmlNode *event = pcmk__xe_create(NULL, PCMK__XE_LRMD_IPC_PROXY); event 76 lib/lrmd/proxy_common.c crm_xml_add(event, PCMK__XA_LRMD_IPC_OP, LRMD_IPC_OP_EVENT); event 77 lib/lrmd/proxy_common.c crm_xml_add(event, PCMK__XA_LRMD_IPC_SESSION, proxy->session_id); event 79 lib/lrmd/proxy_common.c wrapper = pcmk__xe_create(event, PCMK__XE_LRMD_IPC_MSG); event 82 lib/lrmd/proxy_common.c crm_log_xml_explicit(event, "EventForProxy"); event 83 lib/lrmd/proxy_common.c lrmd_internal_proxy_send(proxy->lrm, event); event 84 lib/lrmd/proxy_common.c free_xml(event); event 332 maint/gnulib/lib/relocatable.c DllMain (HINSTANCE module_handle, DWORD event, LPVOID reserved) event 336 maint/gnulib/lib/relocatable.c if (event == DLL_PROCESS_ATTACH) event 42 maint/gnulib/lib/windows-cond.c HANDLE event; /* Waiting thread, represented by an event. event 59 maint/gnulib/lib/windows-cond.c HANDLE event; event 73 maint/gnulib/lib/windows-cond.c event = CreateEvent (NULL, TRUE, FALSE, NULL); event 74 maint/gnulib/lib/windows-cond.c if (event == INVALID_HANDLE_VALUE) event 80 maint/gnulib/lib/windows-cond.c elt->event = event; event 128 maint/gnulib/lib/windows-cond.c SetEvent (elt->event); event 155 maint/gnulib/lib/windows-cond.c SetEvent (elt->event); event 209 maint/gnulib/lib/windows-cond.c HANDLE event = elt->event; event 220 maint/gnulib/lib/windows-cond.c CloseHandle (event); event 233 maint/gnulib/lib/windows-cond.c result = WaitForSingleObject (event, INFINITE); event 236 maint/gnulib/lib/windows-cond.c CloseHandle (event); event 288 maint/gnulib/lib/windows-cond.c HANDLE event = elt->event; event 300 maint/gnulib/lib/windows-cond.c CloseHandle (event); event 342 maint/gnulib/lib/windows-cond.c result = WaitForSingleObject (event, timeout); event 352 maint/gnulib/lib/windows-cond.c if (!(WaitForSingleObject (event, 0) == WAIT_TIMEOUT)) event 359 maint/gnulib/lib/windows-cond.c if (!(WaitForSingleObject (event, 0) == WAIT_OBJECT_0)) event 371 maint/gnulib/lib/windows-cond.c CloseHandle (event); event 49 maint/gnulib/lib/windows-rwlock.c HANDLE event; event 83 maint/gnulib/lib/windows-rwlock.c event = CreateEvent (NULL, TRUE, FALSE, NULL); event 84 maint/gnulib/lib/windows-rwlock.c if (event == INVALID_HANDLE_VALUE) event 90 maint/gnulib/lib/windows-rwlock.c wq->array[index] = event; event 92 maint/gnulib/lib/windows-rwlock.c return event; event 160 maint/gnulib/lib/windows-rwlock.c HANDLE event = glwthread_waitqueue_add (&lock->waiting_readers); event 161 maint/gnulib/lib/windows-rwlock.c if (event != INVALID_HANDLE_VALUE) event 166 maint/gnulib/lib/windows-rwlock.c result = WaitForSingleObject (event, INFINITE); event 169 maint/gnulib/lib/windows-rwlock.c CloseHandle (event); event 217 maint/gnulib/lib/windows-rwlock.c HANDLE event = glwthread_waitqueue_add (&lock->waiting_writers); event 218 maint/gnulib/lib/windows-rwlock.c if (event != INVALID_HANDLE_VALUE) event 223 maint/gnulib/lib/windows-rwlock.c result = WaitForSingleObject (event, INFINITE); event 226 maint/gnulib/lib/windows-rwlock.c CloseHandle (event); event 39 maint/gnulib/lib/windows-timedmutex.c HANDLE event = CreateEvent (NULL, FALSE, FALSE, NULL); event 40 maint/gnulib/lib/windows-timedmutex.c if (event == INVALID_HANDLE_VALUE) event 42 maint/gnulib/lib/windows-timedmutex.c mutex->event = event; event 191 maint/gnulib/lib/windows-timedmutex.c result = WaitForSingleObject (mutex->event, timeout); event 212 maint/gnulib/lib/windows-timedmutex.c SetEvent (mutex->event); event 224 maint/gnulib/lib/windows-timedmutex.c CloseHandle (mutex->event); event 33 maint/gnulib/lib/windows-timedmutex.h HANDLE event; event 41 maint/gnulib/lib/windows-timedrecmutex.c HANDLE event = CreateEvent (NULL, FALSE, FALSE, NULL); event 42 maint/gnulib/lib/windows-timedrecmutex.c if (event == INVALID_HANDLE_VALUE) event 44 maint/gnulib/lib/windows-timedrecmutex.c mutex->event = event; event 221 maint/gnulib/lib/windows-timedrecmutex.c result = WaitForSingleObject (mutex->event, timeout); event 255 maint/gnulib/lib/windows-timedrecmutex.c SetEvent (mutex->event); event 268 maint/gnulib/lib/windows-timedrecmutex.c CloseHandle (mutex->event); event 39 maint/gnulib/lib/windows-timedrecmutex.h HANDLE event; event 41 maint/gnulib/lib/windows-timedrwlock.c HANDLE event; /* Waiting thread, represented by an event. event 59 maint/gnulib/lib/windows-timedrwlock.c HANDLE event; event 73 maint/gnulib/lib/windows-timedrwlock.c event = CreateEvent (NULL, TRUE, FALSE, NULL); event 74 maint/gnulib/lib/windows-timedrwlock.c if (event == INVALID_HANDLE_VALUE) event 80 maint/gnulib/lib/windows-timedrwlock.c elt->event = event; event 131 maint/gnulib/lib/windows-timedrwlock.c SetEvent (elt->event); event 159 maint/gnulib/lib/windows-timedrwlock.c SetEvent (elt->event); event 212 maint/gnulib/lib/windows-timedrwlock.c HANDLE event = elt->event; event 216 maint/gnulib/lib/windows-timedrwlock.c result = WaitForSingleObject (event, INFINITE); event 219 maint/gnulib/lib/windows-timedrwlock.c CloseHandle (event); event 272 maint/gnulib/lib/windows-timedrwlock.c HANDLE event = elt->event; event 276 maint/gnulib/lib/windows-timedrwlock.c result = WaitForSingleObject (event, INFINITE); event 279 maint/gnulib/lib/windows-timedrwlock.c CloseHandle (event); event 405 maint/gnulib/lib/windows-timedrwlock.c HANDLE event = elt->event; event 448 maint/gnulib/lib/windows-timedrwlock.c result = WaitForSingleObject (event, timeout); event 453 maint/gnulib/lib/windows-timedrwlock.c CloseHandle (event); event 471 maint/gnulib/lib/windows-timedrwlock.c CloseHandle (event); event 525 maint/gnulib/lib/windows-timedrwlock.c HANDLE event = elt->event; event 568 maint/gnulib/lib/windows-timedrwlock.c result = WaitForSingleObject (event, timeout); event 573 maint/gnulib/lib/windows-timedrwlock.c CloseHandle (event); event 591 maint/gnulib/lib/windows-timedrwlock.c CloseHandle (event); event 237 tools/crm_mon.c static void crm_diff_update(const char *event, xmlNode * msg); event 2026 tools/crm_mon.c crm_diff_update_v2(const char *event, xmlNode * msg) event 2036 tools/crm_mon.c crm_diff_update_v1(const char *event, xmlNode * msg) event 2054 tools/crm_mon.c crm_diff_update(const char *event, xmlNode * msg) event 2071 tools/crm_mon.c crm_notice("[%s] Patch aborted: %s (%d)", event, pcmk_strerror(rc), rc); event 2078 tools/crm_mon.c crm_notice("[%s] ABORTED: %s (%d)", event, pcmk_strerror(rc), rc); event 2093 tools/crm_mon.c crm_diff_update_v1(event, msg); event 2096 tools/crm_mon.c crm_diff_update_v2(event, msg); event 464 tools/crm_mon_curses.c stonith_history_t *event = va_arg(args, stonith_history_t *); event 470 tools/crm_mon_curses.c gchar *desc = stonith__history_description(event, full_history, succeeded,