xml_op 669 daemons/controld/controld_execd.c xmlNode *xml_op = NULL; xml_op 694 daemons/controld/controld_execd.c xml_op = pcmk__create_history_xml(parent, op, caller_version, target_rc, xml_op 696 daemons/controld/controld_execd.c if (xml_op == NULL) { xml_op 734 daemons/controld/controld_execd.c crm_xml_add(xml_op, XML_ATTR_RA_VERSION, metadata->ra_version); xml_op 739 daemons/controld/controld_execd.c append_restart_list(op, metadata, xml_op, caller_version); xml_op 740 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 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 260 daemons/fenced/fenced_history.c stonith__xe_get_result(xml_op, &op->result); xml_op 80 include/crm/common/util.h bool pcmk_xe_is_probe(xmlNode *xml_op); xml_op 81 include/crm/common/util.h bool pcmk_xe_mask_probe_failure(xmlNode *xml_op); xml_op 307 include/crm/pengine/internal.h uint32_t flags, xmlNode *xml_op, xml_op 462 include/crm/pengine/internal.h int pe__target_rc_from_xml(xmlNode *xml_op); xml_op 491 include/crm/pengine/internal.h xmlNode *xml_op, GHashTable *overrides, xml_op 497 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 552 lib/common/operations.c pcmk_xe_is_probe(xmlNode *xml_op) xml_op 554 lib/common/operations.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 555 lib/common/operations.c const char *interval_ms_s = crm_element_value(xml_op, XML_LRM_ATTR_INTERVAL_MS); xml_op 563 lib/common/operations.c pcmk_xe_mask_probe_failure(xmlNode *xml_op) xml_op 568 lib/common/operations.c if (!pcmk_xe_is_probe(xml_op)) { xml_op 572 lib/common/operations.c crm_element_value_int(xml_op, XML_LRM_ATTR_OPSTATUS, &status); xml_op 573 lib/common/operations.c crm_element_value_int(xml_op, XML_LRM_ATTR_RC, &rc); xml_op 51 lib/pacemaker/libpacemaker_private.h xmlNode *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 910 lib/pacemaker/pcmk_sched_actions.c xmlNode *xml_op = NULL; xml_op 973 lib/pacemaker/pcmk_sched_actions.c xml_op = pcmk__xe_match(parent, XML_LRM_TAG_RSC_OP, XML_ATTR_ID, op_id); xml_op 974 lib/pacemaker/pcmk_sched_actions.c if (xml_op == NULL) { xml_op 975 lib/pacemaker/pcmk_sched_actions.c xml_op = create_xml_node(parent, XML_LRM_TAG_RSC_OP); xml_op 992 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, XML_ATTR_ID, op_id); xml_op 993 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, XML_LRM_ATTR_TASK_KEY, key); xml_op 994 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, XML_LRM_ATTR_TASK, task); xml_op 995 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, XML_ATTR_ORIGIN, origin); xml_op 996 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, XML_ATTR_CRM_VERSION, caller_version); xml_op 997 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, XML_ATTR_TRANSITION_KEY, op->user_data); xml_op 998 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, XML_ATTR_TRANSITION_MAGIC, magic); xml_op 999 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, XML_LRM_ATTR_EXIT_REASON, exit_reason == NULL ? "" : exit_reason); xml_op 1000 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, XML_LRM_ATTR_TARGET, node); /* For context during triage */ xml_op 1002 lib/pacemaker/pcmk_sched_actions.c crm_xml_add_int(xml_op, XML_LRM_ATTR_CALLID, op->call_id); xml_op 1003 lib/pacemaker/pcmk_sched_actions.c crm_xml_add_int(xml_op, XML_LRM_ATTR_RC, op->rc); xml_op 1004 lib/pacemaker/pcmk_sched_actions.c crm_xml_add_int(xml_op, XML_LRM_ATTR_OPSTATUS, op->op_status); xml_op 1005 lib/pacemaker/pcmk_sched_actions.c crm_xml_add_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, op->interval_ms); xml_op 1016 lib/pacemaker/pcmk_sched_actions.c crm_xml_add_ll(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 1019 lib/pacemaker/pcmk_sched_actions.c crm_xml_add_ll(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 1023 lib/pacemaker/pcmk_sched_actions.c crm_xml_add_int(xml_op, XML_RSC_OP_T_EXEC, op->exec_time); xml_op 1024 lib/pacemaker/pcmk_sched_actions.c crm_xml_add_int(xml_op, XML_RSC_OP_T_QUEUE, op->queue_time); xml_op 1034 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, name, crm_meta_value(op->params, name)); xml_op 1037 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, name, crm_meta_value(op->params, name)); xml_op 1040 lib/pacemaker/pcmk_sched_actions.c add_op_digest_to_xml(op, xml_op); xml_op 1056 lib/pacemaker/pcmk_sched_actions.c return xml_op; xml_op 1310 lib/pacemaker/pcmk_sched_actions.c only_sanitized_changed(xmlNode *xml_op, const op_digest_cache_t *digest_data, xml_op 1320 lib/pacemaker/pcmk_sched_actions.c digest_secure = crm_element_value(xml_op, XML_LRM_ATTR_SECURE_DIGEST); xml_op 1442 lib/pacemaker/pcmk_sched_actions.c pcmk__check_action_config(pe_resource_t *rsc, pe_node_t *node, xmlNode *xml_op) xml_op 1448 lib/pacemaker/pcmk_sched_actions.c CRM_CHECK((rsc != NULL) && (node != NULL) && (xml_op != NULL), xml_op 1451 lib/pacemaker/pcmk_sched_actions.c task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 1454 lib/pacemaker/pcmk_sched_actions.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 1465 lib/pacemaker/pcmk_sched_actions.c crm_element_value(xml_op, XML_LRM_ATTR_CALLID), xml_op 1480 lib/pacemaker/pcmk_sched_actions.c digest_data = rsc_action_digest_cmp(rsc, xml_op, node, rsc->cluster); xml_op 1482 lib/pacemaker/pcmk_sched_actions.c if (only_sanitized_changed(xml_op, digest_data, rsc->cluster)) { xml_op 1491 lib/pacemaker/pcmk_sched_actions.c crm_element_value(xml_op, XML_ATTR_TRANSITION_MAGIC)); xml_op 1514 lib/pacemaker/pcmk_sched_actions.c } else if (crm_element_value(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 1168 lib/pengine/pe_output.c if (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 1196 lib/pengine/pe_output.c failed_action_technical(pcmk__output_t *out, xmlNodePtr xml_op, xml_op 1201 lib/pengine/pe_output.c const char *call_id = crm_element_value(xml_op, XML_LRM_ATTR_CALLID); xml_op 1202 lib/pengine/pe_output.c const char *queue_time = crm_element_value(xml_op, XML_RSC_OP_T_QUEUE); xml_op 1230 lib/pengine/pe_output.c if (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 1253 lib/pengine/pe_output.c xmlNodePtr xml_op = va_arg(args, xmlNodePtr); xml_op 1256 lib/pengine/pe_output.c const char *op_key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 1257 lib/pengine/pe_output.c const char *node_name = crm_element_value(xml_op, XML_ATTR_UNAME); xml_op 1258 lib/pengine/pe_output.c const char *exit_reason = crm_element_value(xml_op, xml_op 1260 lib/pengine/pe_output.c const char *exec_time = crm_element_value(xml_op, XML_RSC_OP_T_EXEC); xml_op 1265 lib/pengine/pe_output.c pcmk__scan_min_int(crm_element_value(xml_op, XML_LRM_ATTR_RC), &rc, 0); xml_op 1267 lib/pengine/pe_output.c pcmk__scan_min_int(crm_element_value(xml_op, XML_LRM_ATTR_OPSTATUS), xml_op 1271 lib/pengine/pe_output.c op_key = ID(xml_op); xml_op 1278 lib/pengine/pe_output.c failed_action_technical(out, xml_op, op_key, node_name, rc, status, xml_op 1281 lib/pengine/pe_output.c failed_action_friendly(out, xml_op, op_key, node_name, rc, status, xml_op 1290 lib/pengine/pe_output.c xmlNodePtr xml_op = va_arg(args, xmlNodePtr); xml_op 1293 lib/pengine/pe_output.c const char *op_key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 1296 lib/pengine/pe_output.c const char *exit_reason = crm_element_value(xml_op, XML_LRM_ATTR_EXIT_REASON); xml_op 1303 lib/pengine/pe_output.c pcmk__scan_min_int(crm_element_value(xml_op, XML_LRM_ATTR_RC), &rc, 0); xml_op 1304 lib/pengine/pe_output.c pcmk__scan_min_int(crm_element_value(xml_op, XML_LRM_ATTR_OPSTATUS), xml_op 1310 lib/pengine/pe_output.c (op_key == NULL)? ID(xml_op) : op_key, xml_op 1311 lib/pengine/pe_output.c "node", crm_element_value(xml_op, XML_ATTR_UNAME), xml_op 1315 lib/pengine/pe_output.c "call", crm_element_value(xml_op, XML_LRM_ATTR_CALLID), xml_op 1320 lib/pengine/pe_output.c if ((crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 1327 lib/pengine/pe_output.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 1334 lib/pengine/pe_output.c "queued", crm_element_value(xml_op, XML_RSC_OP_T_QUEUE), xml_op 1335 lib/pengine/pe_output.c "exec", crm_element_value(xml_op, XML_RSC_OP_T_EXEC), xml_op 1337 lib/pengine/pe_output.c "task", crm_element_value(xml_op, XML_LRM_ATTR_TASK), xml_op 1359 lib/pengine/pe_output.c xmlNode *xml_op = NULL; xml_op 1368 lib/pengine/pe_output.c for (xml_op = pcmk__xml_first_child(data_set->failed); xml_op != NULL; xml_op 1369 lib/pengine/pe_output.c xml_op = pcmk__xml_next(xml_op)) { xml_op 1372 lib/pengine/pe_output.c if (!pcmk__str_in_list(crm_element_value(xml_op, XML_ATTR_UNAME), only_node, xml_op 1377 lib/pengine/pe_output.c if (pcmk_xe_mask_probe_failure(xml_op)) { xml_op 1381 lib/pengine/pe_output.c id = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 1382 lib/pengine/pe_output.c if (parse_op_key(id ? id : ID(xml_op), &rsc, NULL, NULL) == FALSE) { xml_op 1394 lib/pengine/pe_output.c out->message(out, "failed-action", xml_op, show_opts); xml_op 1801 lib/pengine/pe_output.c xmlNodePtr xml_op = va_arg(args, xmlNodePtr); xml_op 1807 lib/pengine/pe_output.c const char *op_rsc = crm_element_value(xml_op, "resource"); xml_op 1808 lib/pengine/pe_output.c const char *op_key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 1812 lib/pengine/pe_output.c pcmk__scan_min_int(crm_element_value(xml_op, XML_LRM_ATTR_OPSTATUS), xml_op 1832 lib/pengine/pe_output.c if (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 1837 lib/pengine/pe_output.c crm_element_value(xml_op, XML_RSC_OP_T_EXEC)); xml_op 1841 lib/pengine/pe_output.c node_str, op_key ? op_key : ID(xml_op), xml_op 1842 lib/pengine/pe_output.c crm_element_value(xml_op, XML_ATTR_UNAME), xml_op 1843 lib/pengine/pe_output.c crm_element_value(xml_op, XML_LRM_ATTR_CALLID), xml_op 1844 lib/pengine/pe_output.c crm_element_value(xml_op, XML_LRM_ATTR_RC), xml_op 1857 lib/pengine/pe_output.c xmlNodePtr xml_op = va_arg(args, xmlNodePtr); xml_op 1860 lib/pengine/pe_output.c const char *op_rsc = crm_element_value(xml_op, "resource"); xml_op 1861 lib/pengine/pe_output.c const char *op_key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 1866 lib/pengine/pe_output.c pcmk__scan_min_int(crm_element_value(xml_op, XML_LRM_ATTR_OPSTATUS), xml_op 1869 lib/pengine/pe_output.c "op", op_key ? op_key : ID(xml_op), xml_op 1870 lib/pengine/pe_output.c "node", crm_element_value(xml_op, XML_ATTR_UNAME), xml_op 1871 lib/pengine/pe_output.c "call", crm_element_value(xml_op, XML_LRM_ATTR_CALLID), xml_op 1872 lib/pengine/pe_output.c "rc", crm_element_value(xml_op, XML_LRM_ATTR_RC), xml_op 1893 lib/pengine/pe_output.c if (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 1897 lib/pengine/pe_output.c XML_RSC_OP_T_EXEC, crm_element_value(xml_op, XML_RSC_OP_T_EXEC), xml_op 2355 lib/pengine/pe_output.c xmlNodePtr xml_op = va_arg(args, xmlNodePtr); xml_op 2361 lib/pengine/pe_output.c char *buf = op_history_string(xml_op, task, interval_ms_s, rc, xml_op 2373 lib/pengine/pe_output.c xmlNodePtr xml_op = va_arg(args, xmlNodePtr); xml_op 2381 lib/pengine/pe_output.c "call", crm_element_value(xml_op, XML_LRM_ATTR_CALLID), xml_op 2398 lib/pengine/pe_output.c if ((crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 2403 lib/pengine/pe_output.c value = crm_element_value(xml_op, XML_RSC_OP_T_EXEC); xml_op 2409 lib/pengine/pe_output.c value = crm_element_value(xml_op, XML_RSC_OP_T_QUEUE); xml_op 2678 lib/pengine/pe_output.c xmlNode *xml_op = (xmlNode *) gIter->data; xml_op 2679 lib/pengine/pe_output.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 2680 lib/pengine/pe_output.c const char *interval_ms_s = crm_element_value(xml_op, xml_op 2682 lib/pengine/pe_output.c const char *op_rc = crm_element_value(xml_op, XML_LRM_ATTR_RC); xml_op 2705 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 2624 lib/pengine/unpack.c stop_happened_after(pe_resource_t *rsc, pe_node_t *node, xmlNode *xml_op, xml_op 2630 lib/pengine/unpack.c return (stop_op && (pe__call_id(stop_op) > pe__call_id(xml_op))); xml_op 2634 lib/pengine/unpack.c unpack_migrate_to_success(pe_resource_t *rsc, pe_node_t *node, xmlNode *xml_op, xml_op 2659 lib/pengine/unpack.c const char *source = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_SOURCE); xml_op 2660 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); xml_op 2665 lib/pengine/unpack.c if (stop_happened_after(rsc, node, xml_op, data_set)) { xml_op 2691 lib/pengine/unpack.c pe_rsc_trace(rsc, "Detected dangling migration op: %s on %s", ID(xml_op), xml_op 2739 lib/pengine/unpack.c unpack_migrate_to_failure(pe_resource_t *rsc, pe_node_t *node, xmlNode *xml_op, xml_op 2746 lib/pengine/unpack.c const char *source = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_SOURCE); xml_op 2747 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); xml_op 2791 lib/pengine/unpack.c int source_migrate_to_id = pe__call_id(xml_op); xml_op 2809 lib/pengine/unpack.c xmlNode *xml_op, pe_working_set_t *data_set) xml_op 2813 lib/pengine/unpack.c const char *source = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_SOURCE); xml_op 2814 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); xml_op 2873 lib/pengine/unpack.c static const char *get_op_key(xmlNode *xml_op) xml_op 2875 lib/pengine/unpack.c const char *key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 2877 lib/pengine/unpack.c key = ID(xml_op); xml_op 2883 lib/pengine/unpack.c last_change_str(xmlNode *xml_op) xml_op 2888 lib/pengine/unpack.c if (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 2993 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 2999 lib/pengine/unpack.c const char *key = get_op_key(xml_op); xml_op 3000 lib/pengine/unpack.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 3001 lib/pengine/unpack.c const char *exit_reason = crm_element_value(xml_op, xml_op 3007 lib/pengine/unpack.c *last_failure = xml_op; xml_op 3009 lib/pengine/unpack.c is_probe = pcmk_xe_is_probe(xml_op); xml_op 3022 lib/pengine/unpack.c last_change_str(xml_op), rc, ID(xml_op)); xml_op 3029 lib/pengine/unpack.c last_change_str(xml_op), rc, ID(xml_op)); xml_op 3043 lib/pengine/unpack.c record_failed_op(xml_op, node, rsc, data_set); xml_op 3057 lib/pengine/unpack.c unpack_migrate_to_failure(rsc, node, xml_op, data_set); xml_op 3060 lib/pengine/unpack.c unpack_migrate_from_failure(rsc, node, xml_op, data_set); xml_op 3160 lib/pengine/unpack.c remap_operation(xmlNode *xml_op, pe_resource_t *rsc, pe_node_t *node, xml_op 3164 lib/pengine/unpack.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 3165 lib/pengine/unpack.c const char *key = get_op_key(xml_op); xml_op 3166 lib/pengine/unpack.c const char *exit_reason = crm_element_value(xml_op, xml_op 3175 lib/pengine/unpack.c record_failed_op(xml_op, node, rsc, data_set); xml_op 3182 lib/pengine/unpack.c if (!pe_rsc_is_bundled(rsc) && pcmk_xe_mask_probe_failure(xml_op)) { xml_op 3206 lib/pengine/unpack.c is_probe = pcmk_xe_is_probe(xml_op); xml_op 3240 lib/pengine/unpack.c last_change_str(xml_op)); xml_op 3263 lib/pengine/unpack.c last_change_str(xml_op)); xml_op 3280 lib/pengine/unpack.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 3300 lib/pengine/unpack.c last_change_str(xml_op), *rc, ID(xml_op)); xml_op 3312 lib/pengine/unpack.c last_change_str(xml_op)); xml_op 3324 lib/pengine/unpack.c should_clear_for_param_change(xmlNode *xml_op, const char *task, xml_op 3335 lib/pengine/unpack.c pe__add_param_check(xml_op, rsc, node, pe_check_last_failure, xml_op 3341 lib/pengine/unpack.c digest_data = rsc_action_digest_cmp(rsc, xml_op, node, data_set); xml_op 3346 lib/pengine/unpack.c rsc->id, get_op_key(xml_op), node->details->id); xml_op 3374 lib/pengine/unpack.c should_ignore_failure_timeout(pe_resource_t *rsc, xmlNode *xml_op, xml_op 3439 lib/pengine/unpack.c xmlNode *xml_op, pe_working_set_t *data_set) xml_op 3442 lib/pengine/unpack.c bool is_last_failure = pcmk__ends_with(ID(xml_op), "_last_failure_0"); xml_op 3446 lib/pengine/unpack.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 3449 lib/pengine/unpack.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 3452 lib/pengine/unpack.c && (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 3462 lib/pengine/unpack.c && !should_ignore_failure_timeout(rsc, xml_op, task, interval_ms, xml_op 3469 lib/pengine/unpack.c pe_fc_effective, xml_op, xml_op 3475 lib/pengine/unpack.c ID(xml_op), (long long) last_run, (expired? "" : "not "), xml_op 3485 lib/pengine/unpack.c if (pe_get_failcount(node, rsc, NULL, pe_fc_default, xml_op, data_set)) { xml_op 3512 lib/pengine/unpack.c && should_clear_for_param_change(xml_op, task, rsc, node, data_set)) { xml_op 3553 lib/pengine/unpack.c int pe__target_rc_from_xml(xmlNode *xml_op) xml_op 3556 lib/pengine/unpack.c const char *key = crm_element_value(xml_op, XML_ATTR_TRANSITION_KEY); xml_op 3578 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 3584 lib/pengine/unpack.c CRM_ASSERT(xml_op); xml_op 3586 lib/pengine/unpack.c if (rc == PCMK_OCF_NOT_INSTALLED || (!pe_rsc_is_bundled(rsc) && pcmk_xe_mask_probe_failure(xml_op))) { xml_op 3594 lib/pengine/unpack.c const char *op_key = get_op_key(xml_op); xml_op 3631 lib/pengine/unpack.c unpack_migrate_to_success(rsc, node, xml_op, data_set); xml_op 3675 lib/pengine/unpack.c unpack_rsc_op(pe_resource_t *rsc, pe_node_t *node, xmlNode *xml_op, xml_op 3694 lib/pengine/unpack.c CRM_CHECK(rsc && node && xml_op, return); xml_op 3696 lib/pengine/unpack.c target_rc = pe__target_rc_from_xml(xml_op); xml_op 3697 lib/pengine/unpack.c task_key = get_op_key(xml_op); xml_op 3698 lib/pengine/unpack.c task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 3699 lib/pengine/unpack.c exit_reason = crm_element_value(xml_op, XML_LRM_ATTR_EXIT_REASON); xml_op 3704 lib/pengine/unpack.c crm_element_value_int(xml_op, XML_LRM_ATTR_RC, &rc); xml_op 3705 lib/pengine/unpack.c crm_element_value_int(xml_op, XML_LRM_ATTR_CALLID, &task_id); xml_op 3706 lib/pengine/unpack.c crm_element_value_int(xml_op, XML_LRM_ATTR_OPSTATUS, &status); xml_op 3707 lib/pengine/unpack.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 3745 lib/pengine/unpack.c && check_operation_expiry(rsc, node, rc, xml_op, data_set)) { xml_op 3752 lib/pengine/unpack.c remap_operation(xml_op, rsc, node, data_set, on_fail, target_rc, xml_op 3755 lib/pengine/unpack.c maskable_probe_failure = !pe_rsc_is_bundled(rsc) && pcmk_xe_mask_probe_failure(xml_op); xml_op 3765 lib/pengine/unpack.c const char *magic = crm_element_value(xml_op, XML_ATTR_TRANSITION_MAGIC); xml_op 3787 lib/pengine/unpack.c crm_xml_add(xml_op, XML_LRM_ATTR_RESTART_DIGEST, "calculated-failure-timeout"); xml_op 3795 lib/pengine/unpack.c update_resource_state(rsc, node, xml_op, task, target_rc, *last_failure, xml_op 3797 lib/pengine/unpack.c crm_xml_add(xml_op, XML_ATTR_UNAME, node->details->uname); xml_op 3799 lib/pengine/unpack.c record_failed_op(xml_op, node, rsc, data_set); xml_op 3809 lib/pengine/unpack.c ID(xml_op), task, rsc->id, node->details->uname, xml_op 3810 lib/pengine/unpack.c last_change_str(xml_op)); xml_op 3824 lib/pengine/unpack.c const char *migrate_target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); xml_op 3852 lib/pengine/unpack.c last_change_str(xml_op), ID(xml_op)); xml_op 3853 lib/pengine/unpack.c update_resource_state(rsc, node, xml_op, task, rc, *last_failure, on_fail, data_set); xml_op 3863 lib/pengine/unpack.c ID(xml_op)); xml_op 3868 lib/pengine/unpack.c unpack_rsc_op_failure(rsc, node, rc, xml_op, last_failure, on_fail, data_set); xml_op 3908 lib/pengine/unpack.c node->details->uname, last_change_str(xml_op), rc, xml_op 3909 lib/pengine/unpack.c ID(xml_op)); xml_op 3911 lib/pengine/unpack.c update_resource_state(rsc, node, xml_op, task, target_rc, *last_failure, xml_op 3913 lib/pengine/unpack.c crm_xml_add(xml_op, XML_ATTR_UNAME, node->details->uname); xml_op 3916 lib/pengine/unpack.c record_failed_op(xml_op, node, rsc, data_set); xml_op 3924 lib/pengine/unpack.c unpack_rsc_op_failure(rsc, node, rc, xml_op, last_failure, on_fail, xml_op 3934 lib/pengine/unpack.c rc, ID(xml_op)); xml_op 3942 lib/pengine/unpack.c rc, ID(xml_op)); xml_op 2581 lib/pengine/utils.c for (xmlNode *xml_op = pcmk__xml_first_child(rsc->cluster->failed); xml_op != NULL; xml_op 2582 lib/pengine/utils.c xml_op = pcmk__xml_next(xml_op)) { xml_op 2587 lib/pengine/utils.c if (!pcmk_xe_mask_probe_failure(xml_op)) { xml_op 2594 lib/pengine/utils.c value = crm_element_value(xml_op, XML_LRM_ATTR_TARGET); xml_op 2600 lib/pengine/utils.c value = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 2601 lib/pengine/utils.c if (!parse_op_key(value ? value : ID(xml_op), &op_id, NULL, NULL)) { xml_op 2612 lib/pengine/utils.c return xml_op; xml_op 104 tools/crm_resource_print.c xmlNode *xml_op = (xmlNode *) lpc->data; xml_op 105 tools/crm_resource_print.c out->message(out, "node-and-op", data_set, xml_op); xml_op 650 tools/crm_resource_runtime.c for (xmlNode *xml_op = pcmk__xml_first_child(data_set->failed); xml_op 651 tools/crm_resource_runtime.c xml_op != NULL; xml_op 652 tools/crm_resource_runtime.c xml_op = pcmk__xml_next(xml_op)) { xml_op 654 tools/crm_resource_runtime.c failed_id = crm_element_value(xml_op, XML_LRM_ATTR_RSCID); xml_op 672 tools/crm_resource_runtime.c failed_value = crm_element_value(xml_op, XML_ATTR_UNAME); xml_op 679 tools/crm_resource_runtime.c failed_value = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 685 tools/crm_resource_runtime.c failed_value = crm_element_value(xml_op, XML_LRM_ATTR_INTERVAL_MS);