xml_op 671 daemons/controld/controld_execd.c xmlNode *xml_op = NULL; xml_op 697 daemons/controld/controld_execd.c xml_op = pcmk__create_history_xml(parent, op, caller_version, target_rc, xml_op 699 daemons/controld/controld_execd.c if (xml_op == NULL) { xml_op 737 daemons/controld/controld_execd.c crm_xml_add(xml_op, XML_ATTR_RA_VERSION, metadata->ra_version); xml_op 742 daemons/controld/controld_execd.c append_restart_list(op, metadata, xml_op, caller_version); xml_op 743 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 248 daemons/controld/controld_te_actions.c xml_op = pcmk__create_history_xml(rsc, op, CRM_FEATURE_SET, target_rc, xml_op 252 daemons/controld/controld_te_actions.c crm_log_xml_trace(xml_op, "Action timeout"); xml_op 224 daemons/fenced/fenced_history.c xmlNode *xml_op = NULL; xml_op 231 daemons/fenced/fenced_history.c for (xml_op = pcmk__xml_first_child(history); xml_op != NULL; xml_op 232 daemons/fenced/fenced_history.c xml_op = pcmk__xml_next(xml_op)) { xml_op 234 daemons/fenced/fenced_history.c char *id = crm_element_value_copy(xml_op, F_STONITH_REMOTE_OP_ID); xml_op 249 daemons/fenced/fenced_history.c op->target = crm_element_value_copy(xml_op, F_STONITH_TARGET); xml_op 250 daemons/fenced/fenced_history.c op->action = crm_element_value_copy(xml_op, F_STONITH_ACTION); xml_op 251 daemons/fenced/fenced_history.c op->originator = crm_element_value_copy(xml_op, F_STONITH_ORIGIN); xml_op 252 daemons/fenced/fenced_history.c op->delegate = crm_element_value_copy(xml_op, F_STONITH_DELEGATE); xml_op 253 daemons/fenced/fenced_history.c op->client_name = crm_element_value_copy(xml_op, F_STONITH_CLIENTNAME); xml_op 254 daemons/fenced/fenced_history.c crm_element_value_ll(xml_op, F_STONITH_DATE, &completed); xml_op 256 daemons/fenced/fenced_history.c crm_element_value_ll(xml_op, F_STONITH_DATE_NSEC, &completed_nsec); xml_op 258 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 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 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 145 lib/pacemaker/pcmk_sched_allocate.c CancelXmlOp(pe_resource_t * rsc, xmlNode * xml_op, pe_node_t * active_node, xml_op 154 lib/pacemaker/pcmk_sched_allocate.c CRM_CHECK(xml_op != NULL, return); xml_op 157 lib/pacemaker/pcmk_sched_allocate.c task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 158 lib/pacemaker/pcmk_sched_allocate.c call_id = crm_element_value(xml_op, XML_LRM_ATTR_CALLID); xml_op 159 lib/pacemaker/pcmk_sched_allocate.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 172 lib/pacemaker/pcmk_sched_allocate.c check_action_definition(pe_resource_t * rsc, pe_node_t * active_node, xmlNode * xml_op, xml_op 180 lib/pacemaker/pcmk_sched_allocate.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 185 lib/pacemaker/pcmk_sched_allocate.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 197 lib/pacemaker/pcmk_sched_allocate.c CancelXmlOp(rsc, xml_op, active_node, "orphan", data_set); xml_op 224 lib/pacemaker/pcmk_sched_allocate.c digest_data = rsc_action_digest_cmp(rsc, xml_op, active_node, data_set); xml_op 227 lib/pacemaker/pcmk_sched_allocate.c digest_secure = crm_element_value(xml_op, XML_LRM_ATTR_SECURE_DIGEST); xml_op 239 lib/pacemaker/pcmk_sched_allocate.c crm_element_value(xml_op, XML_ATTR_TRANSITION_MAGIC)); xml_op 255 lib/pacemaker/pcmk_sched_allocate.c const char *digest_restart = crm_element_value(xml_op, XML_LRM_ATTR_RESTART_DIGEST); xml_op 571 lib/pacemaker/pcmk_sched_utils.c xmlNode *xml_op = NULL; xml_op 635 lib/pacemaker/pcmk_sched_utils.c xml_op = pcmk__xe_match(parent, XML_LRM_TAG_RSC_OP, XML_ATTR_ID, op_id); xml_op 636 lib/pacemaker/pcmk_sched_utils.c if (xml_op == NULL) { xml_op 637 lib/pacemaker/pcmk_sched_utils.c xml_op = create_xml_node(parent, XML_LRM_TAG_RSC_OP); xml_op 653 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_ATTR_ID, op_id); xml_op 654 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_LRM_ATTR_TASK_KEY, key); xml_op 655 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_LRM_ATTR_TASK, task); xml_op 656 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_ATTR_ORIGIN, origin); xml_op 657 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_ATTR_CRM_VERSION, caller_version); xml_op 658 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_ATTR_TRANSITION_KEY, op->user_data); xml_op 659 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_ATTR_TRANSITION_MAGIC, magic); xml_op 660 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_LRM_ATTR_EXIT_REASON, exit_reason == NULL ? "" : exit_reason); xml_op 661 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, XML_LRM_ATTR_TARGET, node); /* For context during triage */ xml_op 663 lib/pacemaker/pcmk_sched_utils.c crm_xml_add_int(xml_op, XML_LRM_ATTR_CALLID, op->call_id); xml_op 664 lib/pacemaker/pcmk_sched_utils.c crm_xml_add_int(xml_op, XML_LRM_ATTR_RC, op->rc); xml_op 665 lib/pacemaker/pcmk_sched_utils.c crm_xml_add_int(xml_op, XML_LRM_ATTR_OPSTATUS, op->op_status); xml_op 666 lib/pacemaker/pcmk_sched_utils.c crm_xml_add_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, op->interval_ms); xml_op 677 lib/pacemaker/pcmk_sched_utils.c crm_xml_add_ll(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 680 lib/pacemaker/pcmk_sched_utils.c crm_xml_add_ll(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 684 lib/pacemaker/pcmk_sched_utils.c crm_xml_add_int(xml_op, XML_RSC_OP_T_EXEC, op->exec_time); xml_op 685 lib/pacemaker/pcmk_sched_utils.c crm_xml_add_int(xml_op, XML_RSC_OP_T_QUEUE, op->queue_time); xml_op 695 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, name, crm_meta_value(op->params, name)); xml_op 698 lib/pacemaker/pcmk_sched_utils.c crm_xml_add(xml_op, name, crm_meta_value(op->params, name)); xml_op 701 lib/pacemaker/pcmk_sched_utils.c append_digest(op, xml_op, caller_version, magic, LOG_DEBUG); xml_op 717 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 203 lib/pengine/pe_output.c op_history_string(xmlNode *xml_op, const char *task, const char *interval_ms_s, xml_op 205 lib/pengine/pe_output.c const char *call = crm_element_value(xml_op, XML_LRM_ATTR_CALLID); xml_op 224 lib/pengine/pe_output.c if ((crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, &epoch) == pcmk_ok) xml_op 232 lib/pengine/pe_output.c value = crm_element_value(xml_op, XML_RSC_OP_T_EXEC); xml_op 239 lib/pengine/pe_output.c value = crm_element_value(xml_op, XML_RSC_OP_T_QUEUE); xml_op 1120 lib/pengine/pe_output.c failed_action_friendly(pcmk__output_t *out, xmlNodePtr xml_op, xml_op 1163 lib/pengine/pe_output.c if (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 1191 lib/pengine/pe_output.c failed_action_technical(pcmk__output_t *out, xmlNodePtr xml_op, xml_op 1196 lib/pengine/pe_output.c const char *call_id = crm_element_value(xml_op, XML_LRM_ATTR_CALLID); xml_op 1197 lib/pengine/pe_output.c const char *queue_time = crm_element_value(xml_op, XML_RSC_OP_T_QUEUE); xml_op 1225 lib/pengine/pe_output.c if (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 1248 lib/pengine/pe_output.c xmlNodePtr xml_op = va_arg(args, xmlNodePtr); xml_op 1251 lib/pengine/pe_output.c const char *op_key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 1252 lib/pengine/pe_output.c const char *node_name = crm_element_value(xml_op, XML_ATTR_UNAME); xml_op 1253 lib/pengine/pe_output.c const char *exit_reason = crm_element_value(xml_op, xml_op 1255 lib/pengine/pe_output.c const char *exec_time = crm_element_value(xml_op, XML_RSC_OP_T_EXEC); xml_op 1260 lib/pengine/pe_output.c pcmk__scan_min_int(crm_element_value(xml_op, XML_LRM_ATTR_RC), &rc, 0); xml_op 1262 lib/pengine/pe_output.c pcmk__scan_min_int(crm_element_value(xml_op, XML_LRM_ATTR_OPSTATUS), xml_op 1266 lib/pengine/pe_output.c op_key = ID(xml_op); xml_op 1273 lib/pengine/pe_output.c failed_action_technical(out, xml_op, op_key, node_name, rc, status, xml_op 1276 lib/pengine/pe_output.c failed_action_friendly(out, xml_op, op_key, node_name, rc, status, xml_op 1285 lib/pengine/pe_output.c xmlNodePtr xml_op = va_arg(args, xmlNodePtr); xml_op 1288 lib/pengine/pe_output.c const char *op_key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 1291 lib/pengine/pe_output.c const char *exit_reason = crm_element_value(xml_op, XML_LRM_ATTR_EXIT_REASON); xml_op 1298 lib/pengine/pe_output.c pcmk__scan_min_int(crm_element_value(xml_op, XML_LRM_ATTR_RC), &rc, 0); xml_op 1299 lib/pengine/pe_output.c pcmk__scan_min_int(crm_element_value(xml_op, XML_LRM_ATTR_OPSTATUS), xml_op 1305 lib/pengine/pe_output.c (op_key == NULL)? ID(xml_op) : op_key, xml_op 1306 lib/pengine/pe_output.c "node", crm_element_value(xml_op, XML_ATTR_UNAME), xml_op 1310 lib/pengine/pe_output.c "call", crm_element_value(xml_op, XML_LRM_ATTR_CALLID), xml_op 1315 lib/pengine/pe_output.c if ((crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 1322 lib/pengine/pe_output.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 1329 lib/pengine/pe_output.c "queued", crm_element_value(xml_op, XML_RSC_OP_T_QUEUE), xml_op 1330 lib/pengine/pe_output.c "exec", crm_element_value(xml_op, XML_RSC_OP_T_EXEC), xml_op 1332 lib/pengine/pe_output.c "task", crm_element_value(xml_op, XML_LRM_ATTR_TASK), xml_op 1354 lib/pengine/pe_output.c xmlNode *xml_op = NULL; xml_op 1363 lib/pengine/pe_output.c for (xml_op = pcmk__xml_first_child(data_set->failed); xml_op != NULL; xml_op 1364 lib/pengine/pe_output.c xml_op = pcmk__xml_next(xml_op)) { xml_op 1367 lib/pengine/pe_output.c if (!pcmk__str_in_list(crm_element_value(xml_op, XML_ATTR_UNAME), only_node, xml_op 1372 lib/pengine/pe_output.c id = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 1373 lib/pengine/pe_output.c if (parse_op_key(id ? id : ID(xml_op), &rsc, NULL, NULL) == FALSE) { xml_op 1385 lib/pengine/pe_output.c out->message(out, "failed-action", xml_op, show_opts); xml_op 1696 lib/pengine/pe_output.c xmlNodePtr xml_op = va_arg(args, xmlNodePtr); xml_op 1702 lib/pengine/pe_output.c const char *op_rsc = crm_element_value(xml_op, "resource"); xml_op 1703 lib/pengine/pe_output.c const char *op_key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 1707 lib/pengine/pe_output.c pcmk__scan_min_int(crm_element_value(xml_op, XML_LRM_ATTR_OPSTATUS), xml_op 1727 lib/pengine/pe_output.c if (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 1732 lib/pengine/pe_output.c crm_element_value(xml_op, XML_RSC_OP_T_EXEC)); xml_op 1736 lib/pengine/pe_output.c node_str, op_key ? op_key : ID(xml_op), xml_op 1737 lib/pengine/pe_output.c crm_element_value(xml_op, XML_ATTR_UNAME), xml_op 1738 lib/pengine/pe_output.c crm_element_value(xml_op, XML_LRM_ATTR_CALLID), xml_op 1739 lib/pengine/pe_output.c crm_element_value(xml_op, XML_LRM_ATTR_RC), xml_op 1752 lib/pengine/pe_output.c xmlNodePtr xml_op = va_arg(args, xmlNodePtr); xml_op 1755 lib/pengine/pe_output.c const char *op_rsc = crm_element_value(xml_op, "resource"); xml_op 1756 lib/pengine/pe_output.c const char *op_key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 1761 lib/pengine/pe_output.c pcmk__scan_min_int(crm_element_value(xml_op, XML_LRM_ATTR_OPSTATUS), xml_op 1764 lib/pengine/pe_output.c "op", op_key ? op_key : ID(xml_op), xml_op 1765 lib/pengine/pe_output.c "node", crm_element_value(xml_op, XML_ATTR_UNAME), xml_op 1766 lib/pengine/pe_output.c "call", crm_element_value(xml_op, XML_LRM_ATTR_CALLID), xml_op 1767 lib/pengine/pe_output.c "rc", crm_element_value(xml_op, XML_LRM_ATTR_RC), xml_op 1788 lib/pengine/pe_output.c if (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 1792 lib/pengine/pe_output.c XML_RSC_OP_T_EXEC, crm_element_value(xml_op, XML_RSC_OP_T_EXEC), xml_op 2281 lib/pengine/pe_output.c xmlNodePtr xml_op = va_arg(args, xmlNodePtr); xml_op 2287 lib/pengine/pe_output.c char *buf = op_history_string(xml_op, task, interval_ms_s, rc, xml_op 2300 lib/pengine/pe_output.c xmlNodePtr xml_op = va_arg(args, xmlNodePtr); xml_op 2308 lib/pengine/pe_output.c "call", crm_element_value(xml_op, XML_LRM_ATTR_CALLID), xml_op 2325 lib/pengine/pe_output.c if ((crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 2330 lib/pengine/pe_output.c value = crm_element_value(xml_op, XML_RSC_OP_T_EXEC); xml_op 2336 lib/pengine/pe_output.c value = crm_element_value(xml_op, XML_RSC_OP_T_QUEUE); xml_op 2605 lib/pengine/pe_output.c xmlNode *xml_op = (xmlNode *) gIter->data; xml_op 2606 lib/pengine/pe_output.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 2607 lib/pengine/pe_output.c const char *interval_ms_s = crm_element_value(xml_op, xml_op 2609 lib/pengine/pe_output.c const char *op_rc = crm_element_value(xml_op, XML_LRM_ATTR_RC); xml_op 2632 lib/pengine/pe_output.c out->message(out, "op-history", xml_op, task, interval_ms_s, xml_op 51 lib/pengine/unpack.c static void unpack_rsc_op(pe_resource_t *rsc, pe_node_t *node, xmlNode *xml_op, xml_op 2615 lib/pengine/unpack.c stop_happened_after(pe_resource_t *rsc, pe_node_t *node, xmlNode *xml_op, xml_op 2621 lib/pengine/unpack.c return (stop_op && (pe__call_id(stop_op) > pe__call_id(xml_op))); xml_op 2625 lib/pengine/unpack.c unpack_migrate_to_success(pe_resource_t *rsc, pe_node_t *node, xmlNode *xml_op, xml_op 2650 lib/pengine/unpack.c const char *source = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_SOURCE); xml_op 2651 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); xml_op 2656 lib/pengine/unpack.c if (stop_happened_after(rsc, node, xml_op, data_set)) { xml_op 2682 lib/pengine/unpack.c pe_rsc_trace(rsc, "Detected dangling migration op: %s on %s", ID(xml_op), xml_op 2730 lib/pengine/unpack.c unpack_migrate_to_failure(pe_resource_t *rsc, pe_node_t *node, xmlNode *xml_op, xml_op 2737 lib/pengine/unpack.c const char *source = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_SOURCE); xml_op 2738 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); xml_op 2782 lib/pengine/unpack.c int source_migrate_to_id = pe__call_id(xml_op); xml_op 2800 lib/pengine/unpack.c xmlNode *xml_op, pe_working_set_t *data_set) xml_op 2804 lib/pengine/unpack.c const char *source = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_SOURCE); xml_op 2805 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); xml_op 2864 lib/pengine/unpack.c static const char *get_op_key(xmlNode *xml_op) xml_op 2866 lib/pengine/unpack.c const char *key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 2868 lib/pengine/unpack.c key = ID(xml_op); xml_op 2874 lib/pengine/unpack.c last_change_str(xmlNode *xml_op) xml_op 2879 lib/pengine/unpack.c if (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 2984 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 2991 lib/pengine/unpack.c const char *key = get_op_key(xml_op); xml_op 2992 lib/pengine/unpack.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 2993 lib/pengine/unpack.c const char *exit_reason = crm_element_value(xml_op, xml_op 2999 lib/pengine/unpack.c *last_failure = xml_op; xml_op 3001 lib/pengine/unpack.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 3017 lib/pengine/unpack.c last_change_str(xml_op), rc, ID(xml_op)); xml_op 3024 lib/pengine/unpack.c last_change_str(xml_op), rc, ID(xml_op)); xml_op 3038 lib/pengine/unpack.c record_failed_op(xml_op, node, rsc, data_set); xml_op 3052 lib/pengine/unpack.c unpack_migrate_to_failure(rsc, node, xml_op, data_set); xml_op 3055 lib/pengine/unpack.c unpack_migrate_from_failure(rsc, node, xml_op, data_set); xml_op 3148 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 3153 lib/pengine/unpack.c const char *key = get_op_key(xml_op); xml_op 3154 lib/pengine/unpack.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 3155 lib/pengine/unpack.c const char *exit_reason = crm_element_value(xml_op, xml_op 3165 lib/pengine/unpack.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 3199 lib/pengine/unpack.c last_change_str(xml_op)); xml_op 3222 lib/pengine/unpack.c last_change_str(xml_op)); xml_op 3254 lib/pengine/unpack.c last_change_str(xml_op), rc, ID(xml_op)); xml_op 3266 lib/pengine/unpack.c last_change_str(xml_op)); xml_op 3276 lib/pengine/unpack.c should_clear_for_param_change(xmlNode *xml_op, const char *task, xml_op 3287 lib/pengine/unpack.c pe__add_param_check(xml_op, rsc, node, pe_check_last_failure, xml_op 3293 lib/pengine/unpack.c digest_data = rsc_action_digest_cmp(rsc, xml_op, node, data_set); xml_op 3298 lib/pengine/unpack.c rsc->id, get_op_key(xml_op), node->details->id); xml_op 3326 lib/pengine/unpack.c should_ignore_failure_timeout(pe_resource_t *rsc, xmlNode *xml_op, xml_op 3391 lib/pengine/unpack.c xmlNode *xml_op, pe_working_set_t *data_set) xml_op 3394 lib/pengine/unpack.c bool is_last_failure = pcmk__ends_with(ID(xml_op), "_last_failure_0"); xml_op 3398 lib/pengine/unpack.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 3401 lib/pengine/unpack.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 3404 lib/pengine/unpack.c && (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 3414 lib/pengine/unpack.c && !should_ignore_failure_timeout(rsc, xml_op, task, interval_ms, xml_op 3421 lib/pengine/unpack.c pe_fc_effective, xml_op, xml_op 3427 lib/pengine/unpack.c ID(xml_op), (long long) last_run, (expired? "" : "not "), xml_op 3437 lib/pengine/unpack.c if (pe_get_failcount(node, rsc, NULL, pe_fc_default, xml_op, data_set)) { xml_op 3464 lib/pengine/unpack.c && should_clear_for_param_change(xml_op, task, rsc, node, data_set)) { xml_op 3505 lib/pengine/unpack.c int pe__target_rc_from_xml(xmlNode *xml_op) xml_op 3508 lib/pengine/unpack.c const char *key = crm_element_value(xml_op, XML_ATTR_TRANSITION_KEY); xml_op 3530 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 3536 lib/pengine/unpack.c CRM_ASSERT(xml_op); xml_op 3546 lib/pengine/unpack.c const char *op_key = get_op_key(xml_op); xml_op 3583 lib/pengine/unpack.c unpack_migrate_to_success(rsc, node, xml_op, data_set); xml_op 3647 lib/pengine/unpack.c remap_monitor_rc(int rc, xmlNode *xml_op, const pe_node_t *node, xml_op 3655 lib/pengine/unpack.c record_failed_op(xml_op, node, rsc, data_set); xml_op 3662 lib/pengine/unpack.c unpack_rsc_op(pe_resource_t *rsc, pe_node_t *node, xmlNode *xml_op, xml_op 3678 lib/pengine/unpack.c CRM_CHECK(rsc && node && xml_op, return); xml_op 3680 lib/pengine/unpack.c target_rc = pe__target_rc_from_xml(xml_op); xml_op 3681 lib/pengine/unpack.c task_key = get_op_key(xml_op); xml_op 3682 lib/pengine/unpack.c task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 3683 lib/pengine/unpack.c exit_reason = crm_element_value(xml_op, XML_LRM_ATTR_EXIT_REASON); xml_op 3688 lib/pengine/unpack.c crm_element_value_int(xml_op, XML_LRM_ATTR_RC, &rc); xml_op 3689 lib/pengine/unpack.c crm_element_value_int(xml_op, XML_LRM_ATTR_CALLID, &task_id); xml_op 3690 lib/pengine/unpack.c crm_element_value_int(xml_op, XML_LRM_ATTR_OPSTATUS, &status); xml_op 3691 lib/pengine/unpack.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 3729 lib/pengine/unpack.c && check_operation_expiry(rsc, node, rc, xml_op, data_set)) { xml_op 3734 lib/pengine/unpack.c rc = remap_monitor_rc(rc, xml_op, node, rsc, data_set); xml_op 3738 lib/pengine/unpack.c const char *magic = crm_element_value(xml_op, XML_ATTR_TRANSITION_MAGIC); xml_op 3760 lib/pengine/unpack.c crm_xml_add(xml_op, XML_LRM_ATTR_RESTART_DIGEST, "calculated-failure-timeout"); xml_op 3771 lib/pengine/unpack.c status = determine_op_status(rsc, rc, target_rc, node, xml_op, on_fail, data_set); xml_op 3780 lib/pengine/unpack.c ID(xml_op), task, rsc->id, node->details->uname, xml_op 3781 lib/pengine/unpack.c last_change_str(xml_op)); xml_op 3795 lib/pengine/unpack.c const char *migrate_target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); xml_op 3823 lib/pengine/unpack.c last_change_str(xml_op), ID(xml_op)); xml_op 3824 lib/pengine/unpack.c update_resource_state(rsc, node, xml_op, task, rc, *last_failure, on_fail, data_set); xml_op 3834 lib/pengine/unpack.c ID(xml_op)); xml_op 3839 lib/pengine/unpack.c unpack_rsc_op_failure(rsc, node, rc, xml_op, last_failure, on_fail, data_set); xml_op 3882 lib/pengine/unpack.c node->details->uname, last_change_str(xml_op), rc, xml_op 3883 lib/pengine/unpack.c ID(xml_op)); xml_op 3885 lib/pengine/unpack.c update_resource_state(rsc, node, xml_op, task, target_rc, *last_failure, xml_op 3887 lib/pengine/unpack.c crm_xml_add(xml_op, XML_ATTR_UNAME, node->details->uname); xml_op 3890 lib/pengine/unpack.c record_failed_op(xml_op, node, rsc, data_set); xml_op 3898 lib/pengine/unpack.c unpack_rsc_op_failure(rsc, node, rc, xml_op, last_failure, on_fail, xml_op 3908 lib/pengine/unpack.c rc, ID(xml_op)); xml_op 3916 lib/pengine/unpack.c rc, ID(xml_op)); xml_op 100 tools/crm_resource_print.c xmlNode *xml_op = (xmlNode *) lpc->data; xml_op 101 tools/crm_resource_print.c out->message(out, "node-and-op", data_set, xml_op); xml_op 647 tools/crm_resource_runtime.c for (xmlNode *xml_op = pcmk__xml_first_child(data_set->failed); xml_op 648 tools/crm_resource_runtime.c xml_op != NULL; xml_op 649 tools/crm_resource_runtime.c xml_op = pcmk__xml_next(xml_op)) { xml_op 651 tools/crm_resource_runtime.c failed_id = crm_element_value(xml_op, XML_LRM_ATTR_RSCID); xml_op 669 tools/crm_resource_runtime.c failed_value = crm_element_value(xml_op, XML_ATTR_UNAME); xml_op 676 tools/crm_resource_runtime.c failed_value = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 682 tools/crm_resource_runtime.c failed_value = crm_element_value(xml_op, XML_LRM_ATTR_INTERVAL_MS);