xml_op 649 daemons/controld/controld_execd.c xmlNode *xml_op = NULL; xml_op 674 daemons/controld/controld_execd.c xml_op = pcmk__create_history_xml(parent, op, caller_version, target_rc, xml_op 676 daemons/controld/controld_execd.c if (xml_op == NULL) { xml_op 733 daemons/controld/controld_execd.c crm_xml_add(xml_op, XML_ATTR_RA_VERSION, metadata->ra_version); xml_op 737 daemons/controld/controld_execd.c append_restart_list(op, metadata, xml_op, caller_version); xml_op 738 daemons/controld/controld_execd.c append_secure_list(op, metadata, xml_op, caller_version); xml_op 597 daemons/controld/controld_messages.c xmlNode *xml_op = get_message_xml(stored_msg, F_CRM_DATA); xml_op 599 daemons/controld/controld_messages.c if (xml_op) { xml_op 600 daemons/controld/controld_messages.c xmlNode *xml_rsc = first_named_child(xml_op, XML_CIB_TAG_RESOURCE); xml_op 601 daemons/controld/controld_messages.c xmlNode *xml_attrs = first_named_child(xml_op, XML_TAG_ATTRS); xml_op 614 daemons/controld/controld_messages.c uname = crm_element_value(xml_op, XML_LRM_ATTR_TARGET); xml_op 621 daemons/controld/controld_messages.c if (crm_element_value(xml_op, XML_LRM_ATTR_ROUTER_NODE)) { xml_op 184 daemons/controld/controld_te_actions.c xmlNode *xml_op = NULL; xml_op 250 daemons/controld/controld_te_actions.c xml_op = pcmk__create_history_xml(rsc, op, CRM_FEATURE_SET, target_rc, xml_op 254 daemons/controld/controld_te_actions.c crm_log_xml_trace(xml_op, "Action timeout"); xml_op 220 daemons/fenced/fenced_history.c xmlNode *xml_op = NULL; xml_op 227 daemons/fenced/fenced_history.c for (xml_op = pcmk__xml_first_child(history); xml_op != NULL; xml_op 228 daemons/fenced/fenced_history.c xml_op = pcmk__xml_next(xml_op)) { xml_op 230 daemons/fenced/fenced_history.c char *id = crm_element_value_copy(xml_op, F_STONITH_REMOTE_OP_ID); xml_op 244 daemons/fenced/fenced_history.c op->target = crm_element_value_copy(xml_op, F_STONITH_TARGET); xml_op 245 daemons/fenced/fenced_history.c op->action = crm_element_value_copy(xml_op, F_STONITH_ACTION); xml_op 246 daemons/fenced/fenced_history.c op->originator = crm_element_value_copy(xml_op, F_STONITH_ORIGIN); xml_op 247 daemons/fenced/fenced_history.c op->delegate = crm_element_value_copy(xml_op, F_STONITH_DELEGATE); xml_op 248 daemons/fenced/fenced_history.c op->client_name = crm_element_value_copy(xml_op, F_STONITH_CLIENTNAME); xml_op 249 daemons/fenced/fenced_history.c crm_element_value_ll(xml_op, F_STONITH_DATE, &completed); xml_op 251 daemons/fenced/fenced_history.c crm_element_value_int(xml_op, F_STONITH_STATE, &state); xml_op 342 include/crm/pengine/internal.h uint32_t flags, xmlNode *xml_op, xml_op 498 include/crm/pengine/internal.h int pe__target_rc_from_xml(xmlNode *xml_op); xml_op 525 include/crm/pengine/internal.h op_digest_cache_t *rsc_action_digest_cmp(pe_resource_t * rsc, xmlNode * xml_op, pe_node_t * node, xml_op 477 lib/common/operations.c xmlNode *xml_op; xml_op 481 lib/common/operations.c xml_op = create_xml_node(parent, XML_ATTR_OP); xml_op 482 lib/common/operations.c crm_xml_set_id(xml_op, "%s-%s-%s", prefix, task, interval_spec); xml_op 483 lib/common/operations.c crm_xml_add(xml_op, XML_LRM_ATTR_INTERVAL, interval_spec); xml_op 484 lib/common/operations.c crm_xml_add(xml_op, "name", task); xml_op 486 lib/common/operations.c crm_xml_add(xml_op, XML_ATTR_TIMEOUT, timeout); xml_op 488 lib/common/operations.c return xml_op; xml_op 195 lib/pacemaker/pcmk_sched_allocate.c CancelXmlOp(pe_resource_t * rsc, xmlNode * xml_op, pe_node_t * active_node, xml_op 204 lib/pacemaker/pcmk_sched_allocate.c CRM_CHECK(xml_op != NULL, return); xml_op 207 lib/pacemaker/pcmk_sched_allocate.c task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 208 lib/pacemaker/pcmk_sched_allocate.c call_id = crm_element_value(xml_op, XML_LRM_ATTR_CALLID); xml_op 209 lib/pacemaker/pcmk_sched_allocate.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 221 lib/pacemaker/pcmk_sched_allocate.c check_action_definition(pe_resource_t * rsc, pe_node_t * active_node, xmlNode * xml_op, xml_op 229 lib/pacemaker/pcmk_sched_allocate.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 234 lib/pacemaker/pcmk_sched_allocate.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 246 lib/pacemaker/pcmk_sched_allocate.c CancelXmlOp(rsc, xml_op, active_node, "orphan", data_set); xml_op 273 lib/pacemaker/pcmk_sched_allocate.c digest_data = rsc_action_digest_cmp(rsc, xml_op, active_node, data_set); xml_op 276 lib/pacemaker/pcmk_sched_allocate.c digest_secure = crm_element_value(xml_op, XML_LRM_ATTR_SECURE_DIGEST); xml_op 287 lib/pacemaker/pcmk_sched_allocate.c crm_element_value(xml_op, XML_ATTR_TRANSITION_MAGIC)); xml_op 305 lib/pacemaker/pcmk_sched_allocate.c const char *digest_restart = crm_element_value(xml_op, XML_LRM_ATTR_RESTART_DIGEST); xml_op 616 lib/pacemaker/pcmk_sched_utils.c xmlNode *xml_op = NULL; xml_op 674 lib/pacemaker/pcmk_sched_utils.c xml_op = pcmk__xe_match(parent, XML_LRM_TAG_RSC_OP, XML_ATTR_ID, op_id); xml_op 675 lib/pacemaker/pcmk_sched_utils.c if (xml_op == NULL) { xml_op 676 lib/pacemaker/pcmk_sched_utils.c xml_op = create_xml_node(parent, XML_LRM_TAG_RSC_OP); xml_op 692 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_ATTR_ID, op_id); xml_op 693 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_LRM_ATTR_TASK_KEY, key); xml_op 694 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_LRM_ATTR_TASK, task); xml_op 695 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_ATTR_ORIGIN, origin); xml_op 696 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_ATTR_CRM_VERSION, caller_version); xml_op 697 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_ATTR_TRANSITION_KEY, op->user_data); xml_op 698 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_ATTR_TRANSITION_MAGIC, magic); xml_op 699 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_LRM_ATTR_EXIT_REASON, exit_reason == NULL ? "" : exit_reason); xml_op 700 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_LRM_ATTR_TARGET, node); /* For context during triage */ xml_op 702 lib/pacemaker/pcmk_sched_utils.c crm_xml_add_int(xml_op, XML_LRM_ATTR_CALLID, op->call_id); xml_op 703 lib/pacemaker/pcmk_sched_utils.c crm_xml_add_int(xml_op, XML_LRM_ATTR_RC, op->rc); xml_op 704 lib/pacemaker/pcmk_sched_utils.c crm_xml_add_int(xml_op, XML_LRM_ATTR_OPSTATUS, op->op_status); xml_op 705 lib/pacemaker/pcmk_sched_utils.c crm_xml_add_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, op->interval_ms); xml_op 715 lib/pacemaker/pcmk_sched_utils.c crm_xml_add_ll(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 719 lib/pacemaker/pcmk_sched_utils.c crm_xml_add_ll(xml_op, XML_RSC_OP_LAST_RUN, xml_op 724 lib/pacemaker/pcmk_sched_utils.c crm_xml_add_ll(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 729 lib/pacemaker/pcmk_sched_utils.c crm_xml_add_ll(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 733 lib/pacemaker/pcmk_sched_utils.c crm_xml_add_int(xml_op, XML_RSC_OP_T_EXEC, op->exec_time); xml_op 734 lib/pacemaker/pcmk_sched_utils.c crm_xml_add_int(xml_op, XML_RSC_OP_T_QUEUE, op->queue_time); xml_op 744 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, name, crm_meta_value(op->params, name)); xml_op 747 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, name, crm_meta_value(op->params, name)); xml_op 750 lib/pacemaker/pcmk_sched_utils.c append_digest(op, xml_op, caller_version, magic, LOG_DEBUG); xml_op 766 lib/pacemaker/pcmk_sched_utils.c return xml_op; xml_op 80 lib/pengine/failcounts.c block_failure(pe_node_t *node, pe_resource_t *rsc, xmlNode *xml_op, xml_op 110 lib/pengine/failcounts.c if (xml_op) { xml_op 111 lib/pengine/failcounts.c should_block = is_matched_failure(xml_name, pref, xml_op); xml_op 252 lib/pengine/failcounts.c uint32_t flags, xmlNode *xml_op, pe_working_set_t *data_set) xml_op 282 lib/pengine/failcounts.c && block_failure(node, rsc, xml_op, data_set)) { xml_op 322 lib/pengine/failcounts.c flags, xml_op, data_set); xml_op 16 lib/pengine/pe_output.c failed_action_string(xmlNodePtr xml_op) { xml_op 17 lib/pengine/pe_output.c const char *op_key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 18 lib/pengine/pe_output.c int rc = crm_parse_int(crm_element_value(xml_op, XML_LRM_ATTR_RC), "0"); xml_op 19 lib/pengine/pe_output.c int status = crm_parse_int(crm_element_value(xml_op, XML_LRM_ATTR_OPSTATUS), "0"); xml_op 20 lib/pengine/pe_output.c const char *exit_reason = crm_element_value(xml_op, XML_LRM_ATTR_EXIT_REASON); xml_op 24 lib/pengine/pe_output.c if (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 36 lib/pengine/pe_output.c op_key ? op_key : ID(xml_op), xml_op 37 lib/pengine/pe_output.c crm_element_value(xml_op, XML_ATTR_UNAME), xml_op 39 lib/pengine/pe_output.c crm_element_value(xml_op, XML_LRM_ATTR_CALLID), xml_op 43 lib/pengine/pe_output.c crm_element_value(xml_op, XML_RSC_OP_T_QUEUE), xml_op 44 lib/pengine/pe_output.c crm_element_value(xml_op, XML_RSC_OP_T_EXEC)); xml_op 51 lib/pengine/pe_output.c op_key ? op_key : ID(xml_op), xml_op 52 lib/pengine/pe_output.c crm_element_value(xml_op, XML_ATTR_UNAME), xml_op 54 lib/pengine/pe_output.c crm_element_value(xml_op, XML_LRM_ATTR_CALLID), xml_op 86 lib/pengine/pe_output.c op_history_string(xmlNode *xml_op, const char *task, const char *interval_ms_s, xml_op 88 lib/pengine/pe_output.c const char *call = crm_element_value(xml_op, XML_LRM_ATTR_CALLID); xml_op 108 lib/pengine/pe_output.c if ((crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, &epoch) == pcmk_ok) xml_op 115 lib/pengine/pe_output.c if ((crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_RUN, &epoch) == pcmk_ok) xml_op 122 lib/pengine/pe_output.c value = crm_element_value(xml_op, XML_RSC_OP_T_EXEC); xml_op 129 lib/pengine/pe_output.c value = crm_element_value(xml_op, XML_RSC_OP_T_QUEUE); xml_op 954 lib/pengine/pe_output.c xmlNodePtr xml_op = va_arg(args, xmlNodePtr); xml_op 955 lib/pengine/pe_output.c char *s = failed_action_string(xml_op); xml_op 965 lib/pengine/pe_output.c xmlNodePtr xml_op = va_arg(args, xmlNodePtr); xml_op 967 lib/pengine/pe_output.c const char *op_key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 968 lib/pengine/pe_output.c const char *last = crm_element_value(xml_op, XML_RSC_OP_LAST_CHANGE); xml_op 969 lib/pengine/pe_output.c int rc = crm_parse_int(crm_element_value(xml_op, XML_LRM_ATTR_RC), "0"); xml_op 970 lib/pengine/pe_output.c int status = crm_parse_int(crm_element_value(xml_op, XML_LRM_ATTR_OPSTATUS), "0"); xml_op 971 lib/pengine/pe_output.c const char *exit_reason = crm_element_value(xml_op, XML_LRM_ATTR_EXIT_REASON); xml_op 980 lib/pengine/pe_output.c (pcmkXmlStr) crm_element_value(xml_op, XML_ATTR_UNAME)); xml_op 986 lib/pengine/pe_output.c (pcmkXmlStr) crm_element_value(xml_op, XML_LRM_ATTR_CALLID)); xml_op 997 lib/pengine/pe_output.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 1005 lib/pengine/pe_output.c (pcmkXmlStr) crm_element_value(xml_op, XML_RSC_OP_T_QUEUE)); xml_op 1007 lib/pengine/pe_output.c (pcmkXmlStr) crm_element_value(xml_op, XML_RSC_OP_T_EXEC)); xml_op 1010 lib/pengine/pe_output.c (pcmkXmlStr) crm_element_value(xml_op, XML_LRM_ATTR_TASK)); xml_op 1507 lib/pengine/pe_output.c xmlNode *xml_op = va_arg(args, xmlNode *); xml_op 1513 lib/pengine/pe_output.c char *buf = op_history_string(xml_op, task, interval_ms_s, rc, print_timing); xml_op 1524 lib/pengine/pe_output.c xmlNode *xml_op = va_arg(args, xmlNode *); xml_op 1535 lib/pengine/pe_output.c (pcmkXmlStr) crm_element_value(xml_op, XML_LRM_ATTR_CALLID)); xml_op 1547 lib/pengine/pe_output.c value = crm_element_value(xml_op, XML_RSC_OP_LAST_CHANGE); xml_op 1556 lib/pengine/pe_output.c value = crm_element_value(xml_op, XML_RSC_OP_LAST_RUN); xml_op 1565 lib/pengine/pe_output.c value = crm_element_value(xml_op, XML_RSC_OP_T_EXEC); xml_op 1571 lib/pengine/pe_output.c value = crm_element_value(xml_op, XML_RSC_OP_T_QUEUE); xml_op 52 lib/pengine/unpack.c static void unpack_rsc_op(pe_resource_t *rsc, pe_node_t *node, xmlNode *xml_op, xml_op 2535 lib/pengine/unpack.c stop_happened_after(pe_resource_t *rsc, pe_node_t *node, xmlNode *xml_op, xml_op 2541 lib/pengine/unpack.c return (stop_op && (pe__call_id(stop_op) > pe__call_id(xml_op))); xml_op 2545 lib/pengine/unpack.c unpack_migrate_to_success(pe_resource_t *rsc, pe_node_t *node, xmlNode *xml_op, xml_op 2570 lib/pengine/unpack.c const char *source = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_SOURCE); xml_op 2571 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); xml_op 2576 lib/pengine/unpack.c if (stop_happened_after(rsc, node, xml_op, data_set)) { xml_op 2602 lib/pengine/unpack.c pe_rsc_trace(rsc, "Detected dangling migration op: %s on %s", ID(xml_op), xml_op 2650 lib/pengine/unpack.c unpack_migrate_to_failure(pe_resource_t *rsc, pe_node_t *node, xmlNode *xml_op, xml_op 2657 lib/pengine/unpack.c const char *source = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_SOURCE); xml_op 2658 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); xml_op 2702 lib/pengine/unpack.c int source_migrate_to_id = pe__call_id(xml_op); xml_op 2720 lib/pengine/unpack.c xmlNode *xml_op, pe_working_set_t *data_set) xml_op 2724 lib/pengine/unpack.c const char *source = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_SOURCE); xml_op 2725 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); xml_op 2784 lib/pengine/unpack.c static const char *get_op_key(xmlNode *xml_op) xml_op 2786 lib/pengine/unpack.c const char *key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 2788 lib/pengine/unpack.c key = ID(xml_op); xml_op 2794 lib/pengine/unpack.c last_change_str(xmlNode *xml_op) xml_op 2799 lib/pengine/unpack.c if (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 2904 lib/pengine/unpack.c unpack_rsc_op_failure(pe_resource_t * rsc, pe_node_t * node, int rc, xmlNode * xml_op, xmlNode ** last_failure, xml_op 2911 lib/pengine/unpack.c const char *key = get_op_key(xml_op); xml_op 2912 lib/pengine/unpack.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 2913 lib/pengine/unpack.c const char *exit_reason = crm_element_value(xml_op, xml_op 2919 lib/pengine/unpack.c *last_failure = xml_op; xml_op 2921 lib/pengine/unpack.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 2937 lib/pengine/unpack.c last_change_str(xml_op), rc, ID(xml_op)); xml_op 2944 lib/pengine/unpack.c last_change_str(xml_op), rc, ID(xml_op)); xml_op 2958 lib/pengine/unpack.c record_failed_op(xml_op, node, rsc, data_set); xml_op 2972 lib/pengine/unpack.c unpack_migrate_to_failure(rsc, node, xml_op, data_set); xml_op 2975 lib/pengine/unpack.c unpack_migrate_from_failure(rsc, node, xml_op, data_set); xml_op 3067 lib/pengine/unpack.c pe_resource_t *rsc, int rc, int target_rc, pe_node_t * node, xmlNode * xml_op, enum action_fail_response * on_fail, pe_working_set_t * data_set) xml_op 3072 lib/pengine/unpack.c const char *key = get_op_key(xml_op); xml_op 3073 lib/pengine/unpack.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 3074 lib/pengine/unpack.c const char *exit_reason = crm_element_value(xml_op, xml_op 3084 lib/pengine/unpack.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 3118 lib/pengine/unpack.c last_change_str(xml_op)); xml_op 3141 lib/pengine/unpack.c last_change_str(xml_op)); xml_op 3173 lib/pengine/unpack.c last_change_str(xml_op), rc, ID(xml_op)); xml_op 3185 lib/pengine/unpack.c last_change_str(xml_op)); xml_op 3195 lib/pengine/unpack.c should_clear_for_param_change(xmlNode *xml_op, const char *task, xml_op 3206 lib/pengine/unpack.c pe__add_param_check(xml_op, rsc, node, pe_check_last_failure, xml_op 3212 lib/pengine/unpack.c digest_data = rsc_action_digest_cmp(rsc, xml_op, node, data_set); xml_op 3217 lib/pengine/unpack.c rsc->id, get_op_key(xml_op), node->details->id); xml_op 3245 lib/pengine/unpack.c should_ignore_failure_timeout(pe_resource_t *rsc, xmlNode *xml_op, xml_op 3310 lib/pengine/unpack.c xmlNode *xml_op, pe_working_set_t *data_set) xml_op 3313 lib/pengine/unpack.c bool is_last_failure = pcmk__ends_with(ID(xml_op), "_last_failure_0"); xml_op 3317 lib/pengine/unpack.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 3320 lib/pengine/unpack.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 3323 lib/pengine/unpack.c && (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 3333 lib/pengine/unpack.c && !should_ignore_failure_timeout(rsc, xml_op, task, interval_ms, xml_op 3340 lib/pengine/unpack.c pe_fc_effective, xml_op, xml_op 3346 lib/pengine/unpack.c ID(xml_op), (long long) last_run, (expired? "" : "not "), xml_op 3356 lib/pengine/unpack.c if (pe_get_failcount(node, rsc, NULL, pe_fc_default, xml_op, data_set)) { xml_op 3383 lib/pengine/unpack.c && should_clear_for_param_change(xml_op, task, rsc, node, data_set)) { xml_op 3424 lib/pengine/unpack.c int pe__target_rc_from_xml(xmlNode *xml_op) xml_op 3427 lib/pengine/unpack.c const char *key = crm_element_value(xml_op, XML_ATTR_TRANSITION_KEY); xml_op 3449 lib/pengine/unpack.c update_resource_state(pe_resource_t * rsc, pe_node_t * node, xmlNode * xml_op, const char * task, int rc, xml_op 3455 lib/pengine/unpack.c CRM_ASSERT(xml_op); xml_op 3465 lib/pengine/unpack.c const char *op_key = get_op_key(xml_op); xml_op 3502 lib/pengine/unpack.c unpack_migrate_to_success(rsc, node, xml_op, data_set); xml_op 3565 lib/pengine/unpack.c remap_monitor_rc(int rc, xmlNode *xml_op, const pe_node_t *node, xml_op 3573 lib/pengine/unpack.c record_failed_op(xml_op, node, rsc, data_set); xml_op 3580 lib/pengine/unpack.c unpack_rsc_op(pe_resource_t *rsc, pe_node_t *node, xmlNode *xml_op, xml_op 3596 lib/pengine/unpack.c CRM_CHECK(rsc && node && xml_op, return); xml_op 3598 lib/pengine/unpack.c target_rc = pe__target_rc_from_xml(xml_op); xml_op 3599 lib/pengine/unpack.c task_key = get_op_key(xml_op); xml_op 3600 lib/pengine/unpack.c task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 3601 lib/pengine/unpack.c exit_reason = crm_element_value(xml_op, XML_LRM_ATTR_EXIT_REASON); xml_op 3606 lib/pengine/unpack.c crm_element_value_int(xml_op, XML_LRM_ATTR_RC, &rc); xml_op 3607 lib/pengine/unpack.c crm_element_value_int(xml_op, XML_LRM_ATTR_CALLID, &task_id); xml_op 3608 lib/pengine/unpack.c crm_element_value_int(xml_op, XML_LRM_ATTR_OPSTATUS, &status); xml_op 3609 lib/pengine/unpack.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 3647 lib/pengine/unpack.c && check_operation_expiry(rsc, node, rc, xml_op, data_set)) { xml_op 3652 lib/pengine/unpack.c rc = remap_monitor_rc(rc, xml_op, node, rsc, data_set); xml_op 3656 lib/pengine/unpack.c const char *magic = crm_element_value(xml_op, XML_ATTR_TRANSITION_MAGIC); xml_op 3678 lib/pengine/unpack.c crm_xml_add(xml_op, XML_LRM_ATTR_RESTART_DIGEST, "calculated-failure-timeout"); xml_op 3689 lib/pengine/unpack.c status = determine_op_status(rsc, rc, target_rc, node, xml_op, on_fail, data_set); xml_op 3698 lib/pengine/unpack.c ID(xml_op), task, rsc->id, node->details->uname, xml_op 3699 lib/pengine/unpack.c last_change_str(xml_op)); xml_op 3713 lib/pengine/unpack.c const char *migrate_target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); xml_op 3741 lib/pengine/unpack.c last_change_str(xml_op), ID(xml_op)); xml_op 3742 lib/pengine/unpack.c update_resource_state(rsc, node, xml_op, task, rc, *last_failure, on_fail, data_set); xml_op 3752 lib/pengine/unpack.c ID(xml_op)); xml_op 3757 lib/pengine/unpack.c unpack_rsc_op_failure(rsc, node, rc, xml_op, last_failure, on_fail, data_set); xml_op 3791 lib/pengine/unpack.c node->details->uname, last_change_str(xml_op), rc, xml_op 3792 lib/pengine/unpack.c ID(xml_op)); xml_op 3794 lib/pengine/unpack.c update_resource_state(rsc, node, xml_op, task, target_rc, *last_failure, on_fail, data_set); xml_op 3795 lib/pengine/unpack.c crm_xml_add(xml_op, XML_ATTR_UNAME, node->details->uname); xml_op 3798 lib/pengine/unpack.c record_failed_op(xml_op, node, rsc, data_set); xml_op 3806 lib/pengine/unpack.c unpack_rsc_op_failure(rsc, node, rc, xml_op, last_failure, on_fail, data_set); xml_op 3815 lib/pengine/unpack.c rc, ID(xml_op)); xml_op 3823 lib/pengine/unpack.c rc, ID(xml_op)); xml_op 2055 lib/pengine/utils.c pe_node_t *node, xmlNode *xml_op, bool calc_secure, xml_op 2095 lib/pengine/utils.c if(xml_op) { xml_op 2096 lib/pengine/utils.c secure_list = crm_element_value(xml_op, XML_LRM_ATTR_OP_SECURE); xml_op 2097 lib/pengine/utils.c restart_list = crm_element_value(xml_op, XML_LRM_ATTR_OP_RESTART); xml_op 2099 lib/pengine/utils.c op_version = crm_element_value(xml_op, XML_ATTR_CRM_VERSION); xml_op 2101 lib/pengine/utils.c ra_version = crm_element_value(xml_op, XML_ATTR_RA_VERSION); xml_op 2133 lib/pengine/utils.c if(xml_op && crm_element_value(xml_op, XML_LRM_ATTR_RESTART_DIGEST) != NULL) { xml_op 2148 lib/pengine/utils.c rsc_action_digest_cmp(pe_resource_t * rsc, xmlNode * xml_op, pe_node_t * node, xml_op 2157 lib/pengine/utils.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 2163 lib/pengine/utils.c op_version = crm_element_value(xml_op, XML_ATTR_CRM_VERSION); xml_op 2164 lib/pengine/utils.c digest_all = crm_element_value(xml_op, XML_LRM_ATTR_OP_DIGEST); xml_op 2165 lib/pengine/utils.c digest_restart = crm_element_value(xml_op, XML_LRM_ATTR_RESTART_DIGEST); xml_op 2167 lib/pengine/utils.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 2169 lib/pengine/utils.c data = rsc_action_digest(rsc, task, key, node, xml_op, xml_op 2178 lib/pengine/utils.c op_version, crm_element_value(xml_op, XML_ATTR_TRANSITION_MAGIC)); xml_op 2190 lib/pengine/utils.c op_version, crm_element_value(xml_op, XML_ATTR_TRANSITION_MAGIC)); xml_op 185 tools/crm_mon_print.c xmlNode *xml_op = (xmlNode *) gIter->data; xml_op 186 tools/crm_mon_print.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 187 tools/crm_mon_print.c const char *interval_ms_s = crm_element_value(xml_op, xml_op 189 tools/crm_mon_print.c const char *op_rc = crm_element_value(xml_op, XML_LRM_ATTR_RC); xml_op 208 tools/crm_mon_print.c out->message(out, "op-history", xml_op, task, interval_ms_s, xml_op 611 tools/crm_mon_print.c xmlNode *xml_op = NULL; xml_op 620 tools/crm_mon_print.c for (xml_op = pcmk__xml_first_child(data_set->failed); xml_op != NULL; xml_op 621 tools/crm_mon_print.c xml_op = pcmk__xml_next(xml_op)) { xml_op 624 tools/crm_mon_print.c if (!pcmk__str_in_list(only_node, crm_element_value(xml_op, XML_ATTR_UNAME))) { xml_op 628 tools/crm_mon_print.c id = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 629 tools/crm_mon_print.c if (parse_op_key(id ? id : ID(xml_op), &rsc, NULL, NULL) == FALSE) { xml_op 641 tools/crm_mon_print.c out->message(out, "failed-action", xml_op); xml_op 142 tools/crm_resource_print.c xmlNode *xml_op = (xmlNode *) lpc->data; xml_op 144 tools/crm_resource_print.c const char *op_rsc = crm_element_value(xml_op, "resource"); xml_op 145 tools/crm_resource_print.c const char *status_s = crm_element_value(xml_op, XML_LRM_ATTR_OPSTATUS); xml_op 146 tools/crm_resource_print.c const char *op_key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 158 tools/crm_resource_print.c op_key ? op_key : ID(xml_op), xml_op 159 tools/crm_resource_print.c crm_element_value(xml_op, XML_ATTR_UNAME), xml_op 160 tools/crm_resource_print.c crm_element_value(xml_op, XML_LRM_ATTR_CALLID), xml_op 161 tools/crm_resource_print.c crm_element_value(xml_op, XML_LRM_ATTR_RC)); xml_op 163 tools/crm_resource_print.c if (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 167 tools/crm_resource_print.c crm_element_value(xml_op, XML_RSC_OP_T_EXEC)); xml_op 620 tools/crm_resource_runtime.c for (xmlNode *xml_op = pcmk__xml_first_child(data_set->failed); xml_op 621 tools/crm_resource_runtime.c xml_op != NULL; xml_op 622 tools/crm_resource_runtime.c xml_op = pcmk__xml_next(xml_op)) { xml_op 624 tools/crm_resource_runtime.c failed_id = crm_element_value(xml_op, XML_LRM_ATTR_RSCID); xml_op 642 tools/crm_resource_runtime.c failed_value = crm_element_value(xml_op, XML_ATTR_UNAME); xml_op 649 tools/crm_resource_runtime.c failed_value = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 655 tools/crm_resource_runtime.c failed_value = crm_element_value(xml_op, XML_LRM_ATTR_INTERVAL_MS);