op                 25 daemons/attrd/attrd_alerts.c attrd_lrmd_callback(lrmd_event_data_t * op)
op                 27 daemons/attrd/attrd_alerts.c     CRM_CHECK(op != NULL, return);
op                 28 daemons/attrd/attrd_alerts.c     switch (op->type) {
op                181 daemons/attrd/attrd_attributes.c     const char *op = crm_element_value(xml, PCMK_XA_TASK);
op                184 daemons/attrd/attrd_attributes.c     update_both = pcmk__str_eq(op, PCMK__ATTRD_CMD_UPDATE_BOTH,
op                190 daemons/attrd/attrd_attributes.c         if (update_both || pcmk__str_eq(op, PCMK__ATTRD_CMD_UPDATE, pcmk__str_none)) {
op                203 daemons/attrd/attrd_attributes.c     if (update_both || pcmk__str_eq(op, PCMK__ATTRD_CMD_UPDATE_DELAY, pcmk__str_none)) {
op                 67 daemons/attrd/attrd_corosync.c         request.op = crm_element_value_copy(request.xml, PCMK_XA_TASK);
op                 68 daemons/attrd/attrd_corosync.c         CRM_CHECK(request.op != NULL, return);
op                 76 daemons/attrd/attrd_corosync.c             !pcmk__str_eq(request.op, PCMK__ATTRD_CMD_CONFIRM, pcmk__str_none)) {
op                154 daemons/attrd/attrd_corosync.c     xmlNode *op = pcmk__xe_create(NULL, PCMK_XE_OP);
op                156 daemons/attrd/attrd_corosync.c     crm_xml_add(op, PCMK_XA_TASK, PCMK__ATTRD_CMD_UPDATE);
op                157 daemons/attrd/attrd_corosync.c     attrd_add_value_xml(op, a, v, false);
op                158 daemons/attrd/attrd_corosync.c     attrd_send_message(NULL, op, false);
op                159 daemons/attrd/attrd_corosync.c     free_xml(op);
op                436 daemons/attrd/attrd_corosync.c     const char *op = crm_element_value(xml, PCMK__XA_ATTR_CLEAR_OPERATION);
op                449 daemons/attrd/attrd_corosync.c     if (attrd_failure_regex(&regex, rsc, op, interval_ms) != pcmk_ok) {
op                 91 daemons/attrd/attrd_ipc.c     const char *rsc, *op, *interval_spec;
op                103 daemons/attrd/attrd_ipc.c     op = crm_element_value(xml, PCMK__XA_ATTR_CLEAR_OPERATION);
op                114 daemons/attrd/attrd_ipc.c         if (op == NULL) {
op                122 daemons/attrd/attrd_ipc.c                                         rsc, op, interval_ms);
op                324 daemons/attrd/attrd_ipc.c handle_value_expansion(const char **value, xmlNode *xml, const char *op,
op                329 daemons/attrd/attrd_ipc.c     if (a == NULL && pcmk__str_eq(op, PCMK__ATTRD_CMD_UPDATE_DELAY, pcmk__str_none)) {
op                419 daemons/attrd/attrd_ipc.c                 if (handle_value_expansion(&value, child, request->op, attr) == EINVAL) {
op                463 daemons/attrd/attrd_ipc.c     if (handle_value_expansion(&value, xml, request->op, attr) == EINVAL) {
op                587 daemons/attrd/attrd_ipc.c         request.op = crm_element_value_copy(request.xml, PCMK_XA_TASK);
op                588 daemons/attrd/attrd_ipc.c         CRM_CHECK(request.op != NULL, return 0);
op                 58 daemons/attrd/attrd_messages.c             request->op, pcmk__request_origin_type(request),
op                 61 daemons/attrd/attrd_messages.c                         "Unknown request type '%s' (bug?)", request->op);
op                297 daemons/attrd/attrd_messages.c                                 request->op, pcmk__request_origin_type(request),
op                342 daemons/attrd/attrd_messages.c     const char *op = crm_element_value(data, PCMK_XA_TASK);
op                351 daemons/attrd/attrd_messages.c     if (!pcmk__str_eq(op, PCMK__ATTRD_CMD_CONFIRM, pcmk__str_none)) {
op                199 daemons/attrd/attrd_utils.c attrd_failure_regex(regex_t *regex, const char *rsc, const char *op,
op                209 daemons/attrd/attrd_utils.c     } else if (op == NULL) {
op                212 daemons/attrd/attrd_utils.c         pattern = crm_strdup_printf(ATTRD_RE_CLEAR_OP, rsc, op, interval_ms);
op                 94 daemons/attrd/pacemaker-attrd.h int attrd_failure_regex(regex_t *regex, const char *rsc, const char *op,
op                158 daemons/based/based_callbacks.c create_cib_reply(const char *op, const char *call_id, const char *client_id,
op                164 daemons/based/based_callbacks.c     crm_xml_add(reply, PCMK__XA_CIB_OP, op);
op                245 daemons/based/based_callbacks.c     const char *op = crm_element_value(op_request, PCMK__XA_CIB_OP);
op                257 daemons/based/based_callbacks.c     if (pcmk__str_eq(op, CRM_OP_REGISTER, pcmk__str_none)) {
op                269 daemons/based/based_callbacks.c     } else if (pcmk__str_eq(op, PCMK__VALUE_CIB_NOTIFY, pcmk__str_none)) {
op                549 daemons/based/based_callbacks.c                        const char *host, const char *op, gboolean *local_notify,
op                563 daemons/based/based_callbacks.c                   op, pcmk__client_name(cib_client));
op                568 daemons/based/based_callbacks.c                   op, pcmk__client_name(cib_client));
op                573 daemons/based/based_callbacks.c                   op, pcmk__client_name(cib_client));
op                583 daemons/based/based_callbacks.c                   op, pcmk__client_name(cib_client),
op                593 daemons/based/based_callbacks.c                        const char *host, const char *op, gboolean *local_notify,
op                611 daemons/based/based_callbacks.c                   op, pcmk__client_name(cib_client));
op                618 daemons/based/based_callbacks.c                      op, host);
op                634 daemons/based/based_callbacks.c                   op, pcmk__client_name(cib_client),
op                641 daemons/based/based_callbacks.c                   op, pcmk__client_name(cib_client));
op                646 daemons/based/based_callbacks.c                   op, pcmk__client_name(cib_client));
op                653 daemons/based/based_callbacks.c                     const char *host, const char *op, gboolean *local_notify,
op                659 daemons/based/based_callbacks.c                                op, local_notify, needs_reply, process,
op                663 daemons/based/based_callbacks.c                                op, local_notify, needs_reply, process,
op                673 daemons/based/based_callbacks.c     const char *op = NULL;
op                693 daemons/based/based_callbacks.c     op = crm_element_value(request, PCMK__XA_CIB_OP);
op                694 daemons/based/based_callbacks.c     crm_trace("Processing legacy %s request sent by %s", op, originator);
op                696 daemons/based/based_callbacks.c     if (pcmk__str_eq(op, PCMK__CIB_REQUEST_SHUTDOWN, pcmk__str_none)) {
op                708 daemons/based/based_callbacks.c     if (is_reply && pcmk__str_eq(op, CRM_OP_PING, pcmk__str_casei)) {
op                723 daemons/based/based_callbacks.c         crm_trace("Processing %s request sent to us from %s", op, originator);
op                726 daemons/based/based_callbacks.c     } else if(is_reply == FALSE && pcmk__str_eq(op, CRM_OP_PING, pcmk__str_casei)) {
op                727 daemons/based/based_callbacks.c         crm_trace("Processing %s request sent to %s by %s", op, host?host:"everyone", originator);
op                733 daemons/based/based_callbacks.c                   op, originator);
op                749 daemons/based/based_callbacks.c     } else if (pcmk__str_eq(op, PCMK__CIB_REQUEST_SHUTDOWN, pcmk__str_none)) {
op                751 daemons/based/based_callbacks.c             crm_debug("Processing %s from %s", op, originator);
op                755 daemons/based/based_callbacks.c             crm_debug("Processing %s reply from %s", op, originator);
op                775 daemons/based/based_callbacks.c     const char *op = crm_element_value(request, PCMK__XA_CIB_OP);
op                785 daemons/based/based_callbacks.c     if (pcmk__str_eq(op, PCMK__CIB_REQUEST_REPLACE, pcmk__str_none)) {
op                792 daemons/based/based_callbacks.c     } else if (pcmk__str_eq(op, PCMK__CIB_REQUEST_SYNC_TO_ALL,
op                796 daemons/based/based_callbacks.c     } else if (is_reply && pcmk__str_eq(op, CRM_OP_PING, pcmk__str_casei)) {
op                800 daemons/based/based_callbacks.c     } else if (pcmk__str_eq(op, PCMK__CIB_REQUEST_UPGRADE, pcmk__str_none)) {
op                838 daemons/based/based_callbacks.c         crm_info("Detected legacy %s global update from %s", op, originator);
op                845 daemons/based/based_callbacks.c         crm_trace("Ignoring legacy %s reply sent from %s to local clients", op, originator);
op                848 daemons/based/based_callbacks.c     } else if (pcmk__str_eq(op, PCMK__CIB_REQUEST_SHUTDOWN, pcmk__str_none)) {
op                861 daemons/based/based_callbacks.c                   op, originator);
op                876 daemons/based/based_callbacks.c         crm_trace("Processing %s request sent to us from %s", op, originator);
op                882 daemons/based/based_callbacks.c                   op, host);
op                885 daemons/based/based_callbacks.c     } else if(is_reply == FALSE && pcmk__str_eq(op, CRM_OP_PING, pcmk__str_casei)) {
op                890 daemons/based/based_callbacks.c               "(local clients will%s be notified)", op,
op                926 daemons/based/based_callbacks.c     const char *op = crm_element_value(request, PCMK__XA_CIB_OP);
op                937 daemons/based/based_callbacks.c     if (pcmk__str_eq(op, PCMK__CIB_REQUEST_NOOP, pcmk__str_none)) {
op                943 daemons/based/based_callbacks.c                pcmk__s(op, "invalid"),
op               1054 daemons/based/based_callbacks.c     const char *op = crm_element_value(request, PCMK__XA_CIB_OP);
op               1086 daemons/based/based_callbacks.c                   op, client_name, call_id, originator, target, reply_to);
op               1089 daemons/based/based_callbacks.c         crm_trace("Processing local %s operation from %s/%s intended for %s", op, client_name, call_id, target);
op               1092 daemons/based/based_callbacks.c     rc = cib__get_operation(op, &operation);
op               1102 daemons/based/based_callbacks.c         crm_err("Operation %s not supported by CIB manager", op);
op               1107 daemons/based/based_callbacks.c         parse_local_options(cib_client, operation, call_options, host, op,
op               1152 daemons/based/based_callbacks.c         op_reply = create_cib_reply(op, call_id, client_id, call_options, rc,
op               1196 daemons/based/based_callbacks.c                    op, section ? section : "'all'", pcmk_strerror(rc), rc,
op               1204 daemons/based/based_callbacks.c             crm_trace("%s operation took %lds to complete", op, (long)(finished - now));
op               1374 daemons/based/based_callbacks.c     const char *op = NULL;
op               1399 daemons/based/based_callbacks.c     op = crm_element_value(request, PCMK__XA_CIB_OP);
op               1411 daemons/based/based_callbacks.c         rc = cib_perform_op(NULL, op, call_options, op_function, true, section,
op               1431 daemons/based/based_callbacks.c         CRM_LOG_ASSERT(pcmk__str_any_of(op,
op               1444 daemons/based/based_callbacks.c     rc = cib_perform_op(NULL, op, call_options, op_function, false, section,
op               1484 daemons/based/based_callbacks.c             rc = activateCibXml(result_cib, config_changed, op);
op               1539 daemons/based/based_callbacks.c         cib_diff_notify(op, rc, call_id, client_id, client_name, originator,
op               1547 daemons/based/based_callbacks.c         *reply = create_cib_reply(op, call_id, client_id, call_options, rc,
op               1591 daemons/based/based_callbacks.c         const char *op = crm_element_value(msg, PCMK__XA_CIB_OP);
op               1593 daemons/based/based_callbacks.c         crm_warn("Discarding %s message from %s: %s", op, originator, reason);
op                352 daemons/based/based_io.c activateCibXml(xmlNode * new_cib, gboolean to_disk, const char *op)
op                361 daemons/based/based_io.c             crm_debug("Triggering CIB write for %s op", op);
op                 43 daemons/based/based_messages.c cib_process_shutdown_req(const char *op, int options, const char *section, xmlNode * req,
op                 68 daemons/based/based_messages.c cib_process_noop(const char *op, int options, const char *section, xmlNode *req,
op                 72 daemons/based/based_messages.c     crm_trace("Processing \"%s\" event", op);
op                 78 daemons/based/based_messages.c cib_process_readwrite(const char *op, int options, const char *section, xmlNode * req,
op                 84 daemons/based/based_messages.c     crm_trace("Processing \"%s\" event", op);
op                 86 daemons/based/based_messages.c     if (pcmk__str_eq(op, PCMK__CIB_REQUEST_IS_PRIMARY, pcmk__str_none)) {
op                 95 daemons/based/based_messages.c     if (pcmk__str_eq(op, PCMK__CIB_REQUEST_PRIMARY, pcmk__str_none)) {
op                138 daemons/based/based_messages.c cib_process_ping(const char *op, int options, const char *section, xmlNode * req, xmlNode * input,
op                147 daemons/based/based_messages.c     crm_trace("Processing \"%s\" event %s from %s", op, seq, host);
op                186 daemons/based/based_messages.c cib_process_sync(const char *op, int options, const char *section, xmlNode * req, xmlNode * input,
op                193 daemons/based/based_messages.c cib_process_upgrade_server(const char *op, int options, const char *section, xmlNode * req, xmlNode * input,
op                207 daemons/based/based_messages.c             op, options, section, req, input, existing_cib, result_cib, answer);
op                218 daemons/based/based_messages.c         crm_trace("Processing \"%s\" event", op);
op                241 daemons/based/based_messages.c                     op, options, section, up, input, existing_cib, result_cib, answer);
op                287 daemons/based/based_messages.c cib_process_sync_one(const char *op, int options, const char *section, xmlNode * req,
op                295 daemons/based/based_messages.c cib_server_process_diff(const char *op, int options, const char *section, xmlNode * req,
op                329 daemons/based/based_messages.c     rc = cib_process_diff(op, options, section, req, input, existing_cib, result_cib, answer);
op                358 daemons/based/based_messages.c cib_process_replace_svr(const char *op, int options, const char *section, xmlNode * req,
op                363 daemons/based/based_messages.c         cib_process_replace(op, options, section, req, input, existing_cib, result_cib, answer);
op                373 daemons/based/based_messages.c cib_process_delete_absolute(const char *op, int options, const char *section, xmlNode * req,
op                423 daemons/based/based_messages.c     const char *op = crm_element_value(request, PCMK__XA_CIB_OP);
op                445 daemons/based/based_messages.c     crm_xml_add(replace_request, PCMK__XA_ORIGINAL_CIB_OP, op);
op                468 daemons/based/based_messages.c cib_process_commit_transaction(const char *op, int options, const char *section,
op                495 daemons/based/based_messages.c cib_process_schemas(const char *op, int options, const char *section, xmlNode *req,
op                140 daemons/based/based_notify.c cib_diff_notify(const char *op, int result, const char *call_id,
op                199 daemons/based/based_notify.c     crm_xml_add(update_msg, PCMK__XA_CIB_OP, op);
op                 63 daemons/based/based_transaction.c         const char *op = crm_element_value(request, PCMK__XA_CIB_OP);
op                 66 daemons/based/based_transaction.c         int rc = cib__get_operation(op, &operation);
op                 85 daemons/based/based_transaction.c                     source, op, pcmk_rc_str(rc));
op                 91 daemons/based/based_transaction.c                   op, source);
op                 86 daemons/based/pacemaker-based.h int activateCibXml(xmlNode *doc, gboolean to_disk, const char *op);
op                 88 daemons/based/pacemaker-based.h int cib_process_shutdown_req(const char *op, int options, const char *section,
op                 92 daemons/based/pacemaker-based.h int cib_process_noop(const char *op, int options, const char *section,
op                 95 daemons/based/pacemaker-based.h int cib_process_ping(const char *op, int options, const char *section,
op                 98 daemons/based/pacemaker-based.h int cib_process_readwrite(const char *op, int options, const char *section,
op                101 daemons/based/pacemaker-based.h int cib_process_replace_svr(const char *op, int options, const char *section,
op                104 daemons/based/pacemaker-based.h int cib_server_process_diff(const char *op, int options, const char *section,
op                107 daemons/based/pacemaker-based.h int cib_process_sync(const char *op, int options, const char *section,
op                110 daemons/based/pacemaker-based.h int cib_process_sync_one(const char *op, int options, const char *section,
op                113 daemons/based/pacemaker-based.h int cib_process_delete_absolute(const char *op, int options,
op                117 daemons/based/pacemaker-based.h int cib_process_upgrade_server(const char *op, int options, const char *section,
op                121 daemons/based/pacemaker-based.h int cib_process_commit_transaction(const char *op, int options,
op                125 daemons/based/pacemaker-based.h int cib_process_schemas(const char *op, int options, const char *section,
op                133 daemons/based/pacemaker-based.h void cib_diff_notify(const char *op, int result, const char *call_id,
op                 73 daemons/controld/controld_alerts.c crmd_alert_resource_op(const char *node, lrmd_event_data_t * op)
op                 87 daemons/controld/controld_alerts.c                              op);
op                 20 daemons/controld/controld_alerts.h void crmd_alert_resource_op(const char *node, lrmd_event_data_t *op);
op                130 daemons/controld/controld_attrd.c update_attrd_clear_failures(const char *host, const char *rsc, const char *op,
op                144 daemons/controld/controld_attrd.c         rc = pcmk__attrd_api_clear_failures(attrd_api, host, rsc, op,
op                150 daemons/controld/controld_attrd.c         if (op != NULL) {
op                154 daemons/controld/controld_attrd.c                 CRM_XS " rc=%d", interval_desc, pcmk__s(op, "operations"),
op                 37 daemons/controld/controld_callbacks.c                 const char *op = crm_element_value(msg, PCMK__XA_CRM_TASK);
op                 49 daemons/controld/controld_callbacks.c                 do_crm_log(level, "Another DC detected: %s (op=%s)", from, op);
op                483 daemons/controld/controld_cib.c build_parameter_list(const lrmd_event_data_t *op,
op                496 daemons/controld/controld_cib.c         g_hash_table_foreach(op->params, hash2field, *result);
op                537 daemons/controld/controld_cib.c             const char *v = g_hash_table_lookup(op->params, param->rap_name);
op                558 daemons/controld/controld_cib.c append_restart_list(lrmd_event_data_t *op, struct ra_metadata_s *metadata,
op                565 daemons/controld/controld_cib.c     CRM_LOG_ASSERT(op->params != NULL);
op                567 daemons/controld/controld_cib.c     if (op->interval_ms > 0) {
op                576 daemons/controld/controld_cib.c         list = build_parameter_list(op, metadata, ra_param_reloadable,
op                586 daemons/controld/controld_cib.c         list = build_parameter_list(op, metadata, ra_param_unique, &restart);
op                603 daemons/controld/controld_cib.c         crm_trace("%s: %s, %s", op->rsc_id, digest, (const char *) list->str);
op                605 daemons/controld/controld_cib.c         crm_trace("%s: %s", op->rsc_id, digest);
op                616 daemons/controld/controld_cib.c append_secure_list(lrmd_event_data_t *op, struct ra_metadata_s *metadata,
op                623 daemons/controld/controld_cib.c     CRM_LOG_ASSERT(op->params != NULL);
op                628 daemons/controld/controld_cib.c     list = build_parameter_list(op, metadata, ra_param_private, &secure);
op                636 daemons/controld/controld_cib.c         crm_trace("%s: %s, %s", op->rsc_id, digest, (const char *) list->str);
op                639 daemons/controld/controld_cib.c         crm_trace("%s: no secure parameters", op->rsc_id);
op                659 daemons/controld/controld_cib.c                                      lrmd_event_data_t *op,
op                668 daemons/controld/controld_cib.c     if (op == NULL) {
op                672 daemons/controld/controld_cib.c     target_rc = rsc_op_expected_rc(op);
op                674 daemons/controld/controld_cib.c     caller_version = g_hash_table_lookup(op->params, PCMK_XA_CRM_FEATURE_SET);
op                677 daemons/controld/controld_cib.c     xml_op = pcmk__create_history_xml(parent, op, caller_version, target_rc,
op                683 daemons/controld/controld_cib.c     if ((rsc == NULL) || (op->params == NULL)
op                684 daemons/controld/controld_cib.c         || !crm_op_needs_metadata(rsc->standard, op->op_type)) {
op                687 daemons/controld/controld_cib.c                   op->op_type, op->rsc_id, op->params, rsc);
op                695 daemons/controld/controld_cib.c                  op->rsc_id, op->op_type, op->interval_ms, node_name);
op                713 daemons/controld/controld_cib.c     append_restart_list(op, metadata, xml_op, caller_version);
op                714 daemons/controld/controld_cib.c     append_secure_list(op, metadata, xml_op, caller_version);
op                731 daemons/controld/controld_cib.c                            lrmd_event_data_t *op)
op                735 daemons/controld/controld_cib.c     CRM_CHECK((node_name != NULL) && (rsc != NULL) && (op != NULL),
op                739 daemons/controld/controld_cib.c     if ((op->op_type == NULL) || (op->params == NULL)
op                740 daemons/controld/controld_cib.c         || !controld_action_is_recordable(op->op_type)) {
op                745 daemons/controld/controld_cib.c     record_pending = crm_meta_value(op->params, PCMK_META_RECORD_PENDING);
op                750 daemons/controld/controld_cib.c     op->call_id = -1;
op                751 daemons/controld/controld_cib.c     op->t_run = time(NULL);
op                752 daemons/controld/controld_cib.c     op->t_rcchange = op->t_run;
op                754 daemons/controld/controld_cib.c     lrmd__set_result(op, PCMK_OCF_UNKNOWN, PCMK_EXEC_PENDING, NULL);
op                757 daemons/controld/controld_cib.c               pcmk__readable_interval(op->interval_ms), op->op_type, op->rsc_id,
op                759 daemons/controld/controld_cib.c     controld_update_resource_history(node_name, rsc, op, 0);
op                794 daemons/controld/controld_cib.c should_preserve_lock(lrmd_event_data_t *op)
op                799 daemons/controld/controld_cib.c     if (!strcmp(op->op_type, PCMK_ACTION_STOP) && (op->rc == PCMK_OCF_OK)) {
op                802 daemons/controld/controld_cib.c     if (!strcmp(op->op_type, PCMK_ACTION_MONITOR)
op                803 daemons/controld/controld_cib.c         && (op->rc == PCMK_OCF_NOT_RUNNING)) {
op                875 daemons/controld/controld_cib.c                                  lrmd_event_data_t *op, time_t lock_time)
op                883 daemons/controld/controld_cib.c     CRM_CHECK((node_name != NULL) && (op != NULL), return);
op                886 daemons/controld/controld_cib.c         crm_warn("Resource %s no longer exists in the executor", op->rsc_id);
op                887 daemons/controld/controld_cib.c         controld_ack_event_directly(NULL, NULL, rsc, op, op->rsc_id);
op                916 daemons/controld/controld_cib.c     crm_xml_add(xml, PCMK_XA_ID, op->rsc_id);
op                924 daemons/controld/controld_cib.c         if (!should_preserve_lock(op)) {
op                929 daemons/controld/controld_cib.c     if (op->params != NULL) {
op                930 daemons/controld/controld_cib.c         container = g_hash_table_lookup(op->params,
op                934 daemons/controld/controld_cib.c                       op->rsc_id, container);
op                940 daemons/controld/controld_cib.c     controld_add_resource_history_xml(xml, rsc, op, node_name);
op                958 daemons/controld/controld_cib.c controld_delete_action_history(const lrmd_event_data_t *op)
op                962 daemons/controld/controld_cib.c     CRM_CHECK(op != NULL, return);
op                965 daemons/controld/controld_cib.c     crm_xml_add_int(xml_top, PCMK__XA_CALL_ID, op->call_id);
op                966 daemons/controld/controld_cib.c     crm_xml_add(xml_top, PCMK__XA_TRANSITION_KEY, op->user_data);
op                968 daemons/controld/controld_cib.c     if (op->interval_ms > 0) {
op                969 daemons/controld/controld_cib.c         char *op_id = pcmk__op_key(op->rsc_id, op->op_type, op->interval_ms);
op                977 daemons/controld/controld_cib.c               op->rsc_id, op->op_type, op->interval_ms, op->call_id);
op                 81 daemons/controld/controld_cib.h                                           lrmd_event_data_t *op,
op                 84 daemons/controld/controld_cib.h #define controld_add_resource_history_xml(parent, rsc, op, node_name)   \
op                 86 daemons/controld/controld_cib.h                                          (op), (node_name))
op                 90 daemons/controld/controld_cib.h                                 lrmd_event_data_t *op);
op                 94 daemons/controld/controld_cib.h                                       lrmd_event_data_t *op, time_t lock_time);
op                 96 daemons/controld/controld_cib.h void controld_delete_action_history(const lrmd_event_data_t *op);
op                 92 daemons/controld/controld_execd.c history_remove_recurring_op(rsc_history_t *history, const lrmd_event_data_t *op)
op                 99 daemons/controld/controld_execd.c         if ((op->interval_ms == existing->interval_ms)
op                100 daemons/controld/controld_execd.c             && pcmk__str_eq(op->rsc_id, existing->rsc_id, pcmk__str_none)
op                101 daemons/controld/controld_execd.c             && pcmk__str_eq(op->op_type, existing->op_type, pcmk__str_casei)) {
op                157 daemons/controld/controld_execd.c update_history_cache(lrm_state_t * lrm_state, lrmd_rsc_info_t * rsc, lrmd_event_data_t * op)
op                162 daemons/controld/controld_execd.c     if (op->rsc_deleted) {
op                163 daemons/controld/controld_execd.c         crm_debug("Purged history for '%s' after %s", op->rsc_id, op->op_type);
op                164 daemons/controld/controld_execd.c         controld_delete_resource_history(op->rsc_id, lrm_state->node_name,
op                169 daemons/controld/controld_execd.c     if (pcmk__str_eq(op->op_type, PCMK_ACTION_NOTIFY, pcmk__str_casei)) {
op                173 daemons/controld/controld_execd.c     crm_debug("Updating history for '%s' with %s op", op->rsc_id, op->op_type);
op                175 daemons/controld/controld_execd.c     entry = g_hash_table_lookup(lrm_state->resource_history, op->rsc_id);
op                178 daemons/controld/controld_execd.c         entry->id = pcmk__str_copy(op->rsc_id);
op                187 daemons/controld/controld_execd.c         crm_info("Resource %s no longer exists, not updating cache", op->rsc_id);
op                191 daemons/controld/controld_execd.c     entry->last_callid = op->call_id;
op                192 daemons/controld/controld_execd.c     target_rc = rsc_op_expected_rc(op);
op                193 daemons/controld/controld_execd.c     if (op->op_status == PCMK_EXEC_CANCELLED) {
op                194 daemons/controld/controld_execd.c         if (op->interval_ms > 0) {
op                196 daemons/controld/controld_execd.c                       op->rsc_id, op->op_type, op->interval_ms);
op                197 daemons/controld/controld_execd.c             history_remove_recurring_op(entry, op);
op                201 daemons/controld/controld_execd.c                       op->rsc_id, op->op_type, op->interval_ms, op->rc,
op                202 daemons/controld/controld_execd.c                       op->op_status);
op                205 daemons/controld/controld_execd.c     } else if (did_rsc_op_fail(op, target_rc)) {
op                212 daemons/controld/controld_execd.c         entry->failed = lrmd_copy_event(op);
op                214 daemons/controld/controld_execd.c     } else if (op->interval_ms == 0) {
op                218 daemons/controld/controld_execd.c         entry->last = lrmd_copy_event(op);
op                220 daemons/controld/controld_execd.c         if (op->params && pcmk__strcase_any_of(op->op_type, PCMK_ACTION_START,
op                229 daemons/controld/controld_execd.c             g_hash_table_foreach(op->params, copy_instance_keys, entry->stop_params);
op                233 daemons/controld/controld_execd.c     if (op->interval_ms > 0) {
op                235 daemons/controld/controld_execd.c         history_remove_recurring_op(entry, op);
op                238 daemons/controld/controld_execd.c                   op->rsc_id, op->op_type, op->interval_ms);
op                239 daemons/controld/controld_execd.c         entry->recurring_op_list = g_list_prepend(entry->recurring_op_list, lrmd_copy_event(op));
op                242 daemons/controld/controld_execd.c                 && !pcmk__str_eq(op->op_type, PCMK_ACTION_MONITOR,
op                245 daemons/controld/controld_execd.c                   g_list_length(entry->recurring_op_list), op->rsc_id,
op                246 daemons/controld/controld_execd.c                   op->op_type, op->interval_ms);
op                268 daemons/controld/controld_execd.c     lrmd_event_data_t *op = construct_op(lrm_state, input->xml, rsc_id, task);
op                270 daemons/controld/controld_execd.c     lrmd__set_result(op, PCMK_OCF_OK, PCMK_EXEC_DONE, NULL);
op                271 daemons/controld/controld_execd.c     controld_ack_event_directly(ack_host, ack_sys, rsc, op, rsc_id);
op                272 daemons/controld/controld_execd.c     lrmd_free_event(op);
op                276 daemons/controld/controld_execd.c op_node_name(lrmd_event_data_t *op)
op                278 daemons/controld/controld_execd.c     return pcmk__s(op->remote_nodename, controld_globals.our_nodename);
op                282 daemons/controld/controld_execd.c lrm_op_callback(lrmd_event_data_t * op)
op                284 daemons/controld/controld_execd.c     CRM_CHECK(op != NULL, return);
op                285 daemons/controld/controld_execd.c     switch (op->type) {
op                287 daemons/controld/controld_execd.c             if (op->remote_nodename == NULL) {
op                297 daemons/controld/controld_execd.c                 lrm_state_t *lrm_state = lrm_state_find(op_node_name(op));
op                300 daemons/controld/controld_execd.c                 process_lrm_event(lrm_state, op, NULL, NULL);
op                665 daemons/controld/controld_execd.c     lrmd_event_data_t *op = NULL;
op                672 daemons/controld/controld_execd.c     op = construct_op(lrm_state, input->xml, rsc_id, PCMK_ACTION_DELETE);
op                673 daemons/controld/controld_execd.c     controld_rc2event(op, pcmk_legacy2rc(rc));
op                674 daemons/controld/controld_execd.c     controld_ack_event_directly(from_host, from_sys, NULL, op, rsc_id);
op                675 daemons/controld/controld_execd.c     lrmd_free_event(op);
op                683 daemons/controld/controld_execd.c     struct pending_deletion_op_s *op = value;
op                685 daemons/controld/controld_execd.c     if (pcmk__str_eq(event->rsc, op->rsc, pcmk__str_none)) {
op                686 daemons/controld/controld_execd.c         notify_deleted(event->lrm_state, op->input, event->rsc, event->rc);
op                744 daemons/controld/controld_execd.c last_failed_matches_op(rsc_history_t *entry, const char *op, guint interval_ms)
op                749 daemons/controld/controld_execd.c     if (op == NULL) {
op                752 daemons/controld/controld_execd.c     return (pcmk__str_eq(op, entry->failed->op_type, pcmk__str_casei)
op                791 daemons/controld/controld_execd.c cancel_op(lrm_state_t * lrm_state, const char *rsc_id, const char *key, int op, gboolean remove)
op                797 daemons/controld/controld_execd.c     CRM_CHECK(op != 0, return FALSE);
op                800 daemons/controld/controld_execd.c         local_key = make_stop_id(rsc_id, op);
op                824 daemons/controld/controld_execd.c     crm_debug("Cancelling op %d for %s (%s)", op, rsc_id, key);
op                828 daemons/controld/controld_execd.c         crm_debug("Op %d for %s (%s): cancelled", op, rsc_id, key);
op                833 daemons/controld/controld_execd.c     crm_debug("Op %d for %s (%s): Nothing to cancel", op, rsc_id, key);
op                860 daemons/controld/controld_execd.c     active_op_t *op = value;
op                862 daemons/controld/controld_execd.c     if (pcmk__str_eq(op->op_key, data->key, pcmk__str_none)) {
op                864 daemons/controld/controld_execd.c         remove = !cancel_op(data->lrm_state, data->rsc->id, key, op->call_id, data->remove);
op                983 daemons/controld/controld_execd.c             struct pending_deletion_op_s *op = NULL;
op                986 daemons/controld/controld_execd.c             op = pcmk__assert_alloc(1, sizeof(struct pending_deletion_op_s));
op                987 daemons/controld/controld_execd.c             op->rsc = pcmk__str_copy(rsc->id);
op                988 daemons/controld/controld_execd.c             op->input = copy_ha_msg_input(request);
op                989 daemons/controld/controld_execd.c             g_hash_table_insert(lrm_state->deletion_ops, ref, op);
op               1025 daemons/controld/controld_execd.c fake_op_status(lrm_state_t *lrm_state, lrmd_event_data_t *op, int op_status,
op               1028 daemons/controld/controld_execd.c     op->call_id = get_fake_call_id(lrm_state, op->rsc_id);
op               1029 daemons/controld/controld_execd.c     op->t_run = time(NULL);
op               1030 daemons/controld/controld_execd.c     op->t_rcchange = op->t_run;
op               1031 daemons/controld/controld_execd.c     lrmd__set_result(op, op_exitcode, op_status, exit_reason);
op               1100 daemons/controld/controld_execd.c     lrmd_event_data_t *op = NULL;
op               1120 daemons/controld/controld_execd.c     op = construct_op(lrm_state, action, pcmk__xe_id(xml_rsc), operation);
op               1124 daemons/controld/controld_execd.c         fake_op_status(lrm_state, op, PCMK_EXEC_DONE, PCMK_OCF_OK, NULL);
op               1126 daemons/controld/controld_execd.c         fake_op_status(lrm_state, op, op_status, rc, exit_reason);
op               1130 daemons/controld/controld_execd.c              op->rsc_id, op->op_type, op->interval_ms, op->rc, target_node);
op               1133 daemons/controld/controld_execd.c     process_lrm_event(lrm_state, op, NULL, action);
op               1134 daemons/controld/controld_execd.c     lrmd_free_event(op);
op               1164 daemons/controld/controld_execd.c     lrmd_event_data_t *op = NULL;
op               1178 daemons/controld/controld_execd.c     op = construct_op(lrm_state, xml, pcmk__xe_id(xml_rsc), "asyncmon");
op               1180 daemons/controld/controld_execd.c     free((char*) op->user_data);
op               1181 daemons/controld/controld_execd.c     op->user_data = NULL;
op               1182 daemons/controld/controld_execd.c     op->interval_ms = 0;
op               1187 daemons/controld/controld_execd.c         fake_op_status(lrm_state, op, PCMK_EXEC_ERROR,
op               1190 daemons/controld/controld_execd.c         controld_ack_event_directly(from_host, from_sys, NULL, op,
op               1192 daemons/controld/controld_execd.c         lrmd_free_event(op);
op               1199 daemons/controld/controld_execd.c         fake_op_status(lrm_state, op, PCMK_EXEC_DONE, PCMK_OCF_UNKNOWN_ERROR,
op               1201 daemons/controld/controld_execd.c         process_lrm_event(lrm_state, op, NULL, xml);
op               1202 daemons/controld/controld_execd.c         op->rc = PCMK_OCF_OK; // The request to fail the resource succeeded
op               1208 daemons/controld/controld_execd.c         fake_op_status(lrm_state, op, PCMK_EXEC_ERROR, PCMK_OCF_UNKNOWN_ERROR,
op               1212 daemons/controld/controld_execd.c     controld_ack_event_directly(from_host, from_sys, NULL, op,
op               1214 daemons/controld/controld_execd.c     lrmd_free_event(op);
op               1338 daemons/controld/controld_execd.c         lrmd_event_data_t *op = NULL;
op               1340 daemons/controld/controld_execd.c         op = construct_op(lrm_state, input->xml, rsc->id, PCMK_ACTION_DELETE);
op               1345 daemons/controld/controld_execd.c         lrmd__set_result(op, pcmk_rc2ocf(cib_rc), PCMK_EXEC_ERROR, NULL);
op               1346 daemons/controld/controld_execd.c         controld_ack_event_directly(from_host, from_sys, NULL, op, rsc->id);
op               1347 daemons/controld/controld_execd.c         lrmd_free_event(op);
op               1614 daemons/controld/controld_execd.c     lrmd_event_data_t *op = NULL;
op               1626 daemons/controld/controld_execd.c     op = lrmd_new_event(rsc_id, operation, 0);
op               1627 daemons/controld/controld_execd.c     op->type = lrmd_event_exec_complete;
op               1628 daemons/controld/controld_execd.c     op->timeout = 0;
op               1629 daemons/controld/controld_execd.c     op->start_delay = 0;
op               1630 daemons/controld/controld_execd.c     lrmd__set_result(op, PCMK_OCF_UNKNOWN, PCMK_EXEC_PENDING, NULL);
op               1635 daemons/controld/controld_execd.c         op->user_data = NULL;
op               1641 daemons/controld/controld_execd.c         op->params = pcmk__strkey_table(free, free);
op               1643 daemons/controld/controld_execd.c         pcmk__insert_dup(op->params, PCMK_XA_CRM_FEATURE_SET, CRM_FEATURE_SET);
op               1646 daemons/controld/controld_execd.c         return op;
op               1653 daemons/controld/controld_execd.c     pcmk__scan_min_int(op_delay, &op->start_delay, 0);
op               1656 daemons/controld/controld_execd.c     pcmk__scan_min_int(op_timeout, &op->timeout, 0);
op               1659 daemons/controld/controld_execd.c                               &(op->interval_ms)) != pcmk_rc_ok) {
op               1660 daemons/controld/controld_execd.c         op->interval_ms = 0;
op               1670 daemons/controld/controld_execd.c             && (op->interval_ms > 0)) {
op               1676 daemons/controld/controld_execd.c             op->timeout = (int) QB_MIN(timeout_ms, INT_MAX);
op               1681 daemons/controld/controld_execd.c         op->params = params;
op               1693 daemons/controld/controld_execd.c             op->params = params;
op               1697 daemons/controld/controld_execd.c             op->params = pcmk__strkey_table(free, free);
op               1699 daemons/controld/controld_execd.c             g_hash_table_foreach(params, copy_meta_keys, op->params);
op               1700 daemons/controld/controld_execd.c             g_hash_table_foreach(entry->stop_params, copy_instance_keys, op->params);
op               1707 daemons/controld/controld_execd.c     if (op->timeout <= 0) {
op               1708 daemons/controld/controld_execd.c         op->timeout = op->interval_ms;
op               1710 daemons/controld/controld_execd.c     if (op->start_delay < 0) {
op               1711 daemons/controld/controld_execd.c         op->start_delay = 0;
op               1715 daemons/controld/controld_execd.c     CRM_CHECK(transition != NULL, return op);
op               1717 daemons/controld/controld_execd.c     op->user_data = pcmk__str_copy(transition);
op               1719 daemons/controld/controld_execd.c     if (op->interval_ms != 0) {
op               1723 daemons/controld/controld_execd.c                     op->interval_ms);
op               1724 daemons/controld/controld_execd.c             op->interval_ms = 0;
op               1729 daemons/controld/controld_execd.c               operation, rsc_id, op->interval_ms);
op               1731 daemons/controld/controld_execd.c     return op;
op               1749 daemons/controld/controld_execd.c                             const lrmd_rsc_info_t *rsc, lrmd_event_data_t *op,
op               1756 daemons/controld/controld_execd.c     CRM_CHECK(op != NULL, return);
op               1757 daemons/controld/controld_execd.c     if (op->rsc_id == NULL) {
op               1760 daemons/controld/controld_execd.c         op->rsc_id = pcmk__str_copy(rsc_id);
op               1776 daemons/controld/controld_execd.c     crm_xml_add(iter, PCMK_XA_ID, op->rsc_id);
op               1778 daemons/controld/controld_execd.c     controld_add_resource_history_xml(iter, rsc, op,
op               1785 daemons/controld/controld_execd.c               op->rsc_id, op->op_type, op->interval_ms, op->user_data,
op               1827 daemons/controld/controld_execd.c     active_op_t *op = value;
op               1829 daemons/controld/controld_execd.c     if ((op->interval_ms != 0)
op               1830 daemons/controld/controld_execd.c         && pcmk__str_eq(op->rsc_id, event->rsc->id, pcmk__str_none)) {
op               1832 daemons/controld/controld_execd.c         crm_debug("Cancelling op %d for %s (%s)", op->call_id, op->rsc_id, (char*)key);
op               1833 daemons/controld/controld_execd.c         remove = !cancel_op(event->lrm_state, event->rsc->id, key, op->call_id, FALSE);
op               1844 daemons/controld/controld_execd.c     active_op_t *op = value;
op               1846 daemons/controld/controld_execd.c     if (op->interval_ms != 0) {
op               1847 daemons/controld/controld_execd.c         crm_info("Cancelling op %d for %s (%s)", op->call_id, op->rsc_id,
op               1849 daemons/controld/controld_execd.c         remove = !cancel_op(lrm_state, op->rsc_id, key, op->call_id, FALSE);
op               1923 daemons/controld/controld_execd.c     lrmd_event_data_t *op = NULL;
op               1965 daemons/controld/controld_execd.c     op = construct_op(lrm_state, msg, rsc->id, operation);
op               1966 daemons/controld/controld_execd.c     CRM_CHECK(op != NULL, return);
op               1968 daemons/controld/controld_execd.c     if (should_cancel_recurring(rsc->id, operation, op->interval_ms)) {
op               1981 daemons/controld/controld_execd.c                       rsc->id, operation, op->interval_ms);
op               1988 daemons/controld/controld_execd.c                pcmk__readable_action(op->op_type, op->interval_ms), rsc->id,
op               1990 daemons/controld/controld_execd.c                operation, op->interval_ms);
op               2000 daemons/controld/controld_execd.c         lrmd__set_result(op, PCMK_OCF_UNKNOWN_ERROR, PCMK_EXEC_INVALID,
op               2002 daemons/controld/controld_execd.c         controld_ack_event_directly(NULL, NULL, rsc, op, rsc->id);
op               2003 daemons/controld/controld_execd.c         lrmd_free_event(op);
op               2008 daemons/controld/controld_execd.c     controld_record_pending_op(lrm_state->node_name, rsc, op);
op               2010 daemons/controld/controld_execd.c     op_id = pcmk__op_key(rsc->id, op->op_type, op->interval_ms);
op               2012 daemons/controld/controld_execd.c     if (op->interval_ms > 0) {
op               2017 daemons/controld/controld_execd.c     rc = controld_execute_resource_agent(lrm_state, rsc->id, op->op_type,
op               2018 daemons/controld/controld_execd.c                                          op->user_data, op->interval_ms,
op               2019 daemons/controld/controld_execd.c                                          op->timeout, op->start_delay,
op               2020 daemons/controld/controld_execd.c                                          op->params, &call_id);
op               2032 daemons/controld/controld_execd.c         pending->interval_ms = op->interval_ms;
op               2037 daemons/controld/controld_execd.c         pending->user_data = pcmk__str_copy(op->user_data);
op               2044 daemons/controld/controld_execd.c         if ((op->interval_ms > 0)
op               2045 daemons/controld/controld_execd.c             && (op->start_delay > START_DELAY_THRESHOLD)) {
op               2049 daemons/controld/controld_execd.c             decode_transition_key(op->user_data, NULL, NULL, NULL, &target_rc);
op               2050 daemons/controld/controld_execd.c             lrmd__set_result(op, target_rc, PCMK_EXEC_DONE, NULL);
op               2051 daemons/controld/controld_execd.c             controld_ack_event_directly(NULL, NULL, rsc, op, rsc->id);
op               2054 daemons/controld/controld_execd.c         pending->params = op->params;
op               2055 daemons/controld/controld_execd.c         op->params = NULL;
op               2060 daemons/controld/controld_execd.c         fake_op_status(lrm_state, op, PCMK_EXEC_NOT_CONNECTED,
op               2062 daemons/controld/controld_execd.c         process_lrm_event(lrm_state, op, NULL, NULL);
op               2069 daemons/controld/controld_execd.c         fake_op_status(lrm_state, op, PCMK_EXEC_NOT_CONNECTED,
op               2071 daemons/controld/controld_execd.c         process_lrm_event(lrm_state, op, NULL, NULL);
op               2075 daemons/controld/controld_execd.c     lrmd_free_event(op);
op               2145 daemons/controld/controld_execd.c log_executor_event(const lrmd_event_data_t *op, const char *op_key,
op               2153 daemons/controld/controld_execd.c                    pcmk__readable_action(op->op_type, op->interval_ms),
op               2154 daemons/controld/controld_execd.c                    " operation for ", op->rsc_id, NULL);
op               2160 daemons/controld/controld_execd.c     switch (op->op_status) {
op               2163 daemons/controld/controld_execd.c             pcmk__g_strcat(str, ": ", services_ocf_exitcode_str(op->rc), NULL);
op               2168 daemons/controld/controld_execd.c                            ": ", pcmk_exec_status_str(op->op_status), " after ",
op               2169 daemons/controld/controld_execd.c                            pcmk__readable_interval(op->timeout), NULL);
op               2191 daemons/controld/controld_execd.c             pcmk__g_strcat(str, ": ", pcmk_exec_status_str(op->op_status),
op               2195 daemons/controld/controld_execd.c     if ((op->exit_reason != NULL)
op               2196 daemons/controld/controld_execd.c         && ((op->op_status != PCMK_EXEC_DONE) || (op->rc != PCMK_OCF_OK))) {
op               2198 daemons/controld/controld_execd.c         pcmk__g_strcat(str, " (", op->exit_reason, ")", NULL);
op               2203 daemons/controld/controld_execd.c                            (confirmed? "" : "un"), op->call_id, op_key);
op               2204 daemons/controld/controld_execd.c     if (op->op_status == PCMK_EXEC_DONE) {
op               2205 daemons/controld/controld_execd.c         g_string_append_printf(str, " rc=%d", op->rc);
op               2214 daemons/controld/controld_execd.c     if ((op->output != NULL) && (op->rc != PCMK_OCF_OK)) {
op               2216 daemons/controld/controld_execd.c                                          op->rsc_id, op->op_type,
op               2217 daemons/controld/controld_execd.c                                          op->interval_ms, node_name);
op               2219 daemons/controld/controld_execd.c         crm_log_output(LOG_NOTICE, prefix, op->output);
op               2225 daemons/controld/controld_execd.c process_lrm_event(lrm_state_t *lrm_state, lrmd_event_data_t *op,
op               2237 daemons/controld/controld_execd.c     CRM_CHECK(op != NULL, return);
op               2238 daemons/controld/controld_execd.c     CRM_CHECK(op->rsc_id != NULL, return);
op               2242 daemons/controld/controld_execd.c         switch (op->op_status) {
op               2244 daemons/controld/controld_execd.c                 lrmd__set_result(op, PCMK_OCF_CONNECTION_DIED,
op               2245 daemons/controld/controld_execd.c                                  PCMK_EXEC_ERROR, op->exit_reason);
op               2248 daemons/controld/controld_execd.c                 lrmd__set_result(op, CRM_DIRECT_NACK_RC, PCMK_EXEC_ERROR,
op               2249 daemons/controld/controld_execd.c                                  op->exit_reason);
op               2256 daemons/controld/controld_execd.c     op_id = make_stop_id(op->rsc_id, op->call_id);
op               2257 daemons/controld/controld_execd.c     op_key = pcmk__op_key(op->rsc_id, op->op_type, op->interval_ms);
op               2261 daemons/controld/controld_execd.c         rsc = lrm_state_get_rsc_info(lrm_state, op->rsc_id, 0);
op               2273 daemons/controld/controld_execd.c                      op->rsc_id, standard,
op               2275 daemons/controld/controld_execd.c             rsc = lrmd_new_rsc_info(op->rsc_id, standard, provider, type);
op               2278 daemons/controld/controld_execd.c                     op_key, op->rsc_id);
op               2296 daemons/controld/controld_execd.c     if (op->op_status == PCMK_EXEC_ERROR) {
op               2297 daemons/controld/controld_execd.c         switch(op->rc) {
op               2303 daemons/controld/controld_execd.c                 op->op_status = PCMK_EXEC_DONE;
op               2311 daemons/controld/controld_execd.c     if (op->op_status != PCMK_EXEC_CANCELLED) {
op               2318 daemons/controld/controld_execd.c         if (controld_action_is_recordable(op->op_type)) {
op               2323 daemons/controld/controld_execd.c                 controld_update_resource_history(node_name, rsc, op, lock_time);
op               2326 daemons/controld/controld_execd.c             } else if (op->rsc_deleted) {
op               2344 daemons/controld/controld_execd.c     } else if (op->interval_ms == 0) {
op               2356 daemons/controld/controld_execd.c     } else if (op->user_data == NULL) {
op               2368 daemons/controld/controld_execd.c             controld_delete_action_history(op);
op               2382 daemons/controld/controld_execd.c     } else if (op->rsc_deleted) {
op               2399 daemons/controld/controld_execd.c         controld_ack_event_directly(NULL, NULL, NULL, op, op->rsc_id);
op               2406 daemons/controld/controld_execd.c     } else if (lrm_state && ((op->interval_ms == 0)
op               2407 daemons/controld/controld_execd.c                              || (op->op_status == PCMK_EXEC_CANCELLED))) {
op               2411 daemons/controld/controld_execd.c         if (op->interval_ms != 0) {
op               2416 daemons/controld/controld_execd.c                       op_key, op->call_id, op_id,
op               2421 daemons/controld/controld_execd.c     log_executor_event(op, op_key, node_name, removed);
op               2424 daemons/controld/controld_execd.c         if (!pcmk__str_eq(op->op_type, PCMK_ACTION_META_DATA,
op               2426 daemons/controld/controld_execd.c             crmd_alert_resource_op(lrm_state->node_name, op);
op               2427 daemons/controld/controld_execd.c         } else if (rsc && (op->rc == PCMK_OCF_OK)) {
op               2428 daemons/controld/controld_execd.c             char *metadata = unescape_newlines(op->output);
op               2435 daemons/controld/controld_execd.c     if (op->rsc_deleted) {
op               2436 daemons/controld/controld_execd.c         crm_info("Deletion of resource '%s' complete after %s", op->rsc_id, op_key);
op               2438 daemons/controld/controld_execd.c             delete_rsc_entry(lrm_state, NULL, op->rsc_id, NULL, pcmk_ok, NULL,
op               2448 daemons/controld/controld_execd.c         update_history_cache(lrm_state, rsc, op);
op                 40 daemons/controld/controld_execd_state.c     struct pending_deletion_op_s *op = value;
op                 42 daemons/controld/controld_execd_state.c     free(op->rsc);
op                 43 daemons/controld/controld_execd_state.c     delete_ha_msg_input(op->input);
op                 44 daemons/controld/controld_execd_state.c     free(op);
op                 50 daemons/controld/controld_execd_state.c     active_op_t *op = value;
op                 52 daemons/controld/controld_execd_state.c     free(op->user_data);
op                 53 daemons/controld/controld_execd_state.c     free(op->rsc_id);
op                 54 daemons/controld/controld_execd_state.c     free(op->op_type);
op                 55 daemons/controld/controld_execd_state.c     free(op->op_key);
op                 56 daemons/controld/controld_execd_state.c     if (op->params) {
op                 57 daemons/controld/controld_execd_state.c         g_hash_table_destroy(op->params);
op                 59 daemons/controld/controld_execd_state.c     free(op);
op                 67 daemons/controld/controld_execd_state.c     active_op_t *op = value;
op                 70 daemons/controld/controld_execd_state.c               op->rsc_id, op->op_type, op->interval_ms,
op                 71 daemons/controld/controld_execd_state.c               lrm_state->node_name, (char*)key, op->user_data);
op                 74 daemons/controld/controld_execd_state.c     event.rsc_id = op->rsc_id;
op                 75 daemons/controld/controld_execd_state.c     event.op_type = op->op_type;
op                 76 daemons/controld/controld_execd_state.c     event.user_data = op->user_data;
op                 78 daemons/controld/controld_execd_state.c     event.interval_ms = op->interval_ms;
op                 81 daemons/controld/controld_execd_state.c     event.t_run = (unsigned int) op->start_time;
op                 82 daemons/controld/controld_execd_state.c     event.t_rcchange = (unsigned int) op->start_time;
op                 84 daemons/controld/controld_execd_state.c     event.call_id = op->call_id;
op                 86 daemons/controld/controld_execd_state.c     event.params = op->params;
op                 88 daemons/controld/controld_execd_state.c     process_lrm_event(lrm_state, &event, op, NULL);
op                496 daemons/controld/controld_execd_state.c     const char *op = crm_element_value(msg, PCMK__XA_LRMD_IPC_OP);
op                497 daemons/controld/controld_execd_state.c     if (pcmk__str_eq(op, LRMD_IPC_OP_NEW, pcmk__str_casei)) {
op                520 daemons/controld/controld_execd_state.c     } else if (pcmk__str_eq(op, LRMD_IPC_OP_SHUTDOWN_REQ, pcmk__str_casei)) {
op                544 daemons/controld/controld_execd_state.c     } else if (pcmk__str_eq(op, LRMD_IPC_OP_REQUEST, pcmk__str_casei) && proxy && proxy->is_local) {
op                848 daemons/controld/controld_fencing.c         const char *op = crm_meta_value(action->params,
op                854 daemons/controld/controld_fencing.c             if (pcmk__str_eq(PCMK_ACTION_ON, op, pcmk__str_casei)) {
op                264 daemons/controld/controld_join_client.c     const char *op = crm_element_value(input->msg, PCMK__XA_CRM_TASK);
op                267 daemons/controld/controld_join_client.c     if (!pcmk__str_eq(op, CRM_OP_JOIN_ACKNAK, pcmk__str_casei)) {
op                268 daemons/controld/controld_join_client.c         crm_trace("Ignoring op=%s message", op);
op                296 daemons/controld/controld_join_client.c                  op, welcome_from, controld_globals.dc_name);
op                713 daemons/controld/controld_join_dc.c     const char *op = crm_element_value(join_ack->msg, PCMK__XA_CRM_TASK);
op                730 daemons/controld/controld_join_dc.c     if (op == NULL) {
op                735 daemons/controld/controld_join_dc.c     if (strcmp(op, CRM_OP_JOIN_CONFIRM)) {
op                737 daemons/controld/controld_join_dc.c                   op, join_from, CRM_OP_JOIN_CONFIRM);
op                 17 daemons/controld/controld_lrm.h void lrm_op_callback(lrmd_event_data_t * op);
op                157 daemons/controld/controld_lrm.h void remote_lrm_op_callback(lrmd_event_data_t * op);
op                175 daemons/controld/controld_lrm.h void process_lrm_event(lrm_state_t *lrm_state, lrmd_event_data_t *op,
op                179 daemons/controld/controld_lrm.h                                  lrmd_event_data_t *op, const char *rsc_id);
op                205 daemons/controld/controld_messages.c     lrmd_event_data_t *op = NULL;
op                225 daemons/controld/controld_messages.c                 op = (lrmd_event_data_t *) fsa_data->data;
op                226 daemons/controld/controld_messages.c                 lrmd_free_event(op);
op                551 daemons/controld/controld_messages.c     const char *op = crm_element_value(client_msg, PCMK__XA_CRM_TASK);
op                561 daemons/controld/controld_messages.c     if (!pcmk__str_eq(CRM_OP_HELLO, op, pcmk__str_casei)) {
op                628 daemons/controld/controld_messages.c     const char *op = NULL;
op                647 daemons/controld/controld_messages.c             op = crm_element_value(xml_attrs,
op                672 daemons/controld/controld_messages.c     update_attrd_clear_failures(uname, rsc, op, interval_spec, is_remote_node);
op                675 daemons/controld/controld_messages.c     controld_cib_delete_last_failure(rsc, uname, op, interval_ms);
op                677 daemons/controld/controld_messages.c     lrm_clear_last_failure(rsc, uname, op, interval_ms);
op                738 daemons/controld/controld_messages.c             lrmd_event_data_t *op = NULL;
op                753 daemons/controld/controld_messages.c             op = lrmd_new_event(rsc_id, PCMK_ACTION_DELETE, 0);
op                754 daemons/controld/controld_messages.c             op->type = lrmd_event_exec_complete;
op                755 daemons/controld/controld_messages.c             op->user_data = pcmk__str_copy(pcmk__s(transition, FAKE_TE_ID));
op                756 daemons/controld/controld_messages.c             op->params = pcmk__strkey_table(free, free);
op                757 daemons/controld/controld_messages.c             pcmk__insert_dup(op->params, PCMK_XA_CRM_FEATURE_SET,
op                759 daemons/controld/controld_messages.c             controld_rc2event(op, rc);
op                760 daemons/controld/controld_messages.c             controld_ack_event_directly(from_host, from_sys, NULL, op, rsc_id);
op                761 daemons/controld/controld_messages.c             lrmd_free_event(op);
op               1040 daemons/controld/controld_messages.c     const char *op = crm_element_value(stored_msg, PCMK__XA_CRM_TASK);
op               1045 daemons/controld/controld_messages.c     if (op == NULL) {
op               1050 daemons/controld/controld_messages.c     if (strcmp(op, CRM_OP_SHUTDOWN_REQ) == 0) {
op               1063 daemons/controld/controld_messages.c         if (strcmp(op, CRM_OP_JOIN_ANNOUNCE) == 0) {
op               1066 daemons/controld/controld_messages.c         } else if (strcmp(op, CRM_OP_JOIN_REQUEST) == 0) {
op               1069 daemons/controld/controld_messages.c         } else if (strcmp(op, CRM_OP_JOIN_CONFIRM) == 0) {
op               1072 daemons/controld/controld_messages.c         } else if (strcmp(op, CRM_OP_SHUTDOWN) == 0) {
op               1075 daemons/controld/controld_messages.c         } else if (strcmp(op, CRM_OP_SHUTDOWN_REQ) == 0) {
op               1082 daemons/controld/controld_messages.c     if (strcmp(op, CRM_OP_NOVOTE) == 0) {
op               1090 daemons/controld/controld_messages.c     } else if (strcmp(op, CRM_OP_REMOTE_STATE) == 0) {
op               1094 daemons/controld/controld_messages.c     } else if (strcmp(op, CRM_OP_THROTTLE) == 0) {
op               1104 daemons/controld/controld_messages.c     } else if (strcmp(op, CRM_OP_CLEAR_FAILCOUNT) == 0) {
op               1107 daemons/controld/controld_messages.c     } else if (strcmp(op, CRM_OP_VOTE) == 0) {
op               1122 daemons/controld/controld_messages.c     } else if (strcmp(op, CRM_OP_JOIN_OFFER) == 0) {
op               1128 daemons/controld/controld_messages.c     } else if (strcmp(op, CRM_OP_JOIN_ACKNAK) == 0) {
op               1133 daemons/controld/controld_messages.c     } else if (strcmp(op, CRM_OP_LRM_DELETE) == 0) {
op               1136 daemons/controld/controld_messages.c     } else if ((strcmp(op, CRM_OP_LRM_FAIL) == 0)
op               1137 daemons/controld/controld_messages.c                || (strcmp(op, CRM_OP_LRM_REFRESH) == 0) // @COMPAT
op               1138 daemons/controld/controld_messages.c                || (strcmp(op, CRM_OP_REPROBE) == 0)) {
op               1143 daemons/controld/controld_messages.c     } else if (strcmp(op, CRM_OP_NOOP) == 0) {
op               1146 daemons/controld/controld_messages.c     } else if (strcmp(op, CRM_OP_PING) == 0) {
op               1149 daemons/controld/controld_messages.c     } else if (strcmp(op, CRM_OP_NODE_INFO) == 0) {
op               1152 daemons/controld/controld_messages.c     } else if (strcmp(op, CRM_OP_RM_NODE_CACHE) == 0) {
op               1178 daemons/controld/controld_messages.c     } else if (strcmp(op, CRM_OP_MAINTENANCE_NODES) == 0) {
op               1185 daemons/controld/controld_messages.c     } else if (strcmp(op, PCMK__CONTROLD_CMD_NODES) == 0) {
op               1191 daemons/controld/controld_messages.c         if (strcmp(op, CRM_OP_SHUTDOWN) == 0) {
op               1196 daemons/controld/controld_messages.c         crm_err("Unexpected request (%s) sent to %s", op, AM_I_DC ? "the DC" : "non-DC node");
op               1206 daemons/controld/controld_messages.c     const char *op = crm_element_value(stored_msg, PCMK__XA_CRM_TASK);
op               1209 daemons/controld/controld_messages.c     if (op == NULL) {
op               1212 daemons/controld/controld_messages.c     } else if (AM_I_DC && strcmp(op, CRM_OP_PECALC) == 0) {
op               1217 daemons/controld/controld_messages.c             crm_err("%s - Ignoring calculation with no reference", op);
op               1228 daemons/controld/controld_messages.c             crm_info("%s calculation %s is obsolete", op, msg_ref);
op               1231 daemons/controld/controld_messages.c     } else if (strcmp(op, CRM_OP_VOTE) == 0
op               1232 daemons/controld/controld_messages.c                || strcmp(op, CRM_OP_SHUTDOWN_REQ) == 0 || strcmp(op, CRM_OP_SHUTDOWN) == 0) {
op               1238 daemons/controld/controld_messages.c                 op, host_from, AM_I_DC ? "DC" : "controller");
op                460 daemons/controld/controld_remote_ra.c     lrmd_event_data_t op = { 0, };
op                464 daemons/controld/controld_remote_ra.c     op.type = lrmd_event_exec_complete;
op                465 daemons/controld/controld_remote_ra.c     op.rsc_id = cmd->rsc_id;
op                466 daemons/controld/controld_remote_ra.c     op.op_type = cmd->action;
op                467 daemons/controld/controld_remote_ra.c     op.user_data = cmd->userdata;
op                468 daemons/controld/controld_remote_ra.c     op.timeout = cmd->timeout;
op                469 daemons/controld/controld_remote_ra.c     op.interval_ms = cmd->interval_ms;
op                470 daemons/controld/controld_remote_ra.c     op.t_run = (unsigned int) cmd->start_time;
op                471 daemons/controld/controld_remote_ra.c     op.t_rcchange = (unsigned int) cmd->start_time;
op                473 daemons/controld/controld_remote_ra.c     lrmd__set_result(&op, cmd->result.exit_status, cmd->result.execution_status,
op                477 daemons/controld/controld_remote_ra.c         op.t_rcchange = (unsigned int) time(NULL);
op                487 daemons/controld/controld_remote_ra.c         if (op.t_rcchange == op.t_run) {
op                488 daemons/controld/controld_remote_ra.c             op.t_rcchange++;
op                495 daemons/controld/controld_remote_ra.c         op.params = pcmk__strkey_table(free, free);
op                497 daemons/controld/controld_remote_ra.c             pcmk__insert_dup(op.params, tmp->key, tmp->value);
op                501 daemons/controld/controld_remote_ra.c     op.call_id = cmd->call_id;
op                502 daemons/controld/controld_remote_ra.c     op.remote_nodename = cmd->owner;
op                504 daemons/controld/controld_remote_ra.c     lrm_op_callback(&op);
op                506 daemons/controld/controld_remote_ra.c     if (op.params) {
op                507 daemons/controld/controld_remote_ra.c         g_hash_table_destroy(op.params);
op                509 daemons/controld/controld_remote_ra.c     lrmd__reset_result(&op);
op                614 daemons/controld/controld_remote_ra.c     lrmd_event_data_t op = { 0, };
op                622 daemons/controld/controld_remote_ra.c     op.type = lrmd_event_exec_complete;
op                623 daemons/controld/controld_remote_ra.c     op.rsc_id = rsc_id;
op                624 daemons/controld/controld_remote_ra.c     op.op_type = op_type;
op                625 daemons/controld/controld_remote_ra.c     op.t_run = (unsigned int) time(NULL);
op                626 daemons/controld/controld_remote_ra.c     op.t_rcchange = op.t_run;
op                627 daemons/controld/controld_remote_ra.c     op.call_id = generate_callid();
op                628 daemons/controld/controld_remote_ra.c     lrmd__set_result(&op, PCMK_OCF_OK, PCMK_EXEC_DONE, NULL);
op                629 daemons/controld/controld_remote_ra.c     process_lrm_event(lrm_state, &op, NULL, NULL);
op                633 daemons/controld/controld_remote_ra.c remote_lrm_op_callback(lrmd_event_data_t * op)
op                642 daemons/controld/controld_remote_ra.c               (op->op_type? op->op_type : ""), (op->op_type? " " : ""),
op                643 daemons/controld/controld_remote_ra.c               lrmd_event_type2str(op->type), op->remote_nodename,
op                644 daemons/controld/controld_remote_ra.c               services_ocf_exitcode_str(op->rc), op->rc,
op                645 daemons/controld/controld_remote_ra.c               pcmk_exec_status_str(op->op_status), op->op_status);
op                647 daemons/controld/controld_remote_ra.c     lrm_state = lrm_state_find(op->remote_nodename);
op                654 daemons/controld/controld_remote_ra.c     if (op->type == lrmd_event_new_client) {
op                664 daemons/controld/controld_remote_ra.c                     "unexpected client takeover", op->remote_nodename);
op                674 daemons/controld/controld_remote_ra.c     if (op->type == lrmd_event_exec_complete) {
op                678 daemons/controld/controld_remote_ra.c             lrm_op_callback(op);
op                683 daemons/controld/controld_remote_ra.c     if ((op->type == lrmd_event_disconnect) && (ra_data->cur_cmd == NULL)) {
op                717 daemons/controld/controld_remote_ra.c     if ((op->type == lrmd_event_connect)
op                720 daemons/controld/controld_remote_ra.c         if (op->connection_rc < 0) {
op                723 daemons/controld/controld_remote_ra.c             if ((op->connection_rc == -ENOKEY)
op                724 daemons/controld/controld_remote_ra.c                 || (op->connection_rc == -EKEYREJECTED)) {
op                728 daemons/controld/controld_remote_ra.c                                  pcmk_strerror(op->connection_rc));
op                741 daemons/controld/controld_remote_ra.c                                     pcmk_strerror(op->connection_rc));
op                754 daemons/controld/controld_remote_ra.c     } else if ((op->type == lrmd_event_poke)
op                783 daemons/controld/controld_remote_ra.c     } else if ((op->type == lrmd_event_disconnect)
op                798 daemons/controld/controld_remote_ra.c     } else if ((op->type == lrmd_event_new_client)
op                219 daemons/controld/controld_te_actions.c     lrmd_event_data_t *op = NULL;
op                239 daemons/controld/controld_te_actions.c     op = pcmk__event_from_graph_action(NULL, action, PCMK_EXEC_TIMEOUT,
op                241 daemons/controld/controld_te_actions.c     op->call_id = -1;
op                242 daemons/controld/controld_te_actions.c     op->user_data = pcmk__transition_key(controld_globals.transition_graph->id,
op                246 daemons/controld/controld_te_actions.c     return op;
op                251 daemons/controld/controld_te_actions.c                              lrmd_event_data_t *op)
op                306 daemons/controld/controld_te_actions.c     pcmk__create_history_xml(rsc, op, CRM_FEATURE_SET, target_rc, target,
op                322 daemons/controld/controld_te_actions.c     lrmd_event_data_t *op = NULL;
op                333 daemons/controld/controld_te_actions.c     op = synthesize_timeout_event(action, target_rc);
op                334 daemons/controld/controld_te_actions.c     controld_record_action_event(action, op);
op                335 daemons/controld/controld_te_actions.c     lrmd_free_event(op);
op                228 daemons/controld/controld_te_callbacks.c                          const char *op, const char *xpath)
op                298 daemons/controld/controld_te_callbacks.c abort_unless_down(const char *xpath, const char *op, xmlNode *change,
op                304 daemons/controld/controld_te_callbacks.c     if (!pcmk__str_eq(op, PCMK_VALUE_DELETE, pcmk__str_none)) {
op                360 daemons/controld/controld_te_callbacks.c process_delete_diff(const char *xpath, const char *op, xmlNode *change)
op                366 daemons/controld/controld_te_callbacks.c         abort_unless_down(xpath, op, change, "Resource state removal");
op                369 daemons/controld/controld_te_callbacks.c         abort_unless_down(xpath, op, change, "Node state removal");
op                377 daemons/controld/controld_te_callbacks.c process_node_state_diff(xmlNode *state, xmlNode *change, const char *op,
op                382 daemons/controld/controld_te_callbacks.c     process_resource_updates(pcmk__xe_id(state), lrm, change, op, xpath);
op                386 daemons/controld/controld_te_callbacks.c process_status_diff(xmlNode *status, xmlNode *change, const char *op,
op                392 daemons/controld/controld_te_callbacks.c         process_node_state_diff(state, change, op, xpath);
op                397 daemons/controld/controld_te_callbacks.c process_cib_diff(xmlNode *cib, xmlNode *change, const char *op,
op                405 daemons/controld/controld_te_callbacks.c         process_status_diff(status, change, op, xpath);
op                421 daemons/controld/controld_te_callbacks.c     const char *op = crm_element_value(change, PCMK_XA_OPERATION);
op                424 daemons/controld/controld_te_callbacks.c     if (op == NULL) {
op                428 daemons/controld/controld_te_callbacks.c         crm_trace("Ignoring %s change for version field", op);
op                431 daemons/controld/controld_te_callbacks.c     } else if ((strcmp(op, PCMK_VALUE_MOVE) == 0)
op                443 daemons/controld/controld_te_callbacks.c     if (strcmp(op, PCMK_VALUE_CREATE) == 0) {
op                446 daemons/controld/controld_te_callbacks.c     } else if (strcmp(op, PCMK_VALUE_MODIFY) == 0) {
op                452 daemons/controld/controld_te_callbacks.c     } else if (!pcmk__str_any_of(op,
op                456 daemons/controld/controld_te_callbacks.c                  op, xpath);
op                462 daemons/controld/controld_te_callbacks.c             crm_trace("Ignoring %s operation for comment at %s", op, xpath);
op                469 daemons/controld/controld_te_callbacks.c               op, (xpath? xpath : "CIB"),
op                486 daemons/controld/controld_te_callbacks.c         abort_unless_down(xpath, op, change, "Transient attribute change");
op                489 daemons/controld/controld_te_callbacks.c     } else if (strcmp(op, PCMK_VALUE_DELETE) == 0) {
op                490 daemons/controld/controld_te_callbacks.c         process_delete_diff(xpath, op, change);
op                494 daemons/controld/controld_te_callbacks.c                  op, xpath);
op                497 daemons/controld/controld_te_callbacks.c         process_cib_diff(match, change, op, xpath);
op                500 daemons/controld/controld_te_callbacks.c         process_status_diff(match, change, op, xpath);
op                503 daemons/controld/controld_te_callbacks.c         process_node_state_diff(match, change, op, xpath);
op                506 daemons/controld/controld_te_callbacks.c         process_resource_updates(pcmk__xe_id(match), match, change, op,
op                512 daemons/controld/controld_te_callbacks.c         process_resource_updates(local_node, match, change, op, xpath);
op                529 daemons/controld/controld_te_callbacks.c                  op, xpath, name);
op                547 daemons/controld/controld_te_callbacks.c     const char *op = NULL;
op                573 daemons/controld/controld_te_callbacks.c     op = crm_element_value(msg, PCMK__XA_CIB_OP);
op                579 daemons/controld/controld_te_callbacks.c     crm_debug("Processing (%s) diff: %d.%d.%d -> %d.%d.%d (%s)", op,
op                422 daemons/controld/controld_te_utils.c         const char *op = crm_element_value(change, PCMK_XA_OPERATION);
op                426 daemons/controld/controld_te_utils.c             if (strcmp(op, PCMK_VALUE_CREATE) == 0) {
op                429 daemons/controld/controld_te_utils.c             } else if (strcmp(op, PCMK_VALUE_MODIFY) == 0) {
op                439 daemons/controld/controld_te_utils.c         if (strcmp(op, PCMK_VALUE_DELETE) == 0) {
op                453 daemons/controld/controld_te_utils.c                        crm_element_value(reason, PCMK_XA_ID), op,
op                466 daemons/controld/controld_te_utils.c                        crm_element_value(reason, PCMK__XA_OPERATION_KEY), op,
op                479 daemons/controld/controld_te_utils.c                        reason->name, op, pcmk__s(uname, pcmk__xe_id(reason)),
op                489 daemons/controld/controld_te_utils.c                        reason->name, pcmk__s(id, ""), pcmk__s(op, "change"),
op                 49 daemons/controld/controld_utils.h                                  const char *op, const char *interval_spec,
op                697 daemons/execd/execd_commands.c         const char *op = crm_element_value(request, PCMK__XA_LRMD_OP);
op                705 daemons/execd/execd_commands.c         crm_xml_add(notify, PCMK__XA_LRMD_OP, op);
op               1123 daemons/execd/execd_commands.c         for (GList *op = rsc->recurring_ops; op != NULL; op = op->next) {
op               1124 daemons/execd/execd_commands.c             lrmd_cmd_t *cmd = op->data;
op               1505 daemons/execd/execd_commands.c             const char *op = crm_element_value(request, PCMK__XA_LRMD_OP);
op               1513 daemons/execd/execd_commands.c             if (pcmk__str_eq(op, CRM_OP_REGISTER, pcmk__str_none) &&
op               1834 daemons/execd/execd_commands.c     const char *op = crm_element_value(request, PCMK__XA_LRMD_OP);
op               1845 daemons/execd/execd_commands.c     crm_trace("Processing %s operation from %s", op, client->id);
op               1848 daemons/execd/execd_commands.c     if (pcmk__str_eq(op, CRM_OP_IPC_FWD, pcmk__str_none)) {
op               1859 daemons/execd/execd_commands.c     } else if (pcmk__str_eq(op, CRM_OP_REGISTER, pcmk__str_none)) {
op               1862 daemons/execd/execd_commands.c     } else if (pcmk__str_eq(op, LRMD_OP_RSC_REG, pcmk__str_none)) {
op               1870 daemons/execd/execd_commands.c     } else if (pcmk__str_eq(op, LRMD_OP_RSC_INFO, pcmk__str_none)) {
op               1877 daemons/execd/execd_commands.c     } else if (pcmk__str_eq(op, LRMD_OP_RSC_UNREG, pcmk__str_none)) {
op               1888 daemons/execd/execd_commands.c     } else if (pcmk__str_eq(op, LRMD_OP_RSC_EXEC, pcmk__str_none)) {
op               1895 daemons/execd/execd_commands.c     } else if (pcmk__str_eq(op, LRMD_OP_RSC_CANCEL, pcmk__str_none)) {
op               1902 daemons/execd/execd_commands.c     } else if (pcmk__str_eq(op, LRMD_OP_POKE, pcmk__str_none)) {
op               1905 daemons/execd/execd_commands.c     } else if (pcmk__str_eq(op, LRMD_OP_CHECK, pcmk__str_none)) {
op               1920 daemons/execd/execd_commands.c     } else if (pcmk__str_eq(op, LRMD_OP_ALERT_EXEC, pcmk__str_none)) {
op               1927 daemons/execd/execd_commands.c     } else if (pcmk__str_eq(op, LRMD_OP_GET_RECURRING, pcmk__str_none)) {
op               1938 daemons/execd/execd_commands.c                 op, pcmk__client_name(client));
op               1943 daemons/execd/execd_commands.c                  op, pcmk__client_name(client));
op               1947 daemons/execd/execd_commands.c               op, client->id, rc, do_reply, do_notify);
op                336 daemons/fenced/fenced_cib.c         const char *op = crm_element_value(change, PCMK_XA_OPERATION);
op                340 daemons/fenced/fenced_cib.c         if (pcmk__str_eq(op, PCMK_VALUE_MOVE, pcmk__str_null_matches)
op                345 daemons/fenced/fenced_cib.c         if (pcmk__str_eq(op, PCMK_VALUE_DELETE, pcmk__str_none)
op                378 daemons/fenced/fenced_cib.c             reason = crm_strdup_printf("%s %s", op, shortpath+1);
op                549 daemons/fenced/fenced_cib.c             const char *op = crm_element_value(change, PCMK_XA_OPERATION);
op                552 daemons/fenced/fenced_cib.c             if(op == NULL) {
op                558 daemons/fenced/fenced_cib.c                 crm_trace("Handling %s operation %d.%d.%d for %s", op, add[0], add[1], add[2], xpath);
op                559 daemons/fenced/fenced_cib.c                 if (strcmp(op, PCMK_VALUE_MOVE) == 0) {
op                562 daemons/fenced/fenced_cib.c                 } else if (strcmp(op, PCMK_VALUE_CREATE) == 0) {
op                565 daemons/fenced/fenced_cib.c                 } else if (strcmp(op, PCMK_VALUE_MODIFY) == 0) {
op                575 daemons/fenced/fenced_cib.c                 } else if (strcmp(op, PCMK_VALUE_DELETE) == 0) {
op                578 daemons/fenced/fenced_cib.c                              op, add[0], add[1], add[2], xpath);
op                586 daemons/fenced/fenced_cib.c                          op, add[0], add[1], add[2], xpath);
op                595 daemons/fenced/fenced_cib.c                               op, add[0], add[1], add[2], xpath);
op                597 daemons/fenced/fenced_cib.c                 } else if (pcmk__str_any_of(op,
op                601 daemons/fenced/fenced_cib.c                              op, add[0], add[1], add[2], xpath);
op                608 daemons/fenced/fenced_cib.c                           op, add[0], add[1], add[2], xpath);
op                 90 daemons/fenced/fenced_commands.c     char *op;
op                323 daemons/fenced/fenced_commands.c     free(cmd->op);
op                341 daemons/fenced/fenced_commands.c     xmlNode *op = NULL;
op                348 daemons/fenced/fenced_commands.c     op = get_xpath_object("//@" PCMK__XE_ST_DEVICE_ACTION, msg, LOG_ERR);
op                349 daemons/fenced/fenced_commands.c     if (op == NULL) {
op                356 daemons/fenced/fenced_commands.c     cmd->action = crm_element_value_copy(op, PCMK__XA_ST_DEVICE_ACTION);
op                357 daemons/fenced/fenced_commands.c     cmd->op = crm_element_value_copy(msg, PCMK__XA_ST_OP);
op                359 daemons/fenced/fenced_commands.c     if ((cmd->action == NULL) || (cmd->op == NULL) || (cmd->client == NULL)) {
op                373 daemons/fenced/fenced_commands.c     cmd->target = crm_element_value_copy(op, PCMK__XA_ST_TARGET);
op                374 daemons/fenced/fenced_commands.c     cmd->device = crm_element_value_copy(op, PCMK__XA_ST_DEVICE_ID);
op               1957 daemons/fenced/fenced_commands.c     xmlNode *op = get_xpath_object("//@" PCMK__XE_ST_DEVICE_ACTION, msg,
op               1960 daemons/fenced/fenced_commands.c     const char *action = crm_element_value(op, PCMK__XA_ST_DEVICE_ACTION);
op               2682 daemons/fenced/fenced_commands.c         crm_xml_add(notify_data, PCMK__XA_ST_OP, cmd->op);
op               3038 daemons/fenced/fenced_commands.c     crm_xml_add(reply, PCMK__XA_ST_OP, cmd->op);
op               3044 daemons/fenced/fenced_commands.c     crm_xml_add(reply, PCMK__XA_ST_DEVICE_ACTION, cmd->op);
op               3066 daemons/fenced/fenced_commands.c set_fencing_completed(remote_fencing_op_t *op)
op               3071 daemons/fenced/fenced_commands.c     op->completed = tv.tv_sec;
op               3072 daemons/fenced/fenced_commands.c     op->completed_nsec = tv.tv_nsec;
op               3175 daemons/fenced/fenced_commands.c is_privileged(const pcmk__client_t *c, const char *op)
op               3181 daemons/fenced/fenced_commands.c                  pcmk__s(op, ""), pcmk__client_name(c));
op               3384 daemons/fenced/fenced_commands.c             remote_fencing_op_t *op = NULL;
op               3399 daemons/fenced/fenced_commands.c             op = create_remote_stonith_op(client_id, request->xml, FALSE);
op               3404 daemons/fenced/fenced_commands.c             crm_xml_add(request->xml, PCMK__XA_ST_REMOTE_OP, op->id);
op               3449 daemons/fenced/fenced_commands.c     const char *op = crm_element_value(request->xml, PCMK__XA_ST_OP);
op               3453 daemons/fenced/fenced_commands.c     if (is_privileged(request->ipc_client, op)) {
op               3465 daemons/fenced/fenced_commands.c     fenced_send_config_notification(op, &request->result,
op               3477 daemons/fenced/fenced_commands.c     const char *op = crm_element_value(request->xml, PCMK__XA_ST_OP);
op               3479 daemons/fenced/fenced_commands.c     if (is_privileged(request->ipc_client, op)) {
op               3487 daemons/fenced/fenced_commands.c     fenced_send_config_notification(op, &request->result, device_id);
op               3496 daemons/fenced/fenced_commands.c     const char *op = crm_element_value(request->xml, PCMK__XA_ST_OP);
op               3498 daemons/fenced/fenced_commands.c     if (is_privileged(request->ipc_client, op)) {
op               3506 daemons/fenced/fenced_commands.c     fenced_send_config_notification(op, &request->result, desc);
op               3516 daemons/fenced/fenced_commands.c     const char *op = crm_element_value(request->xml, PCMK__XA_ST_OP);
op               3518 daemons/fenced/fenced_commands.c     if (is_privileged(request->ipc_client, op)) {
op               3526 daemons/fenced/fenced_commands.c     fenced_send_config_notification(op, &request->result, desc);
op               3549 daemons/fenced/fenced_commands.c             request->op, pcmk__request_origin_type(request),
op               3552 daemons/fenced/fenced_commands.c                         "Unknown IPC request type '%s' (bug?)", request->op);
op               3617 daemons/fenced/fenced_commands.c               request->op, pcmk__request_origin_type(request),
op               3629 daemons/fenced/fenced_commands.c     char *op = crm_element_value_copy(request, PCMK__XA_ST_OP);
op               3631 daemons/fenced/fenced_commands.c     if (pcmk__str_eq(op, STONITH_OP_QUERY, pcmk__str_none)) {
op               3634 daemons/fenced/fenced_commands.c     } else if (pcmk__str_any_of(op, STONITH_OP_NOTIFY, STONITH_OP_FENCE,
op               3640 daemons/fenced/fenced_commands.c                 pcmk__s(op, "untyped"), ((client == NULL)? "peer" : "client"),
op               3643 daemons/fenced/fenced_commands.c         free(op);
op               3647 daemons/fenced/fenced_commands.c               op, ((client == NULL)? "peer" : "client"),
op               3649 daemons/fenced/fenced_commands.c     free(op);
op               3699 daemons/fenced/fenced_commands.c         request.op = crm_element_value_copy(request.xml, PCMK__XA_ST_OP);
op               3700 daemons/fenced/fenced_commands.c         CRM_CHECK(request.op != NULL, return);
op                 68 daemons/fenced/fenced_history.c     remote_fencing_op_t *op = value;
op                 71 daemons/fenced/fenced_history.c     if ((op->state == st_failed) || (op->state == st_done)) {
op                 72 daemons/fenced/fenced_history.c         if ((target) && (strcmp(op->target, target) != 0)) {
op                190 daemons/fenced/fenced_history.c     const remote_fencing_op_t *op = data;
op                192 daemons/fenced/fenced_history.c     if (!stonith__op_state_pending(op->state)) {
op                193 daemons/fenced/fenced_history.c         g_hash_table_remove(stonith_remote_op_list, op->id);
op                247 daemons/fenced/fenced_history.c         remote_fencing_op_t *op = NULL;
op                262 daemons/fenced/fenced_history.c         op = pcmk__assert_alloc(1, sizeof(remote_fencing_op_t));
op                264 daemons/fenced/fenced_history.c         op->id = id;
op                265 daemons/fenced/fenced_history.c         op->target = crm_element_value_copy(xml_op, PCMK__XA_ST_TARGET);
op                266 daemons/fenced/fenced_history.c         op->action = crm_element_value_copy(xml_op, PCMK__XA_ST_DEVICE_ACTION);
op                267 daemons/fenced/fenced_history.c         op->originator = crm_element_value_copy(xml_op, PCMK__XA_ST_ORIGIN);
op                268 daemons/fenced/fenced_history.c         op->delegate = crm_element_value_copy(xml_op, PCMK__XA_ST_DELEGATE);
op                269 daemons/fenced/fenced_history.c         op->client_name = crm_element_value_copy(xml_op,
op                272 daemons/fenced/fenced_history.c         op->completed = (time_t) completed;
op                274 daemons/fenced/fenced_history.c         op->completed_nsec = completed_nsec;
op                276 daemons/fenced/fenced_history.c         op->state = (enum op_state) state;
op                288 daemons/fenced/fenced_history.c         pcmk__set_result(&op->result, exit_status, execution_status,
op                290 daemons/fenced/fenced_history.c         pcmk__set_result_output(&op->result,
op                296 daemons/fenced/fenced_history.c         g_hash_table_replace(rv, id, op);
op                321 daemons/fenced/fenced_history.c     remote_fencing_op_t *op = NULL;
op                331 daemons/fenced/fenced_history.c             while (g_hash_table_iter_next(&iter, (void **)&id, (void **)&op)) {
op                336 daemons/fenced/fenced_history.c                         g_hash_table_lookup(remote_history, op->id);
op                339 daemons/fenced/fenced_history.c                         if (stonith__op_state_pending(op->state)
op                345 daemons/fenced/fenced_history.c                                       op->id, stonith_op_state_str(op->state),
op                348 daemons/fenced/fenced_history.c                             g_hash_table_steal(remote_history, op->id);
op                349 daemons/fenced/fenced_history.c                             op->id = remote_op->id;
op                356 daemons/fenced/fenced_history.c                         } else if (!stonith__op_state_pending(op->state)
op                362 daemons/fenced/fenced_history.c                                       op->id, stonith_op_state_str(op->state),
op                365 daemons/fenced/fenced_history.c                             g_hash_table_remove(remote_history, op->id);
op                368 daemons/fenced/fenced_history.c                             g_hash_table_remove(remote_history, op->id);
op                374 daemons/fenced/fenced_history.c                 if (!pcmk__str_eq(target, op->target, pcmk__str_null_matches)) {
op                379 daemons/fenced/fenced_history.c                 crm_trace("Attaching op %s", op->id);
op                382 daemons/fenced/fenced_history.c                     crm_xml_add(entry, PCMK__XA_ST_REMOTE_OP, op->id);
op                384 daemons/fenced/fenced_history.c                 crm_xml_add(entry, PCMK__XA_ST_TARGET, op->target);
op                385 daemons/fenced/fenced_history.c                 crm_xml_add(entry, PCMK__XA_ST_DEVICE_ACTION, op->action);
op                386 daemons/fenced/fenced_history.c                 crm_xml_add(entry, PCMK__XA_ST_ORIGIN, op->originator);
op                387 daemons/fenced/fenced_history.c                 crm_xml_add(entry, PCMK__XA_ST_DELEGATE, op->delegate);
op                388 daemons/fenced/fenced_history.c                 crm_xml_add(entry, PCMK__XA_ST_CLIENTNAME, op->client_name);
op                389 daemons/fenced/fenced_history.c                 crm_xml_add_ll(entry, PCMK__XA_ST_DATE, op->completed);
op                391 daemons/fenced/fenced_history.c                                op->completed_nsec);
op                392 daemons/fenced/fenced_history.c                 crm_xml_add_int(entry, PCMK__XA_ST_STATE, op->state);
op                393 daemons/fenced/fenced_history.c                 stonith__xe_set_result(entry, &op->result);
op                403 daemons/fenced/fenced_history.c         while (g_hash_table_iter_next(&iter, NULL, (void **)&op)) {
op                404 daemons/fenced/fenced_history.c             if (stonith__op_state_pending(op->state) &&
op                405 daemons/fenced/fenced_history.c                 pcmk__str_eq(op->originator, stonith_our_uname, pcmk__str_casei)) {
op                408 daemons/fenced/fenced_history.c                          "known only from peer history", op->id);
op                409 daemons/fenced/fenced_history.c                 op->state = st_failed;
op                410 daemons/fenced/fenced_history.c                 set_fencing_completed(op);
op                415 daemons/fenced/fenced_history.c                 pcmk__set_result(&op->result, CRM_EX_EXPIRED, PCMK_EXEC_INVALID,
op                418 daemons/fenced/fenced_history.c                 fenced_broadcast_op_result(op, false);
op                422 daemons/fenced/fenced_history.c             g_hash_table_replace(stonith_remote_op_list, op->id, op);
op                 80 daemons/fenced/fenced_remote.c extern xmlNode *stonith_create_op(int call_id, const char *token, const char *op, xmlNode * data,
op                 83 daemons/fenced/fenced_remote.c static void request_peer_fencing(remote_fencing_op_t *op,
op                 85 daemons/fenced/fenced_remote.c static void finalize_op(remote_fencing_op_t *op, xmlNode *data, bool dup);
op                 86 daemons/fenced/fenced_remote.c static void report_timeout_period(remote_fencing_op_t * op, int op_timeout);
op                 87 daemons/fenced/fenced_remote.c static int get_op_total_timeout(const remote_fencing_op_t *op,
op                118 daemons/fenced/fenced_remote.c     const remote_fencing_op_t *op;
op                138 daemons/fenced/fenced_remote.c     if (!props->executed[data->op->phase]
op                157 daemons/fenced/fenced_remote.c count_peer_devices(const remote_fencing_op_t *op,
op                162 daemons/fenced/fenced_remote.c     data.op = op;
op                183 daemons/fenced/fenced_remote.c find_peer_device(const remote_fencing_op_t *op, const peer_device_info_t *peer,
op                191 daemons/fenced/fenced_remote.c     return (props && !props->executed[op->phase]
op                192 daemons/fenced/fenced_remote.c            && !props->disallowed[op->phase])? props : NULL;
op                207 daemons/fenced/fenced_remote.c grab_peer_device(const remote_fencing_op_t *op, peer_device_info_t *peer,
op                210 daemons/fenced/fenced_remote.c     device_properties_t *props = find_peer_device(op, peer, device,
op                211 daemons/fenced/fenced_remote.c                                                   fenced_support_flag(op->action));
op                218 daemons/fenced/fenced_remote.c               device, peer->host, count_peer_devices(op, peer, FALSE, st_device_supports_none));
op                219 daemons/fenced/fenced_remote.c     props->executed[op->phase] = TRUE;
op                224 daemons/fenced/fenced_remote.c clear_remote_op_timers(remote_fencing_op_t * op)
op                226 daemons/fenced/fenced_remote.c     if (op->query_timer) {
op                227 daemons/fenced/fenced_remote.c         g_source_remove(op->query_timer);
op                228 daemons/fenced/fenced_remote.c         op->query_timer = 0;
op                230 daemons/fenced/fenced_remote.c     if (op->op_timer_total) {
op                231 daemons/fenced/fenced_remote.c         g_source_remove(op->op_timer_total);
op                232 daemons/fenced/fenced_remote.c         op->op_timer_total = 0;
op                234 daemons/fenced/fenced_remote.c     if (op->op_timer_one) {
op                235 daemons/fenced/fenced_remote.c         g_source_remove(op->op_timer_one);
op                236 daemons/fenced/fenced_remote.c         op->op_timer_one = 0;
op                243 daemons/fenced/fenced_remote.c     remote_fencing_op_t *op = data;
op                245 daemons/fenced/fenced_remote.c     crm_log_xml_debug(op->request, "Destroying");
op                247 daemons/fenced/fenced_remote.c     clear_remote_op_timers(op);
op                249 daemons/fenced/fenced_remote.c     free(op->id);
op                250 daemons/fenced/fenced_remote.c     free(op->action);
op                251 daemons/fenced/fenced_remote.c     free(op->delegate);
op                252 daemons/fenced/fenced_remote.c     free(op->target);
op                253 daemons/fenced/fenced_remote.c     free(op->client_id);
op                254 daemons/fenced/fenced_remote.c     free(op->client_name);
op                255 daemons/fenced/fenced_remote.c     free(op->originator);
op                257 daemons/fenced/fenced_remote.c     if (op->query_results) {
op                258 daemons/fenced/fenced_remote.c         g_list_free_full(op->query_results, free_remote_query);
op                260 daemons/fenced/fenced_remote.c     if (op->request) {
op                261 daemons/fenced/fenced_remote.c         free_xml(op->request);
op                262 daemons/fenced/fenced_remote.c         op->request = NULL;
op                264 daemons/fenced/fenced_remote.c     if (op->devices_list) {
op                265 daemons/fenced/fenced_remote.c         g_list_free_full(op->devices_list, free);
op                266 daemons/fenced/fenced_remote.c         op->devices_list = NULL;
op                268 daemons/fenced/fenced_remote.c     g_list_free_full(op->automatic_list, free);
op                269 daemons/fenced/fenced_remote.c     g_list_free(op->duplicates);
op                271 daemons/fenced/fenced_remote.c     pcmk__reset_result(&op->result);
op                272 daemons/fenced/fenced_remote.c     free(op);
op                292 daemons/fenced/fenced_remote.c op_requested_action(const remote_fencing_op_t *op)
op                294 daemons/fenced/fenced_remote.c     return ((op->phase > st_phase_requested)? PCMK_ACTION_REBOOT : op->action);
op                304 daemons/fenced/fenced_remote.c op_phase_off(remote_fencing_op_t *op)
op                307 daemons/fenced/fenced_remote.c              CRM_XS " id=%.8s", op->target, op->id);
op                308 daemons/fenced/fenced_remote.c     op->phase = st_phase_off;
op                313 daemons/fenced/fenced_remote.c     strcpy(op->action, PCMK_ACTION_OFF);
op                323 daemons/fenced/fenced_remote.c op_phase_on(remote_fencing_op_t *op)
op                329 daemons/fenced/fenced_remote.c              op->target, op->client_name, op->id);
op                330 daemons/fenced/fenced_remote.c     op->phase = st_phase_on;
op                331 daemons/fenced/fenced_remote.c     strcpy(op->action, PCMK_ACTION_ON);
op                336 daemons/fenced/fenced_remote.c     for (iter = op->automatic_list; iter != NULL; iter = iter->next) {
op                337 daemons/fenced/fenced_remote.c         GList *match = g_list_find_custom(op->devices_list, iter->data,
op                341 daemons/fenced/fenced_remote.c             op->devices_list = g_list_remove(op->devices_list, match->data);
op                344 daemons/fenced/fenced_remote.c     g_list_free_full(op->automatic_list, free);
op                345 daemons/fenced/fenced_remote.c     op->automatic_list = NULL;
op                348 daemons/fenced/fenced_remote.c     op->devices = op->devices_list;
op                358 daemons/fenced/fenced_remote.c undo_op_remap(remote_fencing_op_t *op)
op                360 daemons/fenced/fenced_remote.c     if (op->phase > 0) {
op                362 daemons/fenced/fenced_remote.c                  CRM_XS " id=%.8s", op->target, op->client_name, op->id);
op                363 daemons/fenced/fenced_remote.c         op->phase = st_phase_requested;
op                364 daemons/fenced/fenced_remote.c         strcpy(op->action, PCMK_ACTION_REBOOT);
op                379 daemons/fenced/fenced_remote.c fencing_result2xml(xmlNode *parent, const remote_fencing_op_t *op)
op                383 daemons/fenced/fenced_remote.c     crm_xml_add_int(notify_data, PCMK_XA_STATE, op->state);
op                384 daemons/fenced/fenced_remote.c     crm_xml_add(notify_data, PCMK__XA_ST_TARGET, op->target);
op                385 daemons/fenced/fenced_remote.c     crm_xml_add(notify_data, PCMK__XA_ST_DEVICE_ACTION, op->action);
op                386 daemons/fenced/fenced_remote.c     crm_xml_add(notify_data, PCMK__XA_ST_DELEGATE, op->delegate);
op                387 daemons/fenced/fenced_remote.c     crm_xml_add(notify_data, PCMK__XA_ST_REMOTE_OP, op->id);
op                388 daemons/fenced/fenced_remote.c     crm_xml_add(notify_data, PCMK__XA_ST_ORIGIN, op->originator);
op                389 daemons/fenced/fenced_remote.c     crm_xml_add(notify_data, PCMK__XA_ST_CLIENTID, op->client_id);
op                390 daemons/fenced/fenced_remote.c     crm_xml_add(notify_data, PCMK__XA_ST_CLIENTNAME, op->client_name);
op                403 daemons/fenced/fenced_remote.c fenced_broadcast_op_result(const remote_fencing_op_t *op, bool op_merged)
op                422 daemons/fenced/fenced_remote.c     notify_data = fencing_result2xml(wrapper, op);
op                423 daemons/fenced/fenced_remote.c     stonith__xe_set_result(notify_data, &op->result);
op                439 daemons/fenced/fenced_remote.c handle_local_reply_and_notify(remote_fencing_op_t *op, xmlNode *data)
op                445 daemons/fenced/fenced_remote.c     if (op->notify_sent == TRUE) {
op                451 daemons/fenced/fenced_remote.c     crm_xml_add_int(data, PCMK_XA_STATE, op->state);
op                452 daemons/fenced/fenced_remote.c     crm_xml_add(data, PCMK__XA_ST_TARGET, op->target);
op                453 daemons/fenced/fenced_remote.c     crm_xml_add(data, PCMK__XA_ST_OP, op->action);
op                455 daemons/fenced/fenced_remote.c     reply = fenced_construct_reply(op->request, data, &op->result);
op                456 daemons/fenced/fenced_remote.c     crm_xml_add(reply, PCMK__XA_ST_DELEGATE, op->delegate);
op                459 daemons/fenced/fenced_remote.c     client = pcmk__find_client_by_id(op->client_id);
op                461 daemons/fenced/fenced_remote.c         crm_trace("Skipping reply to %s: no longer a client", op->client_id);
op                463 daemons/fenced/fenced_remote.c         do_local_reply(reply, client, op->call_options);
op                467 daemons/fenced/fenced_remote.c     notify_data = fencing_result2xml(NULL, op);
op                468 daemons/fenced/fenced_remote.c     fenced_send_notification(PCMK__VALUE_ST_NOTIFY_FENCE, &op->result,
op                474 daemons/fenced/fenced_remote.c     op->notify_sent = TRUE;
op                486 daemons/fenced/fenced_remote.c finalize_op_duplicates(remote_fencing_op_t *op, xmlNode *data)
op                488 daemons/fenced/fenced_remote.c     for (GList *iter = op->duplicates; iter != NULL; iter = iter->next) {
op                492 daemons/fenced/fenced_remote.c             other->state = op->state;
op                496 daemons/fenced/fenced_remote.c                       pcmk_exec_status_str(op->result.execution_status),
op                498 daemons/fenced/fenced_remote.c             pcmk__copy_result(&op->result, &other->result);
op                541 daemons/fenced/fenced_remote.c finalize_op(remote_fencing_op_t *op, xmlNode *data, bool dup)
op                548 daemons/fenced/fenced_remote.c     CRM_CHECK((op != NULL), return);
op                551 daemons/fenced/fenced_remote.c     clear_remote_op_timers(op);
op                553 daemons/fenced/fenced_remote.c     if (op->notify_sent) {
op                557 daemons/fenced/fenced_remote.c                    op->action, (op->target? " targeting " : ""),
op                558 daemons/fenced/fenced_remote.c                    (op->target? op->target : ""),
op                559 daemons/fenced/fenced_remote.c                    (op->delegate? op->delegate : "unknown node"),
op                560 daemons/fenced/fenced_remote.c                    op->client_name, op->originator,
op                562 daemons/fenced/fenced_remote.c                    op->id);
op                566 daemons/fenced/fenced_remote.c     set_fencing_completed(op);
op                567 daemons/fenced/fenced_remote.c     undo_op_remap(op);
op                573 daemons/fenced/fenced_remote.c     } else if (op->delegate == NULL) {
op                574 daemons/fenced/fenced_remote.c         switch (op->result.execution_status) {
op                579 daemons/fenced/fenced_remote.c                 if (op->result.exit_status != CRM_EX_EXPIRED) {
op                580 daemons/fenced/fenced_remote.c                     op->delegate = delegate_from_xml(data);
op                585 daemons/fenced/fenced_remote.c                 op->delegate = delegate_from_xml(data);
op                600 daemons/fenced/fenced_remote.c         fenced_broadcast_op_result(op, op_merged);
op                605 daemons/fenced/fenced_remote.c     if (pcmk__result_ok(&op->result) || dup
op                606 daemons/fenced/fenced_remote.c         || !pcmk__str_eq(op->originator, stonith_our_uname, pcmk__str_casei)) {
op                610 daemons/fenced/fenced_remote.c                CRM_XS " id=%.8s", op->action, (op->target? " targeting " : ""),
op                611 daemons/fenced/fenced_remote.c                (op->target? op->target : ""),
op                612 daemons/fenced/fenced_remote.c                (op->delegate? op->delegate : "unknown node"),
op                613 daemons/fenced/fenced_remote.c                op->client_name, op->originator,
op                615 daemons/fenced/fenced_remote.c                crm_exit_str(op->result.exit_status),
op                616 daemons/fenced/fenced_remote.c                pcmk_exec_status_str(op->result.execution_status),
op                617 daemons/fenced/fenced_remote.c                ((op->result.exit_reason == NULL)? "" : ": "),
op                618 daemons/fenced/fenced_remote.c                ((op->result.exit_reason == NULL)? "" : op->result.exit_reason),
op                619 daemons/fenced/fenced_remote.c                op->id);
op                621 daemons/fenced/fenced_remote.c     handle_local_reply_and_notify(op, data);
op                624 daemons/fenced/fenced_remote.c         finalize_op_duplicates(op, data);
op                630 daemons/fenced/fenced_remote.c     if (op->query_results) {
op                631 daemons/fenced/fenced_remote.c         g_list_free_full(op->query_results, free_remote_query);
op                632 daemons/fenced/fenced_remote.c         op->query_results = NULL;
op                634 daemons/fenced/fenced_remote.c     if (op->request) {
op                635 daemons/fenced/fenced_remote.c         free_xml(op->request);
op                636 daemons/fenced/fenced_remote.c         op->request = NULL;
op                653 daemons/fenced/fenced_remote.c     remote_fencing_op_t *op = userdata;
op                655 daemons/fenced/fenced_remote.c     op->op_timer_one = 0;
op                659 daemons/fenced/fenced_remote.c                op->action, op->target, op->client_name, op->id);
op                660 daemons/fenced/fenced_remote.c     op->state = st_done;
op                661 daemons/fenced/fenced_remote.c     pcmk__set_result(&op->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL);
op                662 daemons/fenced/fenced_remote.c     finalize_op(op, NULL, false);
op                669 daemons/fenced/fenced_remote.c     remote_fencing_op_t *op = userdata;
op                671 daemons/fenced/fenced_remote.c     op->op_timer_one = 0;
op                674 daemons/fenced/fenced_remote.c                " id=%.8s", op->action, op->target, op->client_name, op->id);
op                675 daemons/fenced/fenced_remote.c     pcmk__set_result(&op->result, CRM_EX_ERROR, PCMK_EXEC_TIMEOUT,
op                679 daemons/fenced/fenced_remote.c     if (op->client_delay > 0) {
op                680 daemons/fenced/fenced_remote.c         op->client_delay = 0;
op                683 daemons/fenced/fenced_remote.c                   op->action, op->target, op->client_name, op->id);
op                687 daemons/fenced/fenced_remote.c     request_peer_fencing(op, NULL);
op                699 daemons/fenced/fenced_remote.c finalize_timed_out_op(remote_fencing_op_t *op, const char *reason)
op                703 daemons/fenced/fenced_remote.c               op->action, op->target, op->client_name, op->id);
op                705 daemons/fenced/fenced_remote.c     if (op->phase == st_phase_on) {
op                710 daemons/fenced/fenced_remote.c         op->state = st_done;
op                711 daemons/fenced/fenced_remote.c         pcmk__set_result(&op->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL);
op                713 daemons/fenced/fenced_remote.c         op->state = st_failed;
op                714 daemons/fenced/fenced_remote.c         pcmk__set_result(&op->result, CRM_EX_ERROR, PCMK_EXEC_TIMEOUT, reason);
op                716 daemons/fenced/fenced_remote.c     finalize_op(op, NULL, false);
op                730 daemons/fenced/fenced_remote.c     remote_fencing_op_t *op = userdata;
op                732 daemons/fenced/fenced_remote.c     op->op_timer_total = 0;
op                734 daemons/fenced/fenced_remote.c     if (op->state == st_done) {
op                737 daemons/fenced/fenced_remote.c                   op->action, op->target, op->client_name, op->id);
op                750 daemons/fenced/fenced_remote.c     remote_fencing_op_t *op = data;
op                752 daemons/fenced/fenced_remote.c     op->query_timer = 0;
op                754 daemons/fenced/fenced_remote.c     if (op->state == st_done) {
op                756 daemons/fenced/fenced_remote.c                   op->id, op->target);
op                757 daemons/fenced/fenced_remote.c     } else if (op->state == st_exec) {
op                759 daemons/fenced/fenced_remote.c                   op->id, op->target);
op                760 daemons/fenced/fenced_remote.c     } else if (op->query_results) {
op                763 daemons/fenced/fenced_remote.c                   op->id, op->target, stonith_op_state_str(op->state));
op                764 daemons/fenced/fenced_remote.c         request_peer_fencing(op, NULL);
op                767 daemons/fenced/fenced_remote.c                   op->id, op->target, stonith_op_state_str(op->state));
op                768 daemons/fenced/fenced_remote.c         finalize_timed_out_op(op, "No capable peers replied to device query "
op                800 daemons/fenced/fenced_remote.c add_required_device(remote_fencing_op_t *op, const char *device)
op                802 daemons/fenced/fenced_remote.c     GList *match  = g_list_find_custom(op->automatic_list, device,
op                806 daemons/fenced/fenced_remote.c         op->automatic_list = g_list_prepend(op->automatic_list,
op                819 daemons/fenced/fenced_remote.c remove_required_device(remote_fencing_op_t *op, const char *device)
op                821 daemons/fenced/fenced_remote.c     GList *match = g_list_find_custom(op->automatic_list, device,
op                825 daemons/fenced/fenced_remote.c         op->automatic_list = g_list_remove(op->automatic_list, match->data);
op                831 daemons/fenced/fenced_remote.c set_op_device_list(remote_fencing_op_t * op, GList *devices)
op                835 daemons/fenced/fenced_remote.c     if (op->devices_list) {
op                836 daemons/fenced/fenced_remote.c         g_list_free_full(op->devices_list, free);
op                837 daemons/fenced/fenced_remote.c         op->devices_list = NULL;
op                842 daemons/fenced/fenced_remote.c         op->devices_list = g_list_append(op->devices_list,
op                845 daemons/fenced/fenced_remote.c     op->devices = op->devices_list;
op                940 daemons/fenced/fenced_remote.c advance_topology_level(remote_fencing_op_t *op, bool empty_ok)
op                944 daemons/fenced/fenced_remote.c     if (op->target) {
op                945 daemons/fenced/fenced_remote.c         tp = find_topology_for_host(op->target);
op                953 daemons/fenced/fenced_remote.c     stonith__set_call_options(op->call_options, op->id, st_opt_topology);
op                956 daemons/fenced/fenced_remote.c     undo_op_remap(op);
op                959 daemons/fenced/fenced_remote.c         op->level++;
op                961 daemons/fenced/fenced_remote.c     } while (op->level < ST__LEVEL_COUNT && tp->levels[op->level] == NULL);
op                963 daemons/fenced/fenced_remote.c     if (op->level < ST__LEVEL_COUNT) {
op                966 daemons/fenced/fenced_remote.c                   op->level, op->target, g_list_length(tp->levels[op->level]),
op                967 daemons/fenced/fenced_remote.c                   op->client_name, op->originator, op->id);
op                968 daemons/fenced/fenced_remote.c         set_op_device_list(op, tp->levels[op->level]);
op                971 daemons/fenced/fenced_remote.c         if ((op->level > 1) && (op->client_delay > 0)) {
op                972 daemons/fenced/fenced_remote.c             op->client_delay = 0;
op                975 daemons/fenced/fenced_remote.c         if ((g_list_next(op->devices_list) != NULL)
op                976 daemons/fenced/fenced_remote.c             && pcmk__str_eq(op->action, PCMK_ACTION_REBOOT, pcmk__str_none)) {
op                982 daemons/fenced/fenced_remote.c             op_phase_off(op);
op                990 daemons/fenced/fenced_remote.c              op->target, op->client_name, op->originator, op->id);
op               1001 daemons/fenced/fenced_remote.c merge_duplicates(remote_fencing_op_t *op)
op               1013 daemons/fenced/fenced_remote.c         if (!strcmp(op->id, other->id)) {
op               1018 daemons/fenced/fenced_remote.c                       op->id, other->id);
op               1021 daemons/fenced/fenced_remote.c         if (!pcmk__str_eq(op->target, other->target, pcmk__str_casei)) {
op               1023 daemons/fenced/fenced_remote.c                       op->id, other->id, op->target, other->target);
op               1026 daemons/fenced/fenced_remote.c         if (!pcmk__str_eq(op->action, other_action, pcmk__str_none)) {
op               1028 daemons/fenced/fenced_remote.c                       op->id, other->id, op->action, other_action);
op               1031 daemons/fenced/fenced_remote.c         if (pcmk__str_eq(op->client_name, other->client_name, pcmk__str_casei)) {
op               1033 daemons/fenced/fenced_remote.c                       op->id, other->id, op->client_name);
op               1038 daemons/fenced/fenced_remote.c                       op->id, other->id, other->target);
op               1051 daemons/fenced/fenced_remote.c                       op->id, other->id);
op               1058 daemons/fenced/fenced_remote.c                       op->id, other->id, (long long)now, (long long)other->created,
op               1066 daemons/fenced/fenced_remote.c         other->duplicates = g_list_append(other->duplicates, op);
op               1068 daemons/fenced/fenced_remote.c             other->total_timeout = op->total_timeout =
op               1069 daemons/fenced/fenced_remote.c                 TIMEOUT_MULTIPLY_FACTOR * get_op_total_timeout(op, NULL);
op               1076 daemons/fenced/fenced_remote.c                    op->action, op->target, op->client_name,
op               1078 daemons/fenced/fenced_remote.c                    op->id, other->id, other->total_timeout);
op               1079 daemons/fenced/fenced_remote.c         report_timeout_period(op, other->total_timeout);
op               1080 daemons/fenced/fenced_remote.c         op->state = st_duplicate;
op               1111 daemons/fenced/fenced_remote.c     remote_fencing_op_t *op = NULL;
op               1119 daemons/fenced/fenced_remote.c     op = initiate_remote_stonith_op(client, msg, TRUE);
op               1120 daemons/fenced/fenced_remote.c     if (op == NULL) {
op               1123 daemons/fenced/fenced_remote.c     op->state = st_done;
op               1124 daemons/fenced/fenced_remote.c     set_fencing_completed(op);
op               1125 daemons/fenced/fenced_remote.c     op->delegate = pcmk__str_copy("a human");
op               1128 daemons/fenced/fenced_remote.c     pcmk__set_result(&op->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL);
op               1129 daemons/fenced/fenced_remote.c     finalize_op(op, msg, false);
op               1151 daemons/fenced/fenced_remote.c     remote_fencing_op_t *op = NULL;
op               1166 daemons/fenced/fenced_remote.c         op = g_hash_table_lookup(stonith_remote_op_list, op_id);
op               1167 daemons/fenced/fenced_remote.c         if (op) {
op               1170 daemons/fenced/fenced_remote.c             return op;
op               1174 daemons/fenced/fenced_remote.c     op = pcmk__assert_alloc(1, sizeof(remote_fencing_op_t));
op               1176 daemons/fenced/fenced_remote.c     crm_element_value_int(request, PCMK__XA_ST_TIMEOUT, &(op->base_timeout));
op               1178 daemons/fenced/fenced_remote.c     crm_element_value_int(request, PCMK__XA_ST_DELAY, &(op->client_delay));
op               1181 daemons/fenced/fenced_remote.c         op->id = crm_element_value_copy(dev, PCMK__XA_ST_REMOTE_OP);
op               1183 daemons/fenced/fenced_remote.c         op->id = crm_generate_uuid();
op               1186 daemons/fenced/fenced_remote.c     g_hash_table_replace(stonith_remote_op_list, op->id, op);
op               1188 daemons/fenced/fenced_remote.c     op->state = st_query;
op               1189 daemons/fenced/fenced_remote.c     op->replies_expected = fencing_active_peers();
op               1190 daemons/fenced/fenced_remote.c     op->action = crm_element_value_copy(dev, PCMK__XA_ST_DEVICE_ACTION);
op               1198 daemons/fenced/fenced_remote.c     op->originator = crm_element_value_copy(dev, PCMK__XA_ST_ORIGIN);
op               1199 daemons/fenced/fenced_remote.c     if (op->originator == NULL) {
op               1201 daemons/fenced/fenced_remote.c         op->originator = pcmk__str_copy(stonith_our_uname);
op               1205 daemons/fenced/fenced_remote.c     op->delegate = crm_element_value_copy(dev, PCMK__XA_ST_DELEGATE);
op               1206 daemons/fenced/fenced_remote.c     op->created = time(NULL);
op               1209 daemons/fenced/fenced_remote.c     op->client_id = pcmk__str_copy(client);
op               1215 daemons/fenced/fenced_remote.c         op->client_name = crm_strdup_printf("%s.%lu", crm_system_name,
op               1218 daemons/fenced/fenced_remote.c         op->client_name = crm_element_value_copy(request,
op               1222 daemons/fenced/fenced_remote.c     op->target = crm_element_value_copy(dev, PCMK__XA_ST_TARGET);
op               1225 daemons/fenced/fenced_remote.c     op->request = pcmk__xml_copy(NULL, request);
op               1227 daemons/fenced/fenced_remote.c     op->call_options = call_options;
op               1229 daemons/fenced/fenced_remote.c     crm_element_value_int(request, PCMK__XA_ST_CALLID, &(op->client_callid));
op               1233 daemons/fenced/fenced_remote.c               (peer && dev)? "Recorded" : "Generated", op->id, op->action,
op               1234 daemons/fenced/fenced_remote.c               op->target, op->client_name, op->base_timeout,
op               1235 daemons/fenced/fenced_remote.c               op->replies_expected,
op               1236 daemons/fenced/fenced_remote.c               pcmk__plural_alt(op->replies_expected, "reply", "replies"));
op               1238 daemons/fenced/fenced_remote.c     if (op->call_options & st_opt_cs_nodeid) {
op               1242 daemons/fenced/fenced_remote.c         pcmk__scan_min_int(op->target, &nodeid, 0);
op               1248 daemons/fenced/fenced_remote.c         stonith__clear_call_options(op->call_options, op->id, st_opt_cs_nodeid);
op               1251 daemons/fenced/fenced_remote.c             pcmk__str_update(&(op->target), node->uname);
op               1254 daemons/fenced/fenced_remote.c             crm_warn("Could not expand nodeid '%s' into a host name", op->target);
op               1259 daemons/fenced/fenced_remote.c     merge_duplicates(op);
op               1261 daemons/fenced/fenced_remote.c     if (op->state != st_duplicate) {
op               1269 daemons/fenced/fenced_remote.c     return op;
op               1289 daemons/fenced/fenced_remote.c     remote_fencing_op_t *op = NULL;
op               1300 daemons/fenced/fenced_remote.c     op = create_remote_stonith_op(client_id, request, FALSE);
op               1301 daemons/fenced/fenced_remote.c     op->owner = TRUE;
op               1303 daemons/fenced/fenced_remote.c         return op;
op               1306 daemons/fenced/fenced_remote.c     CRM_CHECK(op->action, return NULL);
op               1308 daemons/fenced/fenced_remote.c     if (advance_topology_level(op, true) != pcmk_rc_ok) {
op               1309 daemons/fenced/fenced_remote.c         op->state = st_failed;
op               1312 daemons/fenced/fenced_remote.c     switch (op->state) {
op               1315 daemons/fenced/fenced_remote.c             pcmk__set_result(&op->result, CRM_EX_ERROR, PCMK_EXEC_ERROR,
op               1318 daemons/fenced/fenced_remote.c                      CRM_XS " id=%.8s", op->action, op->target, op->id);
op               1319 daemons/fenced/fenced_remote.c             finalize_op(op, NULL, false);
op               1320 daemons/fenced/fenced_remote.c             return op;
op               1324 daemons/fenced/fenced_remote.c                      CRM_XS " id=%.8s", op->action, op->target, op->id);
op               1325 daemons/fenced/fenced_remote.c             return op;
op               1330 daemons/fenced/fenced_remote.c                        op->action, op->target, op->id,
op               1331 daemons/fenced/fenced_remote.c                        stonith_op_state_str(op->state), op->base_timeout);
op               1334 daemons/fenced/fenced_remote.c     query = stonith_create_op(op->client_callid, op->id, STONITH_OP_QUERY,
op               1335 daemons/fenced/fenced_remote.c                               NULL, op->call_options);
op               1337 daemons/fenced/fenced_remote.c     crm_xml_add(query, PCMK__XA_ST_REMOTE_OP, op->id);
op               1338 daemons/fenced/fenced_remote.c     crm_xml_add(query, PCMK__XA_ST_TARGET, op->target);
op               1339 daemons/fenced/fenced_remote.c     crm_xml_add(query, PCMK__XA_ST_DEVICE_ACTION, op_requested_action(op));
op               1340 daemons/fenced/fenced_remote.c     crm_xml_add(query, PCMK__XA_ST_ORIGIN, op->originator);
op               1341 daemons/fenced/fenced_remote.c     crm_xml_add(query, PCMK__XA_ST_CLIENTID, op->client_id);
op               1342 daemons/fenced/fenced_remote.c     crm_xml_add(query, PCMK__XA_ST_CLIENTNAME, op->client_name);
op               1343 daemons/fenced/fenced_remote.c     crm_xml_add_int(query, PCMK__XA_ST_TIMEOUT, op->base_timeout);
op               1357 daemons/fenced/fenced_remote.c     query_timeout = op->base_timeout * TIMEOUT_MULTIPLY_FACTOR;
op               1358 daemons/fenced/fenced_remote.c     op->query_timer = g_timeout_add((1000 * query_timeout), remote_op_query_timeout, op);
op               1360 daemons/fenced/fenced_remote.c     return op;
op               1373 daemons/fenced/fenced_remote.c is_watchdog_fencing(const remote_fencing_op_t *op, const char *device)
op               1378 daemons/fenced/fenced_remote.c             && pcmk__is_fencing_action(op->action)
op               1379 daemons/fenced/fenced_remote.c             && node_does_watchdog_fencing(op->target));
op               1383 daemons/fenced/fenced_remote.c find_best_peer(const char *device, remote_fencing_op_t * op, enum find_best_peer_options options)
op               1388 daemons/fenced/fenced_remote.c     if (!device && pcmk_is_set(op->call_options, st_opt_topology)) {
op               1392 daemons/fenced/fenced_remote.c     for (iter = op->query_results; iter != NULL; iter = iter->next) {
op               1396 daemons/fenced/fenced_remote.c                   peer->host, op->target, peer->ndevices,
op               1398 daemons/fenced/fenced_remote.c         if ((options & FIND_PEER_SKIP_TARGET) && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) {
op               1401 daemons/fenced/fenced_remote.c         if ((options & FIND_PEER_TARGET_ONLY) && !pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) {
op               1405 daemons/fenced/fenced_remote.c         if (pcmk_is_set(op->call_options, st_opt_topology)) {
op               1407 daemons/fenced/fenced_remote.c             if (grab_peer_device(op, peer, device, verified_devices_only)) {
op               1412 daemons/fenced/fenced_remote.c                    && count_peer_devices(op, peer, verified_devices_only,
op               1413 daemons/fenced/fenced_remote.c                                          fenced_support_flag(op->action))) {
op               1424 daemons/fenced/fenced_remote.c stonith_choose_peer(remote_fencing_op_t * op)
op               1431 daemons/fenced/fenced_remote.c         if (op->devices) {
op               1432 daemons/fenced/fenced_remote.c             device = op->devices->data;
op               1434 daemons/fenced/fenced_remote.c                       op->action, op->target, device);
op               1437 daemons/fenced/fenced_remote.c                       op->action, op->target);
op               1441 daemons/fenced/fenced_remote.c         peer = find_best_peer(device, op, FIND_PEER_SKIP_TARGET|FIND_PEER_VERIFIED_ONLY);
op               1447 daemons/fenced/fenced_remote.c         if(op->query_timer != 0 && op->replies < QB_MIN(op->replies_expected, active)) {
op               1448 daemons/fenced/fenced_remote.c             crm_trace("Waiting before looking for unverified devices to fence %s", op->target);
op               1453 daemons/fenced/fenced_remote.c         peer = find_best_peer(device, op, FIND_PEER_SKIP_TARGET);
op               1462 daemons/fenced/fenced_remote.c         if (op->phase != st_phase_on) {
op               1463 daemons/fenced/fenced_remote.c             peer = find_best_peer(device, op, FIND_PEER_TARGET_ONLY);
op               1473 daemons/fenced/fenced_remote.c     } while ((op->phase != st_phase_on)
op               1474 daemons/fenced/fenced_remote.c              && pcmk_is_set(op->call_options, st_opt_topology)
op               1475 daemons/fenced/fenced_remote.c              && (advance_topology_level(op, false) == pcmk_rc_ok));
op               1480 daemons/fenced/fenced_remote.c     if (is_watchdog_fencing(op, device)) {
op               1482 daemons/fenced/fenced_remote.c                  op->target);
op               1486 daemons/fenced/fenced_remote.c                    op->action, op->target, (device? device : "any device"));
op               1493 daemons/fenced/fenced_remote.c                       const remote_fencing_op_t *op, const char *device)
op               1497 daemons/fenced/fenced_remote.c     if (!is_watchdog_fencing(op, device)) {
op               1509 daemons/fenced/fenced_remote.c                      op->action, specified_timeout, device? device : "watchdog",
op               1524 daemons/fenced/fenced_remote.c get_device_timeout(const remote_fencing_op_t *op,
op               1528 daemons/fenced/fenced_remote.c     int timeout = op->base_timeout;
op               1531 daemons/fenced/fenced_remote.c     timeout = valid_fencing_timeout(op->base_timeout, false, op, device);
op               1542 daemons/fenced/fenced_remote.c     if (props->custom_action_timeout[op->phase]) {
op               1543 daemons/fenced/fenced_remote.c         timeout = valid_fencing_timeout(props->custom_action_timeout[op->phase],
op               1544 daemons/fenced/fenced_remote.c                                         true, op, device);
op               1548 daemons/fenced/fenced_remote.c     if (with_delay && (op->client_delay >= 0)) {
op               1550 daemons/fenced/fenced_remote.c         timeout += (props->delay_max[op->phase] > 0 ?
op               1551 daemons/fenced/fenced_remote.c                     props->delay_max[op->phase] : props->delay_base[op->phase]);
op               1558 daemons/fenced/fenced_remote.c     const remote_fencing_op_t *op;
op               1578 daemons/fenced/fenced_remote.c     if (!props->executed[timeout->op->phase]
op               1579 daemons/fenced/fenced_remote.c         && !props->disallowed[timeout->op->phase]) {
op               1580 daemons/fenced/fenced_remote.c         timeout->total_timeout += get_device_timeout(timeout->op, timeout->peer,
op               1586 daemons/fenced/fenced_remote.c get_peer_timeout(const remote_fencing_op_t *op, const peer_device_info_t *peer)
op               1590 daemons/fenced/fenced_remote.c     timeout.op = op;
op               1596 daemons/fenced/fenced_remote.c     return (timeout.total_timeout? timeout.total_timeout : op->base_timeout);
op               1600 daemons/fenced/fenced_remote.c get_op_total_timeout(const remote_fencing_op_t *op,
op               1604 daemons/fenced/fenced_remote.c     stonith_topology_t *tp = find_topology_for_host(op->target);
op               1606 daemons/fenced/fenced_remote.c     if (pcmk_is_set(op->call_options, st_opt_topology) && tp) {
op               1612 daemons/fenced/fenced_remote.c         if (pcmk__str_eq(op->action, PCMK_ACTION_ON, pcmk__str_none)
op               1613 daemons/fenced/fenced_remote.c             && (op->automatic_list != NULL)) {
op               1614 daemons/fenced/fenced_remote.c             auto_list = g_list_copy(op->automatic_list);
op               1631 daemons/fenced/fenced_remote.c                 for (iter = op->query_results; iter != NULL; iter = iter->next) {
op               1642 daemons/fenced/fenced_remote.c                     if (find_peer_device(op, peer, device_list->data,
op               1643 daemons/fenced/fenced_remote.c                                          fenced_support_flag(op->action))) {
op               1644 daemons/fenced/fenced_remote.c                         total_timeout += get_device_timeout(op, peer,
op               1655 daemons/fenced/fenced_remote.c                 if (!found && is_watchdog_fencing(op, device_list->data)) {
op               1666 daemons/fenced/fenced_remote.c                 for (iter2 = op->query_results; iter2 != NULL; iter = iter2->next) {
op               1668 daemons/fenced/fenced_remote.c                     if (find_peer_device(op, peer, iter->data, st_device_supports_on)) {
op               1669 daemons/fenced/fenced_remote.c                         total_timeout += get_device_timeout(op, peer,
op               1680 daemons/fenced/fenced_remote.c         total_timeout = get_peer_timeout(op, chosen_peer);
op               1683 daemons/fenced/fenced_remote.c         total_timeout = valid_fencing_timeout(op->base_timeout, false, op,
op               1688 daemons/fenced/fenced_remote.c         total_timeout = op->base_timeout;
op               1694 daemons/fenced/fenced_remote.c     if (op->client_delay > 0) {
op               1695 daemons/fenced/fenced_remote.c         total_timeout += op->client_delay;
op               1701 daemons/fenced/fenced_remote.c report_timeout_period(remote_fencing_op_t * op, int op_timeout)
op               1709 daemons/fenced/fenced_remote.c     if (op->call_options & st_opt_sync_call) {
op               1715 daemons/fenced/fenced_remote.c     } else if (!op->request) {
op               1719 daemons/fenced/fenced_remote.c     crm_trace("Reporting timeout for %s (id=%.8s)", op->client_name, op->id);
op               1720 daemons/fenced/fenced_remote.c     client_node = crm_element_value(op->request, PCMK__XA_ST_CLIENTNODE);
op               1721 daemons/fenced/fenced_remote.c     call_id = crm_element_value(op->request, PCMK__XA_ST_CALLID);
op               1722 daemons/fenced/fenced_remote.c     client_id = crm_element_value(op->request, PCMK__XA_ST_CLIENTID);
op               1734 daemons/fenced/fenced_remote.c     update = stonith_create_op(op->client_callid, op->id, STONITH_OP_TIMEOUT_UPDATE, NULL, 0);
op               1735 daemons/fenced/fenced_remote.c     crm_xml_add(update, PCMK__XA_ST_REMOTE_OP, op->id);
op               1746 daemons/fenced/fenced_remote.c     for (iter = op->duplicates; iter != NULL; iter = iter->next) {
op               1764 daemons/fenced/fenced_remote.c advance_topology_device_in_level(remote_fencing_op_t *op, const char *device,
op               1768 daemons/fenced/fenced_remote.c     if (op->devices) {
op               1769 daemons/fenced/fenced_remote.c         op->devices = op->devices->next;
op               1773 daemons/fenced/fenced_remote.c     if ((op->phase == st_phase_requested)
op               1774 daemons/fenced/fenced_remote.c         && pcmk__str_eq(op->action, PCMK_ACTION_ON, pcmk__str_none)) {
op               1776 daemons/fenced/fenced_remote.c         remove_required_device(op, device);
op               1781 daemons/fenced/fenced_remote.c         if (op->devices == NULL) {
op               1782 daemons/fenced/fenced_remote.c             op->devices = op->automatic_list;
op               1786 daemons/fenced/fenced_remote.c     if ((op->devices == NULL) && (op->phase == st_phase_off)) {
op               1791 daemons/fenced/fenced_remote.c         op_phase_on(op);
op               1795 daemons/fenced/fenced_remote.c     pcmk__set_result(&op->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL);
op               1797 daemons/fenced/fenced_remote.c     if (op->devices) {
op               1800 daemons/fenced/fenced_remote.c                   op->target, op->client_name, op->originator);
op               1803 daemons/fenced/fenced_remote.c         if (op->client_delay > 0) {
op               1804 daemons/fenced/fenced_remote.c             op->client_delay = 0;
op               1807 daemons/fenced/fenced_remote.c         request_peer_fencing(op, NULL);
op               1811 daemons/fenced/fenced_remote.c                   op->target);
op               1812 daemons/fenced/fenced_remote.c         op->state = st_done;
op               1813 daemons/fenced/fenced_remote.c         finalize_op(op, msg, false);
op               1818 daemons/fenced/fenced_remote.c check_watchdog_fencing_and_wait(remote_fencing_op_t * op)
op               1820 daemons/fenced/fenced_remote.c     if (node_does_watchdog_fencing(op->target)) {
op               1825 daemons/fenced/fenced_remote.c                    pcmk__readable_interval(timeout_ms), op->target, op->action,
op               1826 daemons/fenced/fenced_remote.c                    op->client_name, op->id);
op               1828 daemons/fenced/fenced_remote.c         if (op->op_timer_one) {
op               1829 daemons/fenced/fenced_remote.c             g_source_remove(op->op_timer_one);
op               1831 daemons/fenced/fenced_remote.c         op->op_timer_one = g_timeout_add(timeout_ms, remote_op_watchdog_done,
op               1832 daemons/fenced/fenced_remote.c                                          op);
op               1836 daemons/fenced/fenced_remote.c                  "not in host-list", op->target);
op               1850 daemons/fenced/fenced_remote.c request_peer_fencing(remote_fencing_op_t *op, peer_device_info_t *peer)
op               1855 daemons/fenced/fenced_remote.c     CRM_CHECK(op != NULL, return);
op               1858 daemons/fenced/fenced_remote.c               op->id, op->target, op->client_name,
op               1859 daemons/fenced/fenced_remote.c               stonith_op_state_str(op->state));
op               1861 daemons/fenced/fenced_remote.c     if ((op->phase == st_phase_on) && (op->devices != NULL)) {
op               1873 daemons/fenced/fenced_remote.c         device = op->devices->data;
op               1878 daemons/fenced/fenced_remote.c                      op->target, device);
op               1879 daemons/fenced/fenced_remote.c             advance_topology_device_in_level(op, device, NULL);
op               1884 daemons/fenced/fenced_remote.c                      "doesn't support 'on'", op->target, device);
op               1885 daemons/fenced/fenced_remote.c             advance_topology_device_in_level(op, device, NULL);
op               1890 daemons/fenced/fenced_remote.c     timeout = op->base_timeout;
op               1891 daemons/fenced/fenced_remote.c     if ((peer == NULL) && !pcmk_is_set(op->call_options, st_opt_topology)) {
op               1892 daemons/fenced/fenced_remote.c         peer = stonith_choose_peer(op);
op               1895 daemons/fenced/fenced_remote.c     if (!op->op_timer_total) {
op               1896 daemons/fenced/fenced_remote.c         op->total_timeout = TIMEOUT_MULTIPLY_FACTOR * get_op_total_timeout(op, peer);
op               1897 daemons/fenced/fenced_remote.c         op->op_timer_total = g_timeout_add(1000 * op->total_timeout, remote_op_timeout, op);
op               1898 daemons/fenced/fenced_remote.c         report_timeout_period(op, op->total_timeout);
op               1901 daemons/fenced/fenced_remote.c                  op->total_timeout, op->target, op->client_name, op->id);
op               1904 daemons/fenced/fenced_remote.c     if (pcmk_is_set(op->call_options, st_opt_topology) && op->devices) {
op               1913 daemons/fenced/fenced_remote.c         peer = stonith_choose_peer(op);
op               1915 daemons/fenced/fenced_remote.c         device = op->devices->data;
op               1920 daemons/fenced/fenced_remote.c         timeout = get_device_timeout(op, peer, device, false);
op               1925 daemons/fenced/fenced_remote.c         xmlNode *remote_op = stonith_create_op(op->client_callid, op->id, STONITH_OP_FENCE, NULL, 0);
op               1930 daemons/fenced/fenced_remote.c         if (op->client_delay > 0) {
op               1934 daemons/fenced/fenced_remote.c             timeout_one = TIMEOUT_MULTIPLY_FACTOR * op->client_delay;
op               1937 daemons/fenced/fenced_remote.c         crm_xml_add(remote_op, PCMK__XA_ST_REMOTE_OP, op->id);
op               1938 daemons/fenced/fenced_remote.c         crm_xml_add(remote_op, PCMK__XA_ST_TARGET, op->target);
op               1939 daemons/fenced/fenced_remote.c         crm_xml_add(remote_op, PCMK__XA_ST_DEVICE_ACTION, op->action);
op               1940 daemons/fenced/fenced_remote.c         crm_xml_add(remote_op, PCMK__XA_ST_ORIGIN, op->originator);
op               1941 daemons/fenced/fenced_remote.c         crm_xml_add(remote_op, PCMK__XA_ST_CLIENTID, op->client_id);
op               1942 daemons/fenced/fenced_remote.c         crm_xml_add(remote_op, PCMK__XA_ST_CLIENTNAME, op->client_name);
op               1944 daemons/fenced/fenced_remote.c         crm_xml_add_int(remote_op, PCMK__XA_ST_CALLOPT, op->call_options);
op               1945 daemons/fenced/fenced_remote.c         crm_xml_add_int(remote_op, PCMK__XA_ST_DELAY, op->client_delay);
op               1949 daemons/fenced/fenced_remote.c                            get_device_timeout(op, peer, device, true);
op               1952 daemons/fenced/fenced_remote.c                        peer->host, op->action, op->target, device,
op               1953 daemons/fenced/fenced_remote.c                        op->client_name, timeout_one);
op               1957 daemons/fenced/fenced_remote.c             timeout_one += TIMEOUT_MULTIPLY_FACTOR * get_peer_timeout(op, peer);
op               1960 daemons/fenced/fenced_remote.c                        peer->host, op->action, op->target, op->client_name,
op               1965 daemons/fenced/fenced_remote.c         op->state = st_exec;
op               1966 daemons/fenced/fenced_remote.c         if (op->op_timer_one) {
op               1967 daemons/fenced/fenced_remote.c             g_source_remove(op->op_timer_one);
op               1968 daemons/fenced/fenced_remote.c             op->op_timer_one = 0;
op               1971 daemons/fenced/fenced_remote.c         if (!is_watchdog_fencing(op, device)
op               1972 daemons/fenced/fenced_remote.c             || !check_watchdog_fencing_and_wait(op)) {
op               1994 daemons/fenced/fenced_remote.c             op->op_timer_one = g_timeout_add((1000 * timeout_one), remote_op_timeout_one, op);
op               2002 daemons/fenced/fenced_remote.c     } else if (op->phase == st_phase_on) {
op               2007 daemons/fenced/fenced_remote.c                  "after successful 'off'", device, op->target);
op               2008 daemons/fenced/fenced_remote.c         advance_topology_device_in_level(op, device, NULL);
op               2011 daemons/fenced/fenced_remote.c     } else if (op->owner == FALSE) {
op               2013 daemons/fenced/fenced_remote.c                 op->action, op->target, op->client_name);
op               2015 daemons/fenced/fenced_remote.c     } else if (op->query_timer == 0) {
op               2018 daemons/fenced/fenced_remote.c                  CRM_XS " state=%s", op->action, op->target, op->client_name,
op               2019 daemons/fenced/fenced_remote.c                  stonith_op_state_str(op->state));
op               2020 daemons/fenced/fenced_remote.c         CRM_CHECK(op->state < st_done, return);
op               2021 daemons/fenced/fenced_remote.c         finalize_timed_out_op(op, "All nodes failed, or are unable, to "
op               2024 daemons/fenced/fenced_remote.c     } else if(op->replies >= op->replies_expected || op->replies >= fencing_active_peers()) {
op               2029 daemons/fenced/fenced_remote.c         if (is_watchdog_fencing(op, device)
op               2030 daemons/fenced/fenced_remote.c             && check_watchdog_fencing_and_wait(op)) {
op               2036 daemons/fenced/fenced_remote.c             op->state = st_exec;
op               2040 daemons/fenced/fenced_remote.c         if (op->state == st_query) {
op               2043 daemons/fenced/fenced_remote.c                      op->replies, op->action, op->target, op->client_name,
op               2044 daemons/fenced/fenced_remote.c                      stonith_op_state_str(op->state));
op               2046 daemons/fenced/fenced_remote.c             pcmk__reset_result(&op->result);
op               2047 daemons/fenced/fenced_remote.c             pcmk__set_result(&op->result, CRM_EX_ERROR,
op               2050 daemons/fenced/fenced_remote.c             if (pcmk_is_set(op->call_options, st_opt_topology)) {
op               2051 daemons/fenced/fenced_remote.c                 pcmk__reset_result(&op->result);
op               2052 daemons/fenced/fenced_remote.c                 pcmk__set_result(&op->result, CRM_EX_ERROR,
op               2064 daemons/fenced/fenced_remote.c                      op->replies, op->action, op->target, op->client_name,
op               2065 daemons/fenced/fenced_remote.c                      stonith_op_state_str(op->state));
op               2068 daemons/fenced/fenced_remote.c         op->state = st_failed;
op               2069 daemons/fenced/fenced_remote.c         finalize_op(op, NULL, false);
op               2074 daemons/fenced/fenced_remote.c                  op->action, op->target, (device? " using " : ""),
op               2075 daemons/fenced/fenced_remote.c                  (device? device : ""), op->client_name, op->id);
op               2106 daemons/fenced/fenced_remote.c all_topology_devices_found(const remote_fencing_op_t *op)
op               2115 daemons/fenced/fenced_remote.c     tp = find_topology_for_host(op->target);
op               2119 daemons/fenced/fenced_remote.c     if (pcmk__is_fencing_action(op->action)) {
op               2128 daemons/fenced/fenced_remote.c             for (iter = op->query_results; iter && !match; iter = iter->next) {
op               2131 daemons/fenced/fenced_remote.c                 if (skip_target && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) {
op               2134 daemons/fenced/fenced_remote.c                 match = find_peer_device(op, peer, device->data, st_device_supports_none);
op               2159 daemons/fenced/fenced_remote.c                       const char *action, remote_fencing_op_t *op,
op               2193 daemons/fenced/fenced_remote.c             add_required_device(op, device);
op               2217 daemons/fenced/fenced_remote.c add_device_properties(const xmlNode *xml, remote_fencing_op_t *op,
op               2241 daemons/fenced/fenced_remote.c     parse_action_specific(xml, peer->host, device, op_requested_action(op),
op               2242 daemons/fenced/fenced_remote.c                           op, st_phase_requested, props);
op               2251 daemons/fenced/fenced_remote.c                                   op, st_phase_off, props);
op               2256 daemons/fenced/fenced_remote.c                                   op, st_phase_on, props);
op               2273 daemons/fenced/fenced_remote.c add_result(remote_fencing_op_t *op, const char *host, int ndevices,
op               2289 daemons/fenced/fenced_remote.c             add_device_properties(child, op, peer, device);
op               2298 daemons/fenced/fenced_remote.c     op->query_results = g_list_insert_sorted(op->query_results, peer, sort_peers);
op               2324 daemons/fenced/fenced_remote.c     remote_fencing_op_t *op = NULL;
op               2338 daemons/fenced/fenced_remote.c     op = g_hash_table_lookup(stonith_remote_op_list, id);
op               2339 daemons/fenced/fenced_remote.c     if (op == NULL) {
op               2346 daemons/fenced/fenced_remote.c     if (op->replies_expected < replies_expected) {
op               2347 daemons/fenced/fenced_remote.c         replies_expected = op->replies_expected;
op               2349 daemons/fenced/fenced_remote.c     if ((++op->replies >= replies_expected) && (op->state == st_query)) {
op               2353 daemons/fenced/fenced_remote.c     host_is_target = pcmk__str_eq(host, op->target, pcmk__str_casei);
op               2356 daemons/fenced/fenced_remote.c              op->replies, replies_expected, host,
op               2357 daemons/fenced/fenced_remote.c              op->target, op->action, ndevices, pcmk__plural_s(ndevices), id);
op               2359 daemons/fenced/fenced_remote.c         peer = add_result(op, host, ndevices, dev);
op               2362 daemons/fenced/fenced_remote.c     pcmk__set_result(&op->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL);
op               2364 daemons/fenced/fenced_remote.c     if (pcmk_is_set(op->call_options, st_opt_topology)) {
op               2368 daemons/fenced/fenced_remote.c         if (op->state == st_query && all_topology_devices_found(op)) {
op               2371 daemons/fenced/fenced_remote.c             request_peer_fencing(op, peer);
op               2375 daemons/fenced/fenced_remote.c                      replies_expected, op->replies);
op               2376 daemons/fenced/fenced_remote.c             request_peer_fencing(op, NULL);
op               2379 daemons/fenced/fenced_remote.c     } else if (op->state == st_query) {
op               2380 daemons/fenced/fenced_remote.c         int nverified = count_peer_devices(op, peer, TRUE,
op               2381 daemons/fenced/fenced_remote.c                                            fenced_support_flag(op->action));
op               2389 daemons/fenced/fenced_remote.c             request_peer_fencing(op, peer);
op               2393 daemons/fenced/fenced_remote.c                      replies_expected, op->replies);
op               2394 daemons/fenced/fenced_remote.c             request_peer_fencing(op, NULL);
op               2400 daemons/fenced/fenced_remote.c     } else if ((peer != NULL) && (op->state == st_done)) {
op               2404 daemons/fenced/fenced_remote.c                  stonith_op_state_str(op->state));
op               2424 daemons/fenced/fenced_remote.c     remote_fencing_op_t *op = NULL;
op               2441 daemons/fenced/fenced_remote.c         op = g_hash_table_lookup(stonith_remote_op_list, id);
op               2444 daemons/fenced/fenced_remote.c     if ((op == NULL) && pcmk__result_ok(&result)) {
op               2448 daemons/fenced/fenced_remote.c         op = create_remote_stonith_op(client_id, dev, TRUE);
op               2451 daemons/fenced/fenced_remote.c     if (op == NULL) {
op               2459 daemons/fenced/fenced_remote.c     pcmk__reset_result(&op->result);
op               2460 daemons/fenced/fenced_remote.c     op->result = result; // The operation takes ownership of the result
op               2462 daemons/fenced/fenced_remote.c     if (op->devices && device && !pcmk__str_eq(op->devices->data, device, pcmk__str_casei)) {
op               2465 daemons/fenced/fenced_remote.c                 device, (const char *) op->devices->data, op->action, op->target);
op               2472 daemons/fenced/fenced_remote.c         if (pcmk__result_ok(&op->result)) {
op               2473 daemons/fenced/fenced_remote.c             op->state = st_done;
op               2475 daemons/fenced/fenced_remote.c             op->state = st_failed;
op               2477 daemons/fenced/fenced_remote.c         finalize_op(op, msg, false);
op               2480 daemons/fenced/fenced_remote.c     } else if (!pcmk__str_eq(op->originator, stonith_our_uname, pcmk__str_casei)) {
op               2485 daemons/fenced/fenced_remote.c                 op->id, device, op->target);
op               2489 daemons/fenced/fenced_remote.c     if (pcmk_is_set(op->call_options, st_opt_topology)) {
op               2491 daemons/fenced/fenced_remote.c         const char *reason = op->result.exit_reason;
op               2495 daemons/fenced/fenced_remote.c         if (op->state == st_done) {
op               2496 daemons/fenced/fenced_remote.c             finalize_op(op, msg, false);
op               2502 daemons/fenced/fenced_remote.c         if ((op->phase == 2) && !pcmk__result_ok(&op->result)) {
op               2508 daemons/fenced/fenced_remote.c                      device, pcmk_exec_status_str(op->result.execution_status),
op               2511 daemons/fenced/fenced_remote.c                      op->target);
op               2512 daemons/fenced/fenced_remote.c             pcmk__set_result(&op->result, CRM_EX_OK, PCMK_EXEC_DONE, NULL);
op               2516 daemons/fenced/fenced_remote.c                        op->action, op->target,
op               2519 daemons/fenced/fenced_remote.c                        op->client_name,
op               2520 daemons/fenced/fenced_remote.c                        op->originator,
op               2521 daemons/fenced/fenced_remote.c                        pcmk_exec_status_str(op->result.execution_status),
op               2527 daemons/fenced/fenced_remote.c         if (pcmk__result_ok(&op->result)) {
op               2530 daemons/fenced/fenced_remote.c             advance_topology_device_in_level(op, device, msg);
op               2535 daemons/fenced/fenced_remote.c             if (advance_topology_level(op, false) != pcmk_rc_ok) {
op               2536 daemons/fenced/fenced_remote.c                 op->state = st_failed;
op               2537 daemons/fenced/fenced_remote.c                 finalize_op(op, msg, false);
op               2542 daemons/fenced/fenced_remote.c     } else if (pcmk__result_ok(&op->result) && (op->devices == NULL)) {
op               2543 daemons/fenced/fenced_remote.c         op->state = st_done;
op               2544 daemons/fenced/fenced_remote.c         finalize_op(op, msg, false);
op               2547 daemons/fenced/fenced_remote.c     } else if ((op->result.execution_status == PCMK_EXEC_TIMEOUT)
op               2548 daemons/fenced/fenced_remote.c                && (op->devices == NULL)) {
op               2550 daemons/fenced/fenced_remote.c         op->state = st_failed;
op               2551 daemons/fenced/fenced_remote.c         finalize_op(op, msg, false);
op               2560 daemons/fenced/fenced_remote.c               op->target, op->originator, op->client_name,
op               2561 daemons/fenced/fenced_remote.c               pcmk_exec_status_str(op->result.execution_status));
op               2562 daemons/fenced/fenced_remote.c     request_peer_fencing(op, NULL);
op                 95 daemons/fenced/pacemaker-fenced.c     const char *op = NULL;
op                109 daemons/fenced/pacemaker-fenced.c     op = crm_element_value(request, PCMK__XA_CRM_TASK);
op                110 daemons/fenced/pacemaker-fenced.c     if(pcmk__str_eq(op, CRM_OP_RM_NODE_CACHE, pcmk__str_casei)) {
op                112 daemons/fenced/pacemaker-fenced.c         crm_xml_add(request, PCMK__XA_ST_OP, op);
op                177 daemons/fenced/pacemaker-fenced.c     const char *op = crm_element_value(msg, PCMK__XA_ST_OP);
op                179 daemons/fenced/pacemaker-fenced.c     if (pcmk__str_eq(op, STONITH_OP_POKE, pcmk__str_none)) {
op                386 daemons/fenced/pacemaker-fenced.c fenced_send_config_notification(const char *op,
op                390 daemons/fenced/pacemaker-fenced.c     xmlNode *notify_data = pcmk__xe_create(NULL, op);
op                394 daemons/fenced/pacemaker-fenced.c     fenced_send_notification(op, result, notify_data);
op                168 daemons/fenced/pacemaker-fenced.h void fenced_broadcast_op_result(const remote_fencing_op_t *op, bool op_merged);
op                256 daemons/fenced/pacemaker-fenced.h void fenced_send_config_notification(const char *op,
op                277 daemons/fenced/pacemaker-fenced.h void set_fencing_completed(remote_fencing_op_t * op);
op                241 daemons/pacemakerd/pcmkd_messages.c         request.op = crm_element_value_copy(request.xml, PCMK__XA_CRM_TASK);
op                242 daemons/pacemakerd/pcmkd_messages.c         CRM_CHECK(request.op != NULL, return 0);
op                254 daemons/pacemakerd/pcmkd_messages.c                                     request.op, pcmk__request_origin_type(&request),
op                279 daemons/schedulerd/schedulerd_messages.c         request.op = crm_element_value_copy(request.xml, PCMK__XA_CRM_TASK);
op                280 daemons/schedulerd/schedulerd_messages.c         CRM_CHECK(request.op != NULL, return 0);
op                292 daemons/schedulerd/schedulerd_messages.c                                     request.op, pcmk__request_origin_type(&request),
op                172 include/crm/cib/internal.h int cib_perform_op(cib_t *cib, const char *op, int call_options, cib__op_fn_t fn,
op                178 include/crm/cib/internal.h int cib__create_op(cib_t *cib, const char *op, const char *host,
op                188 include/crm/cib/internal.h int cib__get_operation(const char *op, const cib__operation_t **operation);
op                190 include/crm/cib/internal.h int cib_process_query(const char *op, int options, const char *section, xmlNode * req,
op                194 include/crm/cib/internal.h int cib_process_erase(const char *op, int options, const char *section, xmlNode * req,
op                198 include/crm/cib/internal.h int cib_process_bump(const char *op, int options, const char *section, xmlNode * req,
op                202 include/crm/cib/internal.h int cib_process_replace(const char *op, int options, const char *section, xmlNode * req,
op                206 include/crm/cib/internal.h int cib_process_create(const char *op, int options, const char *section, xmlNode * req,
op                210 include/crm/cib/internal.h int cib_process_modify(const char *op, int options, const char *section, xmlNode * req,
op                214 include/crm/cib/internal.h int cib_process_delete(const char *op, int options, const char *section, xmlNode * req,
op                218 include/crm/cib/internal.h int cib_process_diff(const char *op, int options, const char *section, xmlNode * req,
op                222 include/crm/cib/internal.h int cib_process_upgrade(const char *op, int options, const char *section, xmlNode * req,
op                248 include/crm/cib/internal.h int cib_process_xpath(const char *op, int options, const char *section,
op                254 include/crm/cib/internal.h int cib_internal_op(cib_t * cib, const char *op, const char *host,
op                406 include/crm/common/actions.h bool crm_op_needs_metadata(const char *rsc_class, const char *op);
op                371 include/crm/common/internal.h pcmk__fail_attr_name(const char *prefix, const char *rsc_id, const char *op,
op                374 include/crm/common/internal.h     CRM_CHECK(prefix && rsc_id && op, return NULL);
op                375 include/crm/common/internal.h     return crm_strdup_printf("%s-%s#%s_%u", prefix, rsc_id, op, interval_ms);
op                379 include/crm/common/internal.h pcmk__failcount_name(const char *rsc_id, const char *op, guint interval_ms)
op                381 include/crm/common/internal.h     return pcmk__fail_attr_name(PCMK__FAIL_COUNT_PREFIX, rsc_id, op,
op                386 include/crm/common/internal.h pcmk__lastfailure_name(const char *rsc_id, const char *op, guint interval_ms)
op                388 include/crm/common/internal.h     return pcmk__fail_attr_name(PCMK__LAST_FAILURE_PREFIX, rsc_id, op,
op                 61 include/crm/common/messages_internal.h     char *op;                       // IPC command name
op                 33 include/crm/lrmd_internal.h                              const char *node, const lrmd_event_data_t *op);
op                301 include/crm/pengine/internal.h pcmk_action_t *pe_fence_op(pcmk_node_t *node, const char *op, bool optional,
op                296 include/crm/services.h void services_action_cleanup(svc_action_t *op);
op                297 include/crm/services.h void services_action_free(svc_action_t *op);
op                298 include/crm/services.h int services_action_user(svc_action_t *op, const char *user);
op                299 include/crm/services.h gboolean services_action_sync(svc_action_t *op);
op                334 include/crm/services.h gboolean services_action_async_fork_notify(svc_action_t *op,
op                367 include/crm/services.h gboolean services_action_async(svc_action_t *op,
op                378 include/crm/services.h                               void (*cb)(svc_action_t *op));
op                 54 lib/cib/cib_file.c static int cib_file_process_commit_transaction(const char *op, int options,
op                221 lib/cib/cib_file.c     const char *op = crm_element_value(request, PCMK__XA_CIB_OP);
op                235 lib/cib/cib_file.c     cib__get_operation(op, &operation);
op                249 lib/cib/cib_file.c     rc = cib_perform_op(cib, op, call_options, op_function, read_only, section,
op                288 lib/cib/cib_file.c cib_file_perform_op_delegate(cib_t *cib, const char *op, const char *host,
op                301 lib/cib/cib_file.c              pcmk__s(op, "invalid"), pcmk__s(section, "entire CIB"),
op                312 lib/cib/cib_file.c     rc = cib__get_operation(op, &operation);
op                321 lib/cib/cib_file.c         crm_err("Operation %s is not supported by CIB file clients", op);
op                327 lib/cib/cib_file.c     rc = cib__create_op(cib, op, host, section, data, call_options, user_name,
op               1068 lib/cib/cib_file.c         const char *op = crm_element_value(request, PCMK__XA_CIB_OP);
op               1076 lib/cib/cib_file.c                     private->id, private->filename, op, pcmk_rc_str(rc));
op               1083 lib/cib/cib_file.c                   op, private->id, private->filename);
op               1153 lib/cib/cib_file.c cib_file_process_commit_transaction(const char *op, int options,
op                 41 lib/cib/cib_native.c cib_native_perform_op_delegate(cib_t *cib, const char *op, const char *host,
op                 63 lib/cib/cib_native.c     if (op == NULL) {
op                 72 lib/cib/cib_native.c     rc = cib__create_op(cib, op, host, section, data, call_options, user_name,
op                 83 lib/cib/cib_native.c     crm_trace("Sending %s message to the CIB manager (timeout=%ds)", op, cib->call_timeout);
op                 87 lib/cib/cib_native.c         crm_err("Couldn't perform %s operation (timeout=%ds): %s (%d)", op,
op                161 lib/cib/cib_native.c             if (!pcmk__str_eq(op, PCMK__CIB_REQUEST_QUERY, pcmk__str_none)) {
op                144 lib/cib/cib_ops.c cib__get_operation(const char *op, const cib__operation_t **operation)
op                146 lib/cib/cib_ops.c     CRM_ASSERT((op != NULL) && (operation != NULL));
op                159 lib/cib/cib_ops.c     *operation = g_hash_table_lookup(operation_table, op);
op                161 lib/cib/cib_ops.c         crm_err("Operation %s is invalid", op);
op                168 lib/cib/cib_ops.c cib_process_query(const char *op, int options, const char *section, xmlNode * req, xmlNode * input,
op                175 lib/cib/cib_ops.c               op, pcmk__s(section, "unspecified"));
op                178 lib/cib/cib_ops.c         return cib_process_xpath(op, options, section, req, input,
op                241 lib/cib/cib_ops.c cib_process_erase(const char *op, int options, const char *section, xmlNode * req, xmlNode * input,
op                246 lib/cib/cib_ops.c     crm_trace("Processing \"%s\" event", op);
op                260 lib/cib/cib_ops.c cib_process_upgrade(const char *op, int options, const char *section, xmlNode * req,
op                270 lib/cib/cib_ops.c     crm_trace("Processing \"%s\" event with max=%s", op, max_schema);
op                289 lib/cib/cib_ops.c cib_process_bump(const char *op, int options, const char *section, xmlNode * req, xmlNode * input,
op                294 lib/cib/cib_ops.c     crm_trace("Processing %s for epoch='%s'", op,
op                304 lib/cib/cib_ops.c cib_process_replace(const char *op, int options, const char *section, xmlNode * req,
op                311 lib/cib/cib_ops.c               op, pcmk__s(section, "unspecified"));
op                314 lib/cib/cib_ops.c         return cib_process_xpath(op, options, section, req, input,
op                429 lib/cib/cib_ops.c cib_process_delete(const char *op, int options, const char *section, xmlNode * req, xmlNode * input,
op                434 lib/cib/cib_ops.c     crm_trace("Processing \"%s\" event", op);
op                437 lib/cib/cib_ops.c         return cib_process_xpath(op, options, section, req, input,
op                457 lib/cib/cib_ops.c cib_process_modify(const char *op, int options, const char *section, xmlNode * req, xmlNode * input,
op                463 lib/cib/cib_ops.c     crm_trace("Processing \"%s\" event", op);
op                466 lib/cib/cib_ops.c         return cib_process_xpath(op, options, section, req, input,
op                602 lib/cib/cib_ops.c cib_process_create(const char *op, int options, const char *section, xmlNode * req, xmlNode * input,
op                610 lib/cib/cib_ops.c               op, pcmk__s(section, "unspecified"));
op                621 lib/cib/cib_ops.c     CRM_CHECK(strcmp(op, PCMK__CIB_REQUEST_CREATE) == 0, return -EINVAL);
op                629 lib/cib/cib_ops.c         return cib_process_modify(op, options, section, req, input, existing_cib, result_cib,
op                643 lib/cib/cib_ops.c             if (update_results(failed, a_child, op, result)) {
op                650 lib/cib/cib_ops.c         update_results(failed, input, op, result);
op                669 lib/cib/cib_ops.c cib_process_diff(const char *op, int options, const char *section, xmlNode * req, xmlNode * input,
op                679 lib/cib/cib_ops.c               op, originator,
op                763 lib/cib/cib_ops.c cib_process_xpath(const char *op, int options, const char *section,
op                770 lib/cib/cib_ops.c     bool is_query = pcmk__str_eq(op, PCMK__CIB_REQUEST_QUERY, pcmk__str_none);
op                774 lib/cib/cib_ops.c     crm_trace("Processing \"%s\" event", op);
op                785 lib/cib/cib_ops.c         && pcmk__str_eq(op, PCMK__CIB_REQUEST_DELETE, pcmk__str_none)) {
op                789 lib/cib/cib_ops.c         crm_debug("%s: %s does not exist", op, section);
op                799 lib/cib/cib_ops.c         && pcmk__str_eq(op, PCMK__CIB_REQUEST_DELETE, pcmk__str_none)) {
op                812 lib/cib/cib_ops.c         crm_debug("Processing %s op for %s with %s", op, section, path);
op                815 lib/cib/cib_ops.c         if (pcmk__str_eq(op, PCMK__CIB_REQUEST_DELETE, pcmk__str_none)) {
op                818 lib/cib/cib_ops.c                 crm_warn("Cannot perform %s for %s: The xpath is addressing the whole /cib", op, section);
op                828 lib/cib/cib_ops.c         } else if (pcmk__str_eq(op, PCMK__CIB_REQUEST_MODIFY, pcmk__str_none)) {
op                841 lib/cib/cib_ops.c         } else if (pcmk__str_eq(op, PCMK__CIB_REQUEST_CREATE, pcmk__str_none)) {
op                845 lib/cib/cib_ops.c         } else if (pcmk__str_eq(op, PCMK__CIB_REQUEST_QUERY, pcmk__str_none)) {
op                894 lib/cib/cib_ops.c         } else if (pcmk__str_eq(op, PCMK__CIB_REQUEST_REPLACE,
op                 57 lib/cib/cib_remote.c cib_remote_perform_op(cib_t *cib, const char *op, const char *host,
op                 79 lib/cib/cib_remote.c     if (op == NULL) {
op                 84 lib/cib/cib_remote.c     rc = cib__create_op(cib, op, host, section, data, call_options, user_name,
op                 96 lib/cib/cib_remote.c     crm_trace("Sending %s message to the CIB manager", op);
op                198 lib/cib/cib_remote.c             crm_trace("No output in reply to \"%s\" command %d", op, cib->call_id - 1);
op                163 lib/cib/cib_utils.c         const char *op = crm_element_value(change, PCMK__XA_CIB_OP);
op                172 lib/cib/cib_utils.c         if (pcmk__str_eq(op, PCMK_VALUE_CREATE, pcmk__str_none)
op                294 lib/cib/cib_utils.c should_copy_cib(const char *op, const char *section, int call_options)
op                301 lib/cib/cib_utils.c     if (pcmk__str_eq(op, PCMK__CIB_REQUEST_COMMIT_TRANSACT, pcmk__str_none)) {
op                332 lib/cib/cib_utils.c cib_perform_op(cib_t *cib, const char *op, int call_options, cib__op_fn_t fn,
op                350 lib/cib/cib_utils.c               (is_query? "read-only " : ""), op);
op                384 lib/cib/cib_utils.c         rc = (*fn) (op, call_options, section, req, input, cib_ro, result_cib, output);
op                408 lib/cib/cib_utils.c     make_copy = should_copy_cib(op, section, call_options);
op                421 lib/cib/cib_utils.c         rc = (*fn) (op, call_options, section, req, input, scratch, &scratch, output);
op                433 lib/cib/cib_utils.c         rc = (*fn) (op, call_options, section, req, input, *current_cib,
op                437 lib/cib/cib_utils.c             crm_trace("Inferring changes after %s op", op);
op                660 lib/cib/cib_utils.c cib__create_op(cib_t *cib, const char *op, const char *host,
op                675 lib/cib/cib_utils.c     crm_xml_add(*op_msg, PCMK__XA_CIB_OP, op);
op                709 lib/cib/cib_utils.c     const char *op = crm_element_value(request, PCMK__XA_CIB_OP);
op                712 lib/cib/cib_utils.c     int rc = cib__get_operation(op, &operation);
op                720 lib/cib/cib_utils.c         crm_err("Operation %s is not supported in CIB transactions", op);
op                759 lib/cib/cib_utils.c         const char *op = crm_element_value(request, PCMK__XA_CIB_OP);
op                764 lib/cib/cib_utils.c                 op, pcmk__s(client_id, "(unidentified)"), pcmk_rc_str(rc));
op                883 lib/cib/cib_utils.c cib_internal_op(cib_t * cib, const char *op, const char *host,
op                887 lib/cib/cib_utils.c     int (*delegate) (cib_t * cib, const char *op, const char *host,
op                896 lib/cib/cib_utils.c     return delegate(cib, op, host, section, data, output_data, call_options, user_name);
op                404 lib/cluster/election.c     const char *op;
op                433 lib/cluster/election.c     vote->op = crm_element_value(message, PCMK__XA_CRM_TASK);
op                440 lib/cluster/election.c     if ((vote->op == NULL) || (vote->from == NULL) || (vote->version == NULL)
op                444 lib/cluster/election.c                  (vote->op? vote->op : "election"),
op                452 lib/cluster/election.c     if (pcmk__str_eq(vote->op, CRM_OP_VOTE, pcmk__str_none)) {
op                460 lib/cluster/election.c                      (e? e->name : "election"), vote->op, vote->from);
op                464 lib/cluster/election.c     } else if (!pcmk__str_eq(vote->op, CRM_OP_NOVOTE, pcmk__str_none)) {
op                466 lib/cluster/election.c                  (e? e->name : "election"), vote->from, vote->op);
op                474 lib/cluster/election.c                  vote->op, vote->from);
op                483 lib/cluster/election.c                  e->name, vote->op, vote->from);
op                492 lib/cluster/election.c     CRM_ASSERT(e && vote && vote->from && vote->op);
op                497 lib/cluster/election.c     pcmk__insert_dup(e->voted, vote->from, vote->op);
op                575 lib/cluster/election.c     } else if (pcmk__str_eq(vote.op, CRM_OP_NOVOTE, pcmk__str_none)
op                582 lib/cluster/election.c                      e->name, vote.election_id, vote.op, vote.from,
op                589 lib/cluster/election.c                       e->name, vote.election_id, vote.op, vote.from);
op                660 lib/cluster/election.c                    e->name, vote.election_id, vote.op, e->count, vote.from,
op                682 lib/cluster/election.c                        e->name, vote.election_id, vote.election_owner, vote.op,
op                708 lib/cluster/election.c                e->name, vote.election_id, vote.election_owner, vote.op,
op                473 lib/common/actions.c rsc_op_expected_rc(const lrmd_event_data_t *op)
op                477 lib/common/actions.c     if (op && op->user_data) {
op                478 lib/common/actions.c         decode_transition_key(op->user_data, NULL, NULL, NULL, &rc);
op                484 lib/common/actions.c did_rsc_op_fail(lrmd_event_data_t * op, int target_rc)
op                486 lib/common/actions.c     switch (op->op_status) {
op                501 lib/common/actions.c             if (target_rc != op->rc) {
op                548 lib/common/actions.c crm_op_needs_metadata(const char *rsc_class, const char *op)
op                554 lib/common/actions.c     CRM_CHECK((rsc_class != NULL) || (op != NULL), return false);
op                561 lib/common/actions.c     if (op == NULL) {
op                566 lib/common/actions.c     return pcmk__str_any_of(op, PCMK_ACTION_START, PCMK_ACTION_MONITOR,
op                356 lib/common/crmcommon_private.h enum pcmk__comparison pcmk__parse_comparison(const char *op);
op                359 lib/common/crmcommon_private.h enum pcmk__type pcmk__parse_type(const char *type, enum pcmk__comparison op,
op                332 lib/common/ipc_attrd.c add_op_attr(xmlNode *op, uint32_t options)
op                335 lib/common/ipc_attrd.c         crm_xml_add(op, PCMK_XA_TASK, PCMK__ATTRD_CMD_UPDATE_BOTH);
op                337 lib/common/ipc_attrd.c         crm_xml_add(op, PCMK_XA_TASK, PCMK__ATTRD_CMD_UPDATE);
op                339 lib/common/ipc_attrd.c         crm_xml_add(op, PCMK_XA_TASK, PCMK__ATTRD_CMD_UPDATE_DELAY);
op                344 lib/common/ipc_attrd.c populate_update_op(xmlNode *op, const char *node, const char *name, const char *value,
op                348 lib/common/ipc_attrd.c         crm_xml_add(op, PCMK__XA_ATTR_REGEX, name);
op                350 lib/common/ipc_attrd.c         crm_xml_add(op, PCMK__XA_ATTR_NAME, name);
op                354 lib/common/ipc_attrd.c         crm_xml_add(op, PCMK__XA_ATTR_SET_TYPE, PCMK_XE_UTILIZATION);
op                356 lib/common/ipc_attrd.c         crm_xml_add(op, PCMK__XA_ATTR_SET_TYPE, PCMK_XE_INSTANCE_ATTRIBUTES);
op                359 lib/common/ipc_attrd.c     add_op_attr(op, options);
op                361 lib/common/ipc_attrd.c     crm_xml_add(op, PCMK__XA_ATTR_VALUE, value);
op                362 lib/common/ipc_attrd.c     crm_xml_add(op, PCMK__XA_ATTR_DAMPENING, dampen);
op                363 lib/common/ipc_attrd.c     pcmk__xe_add_node(op, node, 0);
op                364 lib/common/ipc_attrd.c     crm_xml_add(op, PCMK__XA_ATTR_SET, set);
op                365 lib/common/ipc_attrd.c     crm_xml_add_int(op, PCMK__XA_ATTR_IS_REMOTE,
op                367 lib/common/ipc_attrd.c     crm_xml_add_int(op, PCMK__XA_ATTR_IS_PRIVATE,
op                371 lib/common/ipc_attrd.c         crm_xml_add(op, PCMK__XA_ATTR_SYNC_POINT, PCMK__VALUE_LOCAL);
op                373 lib/common/ipc_attrd.c         crm_xml_add(op, PCMK__XA_ATTR_SYNC_POINT, PCMK__VALUE_CLUSTER);
op                318 lib/common/ipc_controld.c create_controller_request(const pcmk_ipc_api_t *api, const char *op,
op                328 lib/common/ipc_controld.c     if ((node == NULL) && !strcmp(op, CRM_OP_PING)) {
op                333 lib/common/ipc_controld.c     return create_request(op, msg_data, node, sys_to,
op                480 lib/common/ipc_controld.c controller_resource_op(pcmk_ipc_api_t *api, const char *op,
op                533 lib/common/ipc_controld.c     request = create_controller_request(api, op, router_node, msg_data);
op                246 lib/common/messages.c     CRM_CHECK((request != NULL) && (request->op != NULL) && (handlers != NULL),
op                255 lib/common/messages.c     handler = g_hash_table_lookup(handlers, request->op);
op                260 lib/common/messages.c                      request->op, pcmk__request_origin_type(request),
op                278 lib/common/messages.c     free(request->op);
op                279 lib/common/messages.c     request->op = NULL;
op               1150 lib/common/patchset.c         const char *op = crm_element_value(change, PCMK_XA_OPERATION);
op               1154 lib/common/patchset.c         if (op == NULL) {
op               1158 lib/common/patchset.c         crm_trace("Processing %s %s", change->name, op);
op               1163 lib/common/patchset.c         if (strcmp(op, PCMK_VALUE_DELETE) == 0) {
op               1167 lib/common/patchset.c         crm_trace("Performing %s on %s with %p", op, xpath, match);
op               1169 lib/common/patchset.c         if ((match == NULL) && (strcmp(op, PCMK_VALUE_DELETE) == 0)) {
op               1170 lib/common/patchset.c             crm_debug("No %s match for %s in %p", op, xpath, xml->doc);
op               1174 lib/common/patchset.c             crm_err("No %s match for %s in %p", op, xpath, xml->doc);
op               1178 lib/common/patchset.c         } else if (pcmk__str_any_of(op,
op               1189 lib/common/patchset.c             if (strcmp(op, PCMK_VALUE_MOVE) == 0) {
op               1196 lib/common/patchset.c         } else if (strcmp(op, PCMK_VALUE_DELETE) == 0) {
op               1199 lib/common/patchset.c         } else if (strcmp(op, PCMK_VALUE_MODIFY) == 0) {
op               1220 lib/common/patchset.c             crm_err("Unknown operation: %s", op);
op               1231 lib/common/patchset.c         const char *op = NULL;
op               1236 lib/common/patchset.c         op = crm_element_value(change, PCMK_XA_OPERATION);
op               1239 lib/common/patchset.c         crm_trace("Continue performing %s on %s with %p", op, xpath, match);
op               1241 lib/common/patchset.c         if (strcmp(op, PCMK_VALUE_CREATE) == 0) {
op               1276 lib/common/patchset.c         } else if (strcmp(op, PCMK_VALUE_MOVE) == 0) {
op                204 lib/common/patchset_display.c         const char *op = crm_element_value(change, PCMK_XA_OPERATION);
op                207 lib/common/patchset_display.c         if (op == NULL) {
op                211 lib/common/patchset_display.c         if (strcmp(op, PCMK_VALUE_CREATE) == 0) {
op                231 lib/common/patchset_display.c         } else if (strcmp(op, PCMK_VALUE_MOVE) == 0) {
op                239 lib/common/patchset_display.c         } else if (strcmp(op, PCMK_VALUE_MODIFY) == 0) {
op                251 lib/common/patchset_display.c                 op = crm_element_value(child, PCMK_XA_OPERATION);
op                252 lib/common/patchset_display.c                 if (op == NULL) {
op                256 lib/common/patchset_display.c                 if (strcmp(op, "set") == 0) {
op                262 lib/common/patchset_display.c                 } else if (strcmp(op, "unset") == 0) {
op                281 lib/common/patchset_display.c         } else if (strcmp(op, PCMK_VALUE_DELETE) == 0) {
op                538 lib/common/rules.c     const char *op = NULL;
op                556 lib/common/rules.c     op = crm_element_value(date_expression, PCMK_XA_OPERATION);
op                557 lib/common/rules.c     if (pcmk__str_eq(op, PCMK_VALUE_IN_RANGE,
op                561 lib/common/rules.c     } else if (pcmk__str_eq(op, PCMK_VALUE_DATE_SPEC, pcmk__str_casei)) {
op                579 lib/common/rules.c     } else if (pcmk__str_eq(op, PCMK_VALUE_GT, pcmk__str_casei)) {
op                582 lib/common/rules.c     } else if (pcmk__str_eq(op, PCMK_VALUE_LT, pcmk__str_casei)) {
op                591 lib/common/rules.c                           PCMK_XE_OPERATION, id, op);
op                595 lib/common/rules.c               id, op, pcmk_rc_str(rc), rc);
op                723 lib/common/rules.c pcmk__parse_comparison(const char *op)
op                725 lib/common/rules.c     if (pcmk__str_eq(op, PCMK_VALUE_DEFINED, pcmk__str_casei)) {
op                728 lib/common/rules.c     } else if (pcmk__str_eq(op, PCMK_VALUE_NOT_DEFINED, pcmk__str_casei)) {
op                731 lib/common/rules.c     } else if (pcmk__str_eq(op, PCMK_VALUE_EQ, pcmk__str_casei)) {
op                734 lib/common/rules.c     } else if (pcmk__str_eq(op, PCMK_VALUE_NE, pcmk__str_casei)) {
op                737 lib/common/rules.c     } else if (pcmk__str_eq(op, PCMK_VALUE_LT, pcmk__str_casei)) {
op                740 lib/common/rules.c     } else if (pcmk__str_eq(op, PCMK_VALUE_LTE, pcmk__str_casei)) {
op                743 lib/common/rules.c     } else if (pcmk__str_eq(op, PCMK_VALUE_GT, pcmk__str_casei)) {
op                746 lib/common/rules.c     } else if (pcmk__str_eq(op, PCMK_VALUE_GTE, pcmk__str_casei)) {
op                765 lib/common/rules.c pcmk__parse_type(const char *type, enum pcmk__comparison op,
op                769 lib/common/rules.c         switch (op) {
op               1042 lib/common/rules.c     const char *op = NULL;
op               1087 lib/common/rules.c     op = crm_element_value(expression, PCMK_XA_OPERATION);
op               1088 lib/common/rules.c     comparison = pcmk__parse_comparison(op);
op               1091 lib/common/rules.c         if (op == NULL) {
op               1098 lib/common/rules.c                              PCMK_XA_OPERATION, id, op);
op               1124 lib/common/rules.c                                   "when " PCMK_XA_BOOLEAN_OP " is %s", id, op);
op               1161 lib/common/rules.c                       id, pcmk_rc_str(rc), attr, op);
op               1167 lib/common/rules.c                       id, pcmk_rc_str(rc), attr, op, pcmk__s(reference, ""),
op                 86 lib/fencing/st_client.c xmlNode *stonith_create_op(int call_id, const char *token, const char *op, xmlNode * data,
op                 88 lib/fencing/st_client.c static int stonith_send_command(stonith_t *stonith, const char *op,
op                725 lib/fencing/st_client.c         xmlNode *op = NULL;
op                729 lib/fencing/st_client.c         for (op = pcmk__xe_first_child(reply, NULL, NULL, NULL); op != NULL;
op                730 lib/fencing/st_client.c              op = pcmk__xe_next(op)) {
op                736 lib/fencing/st_client.c             kvp->target = crm_element_value_copy(op, PCMK__XA_ST_TARGET);
op                737 lib/fencing/st_client.c             kvp->action = crm_element_value_copy(op, PCMK__XA_ST_DEVICE_ACTION);
op                738 lib/fencing/st_client.c             kvp->origin = crm_element_value_copy(op, PCMK__XA_ST_ORIGIN);
op                739 lib/fencing/st_client.c             kvp->delegate = crm_element_value_copy(op, PCMK__XA_ST_DELEGATE);
op                740 lib/fencing/st_client.c             kvp->client = crm_element_value_copy(op, PCMK__XA_ST_CLIENTNAME);
op                741 lib/fencing/st_client.c             crm_element_value_ll(op, PCMK__XA_ST_DATE, &completed);
op                743 lib/fencing/st_client.c             crm_element_value_ll(op, PCMK__XA_ST_DATE_NSEC, &completed_nsec);
op                745 lib/fencing/st_client.c             crm_element_value_int(op, PCMK__XA_ST_STATE, &kvp->state);
op                746 lib/fencing/st_client.c             kvp->exit_reason = crm_element_value_copy(op, PCMK_XA_EXIT_REASON);
op                809 lib/fencing/st_client.c stonith_create_op(int call_id, const char *token, const char *op, xmlNode * data, int call_options)
op                817 lib/fencing/st_client.c     crm_xml_add(op_msg, PCMK__XA_ST_OP, op);
op               1547 lib/fencing/st_client.c stonith_send_command(stonith_t * stonith, const char *op, xmlNode * data, xmlNode ** output_data,
op               1557 lib/fencing/st_client.c     CRM_ASSERT(stonith && stonith->st_private && op);
op               1577 lib/fencing/st_client.c     op_msg = stonith_create_op(stonith->call_id, native->token, op, data, call_options);
op               1583 lib/fencing/st_client.c     crm_trace("Sending %s message to fencer with timeout %ds", op, timeout);
op               1606 lib/fencing/st_client.c         crm_perror(LOG_ERR, "Couldn't perform %s operation (timeout=%ds): %d", op, timeout, rc);
op                346 lib/lrmd/lrmd_alerts.c                          const char *node, const lrmd_event_data_t *op)
op                356 lib/lrmd/lrmd_alerts.c     target_rc = rsc_op_expected_rc(op);
op                357 lib/lrmd/lrmd_alerts.c     if ((op->interval_ms == 0) && (target_rc == op->rc)
op                358 lib/lrmd/lrmd_alerts.c         && pcmk__str_eq(op->op_type, PCMK_ACTION_MONITOR, pcmk__str_casei)) {
op                369 lib/lrmd/lrmd_alerts.c     params = alert_key2param(params, PCMK__alert_key_rsc, op->rsc_id);
op                370 lib/lrmd/lrmd_alerts.c     params = alert_key2param(params, PCMK__alert_key_task, op->op_type);
op                372 lib/lrmd/lrmd_alerts.c                                 op->interval_ms);
op                374 lib/lrmd/lrmd_alerts.c     params = alert_key2param_int(params, PCMK__alert_key_status, op->op_status);
op                375 lib/lrmd/lrmd_alerts.c     params = alert_key2param_int(params, PCMK__alert_key_rc, op->rc);
op                380 lib/lrmd/lrmd_alerts.c     if ((op->op_status == PCMK_EXEC_TIMEOUT) && (op->exec_time == 0)) {
op                382 lib/lrmd/lrmd_alerts.c                                      op->timeout);
op                385 lib/lrmd/lrmd_alerts.c                                      op->exec_time);
op                388 lib/lrmd/lrmd_alerts.c     if (op->op_status == PCMK_EXEC_DONE) {
op                390 lib/lrmd/lrmd_alerts.c                                  services_ocf_exitcode_str(op->rc));
op                393 lib/lrmd/lrmd_alerts.c                                  pcmk_exec_status_str(op->op_status));
op                540 lib/lrmd/lrmd_client.c lrmd_create_op(const char *token, const char *op, xmlNode *data, int timeout,
op                549 lib/lrmd/lrmd_client.c     crm_xml_add(op_msg, PCMK__XA_LRMD_OP, op);
op                560 lib/lrmd/lrmd_client.c               op, (long)options, options);
op                885 lib/lrmd/lrmd_client.c lrmd_send_command(lrmd_t *lrmd, const char *op, xmlNode *data,
op                898 lib/lrmd/lrmd_client.c     if (op == NULL) {
op                905 lib/lrmd/lrmd_client.c     crm_trace("Sending %s op to executor", op);
op                907 lib/lrmd/lrmd_client.c     op_msg = lrmd_create_op(native->token, op, data, timeout, options);
op                921 lib/lrmd/lrmd_client.c         crm_perror(LOG_ERR, "Couldn't perform %s operation (timeout=%d): %d", op, timeout, rc);
op                930 lib/lrmd/lrmd_client.c     crm_trace("%s op reply received", op);
op                219 lib/lrmd/proxy_common.c     const char *op = crm_element_value(msg, PCMK__XA_LRMD_IPC_OP);
op                228 lib/lrmd/proxy_common.c     CRM_CHECK(op != NULL, return);
op                234 lib/lrmd/proxy_common.c     if (pcmk__str_eq(op, LRMD_IPC_OP_DESTROY, pcmk__str_casei)) {
op                237 lib/lrmd/proxy_common.c     } else if (pcmk__str_eq(op, LRMD_IPC_OP_REQUEST, pcmk__str_casei)) {
op                287 lib/lrmd/proxy_common.c                          op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name, pcmk_strerror(rc), rc);
op                298 lib/lrmd/proxy_common.c                           op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name);
op                308 lib/lrmd/proxy_common.c                       op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name);
op                313 lib/lrmd/proxy_common.c                          op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name, pcmk_strerror(rc), rc);
op                316 lib/lrmd/proxy_common.c                           op, msg_id, proxy->node_name, crm_ipc_name(proxy->ipc), name);
op                325 lib/lrmd/proxy_common.c         crm_err("Unknown proxy operation: %s", op);
op               1040 lib/pacemaker/libpacemaker_private.h                                     lrmd_event_data_t *op, int target_rc);
op                849 lib/pacemaker/pcmk_graph_consumer.c     lrmd_event_data_t *op = NULL;
op                863 lib/pacemaker/pcmk_graph_consumer.c     op = lrmd_new_event(pcmk__xe_id(action_resource),
op                866 lib/pacemaker/pcmk_graph_consumer.c     lrmd__set_result(op, rc, status, exit_reason);
op                867 lib/pacemaker/pcmk_graph_consumer.c     op->t_run = time(NULL);
op                868 lib/pacemaker/pcmk_graph_consumer.c     op->t_rcchange = op->t_run;
op                869 lib/pacemaker/pcmk_graph_consumer.c     op->params = pcmk__strkey_table(free, free);
op                873 lib/pacemaker/pcmk_graph_consumer.c         pcmk__insert_dup(op->params, name, value);
op                883 lib/pacemaker/pcmk_graph_consumer.c         if (tmp > op->call_id) {
op                884 lib/pacemaker/pcmk_graph_consumer.c             op->call_id = tmp;
op                888 lib/pacemaker/pcmk_graph_consumer.c     op->call_id++;
op                889 lib/pacemaker/pcmk_graph_consumer.c     return op;
op                187 lib/pacemaker/pcmk_injections.c     lrmd_event_data_t *op = NULL;
op                190 lib/pacemaker/pcmk_injections.c     op = lrmd_new_event(pcmk__xe_id(cib_resource), task, interval_ms);
op                191 lib/pacemaker/pcmk_injections.c     lrmd__set_result(op, outcome, PCMK_EXEC_DONE, "Simulated action result");
op                192 lib/pacemaker/pcmk_injections.c     op->params = NULL; // Not needed for simulation purposes
op                193 lib/pacemaker/pcmk_injections.c     op->t_run = (unsigned int) time(NULL);
op                194 lib/pacemaker/pcmk_injections.c     op->t_rcchange = op->t_run;
op                197 lib/pacemaker/pcmk_injections.c     op->call_id = 0;
op                204 lib/pacemaker/pcmk_injections.c         if (tmp > op->call_id) {
op                205 lib/pacemaker/pcmk_injections.c             op->call_id = tmp;
op                208 lib/pacemaker/pcmk_injections.c     op->call_id++;
op                210 lib/pacemaker/pcmk_injections.c     return op;
op                224 lib/pacemaker/pcmk_injections.c pcmk__inject_action_result(xmlNode *cib_resource, lrmd_event_data_t *op,
op                227 lib/pacemaker/pcmk_injections.c     return pcmk__create_history_xml(cib_resource, op, CRM_FEATURE_SET,
op                570 lib/pacemaker/pcmk_injections.c     lrmd_event_data_t *op = NULL;
op                606 lib/pacemaker/pcmk_injections.c     op = create_op(cib_resource, task, interval_ms, outcome);
op                607 lib/pacemaker/pcmk_injections.c     CRM_ASSERT(op != NULL);
op                609 lib/pacemaker/pcmk_injections.c     cib_op = pcmk__inject_action_result(cib_resource, op, 0);
op                611 lib/pacemaker/pcmk_injections.c     lrmd_free_event(op);
op               1444 lib/pacemaker/pcmk_output.c     const char *op = va_arg(args, const char *);
op               1450 lib/pacemaker/pcmk_output.c     out->list_item(out, NULL, "Fencing %s (%s)", target, op);
op               1459 lib/pacemaker/pcmk_output.c     const char *op = va_arg(args, const char *);
op               1467 lib/pacemaker/pcmk_output.c                                  PCMK_XA_OP, op,
op               1087 lib/pacemaker/pcmk_sched_actions.c add_op_digest_to_xml(const lrmd_event_data_t *op, xmlNode *update)
op               1092 lib/pacemaker/pcmk_sched_actions.c     if (op->params == NULL) {
op               1096 lib/pacemaker/pcmk_sched_actions.c     g_hash_table_foreach(op->params, hash2field, args_xml);
op               1120 lib/pacemaker/pcmk_sched_actions.c pcmk__create_history_xml(xmlNode *parent, lrmd_event_data_t *op,
op               1134 lib/pacemaker/pcmk_sched_actions.c     CRM_CHECK(op != NULL, return NULL);
op               1137 lib/pacemaker/pcmk_sched_actions.c               pcmk__readable_interval(op->interval_ms), op->op_type, op->rsc_id,
op               1140 lib/pacemaker/pcmk_sched_actions.c     task = op->op_type;
op               1153 lib/pacemaker/pcmk_sched_actions.c         if (op->op_status == PCMK_EXEC_DONE) {
op               1160 lib/pacemaker/pcmk_sched_actions.c     key = pcmk__op_key(op->rsc_id, task, op->interval_ms);
op               1162 lib/pacemaker/pcmk_sched_actions.c         const char *n_type = crm_meta_value(op->params, "notify_type");
op               1163 lib/pacemaker/pcmk_sched_actions.c         const char *n_task = crm_meta_value(op->params, "notify_operation");
op               1167 lib/pacemaker/pcmk_sched_actions.c         op_id = pcmk__notify_key(op->rsc_id, n_type, n_task);
op               1169 lib/pacemaker/pcmk_sched_actions.c         if (op->op_status != PCMK_EXEC_PENDING) {
op               1175 lib/pacemaker/pcmk_sched_actions.c             lrmd__set_result(op, PCMK_OCF_OK, PCMK_EXEC_DONE, NULL);
op               1181 lib/pacemaker/pcmk_sched_actions.c     } else if (pcmk__str_any_of(op->op_type, PCMK_ACTION_MIGRATE_TO,
op               1185 lib/pacemaker/pcmk_sched_actions.c     } else if (did_rsc_op_fail(op, target_rc)) {
op               1186 lib/pacemaker/pcmk_sched_actions.c         op_id = pcmk__op_key(op->rsc_id, "last_failure", 0);
op               1187 lib/pacemaker/pcmk_sched_actions.c         if (op->interval_ms == 0) {
op               1191 lib/pacemaker/pcmk_sched_actions.c             op_id_additional = pcmk__op_key(op->rsc_id, "last", 0);
op               1193 lib/pacemaker/pcmk_sched_actions.c         exit_reason = op->exit_reason;
op               1195 lib/pacemaker/pcmk_sched_actions.c     } else if (op->interval_ms > 0) {
op               1199 lib/pacemaker/pcmk_sched_actions.c         op_id = pcmk__op_key(op->rsc_id, "last", 0);
op               1209 lib/pacemaker/pcmk_sched_actions.c     if (op->user_data == NULL) {
op               1211 lib/pacemaker/pcmk_sched_actions.c                   " %d from %s", op->rsc_id, op->op_type, op->interval_ms,
op               1212 lib/pacemaker/pcmk_sched_actions.c                   op->call_id, origin);
op               1213 lib/pacemaker/pcmk_sched_actions.c         local_user_data = pcmk__transition_key(-1, op->call_id, target_rc,
op               1215 lib/pacemaker/pcmk_sched_actions.c         op->user_data = local_user_data;
op               1219 lib/pacemaker/pcmk_sched_actions.c         magic = crm_strdup_printf("%d:%d;%s", op->op_status, op->rc,
op               1220 lib/pacemaker/pcmk_sched_actions.c                                   (const char *) op->user_data);
op               1228 lib/pacemaker/pcmk_sched_actions.c     crm_xml_add(xml_op, PCMK__XA_TRANSITION_KEY, op->user_data);
op               1233 lib/pacemaker/pcmk_sched_actions.c     crm_xml_add_int(xml_op, PCMK__XA_CALL_ID, op->call_id);
op               1234 lib/pacemaker/pcmk_sched_actions.c     crm_xml_add_int(xml_op, PCMK__XA_RC_CODE, op->rc);
op               1235 lib/pacemaker/pcmk_sched_actions.c     crm_xml_add_int(xml_op, PCMK__XA_OP_STATUS, op->op_status);
op               1236 lib/pacemaker/pcmk_sched_actions.c     crm_xml_add_ms(xml_op, PCMK_META_INTERVAL, op->interval_ms);
op               1239 lib/pacemaker/pcmk_sched_actions.c         if (op->t_run || op->t_rcchange || op->exec_time || op->queue_time) {
op               1242 lib/pacemaker/pcmk_sched_actions.c                       op->rsc_id, op->op_type, op->interval_ms,
op               1243 lib/pacemaker/pcmk_sched_actions.c                       op->t_run, op->t_rcchange, op->exec_time, op->queue_time);
op               1245 lib/pacemaker/pcmk_sched_actions.c             if ((op->interval_ms != 0) && (op->t_rcchange != 0)) {
op               1248 lib/pacemaker/pcmk_sched_actions.c                                (long long) op->t_rcchange);
op               1251 lib/pacemaker/pcmk_sched_actions.c                                (long long) op->t_run);
op               1254 lib/pacemaker/pcmk_sched_actions.c             crm_xml_add_int(xml_op, PCMK_XA_EXEC_TIME, op->exec_time);
op               1255 lib/pacemaker/pcmk_sched_actions.c             crm_xml_add_int(xml_op, PCMK_XA_QUEUE_TIME, op->queue_time);
op               1259 lib/pacemaker/pcmk_sched_actions.c     if (pcmk__str_any_of(op->op_type, PCMK_ACTION_MIGRATE_TO,
op               1266 lib/pacemaker/pcmk_sched_actions.c         crm_xml_add(xml_op, name, crm_meta_value(op->params, name));
op               1269 lib/pacemaker/pcmk_sched_actions.c         crm_xml_add(xml_op, name, crm_meta_value(op->params, name));
op               1272 lib/pacemaker/pcmk_sched_actions.c     add_op_digest_to_xml(op, xml_op);
op               1283 lib/pacemaker/pcmk_sched_actions.c         op->user_data = NULL;
op               1421 lib/pacemaker/pcmk_sched_actions.c             const char *op = g_hash_table_lookup(action->meta,
op               1424 lib/pacemaker/pcmk_sched_actions.c             task = crm_strdup_printf("Fence (%s)", op);
op                104 lib/pacemaker/pcmk_sched_group.c     pcmk_action_t *op = custom_action(group, pcmk__op_key(group->id, action, 0),
op                107 lib/pacemaker/pcmk_sched_group.c     pcmk__set_action_flags(op, pcmk_action_pseudo|pcmk_action_runnable);
op                108 lib/pacemaker/pcmk_sched_group.c     return op;
op                309 lib/pacemaker/pcmk_sched_probes.c         const char *op = g_hash_table_lookup(then->meta,
op                312 lib/pacemaker/pcmk_sched_probes.c         if (pcmk__str_eq(op, PCMK_ACTION_ON, pcmk__str_casei)) {
op                 66 lib/pacemaker/pcmk_sched_recurring.c     for (xmlNode *op = pcmk__xe_first_child(rsc->ops_xml, PCMK_XE_OP, NULL,
op                 68 lib/pacemaker/pcmk_sched_recurring.c          op != NULL; op = pcmk__xe_next_same(op)) {
op                 71 lib/pacemaker/pcmk_sched_recurring.c         if (!pcmk__str_eq(crm_element_value(op, PCMK_XA_NAME), name,
op                 73 lib/pacemaker/pcmk_sched_recurring.c             || (xe_interval(op) != interval_ms)) {
op                 77 lib/pacemaker/pcmk_sched_recurring.c         if (pcmk__xe_id(op) == NULL) {
op                 82 lib/pacemaker/pcmk_sched_recurring.c             id = pcmk__xe_id(op); // First matching op
op                 86 lib/pacemaker/pcmk_sched_recurring.c                              "than once per resource)", pcmk__xe_id(op), id);
op                131 lib/pacemaker/pcmk_sched_recurring.c                      struct op_history *op)
op                135 lib/pacemaker/pcmk_sched_recurring.c     op->interval_ms = xe_interval(xml);
op                136 lib/pacemaker/pcmk_sched_recurring.c     if (op->interval_ms == 0) {
op                140 lib/pacemaker/pcmk_sched_recurring.c     op->id = pcmk__xe_id(xml);
op                141 lib/pacemaker/pcmk_sched_recurring.c     if (pcmk__str_empty(op->id)) {
op                146 lib/pacemaker/pcmk_sched_recurring.c     op->name = crm_element_value(xml, PCMK_XA_NAME);
op                147 lib/pacemaker/pcmk_sched_recurring.c     if (op_cannot_recur(op->name)) {
op                149 lib/pacemaker/pcmk_sched_recurring.c                          op->id, pcmk__s(op->name, "unnamed"));
op                154 lib/pacemaker/pcmk_sched_recurring.c     if (is_op_dup(rsc, op->name, op->interval_ms)) {
op                161 lib/pacemaker/pcmk_sched_recurring.c         op->role = pcmk_role_unknown;
op                163 lib/pacemaker/pcmk_sched_recurring.c         op->role = pcmk_parse_role(role);
op                164 lib/pacemaker/pcmk_sched_recurring.c         if (op->role == pcmk_role_unknown) {
op                166 lib/pacemaker/pcmk_sched_recurring.c                              op->id, role);
op                172 lib/pacemaker/pcmk_sched_recurring.c     if (pcmk__find_action_config(rsc, op->name, op->interval_ms,
op                177 lib/pacemaker/pcmk_sched_recurring.c                         op->id, pcmk__readable_interval(op->interval_ms),
op                178 lib/pacemaker/pcmk_sched_recurring.c                         op->name, rsc->id);
op                182 lib/pacemaker/pcmk_sched_recurring.c     op->key = pcmk__op_key(rsc->id, op->name, op->interval_ms);
op                229 lib/pacemaker/pcmk_sched_recurring.c         const pcmk_action_t *op = (const pcmk_action_t *) iter->data;
op                231 lib/pacemaker/pcmk_sched_recurring.c         if (pcmk_is_set(op->flags, pcmk_action_reschedule)) {
op                255 lib/pacemaker/pcmk_sched_recurring.c                         const pcmk_node_t *node, const struct op_history *op)
op                260 lib/pacemaker/pcmk_sched_recurring.c     enum rsc_role_e monitor_role = op->role;
op                267 lib/pacemaker/pcmk_sched_recurring.c     is_optional = active_recurring_should_be_optional(rsc, node, op->key,
op                281 lib/pacemaker/pcmk_sched_recurring.c             pcmk_action_t *cancel_op = pcmk__new_cancel_action(rsc, op->name,
op                282 lib/pacemaker/pcmk_sched_recurring.c                                                                op->interval_ms,
op                313 lib/pacemaker/pcmk_sched_recurring.c                    (is_optional? "Cancelling" : "Ignoring"), op->key, op->id,
op                321 lib/pacemaker/pcmk_sched_recurring.c                     (is_optional? "optional" : "mandatory"), op->key,
op                322 lib/pacemaker/pcmk_sched_recurring.c                     op->id, rsc->id, pcmk_role_text(rsc->next_role),
op                325 lib/pacemaker/pcmk_sched_recurring.c     mon = custom_action(rsc, strdup(op->key), op->name, node, is_optional,
op                340 lib/pacemaker/pcmk_sched_recurring.c                        pcmk__readable_interval(op->interval_ms), mon->task,
op                498 lib/pacemaker/pcmk_sched_recurring.c                           const struct op_history *op)
op                503 lib/pacemaker/pcmk_sched_recurring.c     if (op->role != pcmk_role_stopped) {
op                509 lib/pacemaker/pcmk_sched_recurring.c                    " role are not supported for anonymous clones)", op->id);
op                515 lib/pacemaker/pcmk_sched_recurring.c                     "where it should not be running", op->id, rsc->id);
op                527 lib/pacemaker/pcmk_sched_recurring.c             cancel_if_running(rsc, node, op->key, op->name, op->interval_ms);
op                532 lib/pacemaker/pcmk_sched_recurring.c         possible_matches = find_actions_exact(rsc->actions, op->key, stop_node);
op                540 lib/pacemaker/pcmk_sched_recurring.c                         op->key, op->id, rsc->id, pcmk__node_name(stop_node));
op                542 lib/pacemaker/pcmk_sched_recurring.c         stopped_mon = custom_action(rsc, strdup(op->key), op->name, stop_node,
op                566 lib/pacemaker/pcmk_sched_recurring.c                        pcmk__readable_interval(op->interval_ms),
op                615 lib/pacemaker/pcmk_sched_recurring.c     for (xmlNode *op = pcmk__xe_first_child(rsc->ops_xml, PCMK_XE_OP, NULL,
op                617 lib/pacemaker/pcmk_sched_recurring.c          op != NULL; op = pcmk__xe_next_same(op)) {
op                621 lib/pacemaker/pcmk_sched_recurring.c         if (!is_recurring_history(rsc, op, &op_history)) {
op                720 lib/pacemaker/pcmk_sched_recurring.c     pcmk_action_t *op = NULL;
op                724 lib/pacemaker/pcmk_sched_recurring.c     op = custom_action(rsc, pcmk__op_key(rsc->id, task, interval_ms),
op                726 lib/pacemaker/pcmk_sched_recurring.c     pcmk__set_action_flags(op, pcmk_action_reschedule);
op                461 lib/pacemaker/pcmk_sched_resource.c             pcmk_action_t *op = (pcmk_action_t *) iter->data;
op                464 lib/pacemaker/pcmk_sched_resource.c                             op->uuid, rsc->id);
op                466 lib/pacemaker/pcmk_sched_resource.c             if (pcmk__str_eq(op->task, PCMK_ACTION_STOP, pcmk__str_none)) {
op                467 lib/pacemaker/pcmk_sched_resource.c                 pcmk__clear_action_flags(op, pcmk_action_optional);
op                469 lib/pacemaker/pcmk_sched_resource.c             } else if (pcmk__str_eq(op->task, PCMK_ACTION_START,
op                471 lib/pacemaker/pcmk_sched_resource.c                 pcmk__clear_action_flags(op, pcmk_action_runnable);
op                478 lib/pacemaker/pcmk_sched_resource.c                 interval_ms_s = g_hash_table_lookup(op->meta,
op                480 lib/pacemaker/pcmk_sched_resource.c                 target_rc_s = g_hash_table_lookup(op->meta,
op                489 lib/pacemaker/pcmk_sched_resource.c                     pcmk__clear_action_flags(op, pcmk_action_runnable);
op                100 lib/pacemaker/pcmk_simulate.c         const char *op = g_hash_table_lookup(action->meta,
op                104 lib/pacemaker/pcmk_simulate.c                                         prefix, action->task, op, action_host);
op                500 lib/pacemaker/pcmk_simulate.c     lrmd_event_data_t *op = NULL;
op                592 lib/pacemaker/pcmk_simulate.c     op = pcmk__event_from_graph_action(cib_resource, action, PCMK_EXEC_DONE,
op                594 lib/pacemaker/pcmk_simulate.c     out->message(out, "inject-rsc-action", resource, op->op_type, node,
op                595 lib/pacemaker/pcmk_simulate.c                  op->interval_ms);
op                605 lib/pacemaker/pcmk_simulate.c         key = crm_strdup_printf(PCMK__OP_FMT "@%s=", resource, op->op_type,
op                606 lib/pacemaker/pcmk_simulate.c                                 op->interval_ms, node);
op                617 lib/pacemaker/pcmk_simulate.c                                     op->op_type, op->interval_ms, node);
op                629 lib/pacemaker/pcmk_simulate.c         rc = sscanf(spec, "%*[^=]=%d", (int *) &op->rc);
op                637 lib/pacemaker/pcmk_simulate.c                   action->id, op->rc);
op                640 lib/pacemaker/pcmk_simulate.c         pcmk__inject_failcount(out, fake_cib, cib_node, match_name, op->op_type,
op                641 lib/pacemaker/pcmk_simulate.c                                op->interval_ms, op->rc);
op                645 lib/pacemaker/pcmk_simulate.c     pcmk__inject_action_result(cib_resource, op, target_outcome);
op                646 lib/pacemaker/pcmk_simulate.c     lrmd_free_event(op);
op                694 lib/pacemaker/pcmk_simulate.c     const char *op = crm_meta_value(action->params, PCMK__META_STONITH_ACTION);
op                697 lib/pacemaker/pcmk_simulate.c     out->message(out, "inject-fencing-action", target, op);
op                699 lib/pacemaker/pcmk_simulate.c     if (!pcmk__str_eq(op, PCMK_ACTION_ON, pcmk__str_casei)) {
op                276 lib/pengine/complex.c template_op_key(xmlNode * op)
op                278 lib/pengine/complex.c     const char *name = crm_element_value(op, PCMK_XA_NAME);
op                279 lib/pengine/complex.c     const char *role = crm_element_value(op, PCMK_XA_ROLE);
op                361 lib/pengine/complex.c         xmlNode *op = NULL;
op                364 lib/pengine/complex.c         for (op = pcmk__xe_first_child(rsc_ops, NULL, NULL, NULL); op != NULL;
op                365 lib/pengine/complex.c              op = pcmk__xe_next(op)) {
op                367 lib/pengine/complex.c             char *key = template_op_key(op);
op                369 lib/pengine/complex.c             g_hash_table_insert(rsc_ops_hash, key, op);
op                372 lib/pengine/complex.c         for (op = pcmk__xe_first_child(template_ops, NULL, NULL, NULL);
op                373 lib/pengine/complex.c              op != NULL; op = pcmk__xe_next(op)) {
op                375 lib/pengine/complex.c             char *key = template_op_key(op);
op                378 lib/pengine/complex.c                 pcmk__xml_copy(rsc_ops, op);
op                649 lib/pengine/pe_actions.c     xmlNode *op = NULL;
op                679 lib/pengine/pe_actions.c             op = operation;
op                682 lib/pengine/pe_actions.c     return op;
op               1179 lib/pengine/pe_actions.c     pcmk_action_t *op = lookup_singleton(scheduler, name);
op               1181 lib/pengine/pe_actions.c     if (op == NULL) {
op               1182 lib/pengine/pe_actions.c         op = custom_action(NULL, strdup(name), name, NULL, TRUE, scheduler);
op               1183 lib/pengine/pe_actions.c         pcmk__set_action_flags(op, pcmk_action_pseudo|pcmk_action_runnable);
op               1185 lib/pengine/pe_actions.c     return op;
op               1281 lib/pengine/pe_actions.c pe_fence_op(pcmk_node_t *node, const char *op, bool optional,
op               1288 lib/pengine/pe_actions.c     if(op == NULL) {
op               1289 lib/pengine/pe_actions.c         op = scheduler->stonith_action;
op               1293 lib/pengine/pe_actions.c                                PCMK_ACTION_STONITH, node->details->uname, op);
op               1303 lib/pengine/pe_actions.c         pcmk__insert_meta(stonith_op, PCMK__META_STONITH_ACTION, op);
op                311 lib/pengine/pe_notif.c                   pcmk_action_t *op, pcmk_action_t *notify_done,
op                323 lib/pengine/pe_notif.c     if (op == NULL) {
op                329 lib/pengine/pe_notif.c     } else if (!pcmk_is_set(op->flags, pcmk_action_runnable)) {
op                338 lib/pengine/pe_notif.c     value = g_hash_table_lookup(op->meta, "notify_type");     // "pre" or "post"
op                339 lib/pengine/pe_notif.c     task = g_hash_table_lookup(op->meta, "notify_operation"); // original action
op                346 lib/pengine/pe_notif.c     notify_action = custom_action(rsc, key, op->task, node,
op                347 lib/pengine/pe_notif.c                                   pcmk_is_set(op->flags, pcmk_action_optional),
op                351 lib/pengine/pe_notif.c     g_hash_table_foreach(op->meta, copy_meta_to_notify, notify_action);
op                355 lib/pengine/pe_notif.c     order_actions(op, notify_action, pcmk__ar_ordered);
op                606 lib/pengine/pe_notif.c         const pcmk_action_t *op = (const pcmk_action_t *) iter->data;
op                608 lib/pengine/pe_notif.c         if (!pcmk_is_set(op->flags, pcmk_action_optional)
op                609 lib/pengine/pe_notif.c             && (op->node != NULL)) {
op                610 lib/pengine/pe_notif.c             enum action_tasks task = pcmk_parse_action(op->task);
op                612 lib/pengine/pe_notif.c             if ((task == pcmk_action_stop) && op->node->details->unclean) {
op                614 lib/pengine/pe_notif.c             } else if (!pcmk_is_set(op->flags, pcmk_action_runnable)) {
op                618 lib/pengine/pe_notif.c             entry = new_notify_entry(rsc, op->node);
op                818 lib/pengine/pe_notif.c         pcmk_action_t *op = (pcmk_action_t *) iter->data;
op                820 lib/pengine/pe_notif.c         if (!pcmk_is_set(op->flags, pcmk_action_optional)
op                821 lib/pengine/pe_notif.c             && (op->node != NULL)) {
op                822 lib/pengine/pe_notif.c             switch (pcmk_parse_action(op->task)) {
op                827 lib/pengine/pe_notif.c                     add_notify_data_to_action_meta(n_data, op);
op               2935 lib/pengine/unpack.c find_lrm_op(const char *resource, const char *op, const char *node, const char *source,
op               2941 lib/pengine/unpack.c     CRM_CHECK((resource != NULL) && (op != NULL) && (node != NULL),
op               2948 lib/pengine/unpack.c                    SUB_XPATH_LRM_RSC_OP "[@" PCMK_XA_OPERATION "='", op, "'",
op               2952 lib/pengine/unpack.c     if ((source != NULL) && (strcmp(op, PCMK_ACTION_MIGRATE_TO) == 0)) {
op               2958 lib/pengine/unpack.c                && (strcmp(op, PCMK_ACTION_MIGRATE_FROM) == 0)) {
op               3084 lib/pengine/unpack.c     for (xmlNode *op = pcmk__xe_first_child(lrm_resource, PCMK__XE_LRM_RSC_OP,
op               3086 lib/pengine/unpack.c          op != NULL; op = pcmk__xe_next_same(op)) {
op               3090 lib/pengine/unpack.c         if (op == xml_op) {
op               3094 lib/pengine/unpack.c         task = crm_element_value(op, PCMK_XA_OPERATION);
op               3099 lib/pengine/unpack.c             && pe__is_newer_op(op, xml_op, same_node) > 0) {
op                109 lib/services/services.c inflight_systemd_or_upstart(const svc_action_t *op)
op                111 lib/services/services.c     return pcmk__strcase_any_of(op->standard, PCMK_RESOURCE_CLASS_SYSTEMD,
op                113 lib/services/services.c            g_list_find(inflight_ops, op) != NULL;
op                160 lib/services/services.c     svc_action_t *op = calloc(1, sizeof(svc_action_t));
op                162 lib/services/services.c     if (op == NULL) {
op                166 lib/services/services.c     op->opaque = calloc(1, sizeof(svc_action_private_t));
op                167 lib/services/services.c     if (op->opaque == NULL) {
op                168 lib/services/services.c         free(op);
op                173 lib/services/services.c     services__set_result(op, PCMK_OCF_UNKNOWN, PCMK_EXEC_UNKNOWN, NULL);
op                174 lib/services/services.c     return op;
op                216 lib/services/services.c copy_action_arguments(svc_action_t *op, uint32_t ra_caps, const char *name,
op                220 lib/services/services.c     op->rsc = strdup(name);
op                221 lib/services/services.c     if (op->rsc == NULL) {
op                225 lib/services/services.c     op->agent = strdup(agent);
op                226 lib/services/services.c     if (op->agent == NULL) {
op                230 lib/services/services.c     op->standard = expand_resource_class(name, standard, agent);
op                231 lib/services/services.c     if (op->standard == NULL) {
op                239 lib/services/services.c     op->action = strdup(action);
op                240 lib/services/services.c     if (op->action == NULL) {
op                245 lib/services/services.c         op->provider = strdup(provider);
op                246 lib/services/services.c         if (op->provider == NULL) {
op                259 lib/services/services.c     svc_action_t *op = NULL;
op                263 lib/services/services.c     op = new_action();
op                264 lib/services/services.c     if (op == NULL) {
op                272 lib/services/services.c     op->interval_ms = interval_ms;
op                273 lib/services/services.c     op->timeout = timeout;
op                274 lib/services/services.c     op->flags = flags;
op                275 lib/services/services.c     op->sequence = ++operations;
op                279 lib/services/services.c         op->params = params;
op                287 lib/services/services.c         services__set_result(op, services__generic_error(op),
op                290 lib/services/services.c         return op;
op                293 lib/services/services.c     op->id = pcmk__op_key(name, action, interval_ms);
op                295 lib/services/services.c     if (copy_action_arguments(op, ra_caps, name, standard, provider, agent,
op                299 lib/services/services.c         services__handle_exec_error(op, ENOMEM);
op                300 lib/services/services.c         return op;
op                303 lib/services/services.c     if (strcasecmp(op->standard, PCMK_RESOURCE_CLASS_OCF) == 0) {
op                304 lib/services/services.c         rc = services__ocf_prepare(op);
op                306 lib/services/services.c     } else if (strcasecmp(op->standard, PCMK_RESOURCE_CLASS_LSB) == 0) {
op                307 lib/services/services.c         rc = services__lsb_prepare(op);
op                310 lib/services/services.c     } else if (strcasecmp(op->standard, PCMK_RESOURCE_CLASS_SYSTEMD) == 0) {
op                311 lib/services/services.c         rc = services__systemd_prepare(op);
op                314 lib/services/services.c     } else if (strcasecmp(op->standard, PCMK_RESOURCE_CLASS_UPSTART) == 0) {
op                315 lib/services/services.c         rc = services__upstart_prepare(op);
op                318 lib/services/services.c     } else if (strcasecmp(op->standard, PCMK_RESOURCE_CLASS_NAGIOS) == 0) {
op                319 lib/services/services.c         rc = services__nagios_prepare(op);
op                322 lib/services/services.c         crm_info("Unknown resource standard: %s", op->standard);
op                329 lib/services/services.c         services__handle_exec_error(op, rc);
op                331 lib/services/services.c     return op;
op                340 lib/services/services.c     svc_action_t *op = services__create_resource_action(name, standard,
op                343 lib/services/services.c     if (op == NULL || op->rc != 0) {
op                344 lib/services/services.c         services_action_free(op);
op                348 lib/services/services.c         op->rc = PCMK_OCF_OK;
op                349 lib/services/services.c         op->status = PCMK_EXEC_DONE;
op                351 lib/services/services.c         return op;
op                358 lib/services/services.c     svc_action_t *op = new_action();
op                360 lib/services/services.c     pcmk__mem_assert(op);
op                362 lib/services/services.c     op->opaque->exec = strdup(exec);
op                363 lib/services/services.c     op->opaque->args[0] = strdup(exec);
op                364 lib/services/services.c     if ((op->opaque->exec == NULL) || (op->opaque->args[0] == NULL)) {
op                366 lib/services/services.c         services__set_result(op, PCMK_OCF_UNKNOWN_ERROR, PCMK_EXEC_ERROR,
op                368 lib/services/services.c         return op;
op                372 lib/services/services.c         return op;
op                377 lib/services/services.c         if (cur_arg == PCMK__NELEM(op->opaque->args)) {
op                380 lib/services/services.c             services__set_result(op, PCMK_OCF_UNKNOWN_ERROR,
op                385 lib/services/services.c         op->opaque->args[cur_arg] = strdup(args[cur_arg - 1]);
op                386 lib/services/services.c         if (op->opaque->args[cur_arg] == NULL) {
op                389 lib/services/services.c             services__set_result(op, PCMK_OCF_UNKNOWN_ERROR, PCMK_EXEC_ERROR,
op                395 lib/services/services.c     return op;
op                443 lib/services/services.c services_action_user(svc_action_t *op, const char *user)
op                445 lib/services/services.c     CRM_CHECK((op != NULL) && (user != NULL), return -EINVAL);
op                446 lib/services/services.c     return crm_user_lookup(user, &(op->opaque->uid), &(op->opaque->gid));
op                463 lib/services/services.c services_alert_async(svc_action_t *action, void (*cb)(svc_action_t *op))
op                479 lib/services/services.c services_set_op_pending(svc_action_t *op, DBusPendingCall *pending)
op                481 lib/services/services.c     if (op->opaque->pending && (op->opaque->pending != pending)) {
op                483 lib/services/services.c             crm_info("Lost pending %s DBus call (%p)", op->id, op->opaque->pending);
op                485 lib/services/services.c             crm_trace("Done with pending %s DBus call (%p)", op->id, op->opaque->pending);
op                487 lib/services/services.c         dbus_pending_call_unref(op->opaque->pending);
op                489 lib/services/services.c     op->opaque->pending = pending;
op                491 lib/services/services.c         crm_trace("Updated pending %s DBus call (%p)", op->id, pending);
op                493 lib/services/services.c         crm_trace("Cleared pending %s DBus call", op->id);
op                499 lib/services/services.c services_action_cleanup(svc_action_t * op)
op                501 lib/services/services.c     if ((op == NULL) || (op->opaque == NULL)) {
op                506 lib/services/services.c     if(op->opaque->timerid != 0) {
op                507 lib/services/services.c         crm_trace("Removing timer for call %s to %s", op->action, op->rsc);
op                508 lib/services/services.c         g_source_remove(op->opaque->timerid);
op                509 lib/services/services.c         op->opaque->timerid = 0;
op                512 lib/services/services.c     if(op->opaque->pending) {
op                513 lib/services/services.c         if (dbus_pending_call_get_completed(op->opaque->pending)) {
op                516 lib/services/services.c                      op->standard, op->id);
op                519 lib/services/services.c                       op->standard, op->id);
op                521 lib/services/services.c         dbus_pending_call_cancel(op->opaque->pending);
op                522 lib/services/services.c         services_set_op_pending(op, NULL);
op                526 lib/services/services.c     if (op->opaque->stderr_gsource) {
op                527 lib/services/services.c         mainloop_del_fd(op->opaque->stderr_gsource);
op                528 lib/services/services.c         op->opaque->stderr_gsource = NULL;
op                531 lib/services/services.c     if (op->opaque->stdout_gsource) {
op                532 lib/services/services.c         mainloop_del_fd(op->opaque->stdout_gsource);
op                533 lib/services/services.c         op->opaque->stdout_gsource = NULL;
op                583 lib/services/services.c services_action_free(svc_action_t * op)
op                587 lib/services/services.c     if (op == NULL) {
op                595 lib/services/services.c     CRM_CHECK(g_list_find(inflight_ops, op) == NULL, return);
op                596 lib/services/services.c     CRM_CHECK(g_list_find(blocked_ops, op) == NULL, return);
op                598 lib/services/services.c               || (g_hash_table_lookup(recurring_actions, op->id) == NULL),
op                601 lib/services/services.c     services_action_cleanup(op);
op                603 lib/services/services.c     if (op->opaque->repeat_timer) {
op                604 lib/services/services.c         g_source_remove(op->opaque->repeat_timer);
op                605 lib/services/services.c         op->opaque->repeat_timer = 0;
op                608 lib/services/services.c     free(op->id);
op                609 lib/services/services.c     free(op->opaque->exec);
op                611 lib/services/services.c     for (i = 0; i < PCMK__NELEM(op->opaque->args); i++) {
op                612 lib/services/services.c         free(op->opaque->args[i]);
op                615 lib/services/services.c     free(op->opaque->exit_reason);
op                616 lib/services/services.c     free(op->opaque);
op                617 lib/services/services.c     free(op->rsc);
op                618 lib/services/services.c     free(op->action);
op                620 lib/services/services.c     free(op->standard);
op                621 lib/services/services.c     free(op->agent);
op                622 lib/services/services.c     free(op->provider);
op                624 lib/services/services.c     free(op->stdout_data);
op                625 lib/services/services.c     free(op->stderr_data);
op                627 lib/services/services.c     if (op->params) {
op                628 lib/services/services.c         g_hash_table_destroy(op->params);
op                629 lib/services/services.c         op->params = NULL;
op                632 lib/services/services.c     free(op);
op                636 lib/services/services.c cancel_recurring_action(svc_action_t * op)
op                638 lib/services/services.c     crm_info("Cancelling %s operation %s", op->standard, op->id);
op                641 lib/services/services.c         g_hash_table_remove(recurring_actions, op->id);
op                644 lib/services/services.c     if (op->opaque->repeat_timer) {
op                645 lib/services/services.c         g_source_remove(op->opaque->repeat_timer);
op                646 lib/services/services.c         op->opaque->repeat_timer = 0;
op                666 lib/services/services.c     svc_action_t *op = NULL;
op                670 lib/services/services.c     op = g_hash_table_lookup(recurring_actions, id);
op                671 lib/services/services.c     if (op == NULL) {
op                676 lib/services/services.c     op->cancel = TRUE;
op                679 lib/services/services.c     cancel_recurring_action(op);
op                687 lib/services/services.c     if (op->pid != 0) {
op                689 lib/services/services.c                  id, op->pid);
op                690 lib/services/services.c         cancelled = mainloop_child_kill(op->pid);
op                692 lib/services/services.c             crm_err("Termination of %s[%d] failed", id, op->pid);
op                699 lib/services/services.c     if (inflight_systemd_or_upstart(op)) {
op                700 lib/services/services.c         inflight_ops = g_list_remove(inflight_ops, op);
op                705 lib/services/services.c         services_action_cleanup(op);
op                714 lib/services/services.c     services__set_cancelled(op);
op                715 lib/services/services.c     if (op->opaque->callback) {
op                716 lib/services/services.c         op->opaque->callback(op);
op                719 lib/services/services.c     blocked_ops = g_list_remove(blocked_ops, op);
op                720 lib/services/services.c     services_action_free(op);
op                732 lib/services/services.c     svc_action_t * op = NULL;
op                736 lib/services/services.c     op = g_hash_table_lookup(recurring_actions, id);
op                739 lib/services/services.c     if (op == NULL) {
op                744 lib/services/services.c     if (op->pid || inflight_systemd_or_upstart(op)) {
op                747 lib/services/services.c         if (op->opaque->repeat_timer) {
op                748 lib/services/services.c             g_source_remove(op->opaque->repeat_timer);
op                749 lib/services/services.c             op->opaque->repeat_timer = 0;
op                751 lib/services/services.c         recurring_action_timer(op);
op                766 lib/services/services.c handle_duplicate_recurring(svc_action_t *op)
op                771 lib/services/services.c     dup = g_hash_table_lookup(recurring_actions, op->id);
op                773 lib/services/services.c     if (dup && (dup != op)) {
op                775 lib/services/services.c         if (op->opaque->callback) {
op                776 lib/services/services.c             dup->opaque->callback = op->opaque->callback;
op                777 lib/services/services.c             dup->cb_data = op->cb_data;
op                778 lib/services/services.c             op->cb_data = NULL;
op                782 lib/services/services.c             if (op->opaque->repeat_timer) {
op                783 lib/services/services.c                 g_source_remove(op->opaque->repeat_timer);
op                784 lib/services/services.c                 op->opaque->repeat_timer = 0;
op                789 lib/services/services.c         services_action_free(op);
op                813 lib/services/services.c execute_action(svc_action_t *op)
op                816 lib/services/services.c     if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_UPSTART,
op                818 lib/services/services.c         return services__execute_upstart(op);
op                823 lib/services/services.c     if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_SYSTEMD,
op                825 lib/services/services.c         return services__execute_systemd(op);
op                829 lib/services/services.c     return services__execute_file(op);
op                833 lib/services/services.c services_add_inflight_op(svc_action_t * op)
op                835 lib/services/services.c     if (op == NULL) {
op                839 lib/services/services.c     CRM_ASSERT(op->synchronous == FALSE);
op                842 lib/services/services.c     if (op->rsc) {
op                843 lib/services/services.c         inflight_ops = g_list_append(inflight_ops, op);
op                854 lib/services/services.c services_untrack_op(const svc_action_t *op)
op                857 lib/services/services.c     inflight_ops = g_list_remove(inflight_ops, op);
op                858 lib/services/services.c     blocked_ops = g_list_remove(blocked_ops, op);
op                865 lib/services/services.c services_action_async_fork_notify(svc_action_t * op,
op                869 lib/services/services.c     CRM_CHECK(op != NULL, return TRUE);
op                871 lib/services/services.c     op->synchronous = false;
op                873 lib/services/services.c         op->opaque->callback = action_callback;
op                876 lib/services/services.c         op->opaque->fork_callback = action_fork_callback;
op                879 lib/services/services.c     if (op->interval_ms > 0) {
op                881 lib/services/services.c         if (handle_duplicate_recurring(op)) {
op                886 lib/services/services.c         g_hash_table_replace(recurring_actions, op->id, op);
op                889 lib/services/services.c     if (!pcmk_is_set(op->flags, SVC_ACTION_NON_BLOCKED)
op                890 lib/services/services.c         && op->rsc && is_op_blocked(op->rsc)) {
op                891 lib/services/services.c         blocked_ops = g_list_append(blocked_ops, op);
op                895 lib/services/services.c     return execute_action(op) == pcmk_rc_ok;
op                899 lib/services/services.c services_action_async(svc_action_t * op,
op                902 lib/services/services.c     return services_action_async_fork_notify(op, action_callback, NULL);
op                911 lib/services/services.c     svc_action_t *op = NULL;
op                914 lib/services/services.c         op = gIter->data;
op                915 lib/services/services.c         if (pcmk__str_eq(op->rsc, rsc, pcmk__str_casei)) {
op                928 lib/services/services.c     svc_action_t *op = NULL;
op                940 lib/services/services.c         op = gIter->data;
op                941 lib/services/services.c         if (is_op_blocked(op->rsc)) {
op                944 lib/services/services.c         executed_ops = g_list_append(executed_ops, op);
op                945 lib/services/services.c         if (execute_action(op) != pcmk_rc_ok) {
op                948 lib/services/services.c             services__finalize_async_op(op);
op                953 lib/services/services.c         op = gIter->data;
op                954 lib/services/services.c         blocked_ops = g_list_remove(blocked_ops, op);
op                970 lib/services/services.c execute_metadata_action(svc_action_t *op)
op                972 lib/services/services.c     const char *class = op->standard;
op                974 lib/services/services.c     if (op->agent == NULL) {
op                976 lib/services/services.c         services__set_result(op, services__generic_error(op),
op                983 lib/services/services.c                 op->agent);
op                984 lib/services/services.c         services__set_result(op, services__generic_error(op),
op                991 lib/services/services.c         class = resources_find_service_class(op->agent);
op                995 lib/services/services.c                  op->agent);
op                996 lib/services/services.c         services__set_result(op, services__generic_error(op),
op               1003 lib/services/services.c         return pcmk_legacy2rc(services__get_lsb_metadata(op->agent,
op               1004 lib/services/services.c                                                          &op->stdout_data));
op               1009 lib/services/services.c         return pcmk_legacy2rc(services__get_nagios_metadata(op->agent,
op               1010 lib/services/services.c                                                             &op->stdout_data));
op               1014 lib/services/services.c     return execute_action(op);
op               1018 lib/services/services.c services_action_sync(svc_action_t * op)
op               1022 lib/services/services.c     if (op == NULL) {
op               1027 lib/services/services.c     op->synchronous = true;
op               1029 lib/services/services.c     if (pcmk__str_eq(op->action, PCMK_ACTION_META_DATA, pcmk__str_casei)) {
op               1037 lib/services/services.c         rc = (execute_metadata_action(op) == pcmk_rc_ok);
op               1039 lib/services/services.c         rc = (execute_action(op) == pcmk_rc_ok);
op               1042 lib/services/services.c               op->rsc, op->action, op->interval_ms, op->opaque->exec, op->rc);
op               1043 lib/services/services.c     if (op->stdout_data) {
op               1044 lib/services/services.c         crm_trace(" >  stdout: %s", op->stdout_data);
op               1046 lib/services/services.c     if (op->stderr_data) {
op               1047 lib/services/services.c         crm_trace(" >  stderr: %s", op->stderr_data);
op                287 lib/services/services_linux.c svc_read_output(int fd, svc_action_t * op, bool is_stderr)
op                296 lib/services/services_linux.c         crm_trace("No fd for %s", op->id);
op                300 lib/services/services_linux.c     if (is_stderr && op->stderr_data) {
op                301 lib/services/services_linux.c         len = strlen(op->stderr_data);
op                302 lib/services/services_linux.c         data = op->stderr_data;
op                303 lib/services/services_linux.c         crm_trace("Reading %s stderr into offset %d", op->id, len);
op                305 lib/services/services_linux.c     } else if (is_stderr == FALSE && op->stdout_data) {
op                306 lib/services/services_linux.c         len = strlen(op->stdout_data);
op                307 lib/services/services_linux.c         data = op->stdout_data;
op                308 lib/services/services_linux.c         crm_trace("Reading %s stdout into offset %d", op->id, len);
op                311 lib/services/services_linux.c         crm_trace("Reading %s %s into offset %d", op->id, is_stderr?"stderr":"stdout", len);
op                333 lib/services/services_linux.c         op->stderr_data = data;
op                335 lib/services/services_linux.c         op->stdout_data = data;
op                344 lib/services/services_linux.c     svc_action_t *op = (svc_action_t *) userdata;
op                346 lib/services/services_linux.c     return svc_read_output(op->opaque->stdout_fd, op, FALSE);
op                352 lib/services/services_linux.c     svc_action_t *op = (svc_action_t *) userdata;
op                354 lib/services/services_linux.c     return svc_read_output(op->opaque->stderr_fd, op, TRUE);
op                360 lib/services/services_linux.c     svc_action_t *op = (svc_action_t *) user_data;
op                362 lib/services/services_linux.c     crm_trace("%p", op);
op                364 lib/services/services_linux.c     op->opaque->stdout_gsource = NULL;
op                365 lib/services/services_linux.c     if (op->opaque->stdout_fd > STDOUT_FILENO) {
op                366 lib/services/services_linux.c         close(op->opaque->stdout_fd);
op                368 lib/services/services_linux.c     op->opaque->stdout_fd = -1;
op                374 lib/services/services_linux.c     svc_action_t *op = (svc_action_t *) user_data;
op                376 lib/services/services_linux.c     op->opaque->stderr_gsource = NULL;
op                377 lib/services/services_linux.c     if (op->opaque->stderr_fd > STDERR_FILENO) {
op                378 lib/services/services_linux.c         close(op->opaque->stderr_fd);
op                380 lib/services/services_linux.c     op->opaque->stderr_fd = -1;
op                436 lib/services/services_linux.c add_action_env_vars(const svc_action_t *op)
op                439 lib/services/services_linux.c     if (op->agent == NULL) {
op                442 lib/services/services_linux.c     } else if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_OCF, pcmk__str_casei)) {
op                446 lib/services/services_linux.c     if (env_setter != NULL && op->params != NULL) {
op                447 lib/services/services_linux.c         g_hash_table_foreach(op->params, env_setter, NULL);
op                459 lib/services/services_linux.c     if (op->rsc) {
op                460 lib/services/services_linux.c         set_ocf_env("OCF_RESOURCE_INSTANCE", op->rsc, NULL);
op                463 lib/services/services_linux.c     if (op->agent != NULL) {
op                464 lib/services/services_linux.c         set_ocf_env("OCF_RESOURCE_TYPE", op->agent, NULL);
op                468 lib/services/services_linux.c     if (op->provider != NULL) {
op                469 lib/services/services_linux.c         set_ocf_env("OCF_RESOURCE_PROVIDER", op->provider, NULL);
op                476 lib/services/services_linux.c     svc_action_t *op = user_data;
op                482 lib/services/services_linux.c         ret = write(op->opaque->stdin_fd, buffer + total, len - total);
op                498 lib/services/services_linux.c pipe_in_action_stdin_parameters(const svc_action_t *op)
op                500 lib/services/services_linux.c     if (op->params) {
op                501 lib/services/services_linux.c         g_hash_table_foreach(op->params, pipe_in_single_parameter, (gpointer) op);
op                508 lib/services/services_linux.c     svc_action_t *op = data;
op                510 lib/services/services_linux.c     crm_debug("Scheduling another invocation of %s", op->id);
op                513 lib/services/services_linux.c     free(op->stdout_data);
op                514 lib/services/services_linux.c     op->stdout_data = NULL;
op                515 lib/services/services_linux.c     free(op->stderr_data);
op                516 lib/services/services_linux.c     op->stderr_data = NULL;
op                517 lib/services/services_linux.c     op->opaque->repeat_timer = 0;
op                519 lib/services/services_linux.c     services_action_async(op, NULL);
op                542 lib/services/services_linux.c services__finalize_async_op(svc_action_t *op)
op                544 lib/services/services_linux.c     CRM_CHECK((op != NULL) && !(op->synchronous), return EINVAL);
op                546 lib/services/services_linux.c     if (op->interval_ms != 0) {
op                548 lib/services/services_linux.c         if (op->cancel) {
op                549 lib/services/services_linux.c             services__set_cancelled(op);
op                550 lib/services/services_linux.c             cancel_recurring_action(op);
op                552 lib/services/services_linux.c             op->opaque->repeat_timer = g_timeout_add(op->interval_ms,
op                554 lib/services/services_linux.c                                                      (void *) op);
op                558 lib/services/services_linux.c     if (op->opaque->callback != NULL) {
op                559 lib/services/services_linux.c         op->opaque->callback(op);
op                563 lib/services/services_linux.c     op->pid = 0;
op                564 lib/services/services_linux.c     services_untrack_op(op);
op                566 lib/services/services_linux.c     if ((op->interval_ms != 0) && !(op->cancel)) {
op                568 lib/services/services_linux.c         services_action_cleanup(op);
op                572 lib/services/services_linux.c     services_action_free(op);
op                577 lib/services/services_linux.c close_op_input(svc_action_t *op)
op                579 lib/services/services_linux.c     if (op->opaque->stdin_fd >= 0) {
op                580 lib/services/services_linux.c         close(op->opaque->stdin_fd);
op                585 lib/services/services_linux.c finish_op_output(svc_action_t *op, bool is_stderr)
op                591 lib/services/services_linux.c         source = &(op->opaque->stderr_gsource);
op                592 lib/services/services_linux.c         fd = op->opaque->stderr_fd;
op                594 lib/services/services_linux.c         source = &(op->opaque->stdout_gsource);
op                595 lib/services/services_linux.c         fd = op->opaque->stdout_fd;
op                598 lib/services/services_linux.c     if (op->synchronous || *source) {
op                600 lib/services/services_linux.c                   op->id, op->pid, (is_stderr? "stderr" : "stdout"));
op                601 lib/services/services_linux.c         svc_read_output(fd, op, is_stderr);
op                602 lib/services/services_linux.c         if (op->synchronous) {
op                613 lib/services/services_linux.c log_op_output(svc_action_t *op)
op                615 lib/services/services_linux.c     char *prefix = crm_strdup_printf("%s[%d] error output", op->id, op->pid);
op                621 lib/services/services_linux.c     crm_log_output(LOG_INFO, prefix, op->stderr_data);
op                623 lib/services/services_linux.c     crm_log_output(LOG_DEBUG, prefix, op->stdout_data);
op                631 lib/services/services_linux.c parse_exit_reason_from_stderr(svc_action_t *op)
op                637 lib/services/services_linux.c     if ((op->stderr_data == NULL) ||
op                639 lib/services/services_linux.c         !pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_OCF, pcmk__str_none)) {
op                644 lib/services/services_linux.c     for (const char *cur = strstr(op->stderr_data, PCMK_OCF_REASON_PREFIX);
op                667 lib/services/services_linux.c     free(op->opaque->exit_reason);
op                668 lib/services/services_linux.c     op->opaque->exit_reason = strndup(reason_start, reason_end - reason_start);
op                685 lib/services/services_linux.c     svc_action_t *op = mainloop_child_userdata(p);
op                688 lib/services/services_linux.c     CRM_CHECK(op->pid == pid,
op                689 lib/services/services_linux.c               services__set_result(op, services__generic_error(op),
op                697 lib/services/services_linux.c     finish_op_output(op, true);
op                698 lib/services/services_linux.c     finish_op_output(op, false);
op                700 lib/services/services_linux.c     close_op_input(op);
op                703 lib/services/services_linux.c         crm_debug("%s[%d] exited with status %d", op->id, op->pid, exitcode);
op                704 lib/services/services_linux.c         services__set_result(op, exitcode, PCMK_EXEC_DONE, NULL);
op                705 lib/services/services_linux.c         log_op_output(op);
op                706 lib/services/services_linux.c         parse_exit_reason_from_stderr(op);
op                709 lib/services/services_linux.c         const char *kind = services__action_kind(op);
op                712 lib/services/services_linux.c                  kind, op->id, op->pid, pcmk__readable_interval(op->timeout));
op                713 lib/services/services_linux.c         services__format_result(op, services__generic_error(op),
op                716 lib/services/services_linux.c                                 kind, pcmk__readable_interval(op->timeout));
op                718 lib/services/services_linux.c     } else if (op->cancel) {
op                723 lib/services/services_linux.c                  op->id, op->pid, signo, strsignal(signo));
op                724 lib/services/services_linux.c         services__set_result(op, PCMK_OCF_OK, PCMK_EXEC_CANCELLED, NULL);
op                728 lib/services/services_linux.c                  op->id, op->pid, signo, strsignal(signo));
op                729 lib/services/services_linux.c         services__format_result(op, PCMK_OCF_UNKNOWN_ERROR, PCMK_EXEC_ERROR,
op                731 lib/services/services_linux.c                                 services__action_kind(op), strsignal(signo));
op                734 lib/services/services_linux.c     services__finalize_async_op(op);
op                751 lib/services/services_linux.c services__generic_error(const svc_action_t *op)
op                753 lib/services/services_linux.c     if ((op == NULL) || (op->standard == NULL)) {
op                757 lib/services/services_linux.c     if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_LSB, pcmk__str_casei)
op                758 lib/services/services_linux.c         && pcmk__str_eq(op->action, PCMK_ACTION_STATUS, pcmk__str_casei)) {
op                764 lib/services/services_linux.c     if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_NAGIOS, pcmk__str_casei)) {
op                786 lib/services/services_linux.c services__not_installed_error(const svc_action_t *op)
op                788 lib/services/services_linux.c     if ((op == NULL) || (op->standard == NULL)) {
op                792 lib/services/services_linux.c     if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_LSB, pcmk__str_casei)
op                793 lib/services/services_linux.c         && pcmk__str_eq(op->action, PCMK_ACTION_STATUS, pcmk__str_casei)) {
op                799 lib/services/services_linux.c     if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_NAGIOS, pcmk__str_casei)) {
op                821 lib/services/services_linux.c services__authorization_error(const svc_action_t *op)
op                823 lib/services/services_linux.c     if ((op == NULL) || (op->standard == NULL)) {
op                827 lib/services/services_linux.c     if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_LSB, pcmk__str_casei)
op                828 lib/services/services_linux.c         && pcmk__str_eq(op->action, PCMK_ACTION_STATUS, pcmk__str_casei)) {
op                834 lib/services/services_linux.c     if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_NAGIOS, pcmk__str_casei)) {
op                857 lib/services/services_linux.c services__configuration_error(const svc_action_t *op, bool is_fatal)
op                859 lib/services/services_linux.c     if ((op == NULL) || (op->standard == NULL)) {
op                863 lib/services/services_linux.c     if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_LSB, pcmk__str_casei)
op                864 lib/services/services_linux.c         && pcmk__str_eq(op->action, PCMK_ACTION_STATUS, pcmk__str_casei)) {
op                870 lib/services/services_linux.c     if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_NAGIOS, pcmk__str_casei)) {
op                889 lib/services/services_linux.c services__handle_exec_error(svc_action_t * op, int error)
op                891 lib/services/services_linux.c     const char *name = op->opaque->exec;
op                894 lib/services/services_linux.c         name = op->agent;
op                896 lib/services/services_linux.c             name = op->id;
op                906 lib/services/services_linux.c             services__format_result(op, services__not_installed_error(op),
op                912 lib/services/services_linux.c             services__format_result(op, services__authorization_error(op),
op                917 lib/services/services_linux.c             services__set_result(op, services__generic_error(op),
op                931 lib/services/services_linux.c exit_child(const svc_action_t *op, int exit_status, const char *exit_reason)
op                933 lib/services/services_linux.c     if ((op != NULL) && (exit_reason != NULL)
op                934 lib/services/services_linux.c         && pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_OCF,
op                942 lib/services/services_linux.c action_launch_child(svc_action_t *op)
op                961 lib/services/services_linux.c             crm_info("Could not reset scheduling policy for %s", op->id);
op                966 lib/services/services_linux.c         crm_info("Could not reset process priority for %s", op->id);
op                985 lib/services/services_linux.c     rc = pcmk__substitute_secrets(op->rsc, op->params);
op                987 lib/services/services_linux.c         if (pcmk__str_eq(op->action, PCMK_ACTION_STOP, pcmk__str_casei)) {
op                990 lib/services/services_linux.c                      op->rsc, pcmk_rc_str(rc));
op                994 lib/services/services_linux.c                     op->rsc, pcmk_rc_str(rc));
op                995 lib/services/services_linux.c             exit_child(op, services__configuration_error(op, false),
op               1001 lib/services/services_linux.c     add_action_env_vars(op);
op               1004 lib/services/services_linux.c     if (op->opaque->uid && (geteuid() == 0)) {
op               1007 lib/services/services_linux.c         if (op->opaque->gid && (setgid(op->opaque->gid) < 0)) {
op               1010 lib/services/services_linux.c                     op->id, op->opaque->gid, strerror(errno));
op               1011 lib/services/services_linux.c             exit_child(op, services__authorization_error(op),
op               1019 lib/services/services_linux.c                     "clear supplementary groups: %s", op->id, strerror(errno));
op               1020 lib/services/services_linux.c             exit_child(op, services__authorization_error(op),
op               1025 lib/services/services_linux.c         if (setuid(op->opaque->uid) < 0) {
op               1027 lib/services/services_linux.c                     "to %d: %s", op->id, op->opaque->uid, strerror(errno));
op               1028 lib/services/services_linux.c             exit_child(op, services__authorization_error(op),
op               1034 lib/services/services_linux.c     execvp(op->opaque->exec, op->opaque->args);
op               1038 lib/services/services_linux.c     services__handle_exec_error(op, rc);
op               1039 lib/services/services_linux.c     crm_err("Unable to execute %s: %s", op->id, strerror(rc));
op               1040 lib/services/services_linux.c     exit_child(op, op->rc, "Child process was unable to execute file");
op               1051 lib/services/services_linux.c wait_for_sync_result(svc_action_t *op, struct sigchld_data_s *data)
op               1054 lib/services/services_linux.c     int timeout = op->timeout;
op               1060 lib/services/services_linux.c     fds[0].fd = op->opaque->stdout_fd;
op               1064 lib/services/services_linux.c     fds[1].fd = op->opaque->stderr_fd;
op               1072 lib/services/services_linux.c     crm_trace("Waiting for %s[%d]", op->id, op->pid);
op               1080 lib/services/services_linux.c                 svc_read_output(op->opaque->stdout_fd, op, FALSE);
op               1084 lib/services/services_linux.c                 svc_read_output(op->opaque->stderr_fd, op, TRUE);
op               1088 lib/services/services_linux.c                 && sigchld_received(fds[2].fd, op->pid, data)) {
op               1089 lib/services/services_linux.c                 wait_rc = waitpid(op->pid, &status, WNOHANG);
op               1099 lib/services/services_linux.c                              op->id, op->pid, wait_reason);
op               1123 lib/services/services_linux.c                      CRM_XS " source=poll", op->id, op->pid, wait_reason);
op               1127 lib/services/services_linux.c         timeout = op->timeout - (time(NULL) - start) * 1000;
op               1129 lib/services/services_linux.c     } while ((op->timeout < 0 || timeout > 0));
op               1131 lib/services/services_linux.c     crm_trace("Stopped waiting for %s[%d]", op->id, op->pid);
op               1132 lib/services/services_linux.c     finish_op_output(op, true);
op               1133 lib/services/services_linux.c     finish_op_output(op, false);
op               1134 lib/services/services_linux.c     close_op_input(op);
op               1139 lib/services/services_linux.c         if ((op->timeout > 0) && (timeout <= 0)) {
op               1140 lib/services/services_linux.c             services__format_result(op, services__generic_error(op),
op               1143 lib/services/services_linux.c                                     services__action_kind(op));
op               1145 lib/services/services_linux.c                      op->id, op->pid, op->timeout);
op               1148 lib/services/services_linux.c             services__set_result(op, services__generic_error(op),
op               1154 lib/services/services_linux.c         if ((wait_rc == 0) && (waitpid(op->pid, &status, WNOHANG) == 0)) {
op               1155 lib/services/services_linux.c             if (kill(op->pid, SIGKILL)) {
op               1157 lib/services/services_linux.c                          op->id, op->pid, pcmk_rc_str(errno));
op               1160 lib/services/services_linux.c             while ((waitpid(op->pid, &status, 0) == (pid_t) -1)
op               1167 lib/services/services_linux.c         services__set_result(op, WEXITSTATUS(status), PCMK_EXEC_DONE, NULL);
op               1168 lib/services/services_linux.c         parse_exit_reason_from_stderr(op);
op               1169 lib/services/services_linux.c         crm_info("%s[%d] exited with status %d", op->id, op->pid, op->rc);
op               1174 lib/services/services_linux.c         services__format_result(op, services__generic_error(op),
op               1176 lib/services/services_linux.c                                 services__action_kind(op), strsignal(signo));
op               1178 lib/services/services_linux.c                  op->id, op->pid, signo, strsignal(signo));
op               1182 lib/services/services_linux.c             crm_warn("%s[%d] dumped core", op->id, op->pid);
op               1188 lib/services/services_linux.c         services__set_result(op, services__generic_error(op), PCMK_EXEC_ERROR,
op               1210 lib/services/services_linux.c services__execute_file(svc_action_t *op)
op               1220 lib/services/services_linux.c     if (stat(op->opaque->exec, &st) != 0) {
op               1223 lib/services/services_linux.c                  op->opaque->exec, pcmk_rc_str(rc), rc);
op               1224 lib/services/services_linux.c         services__handle_exec_error(op, rc);
op               1231 lib/services/services_linux.c                  op->opaque->exec, pcmk_rc_str(rc), rc);
op               1232 lib/services/services_linux.c         services__handle_exec_error(op, rc);
op               1242 lib/services/services_linux.c                  op->opaque->exec, pcmk_rc_str(rc), rc);
op               1243 lib/services/services_linux.c         services__handle_exec_error(op, rc);
op               1247 lib/services/services_linux.c     if (pcmk_is_set(pcmk_get_ra_caps(op->standard), pcmk_ra_cap_stdin)) {
op               1255 lib/services/services_linux.c                      op->opaque->exec, pcmk_rc_str(rc), rc);
op               1256 lib/services/services_linux.c             services__handle_exec_error(op, rc);
op               1261 lib/services/services_linux.c     if (op->synchronous && !sigchld_setup(&data)) {
op               1266 lib/services/services_linux.c         services__set_result(op, services__generic_error(op), PCMK_EXEC_ERROR,
op               1271 lib/services/services_linux.c     op->pid = fork();
op               1272 lib/services/services_linux.c     switch (op->pid) {
op               1280 lib/services/services_linux.c                      op->opaque->exec, pcmk_rc_str(rc), rc);
op               1281 lib/services/services_linux.c             services__handle_exec_error(op, rc);
op               1282 lib/services/services_linux.c             if (op->synchronous) {
op               1298 lib/services/services_linux.c                              op->opaque->exec, pcmk_rc_str(errno), errno);
op               1306 lib/services/services_linux.c                              op->opaque->exec, pcmk_rc_str(errno), errno);
op               1315 lib/services/services_linux.c                              op->opaque->exec, pcmk_rc_str(errno), errno);
op               1320 lib/services/services_linux.c             if (op->synchronous) {
op               1324 lib/services/services_linux.c             action_launch_child(op);
op               1335 lib/services/services_linux.c     op->opaque->stdout_fd = stdout_fd[0];
op               1336 lib/services/services_linux.c     rc = pcmk__set_nonblocking(op->opaque->stdout_fd);
op               1340 lib/services/services_linux.c                  op->opaque->exec, pcmk_rc_str(rc), rc);
op               1343 lib/services/services_linux.c     op->opaque->stderr_fd = stderr_fd[0];
op               1344 lib/services/services_linux.c     rc = pcmk__set_nonblocking(op->opaque->stderr_fd);
op               1348 lib/services/services_linux.c                  op->opaque->exec, pcmk_rc_str(rc), rc);
op               1351 lib/services/services_linux.c     op->opaque->stdin_fd = stdin_fd[1];
op               1352 lib/services/services_linux.c     if (op->opaque->stdin_fd >= 0) {
op               1355 lib/services/services_linux.c         rc = pcmk__set_nonblocking(op->opaque->stdin_fd);
op               1358 lib/services/services_linux.c                     CRM_XS " fd=%d,rc=%d", op->opaque->exec,
op               1359 lib/services/services_linux.c                     pcmk_rc_str(rc), op->opaque->stdin_fd, rc);
op               1361 lib/services/services_linux.c         pipe_in_action_stdin_parameters(op);
op               1363 lib/services/services_linux.c         close(op->opaque->stdin_fd);
op               1364 lib/services/services_linux.c         op->opaque->stdin_fd = -1;
op               1368 lib/services/services_linux.c     if (op->opaque->fork_callback) {
op               1369 lib/services/services_linux.c         op->opaque->fork_callback(op);
op               1372 lib/services/services_linux.c     if (op->synchronous) {
op               1373 lib/services/services_linux.c         wait_for_sync_result(op, &data);
op               1378 lib/services/services_linux.c     crm_trace("Waiting async for '%s'[%d]", op->opaque->exec, op->pid);
op               1379 lib/services/services_linux.c     mainloop_child_add_with_flags(op->pid, op->timeout, op->id, op,
op               1380 lib/services/services_linux.c                                   pcmk_is_set(op->flags, SVC_ACTION_LEAVE_GROUP)? mainloop_leave_pid_group : 0,
op               1383 lib/services/services_linux.c     op->opaque->stdout_gsource = mainloop_add_fd(op->id,
op               1385 lib/services/services_linux.c                                                  op->opaque->stdout_fd, op,
op               1387 lib/services/services_linux.c     op->opaque->stderr_gsource = mainloop_add_fd(op->id,
op               1389 lib/services/services_linux.c                                                  op->opaque->stderr_fd, op,
op               1391 lib/services/services_linux.c     services_add_inflight_op(op);
op               1395 lib/services/services_linux.c     if (op->synchronous) {
op               1396 lib/services/services_linux.c         return (op->rc == PCMK_OCF_OK)? pcmk_rc_ok : pcmk_rc_error;
op               1398 lib/services/services_linux.c         return services__finalize_async_op(op);
op                272 lib/services/services_lsb.c services__lsb_prepare(svc_action_t *op)
op                274 lib/services/services_lsb.c     op->opaque->exec = pcmk__full_path(op->agent, PCMK__LSB_INIT_DIR);
op                275 lib/services/services_lsb.c     op->opaque->args[0] = strdup(op->opaque->exec);
op                276 lib/services/services_lsb.c     op->opaque->args[1] = strdup(op->action);
op                277 lib/services/services_lsb.c     if ((op->opaque->args[0] == NULL) || (op->opaque->args[1] == NULL)) {
op                 16 lib/services/services_lsb.h G_GNUC_INTERNAL int services__lsb_prepare(svc_action_t *op);
op                 44 lib/services/services_nagios.c services__nagios_prepare(svc_action_t *op)
op                 46 lib/services/services_nagios.c     op->opaque->exec = pcmk__full_path(op->agent, NAGIOS_PLUGIN_DIR);
op                 47 lib/services/services_nagios.c     op->opaque->args[0] = strdup(op->opaque->exec);
op                 48 lib/services/services_nagios.c     if (op->opaque->args[0] == NULL) {
op                 52 lib/services/services_nagios.c     if (pcmk__str_eq(op->action, PCMK_ACTION_MONITOR, pcmk__str_casei)
op                 53 lib/services/services_nagios.c         && (op->interval_ms == 0)) {
op                 56 lib/services/services_nagios.c         op->opaque->args[1] = strdup("--version");
op                 57 lib/services/services_nagios.c         if (op->opaque->args[1] == NULL) {
op                 61 lib/services/services_nagios.c     } else if (op->params != NULL) {
op                 67 lib/services/services_nagios.c         g_hash_table_iter_init(&iter, op->params);
op                 72 lib/services/services_nagios.c             if (index > (PCMK__NELEM(op->opaque->args) - 2)) {
op                 81 lib/services/services_nagios.c             op->opaque->args[index++] = crm_strdup_printf("--%s", key);
op                 82 lib/services/services_nagios.c             op->opaque->args[index++] = strdup(value);
op                 83 lib/services/services_nagios.c             if (op->opaque->args[index - 1] == NULL) {
op                 90 lib/services/services_nagios.c     if (op->params != NULL) {
op                 91 lib/services/services_nagios.c         g_hash_table_destroy(op->params);
op                 92 lib/services/services_nagios.c         op->params = NULL;
op                 14 lib/services/services_nagios.h int services__nagios_prepare(svc_action_t *op);
op                123 lib/services/services_ocf.c services__ocf_prepare(svc_action_t *op)
op                134 lib/services/services_ocf.c         char *buf = crm_strdup_printf("%s/%s/%s", dir, op->provider, op->agent);
op                137 lib/services/services_ocf.c             op->opaque->exec = buf;
op                144 lib/services/services_ocf.c     if (op->opaque->exec == NULL) {
op                148 lib/services/services_ocf.c     op->opaque->args[0] = strdup(op->opaque->exec);
op                149 lib/services/services_ocf.c     op->opaque->args[1] = strdup(op->action);
op                150 lib/services/services_ocf.c     if ((op->opaque->args[0] == NULL) || (op->opaque->args[1] == NULL)) {
op                 26 lib/services/services_ocf.h int services__ocf_prepare(svc_action_t *op);
op                 31 lib/services/services_private.h     void (*callback) (svc_action_t * op);
op                 32 lib/services/services_private.h     void (*fork_callback) (svc_action_t * op);
op                 58 lib/services/services_private.h int services__execute_file(svc_action_t *op);
op                 61 lib/services/services_private.h gboolean cancel_recurring_action(svc_action_t * op);
op                 67 lib/services/services_private.h int services__finalize_async_op(svc_action_t *op);
op                 70 lib/services/services_private.h int services__generic_error(const svc_action_t *op);
op                 73 lib/services/services_private.h int services__not_installed_error(const svc_action_t *op);
op                 76 lib/services/services_private.h int services__authorization_error(const svc_action_t *op);
op                 79 lib/services/services_private.h int services__configuration_error(const svc_action_t *op, bool is_fatal);
op                 82 lib/services/services_private.h void services__handle_exec_error(svc_action_t * op, int error);
op                 88 lib/services/services_private.h void services_add_inflight_op(svc_action_t *op);
op                 91 lib/services/services_private.h void services_untrack_op(const svc_action_t *op);
op                 98 lib/services/services_private.h void services_set_op_pending(svc_action_t *op, DBusPendingCall *pending);
op                 24 lib/services/systemd.c static void invoke_unit_by_path(svc_action_t *op, const char *unit);
op                 40 lib/services/systemd.c services__systemd_prepare(svc_action_t *op)
op                 42 lib/services/systemd.c     op->opaque->exec = strdup("systemd-dbus");
op                 43 lib/services/systemd.c     if (op->opaque->exec == NULL) {
op                303 lib/services/systemd.c set_result_from_method_error(svc_action_t *op, const DBusError *error)
op                305 lib/services/systemd.c     services__set_result(op, PCMK_OCF_UNKNOWN_ERROR, PCMK_EXEC_ERROR,
op                312 lib/services/systemd.c         if (pcmk__str_eq(op->action, PCMK_ACTION_STOP, pcmk__str_casei)) {
op                315 lib/services/systemd.c                       error->name, pcmk__s(op->rsc, "unknown resource"));
op                316 lib/services/systemd.c             services__set_result(op, PCMK_OCF_OK, PCMK_EXEC_DONE, NULL);
op                320 lib/services/systemd.c         services__format_result(op, PCMK_OCF_NOT_INSTALLED,
op                322 lib/services/systemd.c                                "systemd unit %s not found", op->agent);
op                326 lib/services/systemd.c              op->action, op->agent,
op                327 lib/services/systemd.c              ((op->rsc == NULL)? "" : " for resource "), pcmk__s(op->rsc, ""),
op                342 lib/services/systemd.c execute_after_loadunit(DBusMessage *reply, svc_action_t *op)
op                351 lib/services/systemd.c         if (op != NULL) {
op                352 lib/services/systemd.c             set_result_from_method_error(op, &error);
op                358 lib/services/systemd.c         if (op != NULL) {
op                359 lib/services/systemd.c             services__set_result(op, PCMK_OCF_UNKNOWN_ERROR, PCMK_EXEC_ERROR,
op                362 lib/services/systemd.c                      "DBus reply has unexpected type", op->agent, op->id);
op                374 lib/services/systemd.c     if (op != NULL) {
op                376 lib/services/systemd.c             invoke_unit_by_path(op, path);
op                378 lib/services/systemd.c         } else if (!(op->synchronous)) {
op                379 lib/services/systemd.c             services__format_result(op, PCMK_OCF_UNKNOWN_ERROR, PCMK_EXEC_ERROR,
op                381 lib/services/systemd.c                                     op->agent);
op                382 lib/services/systemd.c             services__finalize_async_op(op);
op                400 lib/services/systemd.c     svc_action_t *op = user_data;
op                402 lib/services/systemd.c     crm_trace("LoadUnit result for %s arrived", op->id);
op                410 lib/services/systemd.c     CRM_LOG_ASSERT(pending == op->opaque->pending);
op                411 lib/services/systemd.c     services_set_op_pending(op, NULL);
op                436 lib/services/systemd.c invoke_unit_by_name(const char *arg_name, svc_action_t *op, char **path)
op                444 lib/services/systemd.c         if (op != NULL) {
op                445 lib/services/systemd.c             services__set_result(op, PCMK_OCF_UNKNOWN_ERROR, PCMK_EXEC_ERROR,
op                464 lib/services/systemd.c                                 (op == NULL)
op                465 lib/services/systemd.c                                 || pcmk__str_eq(op->action,
op                472 lib/services/systemd.c     if ((op == NULL) || op->synchronous) {
op                478 lib/services/systemd.c                                   (op? op->timeout : DBUS_TIMEOUT_USE_DEFAULT));
op                481 lib/services/systemd.c         unit = execute_after_loadunit(reply, op);
op                501 lib/services/systemd.c     pending = systemd_send(msg, loadunit_completed, op, op->timeout);
op                503 lib/services/systemd.c         services__set_result(op, PCMK_OCF_UNKNOWN_ERROR, PCMK_EXEC_ERROR,
op                510 lib/services/systemd.c     services__set_result(op, PCMK_OCF_UNKNOWN, PCMK_EXEC_PENDING, NULL);
op                511 lib/services/systemd.c     services_set_op_pending(op, pending);
op                735 lib/services/systemd.c process_unit_method_reply(DBusMessage *reply, svc_action_t *op)
op                745 lib/services/systemd.c         set_result_from_method_error(op, &error);
op                752 lib/services/systemd.c                  op->action, pcmk__s(op->rsc, "unknown resource"));
op                753 lib/services/systemd.c         services__set_result(op, PCMK_OCF_OK, PCMK_EXEC_DONE,
op                763 lib/services/systemd.c                   op->action, pcmk__s(op->rsc, "unknown resource"), path);
op                764 lib/services/systemd.c         services__set_result(op, PCMK_OCF_OK, PCMK_EXEC_DONE, NULL);
op                779 lib/services/systemd.c     svc_action_t *op = user_data;
op                781 lib/services/systemd.c     crm_trace("Result for %s arrived", op->id);
op                789 lib/services/systemd.c     CRM_LOG_ASSERT(pending == op->opaque->pending);
op                790 lib/services/systemd.c     services_set_op_pending(op, NULL);
op                793 lib/services/systemd.c     process_unit_method_reply(reply, op);
op                794 lib/services/systemd.c     services__finalize_async_op(op);
op                914 lib/services/systemd.c     svc_action_t *op = userdata;
op                917 lib/services/systemd.c               pcmk__s(op->rsc, "(unspecified)"), name,
op                921 lib/services/systemd.c         services__set_result(op, PCMK_OCF_OK, PCMK_EXEC_DONE, NULL);
op                924 lib/services/systemd.c         services__set_result(op, PCMK_OCF_OK, PCMK_EXEC_DONE, NULL);
op                927 lib/services/systemd.c         services__set_result(op, PCMK_OCF_UNKNOWN, PCMK_EXEC_PENDING, NULL);
op                930 lib/services/systemd.c         services__set_result(op, PCMK_OCF_UNKNOWN, PCMK_EXEC_PENDING, NULL);
op                933 lib/services/systemd.c         services__set_result(op, PCMK_OCF_NOT_RUNNING, PCMK_EXEC_DONE, state);
op                936 lib/services/systemd.c     if (!(op->synchronous)) {
op                937 lib/services/systemd.c         services_set_op_pending(op, NULL);
op                938 lib/services/systemd.c         services__finalize_async_op(op);
op                950 lib/services/systemd.c invoke_unit_by_path(svc_action_t *op, const char *unit)
op                956 lib/services/systemd.c     if (pcmk__str_any_of(op->action, PCMK_ACTION_MONITOR, PCMK_ACTION_STATUS,
op                962 lib/services/systemd.c                                      (op->synchronous? NULL : parse_status_result),
op                963 lib/services/systemd.c                                      op, (op->synchronous? NULL : &pending),
op                964 lib/services/systemd.c                                      op->timeout);
op                965 lib/services/systemd.c         if (op->synchronous) {
op                966 lib/services/systemd.c             parse_status_result("ActiveState", state, op);
op                970 lib/services/systemd.c             services__format_result(op, PCMK_OCF_UNKNOWN_ERROR, PCMK_EXEC_ERROR,
op                972 lib/services/systemd.c                                     op->agent);
op                973 lib/services/systemd.c             services__finalize_async_op(op);
op                976 lib/services/systemd.c             services_set_op_pending(op, pending);
op                980 lib/services/systemd.c     } else if (pcmk__str_eq(op->action, PCMK_ACTION_START, pcmk__str_none)) {
op                982 lib/services/systemd.c         systemd_create_override(op->agent, op->timeout);
op                984 lib/services/systemd.c     } else if (pcmk__str_eq(op->action, PCMK_ACTION_STOP, pcmk__str_none)) {
op                986 lib/services/systemd.c         systemd_remove_override(op->agent, op->timeout);
op                988 lib/services/systemd.c     } else if (pcmk__str_eq(op->action, "restart", pcmk__str_none)) {
op                992 lib/services/systemd.c         services__format_result(op, PCMK_OCF_UNIMPLEMENT_FEATURE,
op                996 lib/services/systemd.c                                 pcmk__s(op->action, "(unspecified)"));
op                997 lib/services/systemd.c         if (!(op->synchronous)) {
op                998 lib/services/systemd.c             services__finalize_async_op(op);
op               1005 lib/services/systemd.c               ((op->rsc == NULL)? "" : " for resource "), pcmk__s(op->rsc, ""));
op               1013 lib/services/systemd.c         char *name = systemd_service_name(op->agent,
op               1014 lib/services/systemd.c                                           pcmk__str_eq(op->action,
op               1024 lib/services/systemd.c     if (op->synchronous) {
op               1025 lib/services/systemd.c         reply = systemd_send_recv(msg, NULL, op->timeout);
op               1027 lib/services/systemd.c         process_unit_method_reply(reply, op);
op               1033 lib/services/systemd.c         DBusPendingCall *pending = systemd_send(msg, unit_method_complete, op,
op               1034 lib/services/systemd.c                                                 op->timeout);
op               1038 lib/services/systemd.c             services__set_result(op, PCMK_OCF_UNKNOWN_ERROR, PCMK_EXEC_ERROR,
op               1040 lib/services/systemd.c             services__finalize_async_op(op);
op               1043 lib/services/systemd.c             services_set_op_pending(op, pending);
op               1051 lib/services/systemd.c     svc_action_t * op = p;
op               1053 lib/services/systemd.c     op->opaque->timerid = 0;
op               1055 lib/services/systemd.c              op->action, op->agent, op->rsc);
op               1056 lib/services/systemd.c     services__format_result(op, PCMK_OCF_UNKNOWN_ERROR, PCMK_EXEC_TIMEOUT,
op               1058 lib/services/systemd.c                             "did not complete in time", op->action, op->agent);
op               1059 lib/services/systemd.c     services__finalize_async_op(op);
op               1080 lib/services/systemd.c services__execute_systemd(svc_action_t *op)
op               1082 lib/services/systemd.c     CRM_ASSERT(op != NULL);
op               1084 lib/services/systemd.c     if ((op->action == NULL) || (op->agent == NULL)) {
op               1085 lib/services/systemd.c         services__set_result(op, PCMK_OCF_NOT_CONFIGURED, PCMK_EXEC_ERROR_FATAL,
op               1091 lib/services/systemd.c         services__set_result(op, PCMK_OCF_UNKNOWN_ERROR, PCMK_EXEC_ERROR,
op               1097 lib/services/systemd.c               (op->synchronous? "" : "a"), op->action, op->agent,
op               1098 lib/services/systemd.c               ((op->rsc == NULL)? "" : " for resource "), pcmk__s(op->rsc, ""));
op               1100 lib/services/systemd.c     if (pcmk__str_eq(op->action, PCMK_ACTION_META_DATA, pcmk__str_casei)) {
op               1101 lib/services/systemd.c         op->stdout_data = systemd_unit_metadata(op->agent, op->timeout);
op               1102 lib/services/systemd.c         services__set_result(op, PCMK_OCF_OK, PCMK_EXEC_DONE, NULL);
op               1109 lib/services/systemd.c     services__set_result(op, PCMK_OCF_UNKNOWN_ERROR, PCMK_EXEC_ERROR,
op               1112 lib/services/systemd.c     if (invoke_unit_by_name(op->agent, op, NULL) == pcmk_rc_ok) {
op               1113 lib/services/systemd.c         op->opaque->timerid = g_timeout_add(op->timeout + 5000,
op               1114 lib/services/systemd.c                                             systemd_timeout_callback, op);
op               1115 lib/services/systemd.c         services_add_inflight_op(op);
op               1120 lib/services/systemd.c     if (op->synchronous) {
op               1121 lib/services/systemd.c         return (op->rc == PCMK_OCF_OK)? pcmk_rc_ok : pcmk_rc_error;
op               1123 lib/services/systemd.c         return services__finalize_async_op(op);
op                 19 lib/services/systemd.h int services__systemd_prepare(svc_action_t *op);
op                 25 lib/services/systemd.h int services__execute_systemd(svc_action_t *op);
op                 50 lib/services/upstart.c services__upstart_prepare(svc_action_t *op)
op                 52 lib/services/upstart.c     op->opaque->exec = strdup("upstart-dbus");
op                 53 lib/services/upstart.c     if (op->opaque->exec == NULL) {
op                360 lib/services/upstart.c     svc_action_t *op = userdata;
op                363 lib/services/upstart.c         services__set_result(op, PCMK_OCF_OK, PCMK_EXEC_DONE, NULL);
op                365 lib/services/upstart.c         services__set_result(op, PCMK_OCF_NOT_RUNNING, PCMK_EXEC_DONE, state);
op                368 lib/services/upstart.c     if (!(op->synchronous)) {
op                369 lib/services/upstart.c         services_set_op_pending(op, NULL);
op                370 lib/services/upstart.c         services__finalize_async_op(op);
op                421 lib/services/upstart.c set_result_from_method_error(svc_action_t *op, const DBusError *error)
op                423 lib/services/upstart.c     services__set_result(op, PCMK_OCF_UNKNOWN_ERROR, PCMK_EXEC_ERROR,
op                428 lib/services/upstart.c         if (pcmk__str_eq(op->action, PCMK_ACTION_STOP, pcmk__str_casei)) {
op                431 lib/services/upstart.c                       error->name, pcmk__s(op->rsc, "unknown resource"));
op                432 lib/services/upstart.c             services__set_result(op, PCMK_OCF_OK, PCMK_EXEC_DONE, NULL);
op                436 lib/services/upstart.c         services__set_result(op, PCMK_OCF_NOT_INSTALLED,
op                439 lib/services/upstart.c     } else if (pcmk__str_eq(op->action, PCMK_ACTION_START, pcmk__str_casei)
op                443 lib/services/upstart.c                   error->name, pcmk__s(op->rsc, "unknown resource"));
op                444 lib/services/upstart.c         services__set_result(op, PCMK_OCF_OK, PCMK_EXEC_DONE, NULL);
op                449 lib/services/upstart.c              op->action, op->agent, pcmk__s(op->rsc, "with unknown name"),
op                465 lib/services/upstart.c     svc_action_t *op = user_data;
op                475 lib/services/upstart.c         set_result_from_method_error(op, &error);
op                478 lib/services/upstart.c     } else if (pcmk__str_eq(op->action, PCMK_ACTION_STOP, pcmk__str_none)) {
op                481 lib/services/upstart.c                   pcmk__s(op->rsc, "unknown resource"));
op                482 lib/services/upstart.c         services__set_result(op, PCMK_OCF_OK, PCMK_EXEC_DONE, NULL);
op                487 lib/services/upstart.c                  "return type was unexpected", op->action,
op                488 lib/services/upstart.c                  pcmk__s(op->rsc, "unknown resource"));
op                489 lib/services/upstart.c         services__set_result(op, PCMK_OCF_OK, PCMK_EXEC_DONE, NULL);
op                497 lib/services/upstart.c                   op->action, pcmk__s(op->rsc, "unknown resource"), path);
op                498 lib/services/upstart.c         services__set_result(op, PCMK_OCF_OK, PCMK_EXEC_DONE, NULL);
op                502 lib/services/upstart.c     CRM_LOG_ASSERT(pending == op->opaque->pending);
op                503 lib/services/upstart.c     services_set_op_pending(op, NULL);
op                506 lib/services/upstart.c     services__finalize_async_op(op);
op                529 lib/services/upstart.c services__execute_upstart(svc_action_t *op)
op                534 lib/services/upstart.c     const char *action = op->action;
op                541 lib/services/upstart.c     CRM_ASSERT(op != NULL);
op                543 lib/services/upstart.c     if ((op->action == NULL) || (op->agent == NULL)) {
op                544 lib/services/upstart.c         services__set_result(op, PCMK_OCF_NOT_CONFIGURED, PCMK_EXEC_ERROR_FATAL,
op                550 lib/services/upstart.c         services__set_result(op, PCMK_OCF_UNKNOWN_ERROR, PCMK_EXEC_ERROR,
op                555 lib/services/upstart.c     if (pcmk__str_eq(op->action, PCMK_ACTION_META_DATA, pcmk__str_casei)) {
op                556 lib/services/upstart.c         op->stdout_data = upstart_job_metadata(op->agent);
op                557 lib/services/upstart.c         services__set_result(op, PCMK_OCF_OK, PCMK_EXEC_DONE, NULL);
op                561 lib/services/upstart.c     if (!object_path_for_job(op->agent, &job, op->timeout)) {
op                563 lib/services/upstart.c             services__set_result(op, PCMK_OCF_OK, PCMK_EXEC_DONE, NULL);
op                565 lib/services/upstart.c             services__set_result(op, PCMK_OCF_NOT_INSTALLED,
op                574 lib/services/upstart.c         op->rc = PCMK_OCF_UNKNOWN_ERROR;
op                575 lib/services/upstart.c         op->status = PCMK_EXEC_ERROR;
op                579 lib/services/upstart.c     if (pcmk__strcase_any_of(op->action, PCMK_ACTION_MONITOR,
op                583 lib/services/upstart.c         char *path = get_first_instance(job, op->timeout);
op                585 lib/services/upstart.c         services__set_result(op, PCMK_OCF_NOT_RUNNING, PCMK_EXEC_DONE,
op                592 lib/services/upstart.c                                        op->synchronous? NULL : parse_status_result,
op                593 lib/services/upstart.c                                        op,
op                594 lib/services/upstart.c                                        op->synchronous? NULL : &pending,
op                595 lib/services/upstart.c                                        op->timeout);
op                598 lib/services/upstart.c         if (op->synchronous) {
op                599 lib/services/upstart.c             parse_status_result("state", state, op);
op                603 lib/services/upstart.c             services__set_result(op, PCMK_OCF_UNKNOWN_ERROR, PCMK_EXEC_ERROR,
op                608 lib/services/upstart.c             services_set_op_pending(op, pending);
op                609 lib/services/upstart.c             services_add_inflight_op(op);
op                625 lib/services/upstart.c         services__set_result(op, PCMK_OCF_UNIMPLEMENT_FEATURE,
op                632 lib/services/upstart.c     services__set_result(op, PCMK_OCF_UNKNOWN_ERROR, PCMK_EXEC_DONE,
op                636 lib/services/upstart.c               action, pcmk__s(op->rsc, "unknown resource"), job);
op                655 lib/services/upstart.c     if (!(op->synchronous)) {
op                657 lib/services/upstart.c                                                   job_method_complete, op,
op                658 lib/services/upstart.c                                                   op->timeout);
op                661 lib/services/upstart.c             services__set_result(op, PCMK_OCF_UNKNOWN_ERROR, PCMK_EXEC_ERROR,
op                667 lib/services/upstart.c             services_set_op_pending(op, pending);
op                668 lib/services/upstart.c             services_add_inflight_op(op);
op                676 lib/services/upstart.c     reply = pcmk_dbus_send_recv(msg, upstart_proxy, &error, op->timeout);
op                679 lib/services/upstart.c         set_result_from_method_error(op, &error);
op                682 lib/services/upstart.c     } else if (pcmk__str_eq(op->action, PCMK_ACTION_STOP, pcmk__str_none)) {
op                684 lib/services/upstart.c         services__set_result(op, PCMK_OCF_OK, PCMK_EXEC_DONE, NULL);
op                689 lib/services/upstart.c                  op->action);
op                690 lib/services/upstart.c         services__set_result(op, PCMK_OCF_OK, PCMK_EXEC_DONE, NULL);
op                697 lib/services/upstart.c         crm_debug("Call to %s passed: %s", op->action, path);
op                698 lib/services/upstart.c         services__set_result(op, PCMK_OCF_OK, PCMK_EXEC_DONE, NULL);
op                710 lib/services/upstart.c     if (op->synchronous) {
op                711 lib/services/upstart.c         return (op->rc == PCMK_OCF_OK)? pcmk_rc_ok : pcmk_rc_error;
op                713 lib/services/upstart.c         return services__finalize_async_op(op);
op                 20 lib/services/upstart.h int services__upstart_prepare(svc_action_t *op);
op                 26 lib/services/upstart.h int services__execute_upstart(svc_action_t *op);
op                387 maint/gnulib/lib/bitset.c                 enum bitset_ops op)
op                397 maint/gnulib/lib/bitset.c   switch (op)
op                934 maint/gnulib/lib/bitset/list.c lbitset_op3_cmp (bitset dst, bitset src1, bitset src2, enum bitset_ops op)
op               1005 maint/gnulib/lib/bitset/list.c       switch (op)
op                869 maint/gnulib/lib/bitset/table.c tbitset_op3_cmp (bitset dst, bitset src1, bitset src2, enum bitset_ops op)
op                915 maint/gnulib/lib/bitset/table.c       switch (op)
op                433 maint/gnulib/lib/intprops.h # define _GL_INT_OP_WRAPV(a, b, r, op, overflow) \
op                437 maint/gnulib/lib/intprops.h        _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \
op                440 maint/gnulib/lib/intprops.h        _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \
op                443 maint/gnulib/lib/intprops.h        _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \
op                446 maint/gnulib/lib/intprops.h        _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \
op                449 maint/gnulib/lib/intprops.h        _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \
op                452 maint/gnulib/lib/intprops.h        _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \
op                455 maint/gnulib/lib/intprops.h        _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \
op                458 maint/gnulib/lib/intprops.h        _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \
op                461 maint/gnulib/lib/intprops.h        _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long long int, \
op                464 maint/gnulib/lib/intprops.h        _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long long int, \
op                473 maint/gnulib/lib/intprops.h #  define _GL_INT_OP_WRAPV_SMALLISH(a,b,r,op,overflow,st,smin,smax,ut,umax) \
op                475 maint/gnulib/lib/intprops.h      ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, st, smin, smax) \
op                476 maint/gnulib/lib/intprops.h      : _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, ut, 0, umax))
op                478 maint/gnulib/lib/intprops.h #  define _GL_INT_OP_WRAPV_SMALLISH(a,b,r,op,overflow,st,smin,smax,ut,umax) \
op                481 maint/gnulib/lib/intprops.h         ? (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a,b,op,unsigned,st), 1) \
op                482 maint/gnulib/lib/intprops.h         : (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a,b,op,unsigned,st)) < 0) \
op                484 maint/gnulib/lib/intprops.h         ? (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a,b,op,unsigned,st)) >= 0 \
op                485 maint/gnulib/lib/intprops.h         : (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a,b,op,unsigned,st), 0)))
op                488 maint/gnulib/lib/intprops.h # define _GL_INT_OP_WRAPV(a, b, r, op, overflow) \
op                490 maint/gnulib/lib/intprops.h     ? _GL_INT_OP_WRAPV_SMALLISH (a, b, r, op, overflow, \
op                494 maint/gnulib/lib/intprops.h     ? _GL_INT_OP_WRAPV_SMALLISH (a, b, r, op, overflow, \
op                499 maint/gnulib/lib/intprops.h        ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \
op                501 maint/gnulib/lib/intprops.h        : _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned int, \
op                503 maint/gnulib/lib/intprops.h     : _GL_INT_OP_WRAPV_LONGISH(a, b, r, op, overflow))
op                505 maint/gnulib/lib/intprops.h #  define _GL_INT_OP_WRAPV_LONGISH(a, b, r, op, overflow) \
op                508 maint/gnulib/lib/intprops.h         ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \
op                510 maint/gnulib/lib/intprops.h         : _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \
op                513 maint/gnulib/lib/intprops.h         ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long long int, \
op                515 maint/gnulib/lib/intprops.h         : _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long long int, \
op                518 maint/gnulib/lib/intprops.h #  define _GL_INT_OP_WRAPV_LONGISH(a, b, r, op, overflow) \
op                520 maint/gnulib/lib/intprops.h      ? _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \
op                522 maint/gnulib/lib/intprops.h      : _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \
op                531 maint/gnulib/lib/intprops.h #define _GL_INT_OP_CALC(a, b, r, op, overflow, ut, t, tmin, tmax) \
op                533 maint/gnulib/lib/intprops.h    ? (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, ut, t), 1) \
op                534 maint/gnulib/lib/intprops.h    : (*(r) = _GL_INT_OP_WRAPV_VIA_UNSIGNED (a, b, op, ut, t), 0))
op                553 maint/gnulib/lib/intprops.h #define _GL_INT_OP_WRAPV_VIA_UNSIGNED(a, b, op, ut, t) \
op                554 maint/gnulib/lib/intprops.h   ((t) ((ut) (a) op (ut) (b)))
op                100 maint/gnulib/lib/modechange.c   char op;                      /* One of "=+-".  */
op                115 maint/gnulib/lib/modechange.c   p->op = '=';
op                206 maint/gnulib/lib/modechange.c           char op = *p++;
op                288 maint/gnulib/lib/modechange.c           change->op = op;
op                386 maint/gnulib/lib/modechange.c       switch (changes->op)
op               1310 maint/gnulib/lib/regcomp.c   bin_tree_t *op, *cls, *tree1, *tree;
op               1325 maint/gnulib/lib/regcomp.c   op = create_tree (dfa, NULL, NULL, OP_OPEN_SUBEXP);
op               1328 maint/gnulib/lib/regcomp.c   tree = create_tree (dfa, op, tree1, CONCAT);
op               1330 maint/gnulib/lib/regcomp.c 			|| op == NULL || cls == NULL))
op               1336 maint/gnulib/lib/regcomp.c   op->token.opr.idx = cls->token.opr.idx = node->token.opr.idx;
op               1337 maint/gnulib/lib/regcomp.c   op->token.opt_subexp = cls->token.opt_subexp = node->token.opt_subexp;
op                199 maint/gnulib/tests/test-hash.c           unsigned int op = rand () % 10;
op                200 maint/gnulib/tests/test-hash.c           switch (op)
op                172 maint/gnulib/tests/test-intprops.c   #define CHECK_BINOP(op, opname, a, b, t, v, vres)                       \
op                177 maint/gnulib/tests/test-intprops.c   #define CHECK_SBINOP(op, opname, a, b, t, v, vres)                      \
op                178 maint/gnulib/tests/test-intprops.c     CHECK_BINOP(op, opname, a, b, t, v, vres);                            \
op                182 maint/gnulib/tests/test-intprops.c       ASSERT (result == ((v) ? (vres) : ((a) op (b))));                   \
op                184 maint/gnulib/tests/test-intprops.c   #define CHECK_UNOP(op, opname, a, t, v)                                 \
op               1946 tools/crm_mon.c     const char *op = crm_element_value(change, PCMK_XA_OPERATION);
op               1951 tools/crm_mon.c     if (op == NULL) {
op               1954 tools/crm_mon.c     } else if (strcmp(op, PCMK_VALUE_CREATE) == 0) {
op               1957 tools/crm_mon.c     } else if (pcmk__str_any_of(op, PCMK_VALUE_MOVE, PCMK_VALUE_DELETE,
op               1961 tools/crm_mon.c     } else if (strcmp(op, PCMK_VALUE_MODIFY) == 0) {
op               1972 tools/crm_mon.c     crm_trace("Handling %s operation for %s %p, %s", op, xpath, match, name);
op               1977 tools/crm_mon.c         crm_debug("No result for %s operation to %s", op, xpath);
op               1978 tools/crm_mon.c         CRM_ASSERT(pcmk__str_any_of(op, PCMK_VALUE_MOVE, PCMK_VALUE_DELETE,
op               2019 tools/crm_mon.c         crm_trace("Ignoring %s operation for %s %p, %s", op, xpath, match, name);
op               2136 tools/crm_resource_runtime.c     svc_action_t *op = NULL;
op               2146 tools/crm_resource_runtime.c     op = services__create_resource_action(rsc_name? rsc_name : "test",
op               2150 tools/crm_resource_runtime.c     if (op == NULL) {
op               2163 tools/crm_resource_runtime.c         services__format_result(op, CRM_EX_UNIMPLEMENT_FEATURE, PCMK_EXEC_ERROR,
op               2168 tools/crm_resource_runtime.c     if (op->rc != PCMK_OCF_UNKNOWN) {
op               2169 tools/crm_resource_runtime.c         exit_code = op->rc;
op               2173 tools/crm_resource_runtime.c     services_action_sync(op);
op               2177 tools/crm_resource_runtime.c         enum ocf_exitcode ocf_code = services_result2ocf(class, action, op->rc);
op               2186 tools/crm_resource_runtime.c                  exit_code, op->status, services__exit_reason(op),
op               2187 tools/crm_resource_runtime.c                  op->stdout_data, op->stderr_data);
op               2188 tools/crm_resource_runtime.c     services_action_free(op);
op               2203 tools/crm_resource_runtime.c     xmlNode *op = pcmk__find_action_config(rsc, action, 0, true);
op               2204 tools/crm_resource_runtime.c     GHashTable *meta = pcmk__unpack_action_meta(rsc, NULL, action, 0, op);