xml_op 689 daemons/controld/controld_execd.c xmlNode *xml_op = NULL; xml_op 703 daemons/controld/controld_execd.c xml_op = pcmk__create_history_xml(parent, op, caller_version, target_rc, xml_op 705 daemons/controld/controld_execd.c if (xml_op == NULL) { 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 591 daemons/controld/controld_messages.c xmlNode *xml_op = get_message_xml(stored_msg, F_CRM_DATA); xml_op 593 daemons/controld/controld_messages.c if (xml_op) { xml_op 594 daemons/controld/controld_messages.c xmlNode *xml_rsc = first_named_child(xml_op, XML_CIB_TAG_RESOURCE); xml_op 595 daemons/controld/controld_messages.c xmlNode *xml_attrs = first_named_child(xml_op, XML_TAG_ATTRS); xml_op 608 daemons/controld/controld_messages.c uname = crm_element_value(xml_op, XML_LRM_ATTR_TARGET); xml_op 615 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 251 daemons/fenced/fenced_history.c op->target = crm_element_value_copy(xml_op, F_STONITH_TARGET); xml_op 252 daemons/fenced/fenced_history.c op->action = crm_element_value_copy(xml_op, F_STONITH_ACTION); xml_op 253 daemons/fenced/fenced_history.c op->originator = crm_element_value_copy(xml_op, F_STONITH_ORIGIN); xml_op 254 daemons/fenced/fenced_history.c op->delegate = crm_element_value_copy(xml_op, F_STONITH_DELEGATE); xml_op 255 daemons/fenced/fenced_history.c op->client_name = crm_element_value_copy(xml_op, F_STONITH_CLIENTNAME); xml_op 256 daemons/fenced/fenced_history.c crm_element_value_ll(xml_op, F_STONITH_DATE, &completed); xml_op 258 daemons/fenced/fenced_history.c crm_element_value_ll(xml_op, F_STONITH_DATE_NSEC, &completed_nsec); xml_op 260 daemons/fenced/fenced_history.c crm_element_value_int(xml_op, F_STONITH_STATE, &state); xml_op 267 daemons/fenced/fenced_history.c if ((crm_element_value_int(xml_op, XML_LRM_ATTR_RC, &exit_status) < 0) xml_op 268 daemons/fenced/fenced_history.c || (crm_element_value_int(xml_op, XML_LRM_ATTR_OPSTATUS, xml_op 274 daemons/fenced/fenced_history.c crm_element_value(xml_op, XML_LRM_ATTR_EXIT_REASON)); xml_op 276 daemons/fenced/fenced_history.c crm_element_value_copy(xml_op, F_STONITH_OUTPUT), xml_op 79 include/crm/common/util.h bool pcmk_xe_is_probe(xmlNode *xml_op); xml_op 80 include/crm/common/util.h bool pcmk_xe_mask_probe_failure(xmlNode *xml_op); xml_op 350 include/crm/pengine/internal.h uint32_t flags, xmlNode *xml_op, xml_op 499 include/crm/pengine/internal.h int pe__target_rc_from_xml(xmlNode *xml_op); xml_op 528 include/crm/pengine/internal.h xmlNode *xml_op, GHashTable *overrides, xml_op 534 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 551 lib/common/operations.c pcmk_xe_is_probe(xmlNode *xml_op) xml_op 553 lib/common/operations.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 554 lib/common/operations.c const char *interval_ms_s = crm_element_value(xml_op, XML_LRM_ATTR_INTERVAL_MS); xml_op 562 lib/common/operations.c pcmk_xe_mask_probe_failure(xmlNode *xml_op) xml_op 567 lib/common/operations.c if (!pcmk_xe_is_probe(xml_op)) { xml_op 571 lib/common/operations.c crm_element_value_int(xml_op, XML_LRM_ATTR_OPSTATUS, &status); xml_op 572 lib/common/operations.c crm_element_value_int(xml_op, XML_LRM_ATTR_RC, &rc); xml_op 267 lib/pacemaker/libpacemaker_private.h xmlNode *xml_op); xml_op 121 lib/pacemaker/pcmk_resource.c xmlNode *xml_op = NULL; xml_op 135 lib/pacemaker/pcmk_resource.c xml_op = best_op(rsc, node, rsc->cluster); xml_op 138 lib/pacemaker/pcmk_resource.c if (xml_op != NULL) { xml_op 139 lib/pacemaker/pcmk_resource.c task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 140 lib/pacemaker/pcmk_resource.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 148 lib/pacemaker/pcmk_resource.c digests = pe__calculate_digests(rsc, task, &interval_ms, node, xml_op, xml_op 1125 lib/pacemaker/pcmk_sched_actions.c xmlNode *xml_op = NULL; xml_op 1195 lib/pacemaker/pcmk_sched_actions.c xml_op = pcmk__xe_match(parent, XML_LRM_TAG_RSC_OP, XML_ATTR_ID, op_id); xml_op 1196 lib/pacemaker/pcmk_sched_actions.c if (xml_op == NULL) { xml_op 1197 lib/pacemaker/pcmk_sched_actions.c xml_op = create_xml_node(parent, XML_LRM_TAG_RSC_OP); xml_op 1214 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, XML_ATTR_ID, op_id); xml_op 1215 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, XML_LRM_ATTR_TASK_KEY, key); xml_op 1216 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, XML_LRM_ATTR_TASK, task); xml_op 1217 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, XML_ATTR_ORIGIN, origin); xml_op 1218 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, XML_ATTR_CRM_VERSION, caller_version); xml_op 1219 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, XML_ATTR_TRANSITION_KEY, op->user_data); xml_op 1220 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, XML_ATTR_TRANSITION_MAGIC, magic); xml_op 1221 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, XML_LRM_ATTR_EXIT_REASON, exit_reason == NULL ? "" : exit_reason); xml_op 1222 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, XML_LRM_ATTR_TARGET, node); /* For context during triage */ xml_op 1224 lib/pacemaker/pcmk_sched_actions.c crm_xml_add_int(xml_op, XML_LRM_ATTR_CALLID, op->call_id); xml_op 1225 lib/pacemaker/pcmk_sched_actions.c crm_xml_add_int(xml_op, XML_LRM_ATTR_RC, op->rc); xml_op 1226 lib/pacemaker/pcmk_sched_actions.c crm_xml_add_int(xml_op, XML_LRM_ATTR_OPSTATUS, op->op_status); xml_op 1227 lib/pacemaker/pcmk_sched_actions.c crm_xml_add_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, op->interval_ms); xml_op 1238 lib/pacemaker/pcmk_sched_actions.c crm_xml_add_ll(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 1241 lib/pacemaker/pcmk_sched_actions.c crm_xml_add_ll(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 1245 lib/pacemaker/pcmk_sched_actions.c crm_xml_add_int(xml_op, XML_RSC_OP_T_EXEC, op->exec_time); xml_op 1246 lib/pacemaker/pcmk_sched_actions.c crm_xml_add_int(xml_op, XML_RSC_OP_T_QUEUE, op->queue_time); xml_op 1256 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, name, crm_meta_value(op->params, name)); xml_op 1259 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, name, crm_meta_value(op->params, name)); xml_op 1262 lib/pacemaker/pcmk_sched_actions.c add_op_digest_to_xml(op, xml_op); xml_op 1278 lib/pacemaker/pcmk_sched_actions.c return xml_op; xml_op 1500 lib/pacemaker/pcmk_sched_actions.c only_sanitized_changed(xmlNode *xml_op, const op_digest_cache_t *digest_data, xml_op 1510 lib/pacemaker/pcmk_sched_actions.c digest_secure = crm_element_value(xml_op, XML_LRM_ATTR_SECURE_DIGEST); xml_op 1610 lib/pacemaker/pcmk_sched_actions.c pcmk__check_action_config(pe_resource_t *rsc, pe_node_t *node, xmlNode *xml_op) xml_op 1616 lib/pacemaker/pcmk_sched_actions.c CRM_CHECK((rsc != NULL) && (node != NULL) && (xml_op != NULL), xml_op 1619 lib/pacemaker/pcmk_sched_actions.c task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 1622 lib/pacemaker/pcmk_sched_actions.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 1633 lib/pacemaker/pcmk_sched_actions.c crm_element_value(xml_op, XML_LRM_ATTR_CALLID), xml_op 1648 lib/pacemaker/pcmk_sched_actions.c digest_data = rsc_action_digest_cmp(rsc, xml_op, node, rsc->cluster); xml_op 1650 lib/pacemaker/pcmk_sched_actions.c if (only_sanitized_changed(xml_op, digest_data, rsc->cluster)) { xml_op 1659 lib/pacemaker/pcmk_sched_actions.c crm_element_value(xml_op, XML_ATTR_TRANSITION_MAGIC)); xml_op 1682 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 102 lib/pengine/pe_digest.c xmlNode *xml_op, const char *op_version, xml_op 181 lib/pengine/pe_digest.c GHashTable *params, xmlNode *xml_op, xml_op 188 lib/pengine/pe_digest.c if (xml_op == NULL) { xml_op 191 lib/pengine/pe_digest.c secure_list = crm_element_value(xml_op, XML_LRM_ATTR_OP_SECURE); xml_op 250 lib/pengine/pe_digest.c calculate_restart_digest(op_digest_cache_t *data, xmlNode *xml_op, xml_op 256 lib/pengine/pe_digest.c if (xml_op == NULL) { xml_op 261 lib/pengine/pe_digest.c if (crm_element_value(xml_op, XML_LRM_ATTR_RESTART_DIGEST) == NULL) { xml_op 269 lib/pengine/pe_digest.c value = crm_element_value(xml_op, XML_LRM_ATTR_OP_RESTART); xml_op 275 lib/pengine/pe_digest.c value = crm_element_value(xml_op, XML_ATTR_CRM_VERSION); xml_op 299 lib/pengine/pe_digest.c pe_node_t *node, xmlNode *xml_op, GHashTable *overrides, xml_op 312 lib/pengine/pe_digest.c if (xml_op != NULL) { xml_op 313 lib/pengine/pe_digest.c op_version = crm_element_value(xml_op, XML_ATTR_CRM_VERSION); xml_op 325 lib/pengine/pe_digest.c calculate_main_digest(data, rsc, node, params, task, interval_ms, xml_op, xml_op 328 lib/pengine/pe_digest.c calculate_secure_digest(data, rsc, params, xml_op, op_version, xml_op 331 lib/pengine/pe_digest.c calculate_restart_digest(data, xml_op, op_version); xml_op 351 lib/pengine/pe_digest.c pe_node_t *node, xmlNode *xml_op, bool calc_secure, xml_op 359 lib/pengine/pe_digest.c data = pe__calculate_digests(rsc, task, &interval_ms, node, xml_op, xml_op 380 lib/pengine/pe_digest.c rsc_action_digest_cmp(pe_resource_t * rsc, xmlNode * xml_op, pe_node_t * node, xml_op 387 lib/pengine/pe_digest.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 393 lib/pengine/pe_digest.c op_version = crm_element_value(xml_op, XML_ATTR_CRM_VERSION); xml_op 394 lib/pengine/pe_digest.c digest_all = crm_element_value(xml_op, XML_LRM_ATTR_OP_DIGEST); xml_op 395 lib/pengine/pe_digest.c digest_restart = crm_element_value(xml_op, XML_LRM_ATTR_RESTART_DIGEST); xml_op 397 lib/pengine/pe_digest.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 398 lib/pengine/pe_digest.c data = rsc_action_digest(rsc, task, interval_ms, node, xml_op, xml_op 409 lib/pengine/pe_digest.c crm_element_value(xml_op, XML_ATTR_TRANSITION_MAGIC)); xml_op 434 lib/pengine/pe_digest.c crm_element_value(xml_op, XML_ATTR_TRANSITION_MAGIC)); xml_op 443 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 1179 lib/pengine/pe_output.c failed_action_friendly(pcmk__output_t *out, xmlNodePtr xml_op, xml_op 1227 lib/pengine/pe_output.c if (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 1256 lib/pengine/pe_output.c failed_action_technical(pcmk__output_t *out, xmlNodePtr xml_op, xml_op 1261 lib/pengine/pe_output.c const char *call_id = crm_element_value(xml_op, XML_LRM_ATTR_CALLID); xml_op 1262 lib/pengine/pe_output.c const char *queue_time = crm_element_value(xml_op, XML_RSC_OP_T_QUEUE); xml_op 1289 lib/pengine/pe_output.c if (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 1313 lib/pengine/pe_output.c xmlNodePtr xml_op = va_arg(args, xmlNodePtr); xml_op 1316 lib/pengine/pe_output.c const char *op_key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 1317 lib/pengine/pe_output.c const char *node_name = crm_element_value(xml_op, XML_ATTR_UNAME); xml_op 1318 lib/pengine/pe_output.c const char *exit_reason = crm_element_value(xml_op, xml_op 1320 lib/pengine/pe_output.c const char *exec_time = crm_element_value(xml_op, XML_RSC_OP_T_EXEC); xml_op 1325 lib/pengine/pe_output.c pcmk__scan_min_int(crm_element_value(xml_op, XML_LRM_ATTR_RC), &rc, 0); xml_op 1327 lib/pengine/pe_output.c pcmk__scan_min_int(crm_element_value(xml_op, XML_LRM_ATTR_OPSTATUS), xml_op 1331 lib/pengine/pe_output.c op_key = ID(xml_op); xml_op 1338 lib/pengine/pe_output.c failed_action_technical(out, xml_op, op_key, node_name, rc, status, xml_op 1341 lib/pengine/pe_output.c failed_action_friendly(out, xml_op, op_key, node_name, rc, status, xml_op 1350 lib/pengine/pe_output.c xmlNodePtr xml_op = va_arg(args, xmlNodePtr); xml_op 1353 lib/pengine/pe_output.c const char *op_key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 1356 lib/pengine/pe_output.c const char *exit_reason = crm_element_value(xml_op, XML_LRM_ATTR_EXIT_REASON); xml_op 1363 lib/pengine/pe_output.c pcmk__scan_min_int(crm_element_value(xml_op, XML_LRM_ATTR_RC), &rc, 0); xml_op 1364 lib/pengine/pe_output.c pcmk__scan_min_int(crm_element_value(xml_op, XML_LRM_ATTR_OPSTATUS), xml_op 1370 lib/pengine/pe_output.c (op_key == NULL)? ID(xml_op) : op_key, xml_op 1371 lib/pengine/pe_output.c "node", crm_element_value(xml_op, XML_ATTR_UNAME), xml_op 1375 lib/pengine/pe_output.c "call", crm_element_value(xml_op, XML_LRM_ATTR_CALLID), xml_op 1380 lib/pengine/pe_output.c if ((crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 1387 lib/pengine/pe_output.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 1394 lib/pengine/pe_output.c "queued", crm_element_value(xml_op, XML_RSC_OP_T_QUEUE), xml_op 1395 lib/pengine/pe_output.c "exec", crm_element_value(xml_op, XML_RSC_OP_T_EXEC), xml_op 1397 lib/pengine/pe_output.c "task", crm_element_value(xml_op, XML_LRM_ATTR_TASK), xml_op 1419 lib/pengine/pe_output.c xmlNode *xml_op = NULL; xml_op 1428 lib/pengine/pe_output.c for (xml_op = pcmk__xml_first_child(data_set->failed); xml_op != NULL; xml_op 1429 lib/pengine/pe_output.c xml_op = pcmk__xml_next(xml_op)) { xml_op 1432 lib/pengine/pe_output.c if (!pcmk__str_in_list(crm_element_value(xml_op, XML_ATTR_UNAME), only_node, xml_op 1437 lib/pengine/pe_output.c if (pcmk_xe_mask_probe_failure(xml_op)) { xml_op 1441 lib/pengine/pe_output.c id = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 1442 lib/pengine/pe_output.c if (!parse_op_key(id ? id : ID(xml_op), &rsc, NULL, NULL)) { xml_op 1454 lib/pengine/pe_output.c out->message(out, "failed-action", xml_op, show_opts); xml_op 1879 lib/pengine/pe_output.c xmlNodePtr xml_op = va_arg(args, xmlNodePtr); xml_op 1885 lib/pengine/pe_output.c const char *op_rsc = crm_element_value(xml_op, "resource"); xml_op 1886 lib/pengine/pe_output.c const char *op_key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 1890 lib/pengine/pe_output.c pcmk__scan_min_int(crm_element_value(xml_op, XML_LRM_ATTR_OPSTATUS), xml_op 1910 lib/pengine/pe_output.c if (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 1915 lib/pengine/pe_output.c crm_element_value(xml_op, XML_RSC_OP_T_EXEC)); xml_op 1919 lib/pengine/pe_output.c node_str, op_key ? op_key : ID(xml_op), xml_op 1920 lib/pengine/pe_output.c crm_element_value(xml_op, XML_ATTR_UNAME), xml_op 1921 lib/pengine/pe_output.c crm_element_value(xml_op, XML_LRM_ATTR_CALLID), xml_op 1922 lib/pengine/pe_output.c crm_element_value(xml_op, XML_LRM_ATTR_RC), xml_op 1935 lib/pengine/pe_output.c xmlNodePtr xml_op = va_arg(args, xmlNodePtr); xml_op 1938 lib/pengine/pe_output.c const char *op_rsc = crm_element_value(xml_op, "resource"); xml_op 1939 lib/pengine/pe_output.c const char *op_key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 1944 lib/pengine/pe_output.c pcmk__scan_min_int(crm_element_value(xml_op, XML_LRM_ATTR_OPSTATUS), xml_op 1947 lib/pengine/pe_output.c "op", op_key ? op_key : ID(xml_op), xml_op 1948 lib/pengine/pe_output.c "node", crm_element_value(xml_op, XML_ATTR_UNAME), xml_op 1949 lib/pengine/pe_output.c "call", crm_element_value(xml_op, XML_LRM_ATTR_CALLID), xml_op 1950 lib/pengine/pe_output.c "rc", crm_element_value(xml_op, XML_LRM_ATTR_RC), xml_op 1971 lib/pengine/pe_output.c if (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 1975 lib/pengine/pe_output.c XML_RSC_OP_T_EXEC, crm_element_value(xml_op, XML_RSC_OP_T_EXEC), xml_op 2433 lib/pengine/pe_output.c xmlNodePtr xml_op = va_arg(args, xmlNodePtr); xml_op 2439 lib/pengine/pe_output.c char *buf = op_history_string(xml_op, task, interval_ms_s, rc, xml_op 2451 lib/pengine/pe_output.c xmlNodePtr xml_op = va_arg(args, xmlNodePtr); xml_op 2459 lib/pengine/pe_output.c "call", crm_element_value(xml_op, XML_LRM_ATTR_CALLID), xml_op 2476 lib/pengine/pe_output.c if ((crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 2481 lib/pengine/pe_output.c value = crm_element_value(xml_op, XML_RSC_OP_T_EXEC); xml_op 2487 lib/pengine/pe_output.c value = crm_element_value(xml_op, XML_RSC_OP_T_QUEUE); xml_op 2764 lib/pengine/pe_output.c xmlNode *xml_op = (xmlNode *) gIter->data; xml_op 2765 lib/pengine/pe_output.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 2766 lib/pengine/pe_output.c const char *interval_ms_s = crm_element_value(xml_op, xml_op 2768 lib/pengine/pe_output.c const char *op_rc = crm_element_value(xml_op, XML_LRM_ATTR_RC); xml_op 2791 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 2681 lib/pengine/unpack.c xmlNode *xml_op, bool same_node, xml_op 2690 lib/pengine/unpack.c return (monitor && pe__is_newer_op(monitor, xml_op, same_node) > 0); xml_op 2706 lib/pengine/unpack.c non_monitor_after(const char *rsc_id, const char *node_name, xmlNode *xml_op, xml_op 2720 lib/pengine/unpack.c if (op == xml_op) { xml_op 2728 lib/pengine/unpack.c && pe__is_newer_op(op, xml_op, same_node) > 0) { xml_op 2753 lib/pengine/unpack.c xmlNode *xml_op = migrate_to; xml_op 2759 lib/pengine/unpack.c xml_op = migrate_from; xml_op 2762 lib/pengine/unpack.c source = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_SOURCE); xml_op 2763 lib/pengine/unpack.c target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); xml_op 2770 lib/pengine/unpack.c xml_op = migrate_from; xml_op 2774 lib/pengine/unpack.c xml_op = migrate_to; xml_op 2779 lib/pengine/unpack.c xml_op = migrate_to; xml_op 2783 lib/pengine/unpack.c xml_op = migrate_from; xml_op 2791 lib/pengine/unpack.c return non_monitor_after(rsc_id, node_name, xml_op, same_node, data_set) xml_op 2792 lib/pengine/unpack.c || monitor_not_running_after(rsc_id, node_name, xml_op, same_node, xml_op 2797 lib/pengine/unpack.c unpack_migrate_to_success(pe_resource_t *rsc, pe_node_t *node, xmlNode *xml_op, xml_op 2843 lib/pengine/unpack.c const char *source = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_SOURCE); xml_op 2844 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); xml_op 2854 lib/pengine/unpack.c source_newer_op = non_monitor_after(rsc->id, source, xml_op, true, xml_op 2871 lib/pengine/unpack.c target_newer_state = newer_state_after_migrate(rsc->id, target, xml_op, xml_op 2897 lib/pengine/unpack.c pe_rsc_trace(rsc, "Detected dangling migration op: %s on %s", ID(xml_op), xml_op 2954 lib/pengine/unpack.c unpack_migrate_to_failure(pe_resource_t *rsc, pe_node_t *node, xmlNode *xml_op, xml_op 2958 lib/pengine/unpack.c const char *source = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_SOURCE); xml_op 2959 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); xml_op 2982 lib/pengine/unpack.c && !newer_state_after_migrate(rsc->id, target, xml_op, target_migrate_from, xml_op 2994 lib/pengine/unpack.c } else if (!non_monitor_after(rsc->id, source, xml_op, true, data_set)) { xml_op 3007 lib/pengine/unpack.c xmlNode *xml_op, pe_working_set_t *data_set) xml_op 3010 lib/pengine/unpack.c const char *source = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_SOURCE); xml_op 3011 lib/pengine/unpack.c const char *target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); xml_op 3034 lib/pengine/unpack.c && !newer_state_after_migrate(rsc->id, source, source_migrate_to, xml_op, xml_op 3075 lib/pengine/unpack.c static const char *get_op_key(xmlNode *xml_op) xml_op 3077 lib/pengine/unpack.c const char *key = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 3079 lib/pengine/unpack.c key = ID(xml_op); xml_op 3085 lib/pengine/unpack.c last_change_str(const xmlNode *xml_op) xml_op 3090 lib/pengine/unpack.c if (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 3195 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 3201 lib/pengine/unpack.c const char *key = get_op_key(xml_op); xml_op 3202 lib/pengine/unpack.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 3203 lib/pengine/unpack.c const char *exit_reason = crm_element_value(xml_op, xml_op 3209 lib/pengine/unpack.c *last_failure = xml_op; xml_op 3211 lib/pengine/unpack.c is_probe = pcmk_xe_is_probe(xml_op); xml_op 3224 lib/pengine/unpack.c last_change_str(xml_op), rc, ID(xml_op)); xml_op 3231 lib/pengine/unpack.c last_change_str(xml_op), rc, ID(xml_op)); xml_op 3245 lib/pengine/unpack.c record_failed_op(xml_op, node, rsc, data_set); xml_op 3259 lib/pengine/unpack.c unpack_migrate_to_failure(rsc, node, xml_op, data_set); xml_op 3262 lib/pengine/unpack.c unpack_migrate_from_failure(rsc, node, xml_op, data_set); xml_op 3349 lib/pengine/unpack.c int exit_status, const xmlNode *xml_op) xml_op 3360 lib/pengine/unpack.c exit_reason = crm_element_value(xml_op, XML_LRM_ATTR_EXIT_REASON); xml_op 3366 lib/pengine/unpack.c last_change_str(xml_op), exit_status, ID(xml_op)); xml_op 3400 lib/pengine/unpack.c remap_operation(xmlNode *xml_op, pe_resource_t *rsc, pe_node_t *node, xml_op 3404 lib/pengine/unpack.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 3405 lib/pengine/unpack.c const char *key = get_op_key(xml_op); xml_op 3406 lib/pengine/unpack.c const char *exit_reason = crm_element_value(xml_op, xml_op 3415 lib/pengine/unpack.c record_failed_op(xml_op, node, rsc, data_set); xml_op 3422 lib/pengine/unpack.c if (!pe_rsc_is_bundled(rsc) && pcmk_xe_mask_probe_failure(xml_op)) { xml_op 3446 lib/pengine/unpack.c is_probe = pcmk_xe_is_probe(xml_op); xml_op 3480 lib/pengine/unpack.c last_change_str(xml_op)); xml_op 3503 lib/pengine/unpack.c last_change_str(xml_op)); xml_op 3521 lib/pengine/unpack.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, xml_op 3525 lib/pengine/unpack.c check_recoverable(rsc, node, task, *rc, xml_op); xml_op 3536 lib/pengine/unpack.c check_recoverable(rsc, node, task, *rc, xml_op); xml_op 3545 lib/pengine/unpack.c last_change_str(xml_op)); xml_op 3557 lib/pengine/unpack.c should_clear_for_param_change(xmlNode *xml_op, const char *task, xml_op 3568 lib/pengine/unpack.c pe__add_param_check(xml_op, rsc, node, pe_check_last_failure, xml_op 3574 lib/pengine/unpack.c digest_data = rsc_action_digest_cmp(rsc, xml_op, node, data_set); xml_op 3579 lib/pengine/unpack.c rsc->id, get_op_key(xml_op), node->details->id); xml_op 3607 lib/pengine/unpack.c should_ignore_failure_timeout(pe_resource_t *rsc, xmlNode *xml_op, xml_op 3672 lib/pengine/unpack.c xmlNode *xml_op, pe_working_set_t *data_set) xml_op 3675 lib/pengine/unpack.c bool is_last_failure = pcmk__ends_with(ID(xml_op), "_last_failure_0"); xml_op 3679 lib/pengine/unpack.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 3682 lib/pengine/unpack.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 3685 lib/pengine/unpack.c && (crm_element_value_epoch(xml_op, XML_RSC_OP_LAST_CHANGE, xml_op 3695 lib/pengine/unpack.c && !should_ignore_failure_timeout(rsc, xml_op, task, interval_ms, xml_op 3702 lib/pengine/unpack.c pe_fc_effective, xml_op, xml_op 3708 lib/pengine/unpack.c ID(xml_op), (long long) last_run, (expired? "" : "not "), xml_op 3718 lib/pengine/unpack.c if (pe_get_failcount(node, rsc, NULL, pe_fc_default, xml_op, data_set)) { xml_op 3745 lib/pengine/unpack.c && should_clear_for_param_change(xml_op, task, rsc, node, data_set)) { xml_op 3786 lib/pengine/unpack.c int pe__target_rc_from_xml(xmlNode *xml_op) xml_op 3789 lib/pengine/unpack.c const char *key = crm_element_value(xml_op, XML_ATTR_TRANSITION_KEY); xml_op 3811 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 3817 lib/pengine/unpack.c CRM_ASSERT(xml_op); xml_op 3819 lib/pengine/unpack.c if (rc == PCMK_OCF_NOT_INSTALLED || (!pe_rsc_is_bundled(rsc) && pcmk_xe_mask_probe_failure(xml_op))) { xml_op 3827 lib/pengine/unpack.c const char *op_key = get_op_key(xml_op); xml_op 3864 lib/pengine/unpack.c unpack_migrate_to_success(rsc, node, xml_op, data_set); xml_op 3908 lib/pengine/unpack.c unpack_rsc_op(pe_resource_t *rsc, pe_node_t *node, xmlNode *xml_op, xml_op 3927 lib/pengine/unpack.c CRM_CHECK(rsc && node && xml_op, return); xml_op 3929 lib/pengine/unpack.c target_rc = pe__target_rc_from_xml(xml_op); xml_op 3930 lib/pengine/unpack.c task_key = get_op_key(xml_op); xml_op 3931 lib/pengine/unpack.c task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 3932 lib/pengine/unpack.c exit_reason = crm_element_value(xml_op, XML_LRM_ATTR_EXIT_REASON); xml_op 3937 lib/pengine/unpack.c crm_element_value_int(xml_op, XML_LRM_ATTR_RC, &rc); xml_op 3938 lib/pengine/unpack.c crm_element_value_int(xml_op, XML_LRM_ATTR_CALLID, &task_id); xml_op 3939 lib/pengine/unpack.c crm_element_value_int(xml_op, XML_LRM_ATTR_OPSTATUS, &status); xml_op 3940 lib/pengine/unpack.c crm_element_value_ms(xml_op, XML_LRM_ATTR_INTERVAL_MS, &interval_ms); xml_op 3980 lib/pengine/unpack.c && check_operation_expiry(rsc, node, rc, xml_op, data_set)) { xml_op 3987 lib/pengine/unpack.c remap_operation(xml_op, rsc, node, data_set, on_fail, target_rc, xml_op 3990 lib/pengine/unpack.c maskable_probe_failure = !pe_rsc_is_bundled(rsc) && pcmk_xe_mask_probe_failure(xml_op); xml_op 4000 lib/pengine/unpack.c const char *magic = crm_element_value(xml_op, XML_ATTR_TRANSITION_MAGIC); xml_op 4022 lib/pengine/unpack.c crm_xml_add(xml_op, XML_LRM_ATTR_RESTART_DIGEST, "calculated-failure-timeout"); xml_op 4031 lib/pengine/unpack.c update_resource_state(rsc, node, xml_op, task, target_rc, *last_failure, xml_op 4033 lib/pengine/unpack.c crm_xml_add(xml_op, XML_ATTR_UNAME, node->details->uname); xml_op 4035 lib/pengine/unpack.c record_failed_op(xml_op, node, rsc, data_set); xml_op 4045 lib/pengine/unpack.c ID(xml_op), task, rsc->id, pe__node_name(node), xml_op 4046 lib/pengine/unpack.c last_change_str(xml_op)); xml_op 4060 lib/pengine/unpack.c const char *migrate_target = crm_element_value(xml_op, XML_LRM_ATTR_MIGRATE_TARGET); xml_op 4088 lib/pengine/unpack.c last_change_str(xml_op), ID(xml_op)); xml_op 4089 lib/pengine/unpack.c update_resource_state(rsc, node, xml_op, task, rc, *last_failure, on_fail, data_set); xml_op 4099 lib/pengine/unpack.c ID(xml_op)); xml_op 4104 lib/pengine/unpack.c unpack_rsc_op_failure(rsc, node, rc, xml_op, last_failure, on_fail, data_set); xml_op 4144 lib/pengine/unpack.c pe__node_name(node), last_change_str(xml_op), rc, xml_op 4145 lib/pengine/unpack.c ID(xml_op)); xml_op 4147 lib/pengine/unpack.c update_resource_state(rsc, node, xml_op, task, target_rc, *last_failure, xml_op 4149 lib/pengine/unpack.c crm_xml_add(xml_op, XML_ATTR_UNAME, node->details->uname); xml_op 4152 lib/pengine/unpack.c record_failed_op(xml_op, node, rsc, data_set); xml_op 4160 lib/pengine/unpack.c unpack_rsc_op_failure(rsc, node, rc, xml_op, last_failure, on_fail, xml_op 4170 lib/pengine/unpack.c rc, ID(xml_op)); xml_op 4178 lib/pengine/unpack.c rc, ID(xml_op)); xml_op 870 lib/pengine/utils.c for (xmlNode *xml_op = pcmk__xml_first_child(rsc->cluster->failed); xml_op != NULL; xml_op 871 lib/pengine/utils.c xml_op = pcmk__xml_next(xml_op)) { xml_op 876 lib/pengine/utils.c if (!pcmk_xe_mask_probe_failure(xml_op)) { xml_op 883 lib/pengine/utils.c value = crm_element_value(xml_op, XML_LRM_ATTR_TARGET); xml_op 889 lib/pengine/utils.c value = crm_element_value(xml_op, XML_LRM_ATTR_TASK_KEY); xml_op 890 lib/pengine/utils.c if (!parse_op_key(value ? value : ID(xml_op), &op_id, NULL, NULL)) { xml_op 901 lib/pengine/utils.c return xml_op; xml_op 107 tools/crm_resource_print.c xmlNode *xml_op = (xmlNode *) lpc->data; xml_op 108 tools/crm_resource_print.c out->message(out, "node-and-op", data_set, xml_op); xml_op 618 tools/crm_resource_runtime.c for (xmlNode *xml_op = pcmk__xml_first_child(data_set->failed); xml_op 619 tools/crm_resource_runtime.c xml_op != NULL; xml_op 620 tools/crm_resource_runtime.c xml_op = pcmk__xml_next(xml_op)) { xml_op 622 tools/crm_resource_runtime.c failed_id = crm_element_value(xml_op, XML_LRM_ATTR_RSCID); xml_op 640 tools/crm_resource_runtime.c failed_value = crm_element_value(xml_op, XML_ATTR_UNAME); xml_op 647 tools/crm_resource_runtime.c failed_value = crm_element_value(xml_op, XML_LRM_ATTR_TASK); xml_op 653 tools/crm_resource_runtime.c failed_value = crm_element_value(xml_op, XML_LRM_ATTR_INTERVAL_MS);