operation 43 daemons/based/based_callbacks.c const cib__operation_t *operation, operation 519 daemons/based/based_callbacks.c const cib__operation_t *operation, operation 530 daemons/based/based_callbacks.c if (pcmk_is_set(operation->flags, cib__op_attr_local)) { operation 550 daemons/based/based_callbacks.c if (pcmk_is_set(operation->flags, cib__op_attr_modifies) operation 578 daemons/based/based_callbacks.c parse_peer_options(const cib__operation_t *operation, xmlNode *request, operation 660 daemons/based/based_callbacks.c && pcmk_is_set(operation->flags, cib__op_attr_modifies)) { operation 814 daemons/based/based_callbacks.c const cib__operation_t *operation = NULL; operation 838 daemons/based/based_callbacks.c rc = cib__get_operation(op, &operation); operation 846 daemons/based/based_callbacks.c op_function = based_get_op_function(operation); operation 853 daemons/based/based_callbacks.c parse_local_options(cib_client, operation, host, op, operation 857 daemons/based/based_callbacks.c } else if (!parse_peer_options(operation, request, &local_notify, operation 876 daemons/based/based_callbacks.c is_update = pcmk_is_set(operation->flags, cib__op_attr_modifies); operation 909 daemons/based/based_callbacks.c rc = cib_process_command(request, operation, op_function, &op_reply, operation 1066 daemons/based/based_callbacks.c cib_process_command(xmlNode *request, const cib__operation_t *operation, operation 1108 daemons/based/based_callbacks.c if (!privileged && pcmk_is_set(operation->flags, cib__op_attr_privileged)) { operation 1114 daemons/based/based_callbacks.c input = prepare_input(request, operation->type, §ion); operation 1116 daemons/based/based_callbacks.c if (!pcmk_is_set(operation->flags, cib__op_attr_modifies)) { operation 1154 daemons/based/based_callbacks.c && pcmk_is_set(operation->flags, cib__op_attr_writes_through)) { operation 1163 daemons/based/based_callbacks.c if (pcmk_is_set(operation->flags, cib__op_attr_writes_through)) { operation 1191 daemons/based/based_callbacks.c if ((operation->type == cib__op_commit_transact) operation 50 daemons/based/based_operation.c based_get_op_function(const cib__operation_t *operation) operation 52 daemons/based/based_operation.c enum cib__op_type type = operation->type; operation 66 daemons/based/based_transaction.c const cib__operation_t *operation = NULL; operation 67 daemons/based/based_transaction.c int rc = cib__get_operation(op, &operation); operation 70 daemons/based/based_transaction.c if (!pcmk_is_set(operation->flags, cib__op_attr_transaction) operation 127 daemons/based/pacemaker-based.h cib__op_fn_t based_get_op_function(const cib__operation_t *operation); operation 68 daemons/controld/controld_alerts.c e->target, e->operation, desc, e->result); operation 42 daemons/controld/controld_execd.c const char *operation); operation 773 daemons/controld/controld_execd.c const char *operation, guint interval_ms) operation 784 daemons/controld/controld_execd.c if (last_failed_matches_op(entry, operation, interval_ms)) { operation 1101 daemons/controld/controld_execd.c const char *operation = crm_element_value(action, PCMK_XA_OPERATION); operation 1113 daemons/controld/controld_execd.c } else if(operation == NULL) { operation 1120 daemons/controld/controld_execd.c op = construct_op(lrm_state, action, pcmk__xe_id(xml_rsc), operation); operation 1122 daemons/controld/controld_execd.c if (pcmk__str_eq(operation, PCMK_ACTION_NOTIFY, pcmk__str_casei)) { operation 1401 daemons/controld/controld_execd.c const char *operation = NULL; operation 1433 daemons/controld/controld_execd.c operation = PCMK_ACTION_DELETE; operation 1436 daemons/controld/controld_execd.c operation = crm_element_value(input->xml, PCMK_XA_OPERATION); operation 1439 daemons/controld/controld_execd.c CRM_CHECK(!pcmk__str_empty(crm_op) || !pcmk__str_empty(operation), return); operation 1442 daemons/controld/controld_execd.c pcmk__s(crm_op, operation), operation 1451 daemons/controld/controld_execd.c || pcmk__str_eq(operation, CRM_OP_REPROBE, pcmk__str_none)) { operation 1461 daemons/controld/controld_execd.c } else if (operation != NULL) { operation 1465 daemons/controld/controld_execd.c gboolean create_rsc = !pcmk__str_eq(operation, PCMK_ACTION_DELETE, operation 1486 daemons/controld/controld_execd.c pcmk__xe_id(xml_rsc), operation, operation 1513 daemons/controld/controld_execd.c if (pcmk__str_eq(operation, PCMK_ACTION_CANCEL, pcmk__str_none)) { operation 1518 daemons/controld/controld_execd.c } else if (pcmk__str_eq(operation, PCMK_ACTION_DELETE, operation 1534 daemons/controld/controld_execd.c if (strcmp(operation, PCMK_ACTION_START) != 0) { operation 1540 daemons/controld/controld_execd.c operation)) { operation 1578 daemons/controld/controld_execd.c const char *rsc_id, const char *operation) operation 1590 daemons/controld/controld_execd.c pcmk__assert((rsc_id != NULL) && (operation != NULL)); operation 1592 daemons/controld/controld_execd.c op = lrmd_new_event(rsc_id, operation, 0); operation 1599 daemons/controld/controld_execd.c CRM_LOG_ASSERT(pcmk__str_eq(operation, PCMK_ACTION_STOP, operation 1611 daemons/controld/controld_execd.c crm_trace("Constructed %s op for %s", operation, rsc_id); operation 1635 daemons/controld/controld_execd.c && pcmk__str_eq(operation, PCMK_ACTION_MONITOR, pcmk__str_casei) operation 1646 daemons/controld/controld_execd.c if (!pcmk__str_eq(operation, PCMK_ACTION_STOP, pcmk__str_casei)) { operation 1686 daemons/controld/controld_execd.c if (pcmk__strcase_any_of(operation, PCMK_ACTION_START, PCMK_ACTION_STOP, operation 1695 daemons/controld/controld_execd.c operation, rsc_id, op->interval_ms); operation 1899 daemons/controld/controld_execd.c const char *operation = NULL; operation 1904 daemons/controld/controld_execd.c operation = crm_element_value(msg, PCMK_XA_OPERATION); operation 1905 daemons/controld/controld_execd.c CRM_CHECK(!pcmk__str_empty(operation), return); operation 1916 daemons/controld/controld_execd.c operation, rsc->id, pcmk__s(transition, "")); operation 1923 daemons/controld/controld_execd.c if (pcmk__str_any_of(operation, PCMK_ACTION_RELOAD, operation 1932 daemons/controld/controld_execd.c operation = PCMK_ACTION_RELOAD; operation 1934 daemons/controld/controld_execd.c operation = PCMK_ACTION_RELOAD_AGENT; operation 1938 daemons/controld/controld_execd.c op = construct_op(lrm_state, msg, rsc->id, operation); operation 1941 daemons/controld/controld_execd.c if (should_cancel_recurring(rsc->id, operation, op->interval_ms)) { operation 1954 daemons/controld/controld_execd.c rsc->id, operation, op->interval_ms); operation 1958 daemons/controld/controld_execd.c nack_reason = should_nack_action(operation); operation 2004 daemons/controld/controld_execd.c pending->op_type = pcmk__str_copy(operation); operation 2030 daemons/controld/controld_execd.c QB_XS " rc=%d", operation, rsc->id, pcmk_rc_str(rc), rc); operation 2039 daemons/controld/controld_execd.c operation, rsc->id, lrm_state->node_name, pcmk_rc_str(rc), rc); operation 16 daemons/controld/controld_lrm.h const char *operation, guint interval_ms); operation 1170 daemons/fenced/fenced_remote.c const char *operation = NULL; operation 1227 daemons/fenced/fenced_remote.c operation = crm_element_value(request, PCMK__XA_ST_OP); operation 1229 daemons/fenced/fenced_remote.c if (pcmk__str_eq(operation, STONITH_OP_RELAY, pcmk__str_none)) { operation 1311 daemons/fenced/fenced_remote.c const char *operation = NULL; operation 1366 daemons/fenced/fenced_remote.c operation = crm_element_value(request, PCMK__XA_ST_OP); operation 1367 daemons/fenced/fenced_remote.c if (pcmk__str_eq(operation, STONITH_OP_RELAY, pcmk__str_none)) { operation 191 include/crm/cib/internal.h int cib__get_operation(const char *op, const cib__operation_t **operation); operation 70 include/crm/common/ipc_attrd_internal.h const char *resource, const char *operation, operation 196 include/crm/stonith-ng.h char *operation; operation 169 lib/cib/cib_file.c file_get_op_function(const cib__operation_t *operation) operation 171 lib/cib/cib_file.c enum cib__op_type type = operation->type; operation 216 lib/cib/cib_file.c const cib__operation_t *operation = NULL; operation 235 lib/cib/cib_file.c cib__get_operation(op, &operation); operation 236 lib/cib/cib_file.c op_function = file_get_op_function(operation); operation 245 lib/cib/cib_file.c read_only = !pcmk_is_set(operation->flags, cib__op_attr_modifies); operation 297 lib/cib/cib_file.c const cib__operation_t *operation = NULL; operation 311 lib/cib/cib_file.c rc = cib__get_operation(op, &operation); operation 318 lib/cib/cib_file.c if (file_get_op_function(operation) == NULL) { operation 145 lib/cib/cib_ops.c cib__get_operation(const char *op, const cib__operation_t **operation) operation 147 lib/cib/cib_ops.c pcmk__assert((op != NULL) && (operation != NULL)); operation 160 lib/cib/cib_ops.c *operation = g_hash_table_lookup(operation_table, op); operation 161 lib/cib/cib_ops.c if (*operation == NULL) { operation 551 lib/cib/cib_ops.c update_results(xmlNode *failed, xmlNode *target, const char *operation, operation 567 lib/cib/cib_ops.c crm_xml_add(xml_node, PCMK_XA_OPERATION, operation); operation 571 lib/cib/cib_ops.c operation, error_msg, return_code); operation 605 lib/cib/cib_utils.c const cib__operation_t *operation = NULL; operation 606 lib/cib/cib_utils.c int rc = cib__get_operation(op, &operation); operation 613 lib/cib/cib_utils.c if (!pcmk_is_set(operation->flags, cib__op_attr_transaction)) { operation 191 lib/common/ipc_attrd.c const char *resource, const char *operation, operation 205 lib/common/ipc_attrd.c if (operation) { operation 207 lib/common/ipc_attrd.c op_desc = operation; operation 219 lib/common/ipc_attrd.c crm_xml_add(request, PCMK__XA_ATTR_CLEAR_OPERATION, operation); operation 133 lib/common/messages.c const char *operation = crm_element_value(original_request, operation 164 lib/common/messages.c host_from, sys_from, operation, data); operation 1428 lib/fencing/st_client.c event->operation = crm_element_value_copy(msg, PCMK__XA_ST_OP); operation 1435 lib/fencing/st_client.c if (pcmk__str_eq(event->operation, PCMK__VALUE_ST_NOTIFY_FENCE, operation 1437 lib/fencing/st_client.c xmlNode *data = get_event_data_xml(msg, event->operation); operation 1440 lib/fencing/st_client.c crm_err("No data for %s event", event->operation); operation 1455 lib/fencing/st_client.c } else if (pcmk__str_any_of(event->operation, operation 1459 lib/fencing/st_client.c xmlNode *data = get_event_data_xml(msg, event->operation); operation 1462 lib/fencing/st_client.c crm_err("No data for %s event", event->operation); operation 1478 lib/fencing/st_client.c free(event->operation); operation 2753 lib/fencing/st_client.c const char *action = pcmk__s(event->action, event->operation); operation 2770 lib/fencing/st_client.c if (pcmk__str_eq(event->operation, PCMK__VALUE_ST_NOTIFY_HISTORY, operation 2774 lib/fencing/st_client.c } else if (pcmk__str_eq(event->operation, STONITH_OP_DEVICE_ADD, operation 2778 lib/fencing/st_client.c } else if (pcmk__str_eq(event->operation, STONITH_OP_DEVICE_DEL, operation 2782 lib/fencing/st_client.c } else if (pcmk__str_eq(event->operation, STONITH_OP_LEVEL_ADD, operation 2787 lib/fencing/st_client.c } else if (pcmk__str_eq(event->operation, STONITH_OP_LEVEL_DEL, operation 1750 lib/pacemaker/pcmk_output.c const char *operation = va_arg(args, const char *); operation 1760 lib/pacemaker/pcmk_output.c rsc, operation, interval_ms, node); operation 1763 lib/pacemaker/pcmk_output.c rsc, operation, node); operation 1775 lib/pacemaker/pcmk_output.c const char *operation = va_arg(args, const char *); operation 1787 lib/pacemaker/pcmk_output.c PCMK_XA_OP, operation, operation 566 lib/pacemaker/pcmk_simulate.c const char *operation = crm_element_value(action->xml, PCMK_XA_OPERATION); operation 581 lib/pacemaker/pcmk_simulate.c if (pcmk__str_eq(operation, CRM_OP_REPROBE, pcmk__str_none)) { operation 582 lib/pacemaker/pcmk_simulate.c crm_debug("No history injection for %s op on %s", operation, node); operation 614 lib/pacemaker/pcmk_simulate.c if (pcmk__strcase_any_of(operation, PCMK_ACTION_DELETE, operation 616 lib/pacemaker/pcmk_simulate.c out->message(out, "inject-rsc-action", resource, operation, node, operation 95 lib/pengine/pe_actions.c for (xmlNode *operation = pcmk__xe_first_child(rsc->priv->ops_xml, operation 97 lib/pengine/pe_actions.c operation != NULL; operation = pcmk__xe_next(operation, PCMK_XE_OP)) { operation 106 lib/pengine/pe_actions.c && (pcmk__xe_get_bool_attr(operation, PCMK_META_ENABLED, operation 111 lib/pengine/pe_actions.c interval_spec = crm_element_value(operation, PCMK_META_INTERVAL); operation 117 lib/pengine/pe_actions.c config_name = crm_element_value(operation, PCMK_XA_NAME); operation 119 lib/pengine/pe_actions.c return operation; operation 458 lib/pengine/pe_actions.c for (xmlNode *operation = pcmk__xe_first_child(rsc->priv->ops_xml, operation 460 lib/pengine/pe_actions.c operation != NULL; operation 461 lib/pengine/pe_actions.c operation = pcmk__xe_next(operation, PCMK_XE_OP)) { operation 469 lib/pengine/pe_actions.c promote_on_fail = crm_element_value(operation, PCMK_META_ON_FAIL); operation 475 lib/pengine/pe_actions.c name = crm_element_value(operation, PCMK_XA_NAME); operation 476 lib/pengine/pe_actions.c role = crm_element_value(operation, PCMK_XA_ROLE); operation 482 lib/pengine/pe_actions.c interval_spec = crm_element_value(operation, PCMK_META_INTERVAL); operation 489 lib/pengine/pe_actions.c if ((pcmk__xe_get_bool_attr(operation, PCMK_META_ENABLED, operation 628 lib/pengine/pe_actions.c for (xmlNode *operation = pcmk__xe_first_child(rsc->priv->ops_xml, operation 630 lib/pengine/pe_actions.c operation != NULL; operation = pcmk__xe_next(operation, PCMK_XE_OP)) { operation 634 lib/pengine/pe_actions.c const char *interval_spec = crm_element_value(operation, operation 638 lib/pengine/pe_actions.c if (!pcmk__str_eq(crm_element_value(operation, PCMK_XA_NAME), operation 649 lib/pengine/pe_actions.c if ((pcmk__xe_get_bool_attr(operation, PCMK_META_ENABLED, operation 656 lib/pengine/pe_actions.c op = operation; operation 2036 tools/crm_mon.c send_custom_trap(e->target, NULL, e->operation, pcmk_ok, e->result, 0, desc); operation 147 tools/crm_resource.c gchar *operation; // Value of --operation operation 403 tools/crm_resource.c g_free(options.operation); operation 404 tools/crm_resource.c options.operation = g_strdup(option_name + 2); // skip "--" operation 803 tools/crm_resource.c { "operation", 'n', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.operation, operation 927 tools/crm_resource.c rc = cli_resource_delete(controld_api, rsc, node, options.operation, operation 1217 tools/crm_resource.c int rc = cli_cleanup_all(controld_api, node, options.operation, operation 1382 tools/crm_resource.c options.operation, operation 1389 tools/crm_resource.c return cli_resource_execute(rsc, options.rsc_id, options.operation, operation 2368 tools/crm_resource.c g_free(options.operation); operation 92 tools/crm_resource.h pcmk_node_t *node, const char *operation, operation 96 tools/crm_resource.h const char *operation, const char *interval_spec, operation 847 tools/crm_resource_runtime.c pcmk_node_t *node, const char *rsc_id, const char *operation, operation 869 tools/crm_resource_runtime.c if (operation) { operation 907 tools/crm_resource_runtime.c if (operation) { operation 909 tools/crm_resource_runtime.c if (!pcmk__str_eq(operation, failed_value, pcmk__str_casei)) { operation 949 tools/crm_resource_runtime.c clear_rsc_fail_attrs(const pcmk_resource_t *rsc, const char *operation, operation 961 tools/crm_resource_runtime.c operation, interval_spec, NULL, operation 970 tools/crm_resource_runtime.c pcmk_node_t *node, const char *operation, operation 988 tools/crm_resource_runtime.c rc = cli_resource_delete(controld_api, child, node, operation, operation 1027 tools/crm_resource_runtime.c rc = cli_resource_delete(controld_api, rsc, node, operation, operation 1052 tools/crm_resource_runtime.c rc = clear_rsc_fail_attrs(rsc, operation, interval_spec, node); operation 1060 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, node, rsc->id, operation, operation 1079 tools/crm_resource_runtime.c const char *operation, const char *interval_spec, operation 1107 tools/crm_resource_runtime.c rc = pcmk__attrd_api_clear_failures(NULL, node_name, NULL, operation, operation 1116 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, node, NULL, operation, operation 1124 tools/crm_resource_runtime.c operation, interval_spec);