operation 167 daemons/based/based_common.c cib_get_operation_id(const char *op, int *operation) operation 181 daemons/based/based_common.c g_hash_table_insert(operation_hash, (gpointer) cib_server_ops[lpc].operation, value); operation 190 daemons/based/based_common.c *operation = *value; operation 195 daemons/based/based_common.c *operation = -1; operation 43 daemons/based/based_messages.c int operation, const char *section); operation 45 daemons/based/based_messages.c gboolean update_results(xmlNode * failed, xmlNode * target, const char *operation, int return_code); operation 48 daemons/based/pacemaker-based.h const char *operation; operation 98 daemons/based/pacemaker-based.h xmlNode *createCibRequest(gboolean isLocal, const char *operation, operation 138 daemons/based/pacemaker-based.h int cib_get_operation_id(const char *op, int *operation); operation 41 daemons/controld/controld_execd.c const char *rsc_id, const char *operation); operation 43 daemons/controld/controld_execd.c const char *operation, xmlNode *msg); operation 1104 daemons/controld/controld_execd.c const char *operation, guint interval_ms) operation 1117 daemons/controld/controld_execd.c if (operation) { operation 1118 daemons/controld/controld_execd.c orig_op_key = pcmk__op_key(rsc_id, operation, interval_ms); operation 1129 daemons/controld/controld_execd.c if (last_failed_matches_op(entry, operation, interval_ms)) { operation 1444 daemons/controld/controld_execd.c const char *operation = crm_element_value(action, XML_LRM_ATTR_TASK); operation 1455 daemons/controld/controld_execd.c } else if(operation == NULL) { operation 1462 daemons/controld/controld_execd.c op = construct_op(lrm_state, action, ID(xml_rsc), operation); operation 1464 daemons/controld/controld_execd.c if (pcmk__str_eq(operation, RSC_NOTIFY, pcmk__str_casei)) { // Notifications can't fail operation 1743 daemons/controld/controld_execd.c const char *operation = NULL; operation 1785 daemons/controld/controld_execd.c operation = CRMD_ACTION_DELETE; operation 1793 daemons/controld/controld_execd.c operation = crm_element_value(input->xml, XML_LRM_ATTR_TASK); operation 1802 daemons/controld/controld_execd.c } else if (pcmk__str_eq(operation, CRM_OP_PROBED, pcmk__str_casei)) { operation 1807 daemons/controld/controld_execd.c || pcmk__str_eq(operation, CRM_OP_REPROBE, pcmk__str_casei)) { operation 1811 daemons/controld/controld_execd.c } else if (operation != NULL) { operation 1814 daemons/controld/controld_execd.c gboolean create_rsc = !pcmk__str_eq(operation, CRMD_ACTION_DELETE, operation 1834 daemons/controld/controld_execd.c ID(xml_rsc), operation, operation 1859 daemons/controld/controld_execd.c if (pcmk__str_eq(operation, CRMD_ACTION_CANCEL, pcmk__str_casei)) { operation 1864 daemons/controld/controld_execd.c } else if (pcmk__str_eq(operation, CRMD_ACTION_DELETE, pcmk__str_casei)) { operation 1869 daemons/controld/controld_execd.c do_lrm_rsc_op(lrm_state, rsc, operation, input->xml); operation 1937 daemons/controld/controld_execd.c const char *operation) operation 1949 daemons/controld/controld_execd.c CRM_ASSERT(rsc_id && operation); operation 1951 daemons/controld/controld_execd.c op = lrmd_new_event(rsc_id, operation, 0); operation 1959 daemons/controld/controld_execd.c CRM_LOG_ASSERT(pcmk__str_eq(CRMD_ACTION_STOP, operation, pcmk__str_casei)); operation 1970 daemons/controld/controld_execd.c crm_trace("Constructed %s op for %s", operation, rsc_id); operation 1994 daemons/controld/controld_execd.c && pcmk__str_eq(operation, CRMD_ACTION_STATUS, pcmk__str_casei) operation 2011 daemons/controld/controld_execd.c if (!pcmk__str_eq(operation, RSC_STOP, pcmk__str_casei)) { operation 2051 daemons/controld/controld_execd.c if (pcmk__strcase_any_of(operation, CRMD_ACTION_START, CRMD_ACTION_STOP, NULL)) { operation 2059 daemons/controld/controld_execd.c operation, rsc_id, op->interval_ms); operation 2219 daemons/controld/controld_execd.c const char *operation, xmlNode *msg) operation 2231 daemons/controld/controld_execd.c CRM_CHECK(operation != NULL, return); operation 2240 daemons/controld/controld_execd.c op = construct_op(lrm_state, msg, rsc->id, operation); operation 2245 daemons/controld/controld_execd.c && strcmp(operation, CRMD_ACTION_MIGRATE) == 0) { operation 2254 daemons/controld/controld_execd.c && strcmp(operation, CRMD_ACTION_STATUS) != 0 operation 2255 daemons/controld/controld_execd.c && strcmp(operation, CRMD_ACTION_NOTIFY) != 0) { operation 2273 daemons/controld/controld_execd.c rsc->id, operation, op->interval_ms); operation 2281 daemons/controld/controld_execd.c transition, rsc->id, operation, op->interval_ms); operation 2284 daemons/controld/controld_execd.c && pcmk__str_eq(operation, RSC_START, pcmk__str_casei)) { operation 2292 daemons/controld/controld_execd.c && !pcmk__str_eq(operation, CRMD_ACTION_STOP, pcmk__str_casei)) { operation 2298 daemons/controld/controld_execd.c operation, rsc->id, fsa_state2string(fsa_state), operation 2334 daemons/controld/controld_execd.c crm_err("Operation %s on %s failed: %d", operation, rsc->id, call_id); operation 2339 daemons/controld/controld_execd.c operation, rsc->id, lrm_state->node_name, call_id); operation 2355 daemons/controld/controld_execd.c pending->op_type = strdup(operation); operation 806 daemons/controld/controld_execd_state.c e->target, e->operation, desc, e->result); operation 496 daemons/controld/controld_fencing.c if (!AM_I_DC && pcmk__str_eq(st_event->operation, T_STONITH_NOTIFY_FENCE, pcmk__str_casei)) { operation 17 daemons/controld/controld_lrm.h const char *operation, guint interval_ms); operation 122 daemons/fenced/cts-fence-helper.c e->operation, e->origin, e->result == pcmk_ok ? "completed" : "failed", operation 991 daemons/fenced/fenced_remote.c const char *operation = NULL; operation 1044 daemons/fenced/fenced_remote.c operation = crm_element_value(request, F_STONITH_OPERATION); operation 1046 daemons/fenced/fenced_remote.c if (pcmk__str_eq(operation, STONITH_OP_RELAY, pcmk__str_none)) { operation 1103 daemons/fenced/fenced_remote.c const char *operation = NULL; operation 1156 daemons/fenced/fenced_remote.c operation = crm_element_value(request, F_STONITH_OPERATION); operation 1157 daemons/fenced/fenced_remote.c if (pcmk__str_eq(operation, STONITH_OP_RELAY, pcmk__str_none)) { operation 202 include/crm/cib/internal.h gboolean update_results(xmlNode * failed, xmlNode * target, const char *operation, int return_code); operation 39 include/crm/common/attrd_internal.h const char *resource, const char *operation, operation 116 include/crm/stonith-ng.h char *operation; operation 816 lib/cib/cib_ops.c update_results(xmlNode * failed, xmlNode * target, const char *operation, int return_code) operation 831 lib/cib/cib_ops.c crm_xml_add(xml_node, XML_FAILCIB_ATTR_OP, operation); operation 834 lib/cib/cib_ops.c crm_warn("Action %s failed: %s (cde=%d)", operation, error_msg, return_code); operation 242 lib/common/attrd_client.c const char *resource, const char *operation, operation 254 lib/common/attrd_client.c crm_xml_add(clear_op, PCMK__XA_ATTR_OPERATION, operation); operation 262 lib/common/attrd_client.c if (operation) { operation 264 lib/common/attrd_client.c op_desc = operation; operation 111 lib/common/messages.c const char *operation = crm_element_value(original_request, F_CRM_TASK); operation 135 lib/common/messages.c crm_xml_add(reply, F_CRM_TASK, operation); operation 1751 lib/fencing/st_client.c event->operation = crm_element_value_copy(msg, F_STONITH_OPERATION); operation 1778 lib/fencing/st_client.c free(event->operation); operation 29 lib/pacemaker/pcmk_sched_native.c xmlNode *operation, pe_working_set_t *data_set); operation 33 lib/pacemaker/pcmk_sched_native.c xmlNode *operation, pe_working_set_t *data_set); operation 670 lib/pacemaker/pcmk_sched_native.c xmlNode *operation = NULL; operation 674 lib/pacemaker/pcmk_sched_native.c for (operation = pcmk__xe_first_child(rsc->ops_xml); operation != NULL; operation 675 lib/pacemaker/pcmk_sched_native.c operation = pcmk__xe_next(operation)) { operation 677 lib/pacemaker/pcmk_sched_native.c if (pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { operation 678 lib/pacemaker/pcmk_sched_native.c value = crm_element_value(operation, "name"); operation 683 lib/pacemaker/pcmk_sched_native.c value = crm_element_value(operation, XML_LRM_ATTR_INTERVAL); operation 690 lib/pacemaker/pcmk_sched_native.c id = ID(operation); operation 695 lib/pacemaker/pcmk_sched_native.c "than once per resource)", ID(operation), id); operation 712 lib/pacemaker/pcmk_sched_native.c xmlNode * operation, pe_working_set_t * data_set) operation 728 lib/pacemaker/pcmk_sched_native.c role = crm_element_value(operation, "role"); operation 733 lib/pacemaker/pcmk_sched_native.c interval_spec = crm_element_value(operation, XML_LRM_ATTR_INTERVAL); operation 739 lib/pacemaker/pcmk_sched_native.c name = crm_element_value(operation, "name"); operation 742 lib/pacemaker/pcmk_sched_native.c ID(operation), interval_ms, name); operation 748 lib/pacemaker/pcmk_sched_native.c ID(operation), name); operation 755 lib/pacemaker/pcmk_sched_native.c ID(operation), rsc->id); operation 761 lib/pacemaker/pcmk_sched_native.c ID(operation), rsc->id, role2text(rsc->next_role), node_uname); operation 896 lib/pacemaker/pcmk_sched_native.c xmlNode *operation = NULL; operation 898 lib/pacemaker/pcmk_sched_native.c for (operation = pcmk__xe_first_child(rsc->ops_xml); operation 899 lib/pacemaker/pcmk_sched_native.c operation != NULL; operation 900 lib/pacemaker/pcmk_sched_native.c operation = pcmk__xe_next(operation)) { operation 902 lib/pacemaker/pcmk_sched_native.c if (pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { operation 903 lib/pacemaker/pcmk_sched_native.c RecurringOp(rsc, start, node, operation, data_set); operation 911 lib/pacemaker/pcmk_sched_native.c xmlNode * operation, pe_working_set_t * data_set) operation 924 lib/pacemaker/pcmk_sched_native.c role = crm_element_value(operation, "role"); operation 929 lib/pacemaker/pcmk_sched_native.c interval_spec = crm_element_value(operation, XML_LRM_ATTR_INTERVAL); operation 935 lib/pacemaker/pcmk_sched_native.c name = crm_element_value(operation, "name"); operation 938 lib/pacemaker/pcmk_sched_native.c ID(operation), interval_ms, name); operation 944 lib/pacemaker/pcmk_sched_native.c ID(operation), name); operation 951 lib/pacemaker/pcmk_sched_native.c ID(operation), rsc->id); operation 960 lib/pacemaker/pcmk_sched_native.c ID(operation)); operation 966 lib/pacemaker/pcmk_sched_native.c ID(operation), rsc->id, role2text(rsc->next_role)); operation 1007 lib/pacemaker/pcmk_sched_native.c ID(operation), rsc->id, crm_str(stop_node_uname)); operation 1109 lib/pacemaker/pcmk_sched_native.c xmlNode *operation = NULL; operation 1111 lib/pacemaker/pcmk_sched_native.c for (operation = pcmk__xe_first_child(rsc->ops_xml); operation 1112 lib/pacemaker/pcmk_sched_native.c operation != NULL; operation 1113 lib/pacemaker/pcmk_sched_native.c operation = pcmk__xe_next(operation)) { operation 1115 lib/pacemaker/pcmk_sched_native.c if (pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { operation 1116 lib/pacemaker/pcmk_sched_native.c RecurringOp_Stopped(rsc, start, node, operation, data_set); operation 622 lib/pacemaker/pcmk_sched_transition.c const char *operation = crm_element_value(action->xml, "operation"); operation 633 lib/pacemaker/pcmk_sched_transition.c if (pcmk__strcase_any_of(operation, CRM_OP_PROBED, CRM_OP_REPROBE, NULL)) { operation 634 lib/pacemaker/pcmk_sched_transition.c crm_info("Skipping %s op for %s", operation, node); operation 659 lib/pacemaker/pcmk_sched_transition.c if (pcmk__strcase_any_of(operation, "delete", RSC_METADATA, NULL)) { operation 660 lib/pacemaker/pcmk_sched_transition.c quiet_log(" * Resource action: %-15s %s on %s\n", resource, operation, node); operation 726 lib/pengine/utils.c xmlNode *operation = NULL; operation 730 lib/pengine/utils.c for (operation = pcmk__xe_first_child(action->rsc->ops_xml); operation 731 lib/pengine/utils.c (operation != NULL) && (value == NULL); operation 732 lib/pengine/utils.c operation = pcmk__xe_next(operation)) { operation 734 lib/pengine/utils.c if (!pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { operation 737 lib/pengine/utils.c name = crm_element_value(operation, "name"); operation 738 lib/pengine/utils.c role = crm_element_value(operation, "role"); operation 739 lib/pengine/utils.c on_fail = crm_element_value(operation, XML_OP_ATTR_ON_FAIL); operation 740 lib/pengine/utils.c enabled = crm_element_value(operation, "enabled"); operation 741 lib/pengine/utils.c interval_spec = crm_element_value(operation, XML_LRM_ATTR_INTERVAL); operation 788 lib/pengine/utils.c xmlNode *operation = NULL; operation 790 lib/pengine/utils.c for (operation = pcmk__xe_first_child(rsc->ops_xml); operation 791 lib/pengine/utils.c operation != NULL; operation 792 lib/pengine/utils.c operation = pcmk__xe_next(operation)) { operation 794 lib/pengine/utils.c if (pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { operation 795 lib/pengine/utils.c name = crm_element_value(operation, "name"); operation 796 lib/pengine/utils.c interval_spec = crm_element_value(operation, XML_LRM_ATTR_INTERVAL); operation 797 lib/pengine/utils.c value = crm_element_value(operation, "enabled"); operation 810 lib/pengine/utils.c op = operation; operation 1309 lib/pengine/utils.c xmlNode *operation = NULL; operation 1312 lib/pengine/utils.c for (operation = pcmk__xe_first_child(rsc->ops_xml); operation != NULL; operation 1313 lib/pengine/utils.c operation = pcmk__xe_next(operation)) { operation 1315 lib/pengine/utils.c if (pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { operation 1316 lib/pengine/utils.c name = crm_element_value(operation, "name"); operation 1317 lib/pengine/utils.c interval_spec = crm_element_value(operation, XML_LRM_ATTR_INTERVAL); operation 1318 lib/pengine/utils.c value = crm_element_value(operation, "enabled"); operation 1326 lib/pengine/utils.c op = operation; operation 1333 lib/pengine/utils.c op = operation; operation 2062 tools/crm_mon.c e->operation, e->origin, e->target, pcmk_strerror(e->result), operation 2064 tools/crm_mon.c send_custom_trap(e->target, NULL, e->operation, pcmk_ok, e->result, 0, desc); operation 77 tools/crm_resource.c gchar *operation; operation 560 tools/crm_resource.c { "operation", 'n', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.operation, operation 870 tools/crm_resource.c if (options.operation) { operation 871 tools/crm_resource.c g_free(options.operation); operation 873 tools/crm_resource.c options.operation = g_strdup(option_name + 2); // skip "--" operation 974 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, options.operation, operation 1741 tools/crm_resource.c options.operation, operation 1897 tools/crm_resource.c options.operation, options.interval_spec, operation 1950 tools/crm_resource.c g_free(options.operation); operation 63 tools/crm_resource.h const char *operation, const char *interval_spec, operation 67 tools/crm_resource.h const char *operation, const char *interval_spec, operation 598 tools/crm_resource_runtime.c const char *rsc_id, const char *operation, operation 615 tools/crm_resource_runtime.c if (operation) { operation 648 tools/crm_resource_runtime.c if (operation) { operation 650 tools/crm_resource_runtime.c if (!pcmk__str_eq(operation, failed_value, pcmk__str_casei)) { operation 681 tools/crm_resource_runtime.c clear_rsc_fail_attrs(pe_resource_t *rsc, const char *operation, operation 692 tools/crm_resource_runtime.c operation, interval_spec, NULL, operation 701 tools/crm_resource_runtime.c pe_resource_t *rsc, const char *operation, operation 717 tools/crm_resource_runtime.c rc = cli_resource_delete(controld_api, host_uname, child, operation, operation 753 tools/crm_resource_runtime.c rsc, operation, interval_spec, operation 786 tools/crm_resource_runtime.c rc = clear_rsc_fail_attrs(rsc, operation, interval_spec, node); operation 794 tools/crm_resource_runtime.c rc = clear_rsc_failures(controld_api, host_uname, rsc->id, operation, operation 811 tools/crm_resource_runtime.c const char *operation, const char *interval_spec, operation 836 tools/crm_resource_runtime.c rc = pcmk__node_attr_request_clear(NULL, node_name, NULL, operation, operation 846 tools/crm_resource_runtime.c operation, interval_spec, data_set); operation 857 tools/crm_resource_runtime.c operation, interval_spec, data_set);