xml_op 663 daemons/controld/controld_execd.c xmlNode *xml_op = NULL; xml_op 689 daemons/controld/controld_execd.c xml_op = pcmk__create_history_xml(parent, op, caller_version, target_rc, xml_op 691 daemons/controld/controld_execd.c if (xml_op == NULL) { xml_op 729 daemons/controld/controld_execd.c crm_xml_add(xml_op, XML_ATTR_RA_VERSION, metadata->ra_version); xml_op 734 daemons/controld/controld_execd.c append_restart_list(op, metadata, xml_op, caller_version); xml_op 735 daemons/controld/controld_execd.c append_secure_list(op, metadata, xml_op, caller_version); xml_op 592 daemons/controld/controld_messages.c xmlNode *xml_op = get_message_xml(stored_msg, F_CRM_DATA); xml_op 594 daemons/controld/controld_messages.c if (xml_op) { xml_op 595 daemons/controld/controld_messages.c xmlNode *xml_rsc = first_named_child(xml_op, XML_CIB_TAG_RESOURCE); xml_op 596 daemons/controld/controld_messages.c xmlNode *xml_attrs = first_named_child(xml_op, XML_TAG_ATTRS); xml_op 609 daemons/controld/controld_messages.c uname = crm_element_value(xml_op, XML_LRM_ATTR_TARGET); xml_op 616 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 305 include/crm/pengine/internal.h uint32_t flags, xmlNode *xml_op, xml_op 460 include/crm/pengine/internal.h int pe__target_rc_from_xml(xmlNode *xml_op); xml_op 489 include/crm/pengine/internal.h xmlNode *xml_op, GHashTable *overrides, xml_op 495 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 475 lib/common/operations.c xmlNode *xml_op; xml_op 479 lib/common/operations.c xml_op = create_xml_node(parent, XML_ATTR_OP); xml_op 480 lib/common/operations.c crm_xml_set_id(xml_op, "%s-%s-%s", prefix, task, interval_spec); xml_op 481 lib/common/operations.c crm_xml_add(xml_op, XML_LRM_ATTR_INTERVAL, interval_spec); xml_op 482 lib/common/operations.c crm_xml_add(xml_op, "name", task); xml_op 484 lib/common/operations.c crm_xml_add(xml_op, XML_ATTR_TIMEOUT, timeout); xml_op 486 lib/common/operations.c return xml_op; xml_op 89 lib/pacemaker/pcmk_resource.c xmlNode *xml_op = NULL; xml_op 103 lib/pacemaker/pcmk_resource.c xml_op = best_op(rsc, node, data_set); xml_op 106 lib/pacemaker/pcmk_resource.c if (xml_op != NULL) { xml_op 107 lib/pacemaker/pcmk_resource.c task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 108 lib/pacemaker/pcmk_resource.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 116 lib/pacemaker/pcmk_resource.c digests = pe__calculate_digests(rsc, task, &interval_ms, node, xml_op, xml_op 169 lib/pacemaker/pcmk_sched_allocate.c CancelXmlOp(pe_resource_t * rsc, xmlNode * xml_op, pe_node_t * active_node, xml_op 178 lib/pacemaker/pcmk_sched_allocate.c CRM_CHECK(xml_op != NULL, return); xml_op 181 lib/pacemaker/pcmk_sched_allocate.c task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 182 lib/pacemaker/pcmk_sched_allocate.c call_id = crm_element_value(xml_op, XML_LRM_ATTR_CALLID); xml_op 183 lib/pacemaker/pcmk_sched_allocate.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 195 lib/pacemaker/pcmk_sched_allocate.c check_action_definition(pe_resource_t * rsc, pe_node_t * active_node, xmlNode * xml_op, xml_op 203 lib/pacemaker/pcmk_sched_allocate.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 208 lib/pacemaker/pcmk_sched_allocate.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 220 lib/pacemaker/pcmk_sched_allocate.c CancelXmlOp(rsc, xml_op, active_node, "orphan", data_set); xml_op 247 lib/pacemaker/pcmk_sched_allocate.c digest_data = rsc_action_digest_cmp(rsc, xml_op, active_node, data_set); xml_op 250 lib/pacemaker/pcmk_sched_allocate.c digest_secure = crm_element_value(xml_op, XML_LRM_ATTR_SECURE_DIGEST); xml_op 262 lib/pacemaker/pcmk_sched_allocate.c crm_element_value(xml_op, XML_ATTR_TRANSITION_MAGIC)); xml_op 280 lib/pacemaker/pcmk_sched_allocate.c const char *digest_restart = crm_element_value(xml_op, XML_LRM_ATTR_RESTART_DIGEST); xml_op 617 lib/pacemaker/pcmk_sched_utils.c xmlNode *xml_op = NULL; xml_op 682 lib/pacemaker/pcmk_sched_utils.c xml_op = pcmk__xe_match(parent, XML_LRM_TAG_RSC_OP, XML_ATTR_ID, op_id); xml_op 683 lib/pacemaker/pcmk_sched_utils.c if (xml_op == NULL) { xml_op 684 lib/pacemaker/pcmk_sched_utils.c xml_op = create_xml_node(parent, XML_LRM_TAG_RSC_OP); xml_op 700 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_ATTR_ID, op_id); xml_op 701 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_LRM_ATTR_TASK_KEY, key); xml_op 702 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_LRM_ATTR_TASK, task); xml_op 703 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_ATTR_ORIGIN, origin); xml_op 704 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_ATTR_CRM_VERSION, caller_version); xml_op 705 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_ATTR_TRANSITION_KEY, op->user_data); xml_op 706 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_ATTR_TRANSITION_MAGIC, magic); xml_op 707 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_LRM_ATTR_EXIT_REASON, exit_reason == NULL ? "" : exit_reason); xml_op 708 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_LRM_ATTR_TARGET, node); /* For context during triage */ xml_op 710 lib/pacemaker/pcmk_sched_utils.c crm_xml_add_int(xml_op, XML_LRM_ATTR_CALLID, op->call_id); xml_op 711 lib/pacemaker/pcmk_sched_utils.c crm_xml_add_int(xml_op, XML_LRM_ATTR_RC, op->rc); xml_op 712 lib/pacemaker/pcmk_sched_utils.c crm_xml_add_int(xml_op, XML_LRM_ATTR_OPSTATUS, op->op_status); xml_op 713 lib/pacemaker/pcmk_sched_utils.c crm_xml_add_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, op->interval_ms); xml_op 724 lib/pacemaker/pcmk_sched_utils.c crm_xml_add_ll(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 727 lib/pacemaker/pcmk_sched_utils.c crm_xml_add_ll(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 731 lib/pacemaker/pcmk_sched_utils.c crm_xml_add_int(xml_op, XML_RSC_OP_T_EXEC, op->exec_time); xml_op 732 lib/pacemaker/pcmk_sched_utils.c crm_xml_add_int(xml_op, XML_RSC_OP_T_QUEUE, op->queue_time); xml_op 742 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, name, crm_meta_value(op->params, name)); xml_op 745 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, name, crm_meta_value(op->params, name)); xml_op 748 lib/pacemaker/pcmk_sched_utils.c append_digest(op, xml_op, caller_version, magic, LOG_DEBUG); xml_op 764 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 286 lib/pengine/failcounts.c && block_failure(node, rsc, xml_op, data_set)) { xml_op 326 lib/pengine/failcounts.c flags, xml_op, data_set); xml_op 101 lib/pengine/pe_digest.c pe_action_t *action, xmlNode *xml_op, xml_op 110 lib/pengine/pe_digest.c if (xml_op != NULL) { xml_op 111 lib/pengine/pe_digest.c ra_version = crm_element_value(xml_op, XML_ATTR_RA_VERSION); xml_op 141 lib/pengine/pe_digest.c xmlNode *xml_op, const char *op_version, xml_op 182 lib/pengine/pe_digest.c append_all_versioned_params(rsc, node, action, xml_op, data_set); xml_op 213 lib/pengine/pe_digest.c GHashTable *params, xmlNode *xml_op, xml_op 219 lib/pengine/pe_digest.c if (xml_op == NULL) { xml_op 222 lib/pengine/pe_digest.c secure_list = crm_element_value(xml_op, XML_LRM_ATTR_OP_SECURE); xml_op 273 lib/pengine/pe_digest.c calculate_restart_digest(op_digest_cache_t *data, xmlNode *xml_op, xml_op 279 lib/pengine/pe_digest.c if (xml_op == NULL) { xml_op 284 lib/pengine/pe_digest.c if (crm_element_value(xml_op, XML_LRM_ATTR_RESTART_DIGEST) == NULL) { xml_op 292 lib/pengine/pe_digest.c value = crm_element_value(xml_op, XML_LRM_ATTR_OP_RESTART); xml_op 298 lib/pengine/pe_digest.c value = crm_element_value(xml_op, XML_ATTR_CRM_VERSION); xml_op 322 lib/pengine/pe_digest.c pe_node_t *node, xmlNode *xml_op, GHashTable *overrides, xml_op 332 lib/pengine/pe_digest.c if (xml_op != NULL) { xml_op 333 lib/pengine/pe_digest.c op_version = crm_element_value(xml_op, XML_ATTR_CRM_VERSION); xml_op 337 lib/pengine/pe_digest.c calculate_main_digest(data, rsc, node, params, task, interval_ms, xml_op, xml_op 340 lib/pengine/pe_digest.c calculate_secure_digest(data, rsc, params, xml_op, op_version, xml_op 343 lib/pengine/pe_digest.c calculate_restart_digest(data, xml_op, op_version); xml_op 363 lib/pengine/pe_digest.c pe_node_t *node, xmlNode *xml_op, bool calc_secure, xml_op 371 lib/pengine/pe_digest.c data = pe__calculate_digests(rsc, task, &interval_ms, node, xml_op, xml_op 392 lib/pengine/pe_digest.c rsc_action_digest_cmp(pe_resource_t * rsc, xmlNode * xml_op, pe_node_t * node, xml_op 399 lib/pengine/pe_digest.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 405 lib/pengine/pe_digest.c op_version = crm_element_value(xml_op, XML_ATTR_CRM_VERSION); xml_op 406 lib/pengine/pe_digest.c digest_all = crm_element_value(xml_op, XML_LRM_ATTR_OP_DIGEST); xml_op 407 lib/pengine/pe_digest.c digest_restart = crm_element_value(xml_op, XML_LRM_ATTR_RESTART_DIGEST); xml_op 409 lib/pengine/pe_digest.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 410 lib/pengine/pe_digest.c data = rsc_action_digest(rsc, task, interval_ms, node, xml_op, xml_op 421 lib/pengine/pe_digest.c crm_element_value(xml_op, XML_ATTR_TRANSITION_MAGIC)); xml_op 435 lib/pengine/pe_digest.c crm_element_value(xml_op, XML_ATTR_TRANSITION_MAGIC)); xml_op 179 lib/pengine/pe_output.c failed_action_string(xmlNodePtr xml_op) { xml_op 180 lib/pengine/pe_output.c const char *op_key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 183 lib/pengine/pe_output.c const char *exit_reason = crm_element_value(xml_op, XML_LRM_ATTR_EXIT_REASON); xml_op 187 lib/pengine/pe_output.c pcmk__scan_min_int(crm_element_value(xml_op, XML_LRM_ATTR_RC), &rc, 0); xml_op 188 lib/pengine/pe_output.c pcmk__scan_min_int(crm_element_value(xml_op, XML_LRM_ATTR_OPSTATUS), xml_op 191 lib/pengine/pe_output.c if (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 203 lib/pengine/pe_output.c op_key ? op_key : ID(xml_op), xml_op 204 lib/pengine/pe_output.c crm_element_value(xml_op, XML_ATTR_UNAME), xml_op 206 lib/pengine/pe_output.c crm_element_value(xml_op, XML_LRM_ATTR_CALLID), xml_op 210 lib/pengine/pe_output.c crm_element_value(xml_op, XML_RSC_OP_T_QUEUE), xml_op 211 lib/pengine/pe_output.c crm_element_value(xml_op, XML_RSC_OP_T_EXEC)); xml_op 218 lib/pengine/pe_output.c op_key ? op_key : ID(xml_op), xml_op 219 lib/pengine/pe_output.c crm_element_value(xml_op, XML_ATTR_UNAME), xml_op 221 lib/pengine/pe_output.c crm_element_value(xml_op, XML_LRM_ATTR_CALLID), xml_op 253 lib/pengine/pe_output.c op_history_string(xmlNode *xml_op, const char *task, const char *interval_ms_s, xml_op 255 lib/pengine/pe_output.c const char *call = crm_element_value(xml_op, XML_LRM_ATTR_CALLID); xml_op 274 lib/pengine/pe_output.c if ((crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, &epoch) == pcmk_ok) xml_op 282 lib/pengine/pe_output.c value = crm_element_value(xml_op, XML_RSC_OP_T_EXEC); xml_op 289 lib/pengine/pe_output.c value = crm_element_value(xml_op, XML_RSC_OP_T_QUEUE); xml_op 1165 lib/pengine/pe_output.c xmlNodePtr xml_op = va_arg(args, xmlNodePtr); xml_op 1167 lib/pengine/pe_output.c char *s = failed_action_string(xml_op); xml_op 1177 lib/pengine/pe_output.c xmlNodePtr xml_op = va_arg(args, xmlNodePtr); xml_op 1179 lib/pengine/pe_output.c const char *op_key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 1182 lib/pengine/pe_output.c const char *exit_reason = crm_element_value(xml_op, XML_LRM_ATTR_EXIT_REASON); xml_op 1189 lib/pengine/pe_output.c pcmk__scan_min_int(crm_element_value(xml_op, XML_LRM_ATTR_RC), &rc, 0); xml_op 1190 lib/pengine/pe_output.c pcmk__scan_min_int(crm_element_value(xml_op, XML_LRM_ATTR_OPSTATUS), xml_op 1196 lib/pengine/pe_output.c (op_key == NULL)? ID(xml_op) : op_key, xml_op 1197 lib/pengine/pe_output.c "node", crm_element_value(xml_op, XML_ATTR_UNAME), xml_op 1201 lib/pengine/pe_output.c "call", crm_element_value(xml_op, XML_LRM_ATTR_CALLID), xml_op 1206 lib/pengine/pe_output.c if ((crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 1213 lib/pengine/pe_output.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 1220 lib/pengine/pe_output.c "queued", crm_element_value(xml_op, XML_RSC_OP_T_QUEUE), xml_op 1221 lib/pengine/pe_output.c "exec", crm_element_value(xml_op, XML_RSC_OP_T_EXEC), xml_op 1223 lib/pengine/pe_output.c "task", crm_element_value(xml_op, XML_LRM_ATTR_TASK), xml_op 1244 lib/pengine/pe_output.c xmlNode *xml_op = NULL; xml_op 1253 lib/pengine/pe_output.c for (xml_op = pcmk__xml_first_child(data_set->failed); xml_op != NULL; xml_op 1254 lib/pengine/pe_output.c xml_op = pcmk__xml_next(xml_op)) { xml_op 1257 lib/pengine/pe_output.c if (!pcmk__str_in_list(only_node, crm_element_value(xml_op, XML_ATTR_UNAME), pcmk__str_casei)) { xml_op 1261 lib/pengine/pe_output.c id = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 1262 lib/pengine/pe_output.c if (parse_op_key(id ? id : ID(xml_op), &rsc, NULL, NULL) == FALSE) { xml_op 1274 lib/pengine/pe_output.c out->message(out, "failed-action", xml_op); xml_op 1585 lib/pengine/pe_output.c xmlNodePtr xml_op = va_arg(args, xmlNodePtr); xml_op 1591 lib/pengine/pe_output.c const char *op_rsc = crm_element_value(xml_op, "resource"); xml_op 1592 lib/pengine/pe_output.c const char *op_key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 1596 lib/pengine/pe_output.c pcmk__scan_min_int(crm_element_value(xml_op, XML_LRM_ATTR_OPSTATUS), xml_op 1616 lib/pengine/pe_output.c if (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 1621 lib/pengine/pe_output.c crm_element_value(xml_op, XML_RSC_OP_T_EXEC)); xml_op 1625 lib/pengine/pe_output.c node_str, op_key ? op_key : ID(xml_op), xml_op 1626 lib/pengine/pe_output.c crm_element_value(xml_op, XML_ATTR_UNAME), xml_op 1627 lib/pengine/pe_output.c crm_element_value(xml_op, XML_LRM_ATTR_CALLID), xml_op 1628 lib/pengine/pe_output.c crm_element_value(xml_op, XML_LRM_ATTR_RC), xml_op 1641 lib/pengine/pe_output.c xmlNodePtr xml_op = va_arg(args, xmlNodePtr); xml_op 1644 lib/pengine/pe_output.c const char *op_rsc = crm_element_value(xml_op, "resource"); xml_op 1645 lib/pengine/pe_output.c const char *op_key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 1650 lib/pengine/pe_output.c pcmk__scan_min_int(crm_element_value(xml_op, XML_LRM_ATTR_OPSTATUS), xml_op 1653 lib/pengine/pe_output.c "op", op_key ? op_key : ID(xml_op), xml_op 1654 lib/pengine/pe_output.c "node", crm_element_value(xml_op, XML_ATTR_UNAME), xml_op 1655 lib/pengine/pe_output.c "call", crm_element_value(xml_op, XML_LRM_ATTR_CALLID), xml_op 1656 lib/pengine/pe_output.c "rc", crm_element_value(xml_op, XML_LRM_ATTR_RC), xml_op 1677 lib/pengine/pe_output.c if (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 1681 lib/pengine/pe_output.c XML_RSC_OP_T_EXEC, crm_element_value(xml_op, XML_RSC_OP_T_EXEC), xml_op 2163 lib/pengine/pe_output.c xmlNodePtr xml_op = va_arg(args, xmlNodePtr); xml_op 2169 lib/pengine/pe_output.c char *buf = op_history_string(xml_op, task, interval_ms_s, rc, xml_op 2182 lib/pengine/pe_output.c xmlNodePtr xml_op = va_arg(args, xmlNodePtr); xml_op 2190 lib/pengine/pe_output.c "call", crm_element_value(xml_op, XML_LRM_ATTR_CALLID), xml_op 2207 lib/pengine/pe_output.c if ((crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 2212 lib/pengine/pe_output.c value = crm_element_value(xml_op, XML_RSC_OP_T_EXEC); xml_op 2218 lib/pengine/pe_output.c value = crm_element_value(xml_op, XML_RSC_OP_T_QUEUE); xml_op 2487 lib/pengine/pe_output.c xmlNode *xml_op = (xmlNode *) gIter->data; xml_op 2488 lib/pengine/pe_output.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 2489 lib/pengine/pe_output.c const char *interval_ms_s = crm_element_value(xml_op, xml_op 2491 lib/pengine/pe_output.c const char *op_rc = crm_element_value(xml_op, XML_LRM_ATTR_RC); xml_op 2514 lib/pengine/pe_output.c out->message(out, "op-history", xml_op, task, interval_ms_s, 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 2618 lib/pengine/unpack.c stop_happened_after(pe_resource_t *rsc, pe_node_t *node, xmlNode *xml_op, xml_op 2624 lib/pengine/unpack.c return (stop_op && (pe__call_id(stop_op) > pe__call_id(xml_op))); xml_op 2628 lib/pengine/unpack.c unpack_migrate_to_success(pe_resource_t *rsc, pe_node_t *node, xmlNode *xml_op, xml_op 2653 lib/pengine/unpack.c const char *source = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_SOURCE); xml_op 2654 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); xml_op 2659 lib/pengine/unpack.c if (stop_happened_after(rsc, node, xml_op, data_set)) { xml_op 2685 lib/pengine/unpack.c pe_rsc_trace(rsc, "Detected dangling migration op: %s on %s", ID(xml_op), xml_op 2733 lib/pengine/unpack.c unpack_migrate_to_failure(pe_resource_t *rsc, pe_node_t *node, xmlNode *xml_op, xml_op 2740 lib/pengine/unpack.c const char *source = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_SOURCE); xml_op 2741 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); xml_op 2785 lib/pengine/unpack.c int source_migrate_to_id = pe__call_id(xml_op); xml_op 2803 lib/pengine/unpack.c xmlNode *xml_op, pe_working_set_t *data_set) xml_op 2807 lib/pengine/unpack.c const char *source = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_SOURCE); xml_op 2808 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); xml_op 2867 lib/pengine/unpack.c static const char *get_op_key(xmlNode *xml_op) xml_op 2869 lib/pengine/unpack.c const char *key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 2871 lib/pengine/unpack.c key = ID(xml_op); xml_op 2877 lib/pengine/unpack.c last_change_str(xmlNode *xml_op) xml_op 2882 lib/pengine/unpack.c if (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 2987 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 2994 lib/pengine/unpack.c const char *key = get_op_key(xml_op); xml_op 2995 lib/pengine/unpack.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 2996 lib/pengine/unpack.c const char *exit_reason = crm_element_value(xml_op, xml_op 3002 lib/pengine/unpack.c *last_failure = xml_op; xml_op 3004 lib/pengine/unpack.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 3020 lib/pengine/unpack.c last_change_str(xml_op), rc, ID(xml_op)); xml_op 3027 lib/pengine/unpack.c last_change_str(xml_op), rc, ID(xml_op)); xml_op 3041 lib/pengine/unpack.c record_failed_op(xml_op, node, rsc, data_set); xml_op 3055 lib/pengine/unpack.c unpack_migrate_to_failure(rsc, node, xml_op, data_set); xml_op 3058 lib/pengine/unpack.c unpack_migrate_from_failure(rsc, node, xml_op, data_set); xml_op 3151 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 3156 lib/pengine/unpack.c const char *key = get_op_key(xml_op); xml_op 3157 lib/pengine/unpack.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 3158 lib/pengine/unpack.c const char *exit_reason = crm_element_value(xml_op, xml_op 3168 lib/pengine/unpack.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 3202 lib/pengine/unpack.c last_change_str(xml_op)); xml_op 3225 lib/pengine/unpack.c last_change_str(xml_op)); xml_op 3257 lib/pengine/unpack.c last_change_str(xml_op), rc, ID(xml_op)); xml_op 3269 lib/pengine/unpack.c last_change_str(xml_op)); xml_op 3279 lib/pengine/unpack.c should_clear_for_param_change(xmlNode *xml_op, const char *task, xml_op 3290 lib/pengine/unpack.c pe__add_param_check(xml_op, rsc, node, pe_check_last_failure, xml_op 3296 lib/pengine/unpack.c digest_data = rsc_action_digest_cmp(rsc, xml_op, node, data_set); xml_op 3301 lib/pengine/unpack.c rsc->id, get_op_key(xml_op), node->details->id); xml_op 3329 lib/pengine/unpack.c should_ignore_failure_timeout(pe_resource_t *rsc, xmlNode *xml_op, xml_op 3394 lib/pengine/unpack.c xmlNode *xml_op, pe_working_set_t *data_set) xml_op 3397 lib/pengine/unpack.c bool is_last_failure = pcmk__ends_with(ID(xml_op), "_last_failure_0"); xml_op 3401 lib/pengine/unpack.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 3404 lib/pengine/unpack.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 3407 lib/pengine/unpack.c && (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 3417 lib/pengine/unpack.c && !should_ignore_failure_timeout(rsc, xml_op, task, interval_ms, xml_op 3424 lib/pengine/unpack.c pe_fc_effective, xml_op, xml_op 3430 lib/pengine/unpack.c ID(xml_op), (long long) last_run, (expired? "" : "not "), xml_op 3440 lib/pengine/unpack.c if (pe_get_failcount(node, rsc, NULL, pe_fc_default, xml_op, data_set)) { xml_op 3467 lib/pengine/unpack.c && should_clear_for_param_change(xml_op, task, rsc, node, data_set)) { xml_op 3508 lib/pengine/unpack.c int pe__target_rc_from_xml(xmlNode *xml_op) xml_op 3511 lib/pengine/unpack.c const char *key = crm_element_value(xml_op, XML_ATTR_TRANSITION_KEY); xml_op 3533 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 3539 lib/pengine/unpack.c CRM_ASSERT(xml_op); xml_op 3549 lib/pengine/unpack.c const char *op_key = get_op_key(xml_op); xml_op 3586 lib/pengine/unpack.c unpack_migrate_to_success(rsc, node, xml_op, data_set); xml_op 3650 lib/pengine/unpack.c remap_monitor_rc(int rc, xmlNode *xml_op, const pe_node_t *node, xml_op 3658 lib/pengine/unpack.c record_failed_op(xml_op, node, rsc, data_set); xml_op 3665 lib/pengine/unpack.c unpack_rsc_op(pe_resource_t *rsc, pe_node_t *node, xmlNode *xml_op, xml_op 3681 lib/pengine/unpack.c CRM_CHECK(rsc && node && xml_op, return); xml_op 3683 lib/pengine/unpack.c target_rc = pe__target_rc_from_xml(xml_op); xml_op 3684 lib/pengine/unpack.c task_key = get_op_key(xml_op); xml_op 3685 lib/pengine/unpack.c task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 3686 lib/pengine/unpack.c exit_reason = crm_element_value(xml_op, XML_LRM_ATTR_EXIT_REASON); xml_op 3691 lib/pengine/unpack.c crm_element_value_int(xml_op, XML_LRM_ATTR_RC, &rc); xml_op 3692 lib/pengine/unpack.c crm_element_value_int(xml_op, XML_LRM_ATTR_CALLID, &task_id); xml_op 3693 lib/pengine/unpack.c crm_element_value_int(xml_op, XML_LRM_ATTR_OPSTATUS, &status); xml_op 3694 lib/pengine/unpack.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 3732 lib/pengine/unpack.c && check_operation_expiry(rsc, node, rc, xml_op, data_set)) { xml_op 3737 lib/pengine/unpack.c rc = remap_monitor_rc(rc, xml_op, node, rsc, data_set); xml_op 3741 lib/pengine/unpack.c const char *magic = crm_element_value(xml_op, XML_ATTR_TRANSITION_MAGIC); xml_op 3763 lib/pengine/unpack.c crm_xml_add(xml_op, XML_LRM_ATTR_RESTART_DIGEST, "calculated-failure-timeout"); xml_op 3774 lib/pengine/unpack.c status = determine_op_status(rsc, rc, target_rc, node, xml_op, on_fail, data_set); xml_op 3783 lib/pengine/unpack.c ID(xml_op), task, rsc->id, node->details->uname, xml_op 3784 lib/pengine/unpack.c last_change_str(xml_op)); xml_op 3798 lib/pengine/unpack.c const char *migrate_target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); xml_op 3826 lib/pengine/unpack.c last_change_str(xml_op), ID(xml_op)); xml_op 3827 lib/pengine/unpack.c update_resource_state(rsc, node, xml_op, task, rc, *last_failure, on_fail, data_set); xml_op 3837 lib/pengine/unpack.c ID(xml_op)); xml_op 3842 lib/pengine/unpack.c unpack_rsc_op_failure(rsc, node, rc, xml_op, last_failure, on_fail, data_set); xml_op 3876 lib/pengine/unpack.c node->details->uname, last_change_str(xml_op), rc, xml_op 3877 lib/pengine/unpack.c ID(xml_op)); xml_op 3879 lib/pengine/unpack.c update_resource_state(rsc, node, xml_op, task, target_rc, *last_failure, on_fail, data_set); xml_op 3880 lib/pengine/unpack.c crm_xml_add(xml_op, XML_ATTR_UNAME, node->details->uname); xml_op 3883 lib/pengine/unpack.c record_failed_op(xml_op, node, rsc, data_set); xml_op 3891 lib/pengine/unpack.c unpack_rsc_op_failure(rsc, node, rc, xml_op, last_failure, on_fail, data_set); xml_op 3900 lib/pengine/unpack.c rc, ID(xml_op)); xml_op 3908 lib/pengine/unpack.c rc, ID(xml_op)); xml_op 105 tools/crm_resource_print.c xmlNode *xml_op = (xmlNode *) lpc->data; xml_op 106 tools/crm_resource_print.c out->message(out, "node-and-op", data_set, xml_op); xml_op 645 tools/crm_resource_runtime.c for (xmlNode *xml_op = pcmk__xml_first_child(data_set->failed); xml_op 646 tools/crm_resource_runtime.c xml_op != NULL; xml_op 647 tools/crm_resource_runtime.c xml_op = pcmk__xml_next(xml_op)) { xml_op 649 tools/crm_resource_runtime.c failed_id = crm_element_value(xml_op, XML_LRM_ATTR_RSCID); xml_op 667 tools/crm_resource_runtime.c failed_value = crm_element_value(xml_op, XML_ATTR_UNAME); xml_op 674 tools/crm_resource_runtime.c failed_value = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 680 tools/crm_resource_runtime.c failed_value = crm_element_value(xml_op, XML_LRM_ATTR_INTERVAL_MS);