target_rc 187 crmd/lrm.c int target_rc = 0; target_rc 223 crmd/lrm.c target_rc = rsc_op_expected_rc(op); target_rc 235 crmd/lrm.c } else if (did_rsc_op_fail(op, target_rc)) { target_rc 662 crmd/lrm.c int target_rc = 0; target_rc 672 crmd/lrm.c target_rc = rsc_op_expected_rc(op); target_rc 688 crmd/lrm.c xml_op = create_operation_update(parent, op, caller_version, target_rc, fsa_our_uname, src, LOG_DEBUG); target_rc 2246 crmd/lrm.c int dummy = 0, target_rc = 0; target_rc 2250 crmd/lrm.c decode_transition_key(op->user_data, &uuid, &dummy, &dummy, &target_rc); target_rc 2253 crmd/lrm.c op->rc = target_rc; target_rc 326 crmd/te_actions.c int target_rc = get_target_rc(action); target_rc 373 crmd/te_actions.c op->user_data = generate_transition_key(transition_graph->id, action->id, target_rc, te_uuid); target_rc 375 crmd/te_actions.c xml_op = create_operation_update(rsc, op, CRM_FEATURE_SET, target_rc, target, __FUNCTION__, LOG_INFO); target_rc 752 crmd/te_callbacks.c int target_rc = -1; target_rc 773 crmd/te_callbacks.c CRM_CHECK(decode_transition_key(userdata, &uuid, &transition_id, &stonith_id, &target_rc), target_rc 123 crmd/te_events.c int target_rc, gboolean do_update, gboolean ignore_failures) target_rc 138 crmd/te_events.c if ((rc == CRM_DIRECT_NACK_RC) || (rc == target_rc)) { target_rc 229 crmd/te_events.c status_from_rc(crm_action_t * action, int orig_status, int rc, int target_rc) target_rc 231 crmd/te_events.c if (target_rc == rc) { target_rc 244 crmd/te_events.c action->id, task, uname, target_rc, rc, target_rc 266 crmd/te_events.c int op_rc, int target_rc, gboolean ignore_failures) target_rc 273 crmd/te_events.c op_status = status_from_rc(action, op_status, op_rc, target_rc); target_rc 449 crmd/te_events.c int target_rc = -1; target_rc 477 crmd/te_events.c &action_num, &target_rc) == FALSE) { target_rc 515 crmd/te_events.c match_graph_event(action, event, status, rc, target_rc, ignore_failures); target_rc 519 crmd/te_events.c if (action && (rc == target_rc)) { target_rc 522 crmd/te_events.c if (update_failcount(event, event_node, rc, target_rc, target_rc 125 include/crm/common/util.h int *transition_id, int *target_rc); target_rc 128 include/crm/common/util.h int *op_status, int *op_rc, int *target_rc); target_rc 130 include/crm/common/util.h gboolean did_rsc_op_fail(lrmd_event_data_t *event, int target_rc); target_rc 151 include/crm_internal.h char *generate_transition_key(int action, int transition_id, int target_rc, const char *node); target_rc 154 include/crm_internal.h const char *caller_version, int target_rc, target_rc 175 lib/common/operations.c int *op_status, int *op_rc, int *target_rc) target_rc 193 lib/common/operations.c CRM_CHECK(decode_transition_key(key, uuid, transition_id, action_id, target_rc), result = FALSE); target_rc 200 lib/common/operations.c generate_transition_key(int transition_id, int action_id, int target_rc, const char *node) target_rc 211 lib/common/operations.c snprintf(fail_state, len, "%d:%d:%d:%-*s", action_id, transition_id, target_rc, 36, node); target_rc 218 lib/common/operations.c int *target_rc) target_rc 224 lib/common/operations.c CRM_CHECK(target_rc != NULL, return FALSE); target_rc 229 lib/common/operations.c res = sscanf(key, "%d:%d:%d:%36s", action_id, transition_id, target_rc, *uuid); target_rc 241 lib/common/operations.c *target_rc = -1; target_rc 257 lib/common/operations.c *target_rc = -1; target_rc 274 lib/common/operations.c *target_rc = -1; target_rc 404 lib/common/operations.c did_rsc_op_fail(lrmd_event_data_t * op, int target_rc) target_rc 419 lib/common/operations.c if (target_rc != op->rc) { target_rc 458 lib/common/operations.c int target_rc, const char * node, const char * origin, int level) target_rc 520 lib/common/operations.c } else if (did_rsc_op_fail(op, target_rc)) { target_rc 545 lib/common/operations.c local_user_data = generate_transition_key(-1, op->call_id, target_rc, FAKE_TE_ID); target_rc 331 lib/lrmd/lrmd_alerts.c int target_rc = pcmk_ok; target_rc 338 lib/lrmd/lrmd_alerts.c target_rc = rsc_op_expected_rc(op); target_rc 339 lib/lrmd/lrmd_alerts.c if ((op->interval == 0) && (target_rc == op->rc) target_rc 354 lib/lrmd/lrmd_alerts.c params = alert_key2param_int(params, CRM_alert_target_rc, target_rc); target_rc 58 lib/pengine/failcounts.c int target_rc = get_target_rc(lrm_op_xml); target_rc 61 lib/pengine/failcounts.c if (rc != target_rc) { target_rc 2735 lib/pengine/unpack.c resource_t *rsc, int rc, int target_rc, node_t * node, xmlNode * xml_op, enum action_fail_response * on_fail, pe_working_set_t * data_set) target_rc 2751 lib/pengine/unpack.c if (target_rc >= 0 && target_rc != rc) { target_rc 2756 lib/pengine/unpack.c services_ocf_exitcode_str(target_rc), target_rc); target_rc 2764 lib/pengine/unpack.c if (is_probe && target_rc == 7) { target_rc 2770 lib/pengine/unpack.c } else if (target_rc < 0 && interval > 0 && rsc->role == RSC_ROLE_MASTER) { target_rc 2779 lib/pengine/unpack.c if (is_probe || target_rc == rc || is_not_set(rsc->flags, pe_rsc_managed)) { target_rc 2798 lib/pengine/unpack.c } else if (target_rc == rc) { target_rc 2801 lib/pengine/unpack.c } else if (target_rc >= 0) { target_rc 2975 lib/pengine/unpack.c int target_rc = 0; target_rc 2982 lib/pengine/unpack.c decode_transition_key(key, &dummy_string, &dummy, &dummy, &target_rc); target_rc 2985 lib/pengine/unpack.c return target_rc; target_rc 3102 lib/pengine/unpack.c int target_rc = get_target_rc(xml_op); target_rc 3175 lib/pengine/unpack.c if (expired && target_rc != rc) { target_rc 3181 lib/pengine/unpack.c services_ocf_exitcode_str(target_rc), target_rc); target_rc 3198 lib/pengine/unpack.c status = determine_op_status(rsc, rc, target_rc, node, xml_op, on_fail, data_set); target_rc 3273 lib/pengine/unpack.c update_resource_state(rsc, node, xml_op, task, target_rc, *last_failure, on_fail, data_set); target_rc 3426 tools/crm_mon.c send_snmp_trap(const char *node, const char *rsc, const char *task, int target_rc, int rc, target_rc 3471 tools/crm_mon.c add_snmp_field_int(trap_pdu, snmp_crm_oid_trc, target_rc); target_rc 3599 tools/crm_mon.c send_custom_trap(const char *node, const char *rsc, const char *task, int target_rc, int rc, target_rc 3607 tools/crm_mon.c char *target_rc_s = crm_itoa(target_rc); target_rc 3642 tools/crm_mon.c send_smtp_trap(const char *node, const char *rsc, const char *task, int target_rc, int rc, target_rc 3698 tools/crm_mon.c if (rc == target_rc) { target_rc 3713 tools/crm_mon.c "\texpected return value: (%d) %s\r\n", target_rc, target_rc 3714 tools/crm_mon.c services_ocf_exitcode_str(target_rc)); target_rc 3797 tools/crm_mon.c int target_rc = -1; target_rc 3835 tools/crm_mon.c &status, &rc, &target_rc)) { target_rc 3870 tools/crm_mon.c if (status == PCMK_LRM_OP_DONE && target_rc == rc) { target_rc 3886 tools/crm_mon.c send_snmp_trap(node, rsc, task, target_rc, rc, status, desc); target_rc 3889 tools/crm_mon.c send_smtp_trap(node, rsc, task, target_rc, rc, status, desc); target_rc 3892 tools/crm_mon.c send_custom_trap(node, rsc, task, target_rc, rc, status, desc); target_rc 177 tools/fake_transition.c inject_op(xmlNode * cib_resource, lrmd_event_data_t * op, int target_rc) target_rc 179 tools/fake_transition.c return create_operation_update(cib_resource, op, CRM_FEATURE_SET, target_rc, NULL, crm_system_name,