operation 169 daemons/based/based_common.c cib_get_operation_id(const char *op, int *operation) operation 183 daemons/based/based_common.c g_hash_table_insert(operation_hash, (gpointer) cib_server_ops[lpc].operation, value); operation 192 daemons/based/based_common.c *operation = *value; operation 197 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 1101 daemons/controld/controld_execd.c const char *operation, guint interval_ms) operation 1114 daemons/controld/controld_execd.c if (operation) { operation 1115 daemons/controld/controld_execd.c orig_op_key = pcmk__op_key(rsc_id, operation, interval_ms); operation 1126 daemons/controld/controld_execd.c if (last_failed_matches_op(entry, operation, interval_ms)) { operation 1441 daemons/controld/controld_execd.c const char *operation = crm_element_value(action, XML_LRM_ATTR_TASK); operation 1452 daemons/controld/controld_execd.c } else if(operation == NULL) { operation 1459 daemons/controld/controld_execd.c op = construct_op(lrm_state, action, ID(xml_rsc), operation); operation 1461 daemons/controld/controld_execd.c if (pcmk__str_eq(operation, RSC_NOTIFY, pcmk__str_casei)) { // Notifications can't fail operation 1735 daemons/controld/controld_execd.c const char *operation = NULL; operation 1769 daemons/controld/controld_execd.c operation = CRMD_ACTION_DELETE; operation 1777 daemons/controld/controld_execd.c operation = crm_element_value(input->xml, XML_LRM_ATTR_TASK); operation 1786 daemons/controld/controld_execd.c } else if (pcmk__str_eq(operation, CRM_OP_PROBED, pcmk__str_casei)) { operation 1791 daemons/controld/controld_execd.c || pcmk__str_eq(operation, CRM_OP_REPROBE, pcmk__str_casei)) { operation 1795 daemons/controld/controld_execd.c } else if (operation != NULL) { operation 1798 daemons/controld/controld_execd.c gboolean create_rsc = !pcmk__str_eq(operation, CRMD_ACTION_DELETE, operation 1818 daemons/controld/controld_execd.c ID(xml_rsc), operation, operation 1843 daemons/controld/controld_execd.c if (pcmk__str_eq(operation, CRMD_ACTION_CANCEL, pcmk__str_casei)) { operation 1848 daemons/controld/controld_execd.c } else if (pcmk__str_eq(operation, CRMD_ACTION_DELETE, pcmk__str_casei)) { operation 1852 daemons/controld/controld_execd.c } else if (pcmk__str_any_of(operation, CRMD_ACTION_RELOAD, operation 1871 daemons/controld/controld_execd.c do_lrm_rsc_op(lrm_state, rsc, operation, input->xml); operation 1940 daemons/controld/controld_execd.c const char *operation) operation 1952 daemons/controld/controld_execd.c CRM_ASSERT(rsc_id && operation); operation 1954 daemons/controld/controld_execd.c op = lrmd_new_event(rsc_id, operation, 0); operation 1962 daemons/controld/controld_execd.c CRM_LOG_ASSERT(pcmk__str_eq(CRMD_ACTION_STOP, operation, pcmk__str_casei)); operation 1973 daemons/controld/controld_execd.c crm_trace("Constructed %s op for %s", operation, rsc_id); operation 1997 daemons/controld/controld_execd.c && pcmk__str_eq(operation, CRMD_ACTION_STATUS, pcmk__str_casei) operation 2014 daemons/controld/controld_execd.c if (!pcmk__str_eq(operation, RSC_STOP, pcmk__str_casei)) { operation 2054 daemons/controld/controld_execd.c if (pcmk__strcase_any_of(operation, CRMD_ACTION_START, CRMD_ACTION_STOP, NULL)) { operation 2062 daemons/controld/controld_execd.c operation, rsc_id, op->interval_ms); operation 2222 daemons/controld/controld_execd.c const char *operation, xmlNode *msg) operation 2234 daemons/controld/controld_execd.c CRM_CHECK(operation != NULL, return); operation 2243 daemons/controld/controld_execd.c op = construct_op(lrm_state, msg, rsc->id, operation); operation 2248 daemons/controld/controld_execd.c && strcmp(operation, CRMD_ACTION_MIGRATE) == 0) { operation 2257 daemons/controld/controld_execd.c && strcmp(operation, CRMD_ACTION_STATUS) != 0 operation 2258 daemons/controld/controld_execd.c && strcmp(operation, CRMD_ACTION_NOTIFY) != 0) { operation 2276 daemons/controld/controld_execd.c rsc->id, operation, op->interval_ms); operation 2284 daemons/controld/controld_execd.c transition, rsc->id, operation, op->interval_ms); operation 2287 daemons/controld/controld_execd.c && pcmk__str_eq(operation, RSC_START, pcmk__str_casei)) { operation 2295 daemons/controld/controld_execd.c && !pcmk__str_eq(operation, CRMD_ACTION_STOP, pcmk__str_casei)) { operation 2301 daemons/controld/controld_execd.c operation, rsc->id, fsa_state2string(fsa_state), operation 2337 daemons/controld/controld_execd.c crm_err("Operation %s on %s failed: %d", operation, rsc->id, call_id); operation 2342 daemons/controld/controld_execd.c operation, rsc->id, lrm_state->node_name, call_id); operation 2358 daemons/controld/controld_execd.c pending->op_type = strdup(operation); operation 791 daemons/controld/controld_execd_state.c e->target, e->operation, desc, e->result); operation 494 daemons/controld/controld_fencing.c if (!AM_I_DC && pcmk__str_eq(st_event->operation, T_STONITH_NOTIFY_FENCE, pcmk__str_casei)) { operation 16 daemons/controld/controld_lrm.h const char *operation, guint interval_ms); operation 123 daemons/fenced/cts-fence-helper.c e->operation, e->origin, e->result == pcmk_ok ? "completed" : "failed", operation 1008 daemons/fenced/fenced_remote.c const char *operation = NULL; operation 1061 daemons/fenced/fenced_remote.c operation = crm_element_value(request, F_STONITH_OPERATION); operation 1063 daemons/fenced/fenced_remote.c if (pcmk__str_eq(operation, STONITH_OP_RELAY, pcmk__str_none)) { operation 1126 daemons/fenced/fenced_remote.c const char *operation = NULL; operation 1180 daemons/fenced/fenced_remote.c operation = crm_element_value(request, F_STONITH_OPERATION); operation 1181 daemons/fenced/fenced_remote.c if (pcmk__str_eq(operation, STONITH_OP_RELAY, pcmk__str_none)) { operation 203 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 122 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 240 lib/common/attrd_client.c const char *resource, const char *operation, operation 252 lib/common/attrd_client.c crm_xml_add(clear_op, PCMK__XA_ATTR_OPERATION, operation); operation 260 lib/common/attrd_client.c if (operation) { operation 262 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 1744 lib/fencing/st_client.c event->operation = crm_element_value_copy(msg, F_STONITH_OPERATION); operation 1771 lib/fencing/st_client.c free(event->operation); operation 1400 lib/pacemaker/pcmk_output.c const char *operation = va_arg(args, const char *); operation 1410 lib/pacemaker/pcmk_output.c rsc, operation, interval_ms, node); operation 1413 lib/pacemaker/pcmk_output.c rsc, operation, node); operation 1424 lib/pacemaker/pcmk_output.c const char *operation = va_arg(args, const char *); operation 1436 lib/pacemaker/pcmk_output.c "op", operation, operation 33 lib/pacemaker/pcmk_sched_native.c xmlNode *operation, pe_working_set_t *data_set); operation 37 lib/pacemaker/pcmk_sched_native.c xmlNode *operation, pe_working_set_t *data_set); operation 669 lib/pacemaker/pcmk_sched_native.c xmlNode *operation = NULL; operation 673 lib/pacemaker/pcmk_sched_native.c for (operation = pcmk__xe_first_child(rsc->ops_xml); operation != NULL; operation 674 lib/pacemaker/pcmk_sched_native.c operation = pcmk__xe_next(operation)) { operation 676 lib/pacemaker/pcmk_sched_native.c if (pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { operation 677 lib/pacemaker/pcmk_sched_native.c value = crm_element_value(operation, "name"); operation 682 lib/pacemaker/pcmk_sched_native.c value = crm_element_value(operation, XML_LRM_ATTR_INTERVAL); operation 689 lib/pacemaker/pcmk_sched_native.c id = ID(operation); operation 694 lib/pacemaker/pcmk_sched_native.c "than once per resource)", ID(operation), id); operation 711 lib/pacemaker/pcmk_sched_native.c xmlNode * operation, pe_working_set_t * data_set) operation 727 lib/pacemaker/pcmk_sched_native.c role = crm_element_value(operation, "role"); operation 732 lib/pacemaker/pcmk_sched_native.c interval_spec = crm_element_value(operation, XML_LRM_ATTR_INTERVAL); operation 738 lib/pacemaker/pcmk_sched_native.c name = crm_element_value(operation, "name"); operation 741 lib/pacemaker/pcmk_sched_native.c ID(operation), interval_ms, name); operation 747 lib/pacemaker/pcmk_sched_native.c ID(operation), name); operation 754 lib/pacemaker/pcmk_sched_native.c ID(operation), rsc->id); operation 760 lib/pacemaker/pcmk_sched_native.c ID(operation), rsc->id, role2text(rsc->next_role), node_uname); operation 893 lib/pacemaker/pcmk_sched_native.c xmlNode *operation = NULL; operation 895 lib/pacemaker/pcmk_sched_native.c for (operation = pcmk__xe_first_child(rsc->ops_xml); operation 896 lib/pacemaker/pcmk_sched_native.c operation != NULL; operation 897 lib/pacemaker/pcmk_sched_native.c operation = pcmk__xe_next(operation)) { operation 899 lib/pacemaker/pcmk_sched_native.c if (pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { operation 900 lib/pacemaker/pcmk_sched_native.c RecurringOp(rsc, start, node, operation, data_set); operation 908 lib/pacemaker/pcmk_sched_native.c xmlNode * operation, pe_working_set_t * data_set) operation 921 lib/pacemaker/pcmk_sched_native.c role = crm_element_value(operation, "role"); operation 926 lib/pacemaker/pcmk_sched_native.c interval_spec = crm_element_value(operation, XML_LRM_ATTR_INTERVAL); operation 932 lib/pacemaker/pcmk_sched_native.c name = crm_element_value(operation, "name"); operation 935 lib/pacemaker/pcmk_sched_native.c ID(operation), interval_ms, name); operation 941 lib/pacemaker/pcmk_sched_native.c ID(operation), name); operation 948 lib/pacemaker/pcmk_sched_native.c ID(operation), rsc->id); operation 957 lib/pacemaker/pcmk_sched_native.c ID(operation)); operation 963 lib/pacemaker/pcmk_sched_native.c ID(operation), rsc->id, role2text(rsc->next_role)); operation 1005 lib/pacemaker/pcmk_sched_native.c ID(operation), rsc->id, crm_str(stop_node_uname)); operation 1104 lib/pacemaker/pcmk_sched_native.c xmlNode *operation = NULL; operation 1106 lib/pacemaker/pcmk_sched_native.c for (operation = pcmk__xe_first_child(rsc->ops_xml); operation 1107 lib/pacemaker/pcmk_sched_native.c operation != NULL; operation 1108 lib/pacemaker/pcmk_sched_native.c operation = pcmk__xe_next(operation)) { operation 1110 lib/pacemaker/pcmk_sched_native.c if (pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { operation 1111 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 out->message(out, "inject-rsc-action", resource, operation, node, (guint) 0); operation 682 lib/pengine/utils.c xmlNode *operation = NULL; operation 686 lib/pengine/utils.c for (operation = pcmk__xe_first_child(action->rsc->ops_xml); operation 687 lib/pengine/utils.c (operation != NULL) && (value == NULL); operation 688 lib/pengine/utils.c operation = pcmk__xe_next(operation)) { operation 690 lib/pengine/utils.c if (!pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { operation 693 lib/pengine/utils.c name = crm_element_value(operation, "name"); operation 694 lib/pengine/utils.c role = crm_element_value(operation, "role"); operation 695 lib/pengine/utils.c on_fail = crm_element_value(operation, XML_OP_ATTR_ON_FAIL); operation 696 lib/pengine/utils.c enabled = crm_element_value(operation, "enabled"); operation 697 lib/pengine/utils.c interval_spec = crm_element_value(operation, XML_LRM_ATTR_INTERVAL); operation 748 lib/pengine/utils.c xmlNode *operation = NULL; operation 750 lib/pengine/utils.c for (operation = pcmk__xe_first_child(rsc->ops_xml); operation 751 lib/pengine/utils.c operation != NULL; operation 752 lib/pengine/utils.c operation = pcmk__xe_next(operation)) { operation 754 lib/pengine/utils.c if (pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { operation 755 lib/pengine/utils.c name = crm_element_value(operation, "name"); operation 756 lib/pengine/utils.c interval_spec = crm_element_value(operation, XML_LRM_ATTR_INTERVAL); operation 757 lib/pengine/utils.c value = crm_element_value(operation, "enabled"); operation 770 lib/pengine/utils.c op = operation; operation 1270 lib/pengine/utils.c xmlNode *operation = NULL; operation 1273 lib/pengine/utils.c for (operation = pcmk__xe_first_child(rsc->ops_xml); operation != NULL; operation 1274 lib/pengine/utils.c operation = pcmk__xe_next(operation)) { operation 1276 lib/pengine/utils.c if (pcmk__str_eq((const char *)operation->name, "op", pcmk__str_none)) { operation 1277 lib/pengine/utils.c name = crm_element_value(operation, "name"); operation 1278 lib/pengine/utils.c interval_spec = crm_element_value(operation, XML_LRM_ATTR_INTERVAL); operation 1279 lib/pengine/utils.c value = crm_element_value(operation, "enabled"); operation 1287 lib/pengine/utils.c op = operation; operation 1294 lib/pengine/utils.c op = operation; operation 2231 tools/crm_mon.c e->operation, e->origin, e->target, pcmk_strerror(e->result), operation 2233 tools/crm_mon.c send_custom_trap(e->target, NULL, e->operation, pcmk_ok, e->result, 0, desc); operation 94 tools/crm_resource.c gchar *operation; // Value of --operation operation 583 tools/crm_resource.c { "operation", 'n', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.operation, operation 900 tools/crm_resource.c if (options.operation) { operation 901 tools/crm_resource.c g_free(options.operation); operation 903 tools/crm_resource.c options.operation = g_strdup(option_name + 2); // skip "--" operation 1027 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, options.operation, operation 1842 tools/crm_resource.c options.operation, options.cmdline_params, operation 1847 tools/crm_resource.c options.operation, options.override_params, operation 2050 tools/crm_resource.c options.operation, options.interval_spec, operation 2116 tools/crm_resource.c g_free(options.operation); operation 73 tools/crm_resource.h pe_resource_t *rsc, const char *operation, operation 77 tools/crm_resource.h const char *operation, const char *interval_spec, operation 623 tools/crm_resource_runtime.c const char *node_name, const char *rsc_id, const char *operation, operation 640 tools/crm_resource_runtime.c if (operation) { operation 673 tools/crm_resource_runtime.c if (operation) { operation 675 tools/crm_resource_runtime.c if (!pcmk__str_eq(operation, failed_value, pcmk__str_casei)) { operation 703 tools/crm_resource_runtime.c clear_rsc_fail_attrs(pe_resource_t *rsc, const char *operation, operation 714 tools/crm_resource_runtime.c operation, interval_spec, NULL, operation 723 tools/crm_resource_runtime.c pe_resource_t *rsc, const char *operation, operation 740 tools/crm_resource_runtime.c rc = cli_resource_delete(controld_api, host_uname, child, operation, operation 776 tools/crm_resource_runtime.c rsc, operation, interval_spec, operation 809 tools/crm_resource_runtime.c rc = clear_rsc_fail_attrs(rsc, operation, interval_spec, node); operation 817 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, host_uname, rsc->id, operation, operation 834 tools/crm_resource_runtime.c const char *operation, const char *interval_spec, operation 860 tools/crm_resource_runtime.c rc = pcmk__node_attr_request_clear(NULL, node_name, NULL, operation, operation 870 tools/crm_resource_runtime.c operation, interval_spec, data_set); operation 881 tools/crm_resource_runtime.c operation, interval_spec, data_set);