task 282 daemons/controld/controld_callbacks.c const char *task = crm_element_value(down->xml, PCMK_XA_OPERATION); task 284 daemons/controld/controld_callbacks.c if (pcmk__str_eq(task, PCMK_ACTION_STONITH, pcmk__str_casei)) { task 292 daemons/controld/controld_callbacks.c } else if (!appeared && pcmk__str_eq(task, PCMK_ACTION_DO_SHUTDOWN, task 303 daemons/controld/controld_callbacks.c task, node->name, down->id); task 306 daemons/controld/controld_callbacks.c task, node->name, down->id); task 322 daemons/controld/controld_callbacks.c node->name, liveness, task, down->id); task 266 daemons/controld/controld_execd.c const char *task, const char *ack_host, const char *ack_sys) task 268 daemons/controld/controld_execd.c lrmd_event_data_t *op = construct_op(lrm_state, input->xml, rsc_id, task); task 413 daemons/controld/controld_fencing.c const char *task = NULL; task 436 daemons/controld/controld_fencing.c task = crm_element_value(action->xml, PCMK_XA_OPERATION); task 437 daemons/controld/controld_fencing.c if (pcmk__str_eq(task, PCMK_ACTION_STONITH, pcmk__str_casei)) { task 344 daemons/controld/controld_messages.c const char *task = NULL; task 354 daemons/controld/controld_messages.c task = crm_element_value(msg, PCMK__XA_CRM_TASK); task 363 daemons/controld/controld_messages.c if (pcmk__str_eq(task, CRM_OP_HELLO, pcmk__str_casei)) { task 412 daemons/controld/controld_messages.c if (pcmk__strcase_any_of(task, CRM_OP_NODE_INFO, task 431 daemons/controld/controld_messages.c } else if (is_for_crm && pcmk__str_eq(task, CRM_OP_LRM_DELETE, pcmk__str_casei)) { task 444 daemons/controld/controld_messages.c if (is_for_dc && pcmk__str_eq(task, CRM_OP_PING, pcmk__str_casei) task 46 daemons/controld/controld_te_actions.c const char *task = crm_element_value(pseudo->xml, PCMK_XA_OPERATION); task 49 daemons/controld/controld_te_actions.c if (pcmk__str_eq(task, PCMK_ACTION_MAINTENANCE_NODES, pcmk__str_casei)) { task 62 daemons/controld/controld_te_actions.c node->name, CRM_SYSTEM_CRMD, task, task 107 daemons/controld/controld_te_actions.c const char *task = NULL; task 120 daemons/controld/controld_te_actions.c task = crm_element_value(action->xml, PCMK_XA_OPERATION); task 121 daemons/controld/controld_te_actions.c CRM_CHECK(!pcmk__str_empty(task), return EPROTO); task 129 daemons/controld/controld_te_actions.c if (pcmk__str_eq(task, PCMK_ACTION_LRM_DELETE, pcmk__str_none)) { task 148 daemons/controld/controld_te_actions.c id, task, on_node, (is_local? " locally" : ""), task 152 daemons/controld/controld_te_actions.c && pcmk__str_eq(task, PCMK_ACTION_DO_SHUTDOWN, pcmk__str_none)) { task 160 daemons/controld/controld_te_actions.c } else if (pcmk__str_eq(task, PCMK_ACTION_DO_SHUTDOWN, pcmk__str_none)) { task 169 daemons/controld/controld_te_actions.c CRM_SYSTEM_CRMD, task, action->xml); task 192 daemons/controld/controld_te_actions.c action->id, task, on_node, action->timeout, graph->network_delay); task 364 daemons/controld/controld_te_actions.c const char *task = NULL; task 377 daemons/controld/controld_te_actions.c pcmk__xe_id(action->xml), pcmk__s(task, "without task")); task 381 daemons/controld/controld_te_actions.c task = crm_element_value(rsc_op, PCMK_XA_OPERATION); task 404 daemons/controld/controld_te_actions.c task, task_uuid, (is_local? " locally" : ""), on_node, task 458 daemons/controld/controld_te_actions.c action->id, task, task_uuid, on_node, action->timeout); task 462 daemons/controld/controld_te_actions.c action->id, task, task_uuid, on_node, action->timeout, graph->network_delay); task 529 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, PCMK_XA_OPERATION); task 544 daemons/controld/controld_te_actions.c && pcmk__strcase_any_of(task, PCMK_ACTION_MIGRATE_TO, task 578 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, PCMK_XA_OPERATION); task 604 daemons/controld/controld_te_actions.c if (pcmk__strcase_any_of(task, PCMK_ACTION_MIGRATE_TO, task 630 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, PCMK_XA_OPERATION); task 644 daemons/controld/controld_te_actions.c && pcmk__strcase_any_of(task, PCMK_ACTION_MIGRATE_TO, task 480 daemons/controld/controld_te_callbacks.c const char *task = NULL; task 488 daemons/controld/controld_te_callbacks.c task = crm_element_value(action->xml, PCMK_XA_OPERATION); task 495 daemons/controld/controld_te_callbacks.c (on_node? on_node : ""), (task? task : "unknown action"), task 502 daemons/controld/controld_te_callbacks.c (on_node? on_node : ""), (task? task : "unknown action"), task 516 daemons/controld/controld_te_callbacks.c && controld_action_is_recordable(task)) { task 111 daemons/controld/controld_te_events.c const char *task = crm_element_value(action->xml, task 114 daemons/controld/controld_te_events.c if (pcmk__str_eq(task, PCMK_ACTION_STONITH, pcmk__str_casei)) { task 184 daemons/controld/controld_te_events.c char *task = NULL; task 203 daemons/controld/controld_te_events.c CRM_CHECK(parse_op_key(id, &rsc_id, &task, &interval_ms), task 208 daemons/controld/controld_te_events.c || pcmk__str_eq(task, PCMK_ACTION_PROMOTE, pcmk__str_none) task 209 daemons/controld/controld_te_events.c || pcmk__str_eq(task, PCMK_ACTION_DEMOTE, pcmk__str_none)) { task 212 daemons/controld/controld_te_events.c } else if (pcmk__str_eq(task, PCMK_ACTION_START, pcmk__str_none)) { task 217 daemons/controld/controld_te_events.c } else if (pcmk__str_eq(task, PCMK_ACTION_STOP, pcmk__str_none)) { task 245 daemons/controld/controld_te_events.c rsc_id, on_uname, task, rc, value, now); task 251 daemons/controld/controld_te_events.c fail_name = pcmk__failcount_name(rsc_id, task, interval_ms); task 264 daemons/controld/controld_te_events.c last_name = pcmk__lastfailure_name(rsc_id, task, interval_ms); task 285 daemons/controld/controld_te_events.c free(task); task 319 daemons/controld/controld_te_events.c const char *task = NULL; task 323 daemons/controld/controld_te_events.c task = crm_element_value(action->xml, PCMK_XA_OPERATION); task 324 daemons/controld/controld_te_events.c if (!pcmk__str_eq(PCMK_ACTION_CANCEL, task, pcmk__str_casei)) { task 328 daemons/controld/controld_te_events.c task = crm_element_value(action->xml, PCMK__XA_OPERATION_KEY); task 329 daemons/controld/controld_te_events.c if (!pcmk__str_eq(task, id, pcmk__str_casei)) { task 330 daemons/controld/controld_te_events.c crm_trace("Wrong key %s for %s on %s", task, id, node); task 36 daemons/controld/controld_transition.h const char *get_rsc_state(const char *task, enum pcmk_exec_status status); task 86 include/crm/common/actions.h const char *task, const char *interval_spec, task 206 include/crm/common/actions_internal.h char *task; // Action name task 112 include/crm/common/messages_internal.h recipient_node, recipient_system, task, data) \ task 115 include/crm/common/messages_internal.h (recipient_system), (task), (data)) task 142 include/crm/common/messages_internal.h recipient_system, task, data) \ task 145 include/crm/common/messages_internal.h (recipient_system), (task), (data)) task 168 include/crm/common/messages_internal.h const char *recipient_system, const char *task, task 27 include/crm/common/probes.h bool pcmk_is_probe(const char *task, guint interval); task 101 include/crm/lrmd_events.h lrmd_event_data_t *lrmd_new_event(const char *rsc_id, const char *task, task 35 include/crm/lrmd_internal.h const char *target, const char *task, task 53 include/crm/pengine/internal.h pcmk_action_t *pe__new_rsc_pseudo_action(pcmk_resource_t *rsc, const char *task, task 191 include/crm/pengine/internal.h pcmk_action_t *custom_action(pcmk_resource_t *rsc, char *key, const char *task, task 223 include/crm/pengine/internal.h const char *task, const pcmk_node_t *on_node); task 232 include/crm/pengine/internal.h const char *task, bool require_node); task 270 include/crm/pengine/internal.h pcmk__op_digest_t *pe__calculate_digests(pcmk_resource_t *rsc, const char *task, task 519 lib/common/actions.c crm_create_op_xml(xmlNode *parent, const char *prefix, const char *task, task 524 lib/common/actions.c CRM_CHECK(prefix && task && interval_spec, return NULL); task 527 lib/common/actions.c pcmk__xe_set_id(xml_op, "%s-%s-%s", prefix, task, interval_spec); task 529 lib/common/actions.c crm_xml_add(xml_op, PCMK_XA_NAME, task); task 298 lib/common/ipc_pacemakerd.c do_pacemakerd_api_call(pcmk_ipc_api_t *api, const char *ipc_name, const char *task) task 315 lib/common/ipc_pacemakerd.c CRM_SYSTEM_MCP, task, NULL); task 156 lib/common/ipc_schedulerd.c do_schedulerd_api_call(pcmk_ipc_api_t *api, const char *task, xmlNode *cib, char **ref) task 173 lib/common/ipc_schedulerd.c CRM_SYSTEM_PENGINE, task, cib); task 61 lib/common/messages.c const char *task, xmlNode *data) task 71 lib/common/messages.c && !pcmk__str_empty(task), task 76 lib/common/messages.c message_id = crm_strdup_printf("%s-%s-%llu-%u", task, sender_system, task 92 lib/common/messages.c PCMK__XA_CRM_TASK, task, task 31 lib/common/probes.c pcmk_is_probe(const char *task, guint interval_ms) task 35 lib/common/probes.c && pcmk__str_eq(task, PCMK_ACTION_MONITOR, pcmk__str_none); task 306 lib/lrmd/lrmd_alerts.c const char *target, const char *task, const char *desc, task 317 lib/lrmd/lrmd_alerts.c params = alert_key2param(params, PCMK__alert_key_task, task); task 195 lib/lrmd/lrmd_client.c lrmd_new_event(const char *rsc_id, const char *task, guint interval_ms) task 201 lib/lrmd/lrmd_client.c event->op_type = pcmk__str_copy(task); task 410 lib/pacemaker/libpacemaker_private.h const char *task, guint interval_ms, task 414 lib/pacemaker/libpacemaker_private.h void pcmk__reschedule_recurring(pcmk_resource_t *rsc, const char *task, task 986 lib/pacemaker/libpacemaker_private.h const char *task, guint interval_ms, int rc, task 147 lib/pacemaker/pcmk_graph_producer.c if (pcmk__str_eq(action->task, PCMK_ACTION_DO_SHUTDOWN, pcmk__str_none)) { task 153 lib/pacemaker/pcmk_graph_producer.c } else if (pcmk__str_eq(action->task, PCMK_ACTION_STONITH, task 170 lib/pacemaker/pcmk_graph_producer.c && pcmk__str_eq(action->task, PCMK_ACTION_STOP, task 184 lib/pacemaker/pcmk_graph_producer.c && pcmk__str_eq(input->task, PCMK_ACTION_MIGRATE_FROM, task 209 lib/pacemaker/pcmk_graph_producer.c if (pcmk__str_eq(action->task, PCMK_ACTION_NOTIFY, pcmk__str_none)) { task 218 lib/pacemaker/pcmk_graph_producer.c pcmk__s(action->cancel_task, action->task), task 403 lib/pacemaker/pcmk_graph_producer.c if (pcmk__str_eq(action->task, PCMK_ACTION_STONITH, pcmk__str_none)) { task 411 lib/pacemaker/pcmk_graph_producer.c } else if (pcmk__str_any_of(action->task, task 416 lib/pacemaker/pcmk_graph_producer.c } else if (pcmk__str_eq(action->task, PCMK_ACTION_LRM_DELETE, task 423 lib/pacemaker/pcmk_graph_producer.c if (pcmk__str_eq(action->task, PCMK_ACTION_MAINTENANCE_NODES, task 435 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(action_xml, PCMK_XA_OPERATION, action->task); task 515 lib/pacemaker/pcmk_graph_producer.c && !pcmk__str_eq(action->task, PCMK_ACTION_MONITOR, pcmk__str_none)) { task 536 lib/pacemaker/pcmk_graph_producer.c || pcmk__strcase_any_of(action->task, PCMK_ACTION_STONITH, task 669 lib/pacemaker/pcmk_graph_producer.c && pcmk__str_eq(action->task, PCMK_ACTION_MIGRATE_TO, task 1083 lib/pacemaker/pcmk_graph_producer.c && pcmk__str_eq(action->task, PCMK_ACTION_STOP, pcmk__str_none)) { task 97 lib/pacemaker/pcmk_injections.c const char *resource, const char *task, task 107 lib/pacemaker/pcmk_injections.c && (resource != NULL) && (task != NULL), return); task 115 lib/pacemaker/pcmk_injections.c name = pcmk__failcount_name(resource, task, interval_ms); task 139 lib/pacemaker/pcmk_injections.c name = pcmk__lastfailure_name(resource, task, interval_ms); task 192 lib/pacemaker/pcmk_injections.c create_op(const xmlNode *cib_resource, const char *task, guint interval_ms, task 198 lib/pacemaker/pcmk_injections.c op = lrmd_new_event(pcmk__xe_id(cib_resource), task, interval_ms); task 565 lib/pacemaker/pcmk_injections.c char *task = NULL; task 590 lib/pacemaker/pcmk_injections.c parse_op_key(key, &resource, &task, &interval_ms); task 605 lib/pacemaker/pcmk_injections.c if (pcmk__str_eq(task, PCMK_ACTION_STOP, pcmk__str_none)) { task 608 lib/pacemaker/pcmk_injections.c } else if (pcmk__str_eq(task, PCMK_ACTION_START, pcmk__str_none) task 614 lib/pacemaker/pcmk_injections.c pcmk__inject_failcount(out, cib, cib_node, resource, task, interval_ms, task 622 lib/pacemaker/pcmk_injections.c op = create_op(cib_resource, task, interval_ms, outcome); task 633 lib/pacemaker/pcmk_injections.c free(task); task 986 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 996 lib/pacemaker/pcmk_output.c ((task == NULL)? "unknown" : task)); task 997 lib/pacemaker/pcmk_output.c } else if (pcmk__str_eq(task, PCMK_ACTION_MONITOR, pcmk__str_none)) { task 1001 lib/pacemaker/pcmk_output.c ((task == NULL)? "unknown" : task)); task 1054 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1065 lib/pacemaker/pcmk_output.c PCMK_XA_TASK, pcmk__s(task, ""), task 1327 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1331 lib/pacemaker/pcmk_output.c if (task == NULL) { task 1334 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s %s '%s'", task, node_name, reason); task 1336 lib/pacemaker/pcmk_output.c crm_notice(" * %s %s", task, node_name); task 1346 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1350 lib/pacemaker/pcmk_output.c if (task == NULL) { task 1354 lib/pacemaker/pcmk_output.c PCMK_XA_TASK, task, task 1359 lib/pacemaker/pcmk_output.c crm_notice(" * %s %s", task, node_name); task 1417 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1426 lib/pacemaker/pcmk_output.c task, pcmk__xe_id(rsc), node); task 1428 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Cluster action: %s on %s", task, node); task 1440 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1450 lib/pacemaker/pcmk_output.c PCMK_XA_TASK, task, task 1710 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1717 lib/pacemaker/pcmk_output.c task, ((node == NULL)? "" : " on "), pcmk__s(node, "")); task 1726 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1735 lib/pacemaker/pcmk_output.c PCMK_XA_TASK, task, task 58 lib/pacemaker/pcmk_resource.c const char *task = crm_element_value(lrm_rsc_op, PCMK_XA_OPERATION); task 66 lib/pacemaker/pcmk_resource.c && pcmk__strcase_any_of(task, PCMK_ACTION_MONITOR, task 200 lib/pacemaker/pcmk_resource.c const char *task = NULL; task 220 lib/pacemaker/pcmk_resource.c task = crm_element_value(xml_op, PCMK_XA_OPERATION); task 223 lib/pacemaker/pcmk_resource.c if (task == NULL) { // Assume start if no history is available task 224 lib/pacemaker/pcmk_resource.c task = PCMK_ACTION_START; task 229 lib/pacemaker/pcmk_resource.c digests = pe__calculate_digests(rsc, task, &interval_ms, node, xml_op, task 231 lib/pacemaker/pcmk_resource.c rc = out->message(out, "digests", rsc, node, task, interval_ms, digests); task 474 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(first->task, PCMK_ACTION_STOP, pcmk__str_none)) { task 550 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(first->task, PCMK_ACTION_START, pcmk__str_none)) { task 561 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(then->task, PCMK_ACTION_START, pcmk__str_none)) { task 594 lib/pacemaker/pcmk_sched_actions.c if (!strcmp(first->task, PCMK_ACTION_RELOAD_AGENT)) { task 734 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(then->task, PCMK_ACTION_STOP, pcmk__str_none)) { task 740 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(then->task, PCMK_ACTION_START, pcmk__str_none) task 986 lib/pacemaker/pcmk_sched_actions.c switch (pcmk__parse_action(action->task)) { task 1134 lib/pacemaker/pcmk_sched_actions.c const char *task = NULL; task 1142 lib/pacemaker/pcmk_sched_actions.c task = op->op_type; task 1153 lib/pacemaker/pcmk_sched_actions.c if (pcmk__str_any_of(task, PCMK_ACTION_RELOAD, PCMK_ACTION_RELOAD_AGENT, task 1156 lib/pacemaker/pcmk_sched_actions.c task = PCMK_ACTION_START; task 1158 lib/pacemaker/pcmk_sched_actions.c task = PCMK_ACTION_MONITOR; task 1162 lib/pacemaker/pcmk_sched_actions.c key = pcmk__op_key(op->rsc_id, task, op->interval_ms); task 1163 lib/pacemaker/pcmk_sched_actions.c if (pcmk__str_eq(task, PCMK_ACTION_NOTIFY, pcmk__str_none)) { task 1227 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, PCMK_XA_OPERATION, task); task 1320 lib/pacemaker/pcmk_sched_actions.c if (action->node->details->shutdown && (action->task != NULL) task 1321 lib/pacemaker/pcmk_sched_actions.c && (strcmp(action->task, PCMK_ACTION_STOP) != 0)) { task 1410 lib/pacemaker/pcmk_sched_actions.c char *task = NULL; task 1420 lib/pacemaker/pcmk_sched_actions.c if (pcmk__str_eq(action->task, PCMK_ACTION_DO_SHUTDOWN, task 1422 lib/pacemaker/pcmk_sched_actions.c task = strdup("Shutdown"); task 1424 lib/pacemaker/pcmk_sched_actions.c } else if (pcmk__str_eq(action->task, PCMK_ACTION_STONITH, task 1429 lib/pacemaker/pcmk_sched_actions.c task = crm_strdup_printf("Fence (%s)", op); task 1445 lib/pacemaker/pcmk_sched_actions.c out->message(out, "node-action", task, node_name, action->reason); task 1448 lib/pacemaker/pcmk_sched_actions.c free(task); task 1471 lib/pacemaker/pcmk_sched_actions.c task_for_digest(const char *task, guint interval_ms) task 1477 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_any_of(task, PCMK_ACTION_MONITOR, PCMK_ACTION_MIGRATE_FROM, task 1479 lib/pacemaker/pcmk_sched_actions.c task = PCMK_ACTION_START; task 1481 lib/pacemaker/pcmk_sched_actions.c return task; task 1530 lib/pacemaker/pcmk_sched_actions.c force_restart(pcmk_resource_t *rsc, const char *task, guint interval_ms, task 1533 lib/pacemaker/pcmk_sched_actions.c char *key = pcmk__op_key(rsc->id, task, interval_ms); task 1534 lib/pacemaker/pcmk_sched_actions.c pcmk_action_t *required = custom_action(rsc, key, task, NULL, FALSE, task 1621 lib/pacemaker/pcmk_sched_actions.c const char *task = NULL; task 1627 lib/pacemaker/pcmk_sched_actions.c task = crm_element_value(xml_op, PCMK_XA_OPERATION); task 1628 lib/pacemaker/pcmk_sched_actions.c CRM_CHECK(task != NULL, return false); task 1634 lib/pacemaker/pcmk_sched_actions.c if (pcmk__find_action_config(rsc, task, interval_ms, false) != NULL) { task 1637 lib/pacemaker/pcmk_sched_actions.c pcmk__readable_interval(interval_ms), task, rsc->id, task 1643 lib/pacemaker/pcmk_sched_actions.c task, interval_ms, node, "orphan"); task 1647 lib/pacemaker/pcmk_sched_actions.c pcmk__readable_interval(interval_ms), task, rsc->id, task 1654 lib/pacemaker/pcmk_sched_actions.c pcmk__readable_interval(interval_ms), task, rsc->id, task 1656 lib/pacemaker/pcmk_sched_actions.c task = task_for_digest(task, interval_ms); task 1667 lib/pacemaker/pcmk_sched_actions.c pcmk__readable_interval(interval_ms), task, rsc->id, task 1677 lib/pacemaker/pcmk_sched_actions.c force_restart(rsc, task, interval_ms, node); task 1690 lib/pacemaker/pcmk_sched_actions.c pcmk__reschedule_recurring(rsc, task, interval_ms, node); task 1708 lib/pacemaker/pcmk_sched_actions.c force_restart(rsc, task, interval_ms, node); task 1806 lib/pacemaker/pcmk_sched_actions.c const char *task = NULL; task 1814 lib/pacemaker/pcmk_sched_actions.c task = crm_element_value(rsc_op, PCMK_XA_OPERATION); task 1823 lib/pacemaker/pcmk_sched_actions.c task, interval_ms, node, "maintenance mode"); task 1826 lib/pacemaker/pcmk_sched_actions.c || pcmk__strcase_any_of(task, PCMK_ACTION_MONITOR, task 719 lib/pacemaker/pcmk_sched_bundle.c switch (get_complex_task(bundled_resource, action->task)) { task 1102 lib/pacemaker/pcmk_sched_colocation.c mark_action_blocked(pcmk_resource_t *rsc, const char *task, task 1112 lib/pacemaker/pcmk_sched_colocation.c && pcmk__str_eq(action->task, task, pcmk__str_none)) { task 1123 lib/pacemaker/pcmk_sched_colocation.c mark_action_blocked((pcmk_resource_t *) (iter->data), task, reason); task 1150 lib/pacemaker/pcmk_sched_colocation.c is_start = pcmk__str_eq(action->task, PCMK_ACTION_START, pcmk__str_none); task 1152 lib/pacemaker/pcmk_sched_colocation.c && !pcmk__str_eq(action->task, PCMK_ACTION_PROMOTE, pcmk__str_none)) { task 1173 lib/pacemaker/pcmk_sched_colocation.c action->task, NULL); task 1178 lib/pacemaker/pcmk_sched_colocation.c rsc->id, child->id, action->task); task 1184 lib/pacemaker/pcmk_sched_colocation.c rsc->id, action->rsc->id, action->task); task 77 lib/pacemaker/pcmk_sched_fencing.c if (pcmk__str_eq(action->task, PCMK_ACTION_START, task 340 lib/pacemaker/pcmk_sched_fencing.c rsc->id, action->task); task 566 lib/pacemaker/pcmk_sched_group.c enum pcmk__action_type task = get_complex_task(member, action->task); task 567 lib/pacemaker/pcmk_sched_group.c const char *task_s = pcmk__action_text(task); task 589 lib/pacemaker/pcmk_sched_group.c if (!pcmk__str_eq(task_s, action->task, pcmk__str_none) task 603 lib/pacemaker/pcmk_sched_group.c } else if ((task != pcmk__action_stop) task 604 lib/pacemaker/pcmk_sched_group.c && (task != pcmk__action_demote)) { task 662 lib/pacemaker/pcmk_sched_group.c then->task, node); task 937 lib/pacemaker/pcmk_sched_instances.c if (pcmk__str_eq(PCMK_ACTION_START, action->task, pcmk__str_none)) { task 950 lib/pacemaker/pcmk_sched_instances.c } else if (pcmk__str_eq(PCMK_ACTION_STOP, action->task, task 1306 lib/pacemaker/pcmk_sched_instances.c if ((for_first && !pcmk__str_any_of(action->task, PCMK_ACTION_STOP, task 1309 lib/pacemaker/pcmk_sched_instances.c || (!for_first && pcmk__str_any_of(action->task, PCMK_ACTION_PROMOTE, task 1362 lib/pacemaker/pcmk_sched_instances.c const char *action_name = action->task; task 1365 lib/pacemaker/pcmk_sched_instances.c if (pcmk__strcase_any_of(action->task, PCMK_ACTION_NOTIFY, task 1443 lib/pacemaker/pcmk_sched_instances.c then_action = find_instance_action(then, then_instance, then->task, task 1546 lib/pacemaker/pcmk_sched_instances.c then->task, node); task 244 lib/pacemaker/pcmk_sched_migration.c res = pcmk__str_copy(action->task); task 325 lib/pacemaker/pcmk_sched_ordering.c char *task = crm_strdup_printf(PCMK_ACTION_CLONE_ONE_OR_MORE ":%s", id); task 326 lib/pacemaker/pcmk_sched_ordering.c pcmk_action_t *clone_min_met = get_pseudo_op(task, task 329 lib/pacemaker/pcmk_sched_ordering.c free(task); task 722 lib/pacemaker/pcmk_sched_ordering.c char *task = crm_strdup_printf(PCMK_ACTION_ONE_OR_MORE ":%s", task 724 lib/pacemaker/pcmk_sched_ordering.c pcmk_action_t *unordered_action = get_pseudo_op(task, scheduler); task 726 lib/pacemaker/pcmk_sched_ordering.c free(task); task 1087 lib/pacemaker/pcmk_sched_ordering.c && pcmk__str_eq(action->task, PCMK_ACTION_MIGRATE_TO, pcmk__str_none) task 1132 lib/pacemaker/pcmk_sched_ordering.c || !pcmk__str_eq(action->task, PCMK_ACTION_STOP, pcmk__str_none)) { task 1195 lib/pacemaker/pcmk_sched_ordering.c char *task = NULL; task 1198 lib/pacemaker/pcmk_sched_ordering.c CRM_CHECK(parse_op_key(original_key, NULL, &task, &interval_ms), task 1200 lib/pacemaker/pcmk_sched_ordering.c key = pcmk__op_key(rsc->id, task, interval_ms); task 1203 lib/pacemaker/pcmk_sched_ordering.c free(task); task 1270 lib/pacemaker/pcmk_sched_ordering.c "to order it after", then_action_iter->task, rsc->id, task 1446 lib/pacemaker/pcmk_sched_ordering.c const char *after_desc = (after->task == NULL)? after->uuid : after->task; task 1450 lib/pacemaker/pcmk_sched_ordering.c const char *before_desc = before->task? before->task : before->uuid; task 319 lib/pacemaker/pcmk_sched_probes.c if (pcmk__str_eq(then->task, PCMK_ACTION_STONITH, pcmk__str_none) task 330 lib/pacemaker/pcmk_sched_probes.c if (pcmk__str_eq(then->task, PCMK_ACTION_DO_SHUTDOWN, pcmk__str_none) task 385 lib/pacemaker/pcmk_sched_probes.c if ((first != NULL) && !pcmk__str_eq(first->task, PCMK_ACTION_STOP, task 401 lib/pacemaker/pcmk_sched_probes.c if ((then != NULL) && pcmk__str_eq(then->task, PCMK_ACTION_STOP, task 504 lib/pacemaker/pcmk_sched_probes.c || !pcmk__str_eq(after->action->task, PCMK_ACTION_START, task 522 lib/pacemaker/pcmk_sched_probes.c || !pcmk__str_eq(then->action->task, PCMK_ACTION_START, task 563 lib/pacemaker/pcmk_sched_probes.c || !pcmk__str_eq(probe->task, PCMK_ACTION_MONITOR, pcmk__str_none)) { task 584 lib/pacemaker/pcmk_sched_probes.c if (pcmk__str_eq(after->task, PCMK_ACTION_START, pcmk__str_none)) { task 588 lib/pacemaker/pcmk_sched_probes.c } else if (pcmk__str_eq(after->task, PCMK_ACTION_PROMOTE, task 825 lib/pacemaker/pcmk_sched_probes.c } else if (!pcmk__str_eq(first->task, PCMK_ACTION_START, task 104 lib/pacemaker/pcmk_sched_promotable.c } else if (pcmk__str_eq(PCMK_ACTION_DEMOTE, action->task, task 108 lib/pacemaker/pcmk_sched_promotable.c } else if (pcmk__str_eq(PCMK_ACTION_PROMOTE, action->task, task 340 lib/pacemaker/pcmk_sched_recurring.c pcmk__readable_interval(op->interval_ms), mon->task, task 573 lib/pacemaker/pcmk_sched_recurring.c stopped_mon->task, rsc->id, pcmk__node_name(stop_node)); task 654 lib/pacemaker/pcmk_sched_recurring.c pcmk__new_cancel_action(pcmk_resource_t *rsc, const char *task, task 661 lib/pacemaker/pcmk_sched_recurring.c pcmk__assert((rsc != NULL) && (task != NULL) && (node != NULL)); task 663 lib/pacemaker/pcmk_sched_recurring.c key = pcmk__op_key(rsc->id, task, interval_ms); task 671 lib/pacemaker/pcmk_sched_recurring.c pcmk__str_update(&(cancel_op->task), PCMK_ACTION_CANCEL); task 672 lib/pacemaker/pcmk_sched_recurring.c pcmk__str_update(&(cancel_op->cancel_task), task); task 675 lib/pacemaker/pcmk_sched_recurring.c pcmk__insert_meta(cancel_op, PCMK_XA_OPERATION, task); task 695 lib/pacemaker/pcmk_sched_recurring.c const char *task, guint interval_ms, task 700 lib/pacemaker/pcmk_sched_recurring.c CRM_CHECK((rsc != NULL) && (task != NULL) task 705 lib/pacemaker/pcmk_sched_recurring.c pcmk__readable_interval(interval_ms), task, rsc->id, task 707 lib/pacemaker/pcmk_sched_recurring.c cancel = pcmk__new_cancel_action(rsc, task, interval_ms, node); task 725 lib/pacemaker/pcmk_sched_recurring.c pcmk__reschedule_recurring(pcmk_resource_t *rsc, const char *task, task 732 lib/pacemaker/pcmk_sched_recurring.c op = custom_action(rsc, pcmk__op_key(rsc->id, task, interval_ms), task 733 lib/pacemaker/pcmk_sched_recurring.c task, node, TRUE, rsc->priv->scheduler); task 173 lib/pacemaker/pcmk_sched_remote.c enum pcmk__action_type task = pcmk__parse_action(action->task); task 188 lib/pacemaker/pcmk_sched_remote.c action->task, action->uuid, task 192 lib/pacemaker/pcmk_sched_remote.c if (pcmk__strcase_any_of(action->task, PCMK_ACTION_MIGRATE_TO, task 197 lib/pacemaker/pcmk_sched_remote.c task = pcmk__action_stop; task 200 lib/pacemaker/pcmk_sched_remote.c switch (task) { task 273 lib/pacemaker/pcmk_sched_remote.c if ((task == pcmk__action_monitor) task 305 lib/pacemaker/pcmk_sched_remote.c enum pcmk__action_type task = pcmk__parse_action(action->task); task 322 lib/pacemaker/pcmk_sched_remote.c action->task, action->uuid, task 328 lib/pacemaker/pcmk_sched_remote.c if (pcmk__strcase_any_of(action->task, PCMK_ACTION_MIGRATE_TO, task 333 lib/pacemaker/pcmk_sched_remote.c task = pcmk__action_stop; task 336 lib/pacemaker/pcmk_sched_remote.c switch (task) { task 376 lib/pacemaker/pcmk_sched_remote.c if (task != pcmk__action_unspecified) { task 417 lib/pacemaker/pcmk_sched_remote.c && pcmk__str_eq(action->task, PCMK_ACTION_CLEAR_FAILCOUNT, task 458 lib/pacemaker/pcmk_sched_remote.c if (pcmk__str_eq(action->task, PCMK_ACTION_START, pcmk__str_none)) { task 464 lib/pacemaker/pcmk_sched_remote.c && pcmk__str_eq(rsc_action->task, PCMK_ACTION_STOP, task 547 lib/pacemaker/pcmk_sched_remote.c const char *task = action->task; task 550 lib/pacemaker/pcmk_sched_remote.c if (pcmk__str_eq(task, PCMK_ACTION_STONITH, pcmk__str_none) task 568 lib/pacemaker/pcmk_sched_remote.c action->task, (action->rsc? action->rsc->id : "no resource"), task 577 lib/pacemaker/pcmk_sched_remote.c action->task, (action->rsc? action->rsc->id : "no resource"), task 586 lib/pacemaker/pcmk_sched_remote.c action->task, (action->rsc? action->rsc->id : "no resource"), task 599 lib/pacemaker/pcmk_sched_remote.c if (pcmk__str_eq(task, PCMK_ACTION_NOTIFY, pcmk__str_none)) { task 600 lib/pacemaker/pcmk_sched_remote.c task = g_hash_table_lookup(action->meta, "notify_operation"); task 615 lib/pacemaker/pcmk_sched_remote.c if (pcmk__strcase_any_of(task, PCMK_ACTION_CANCEL, PCMK_ACTION_STOP, task 621 lib/pacemaker/pcmk_sched_remote.c action->task, (action->rsc? action->rsc->id : "no resource"), task 633 lib/pacemaker/pcmk_sched_remote.c action->task, (action->rsc? action->rsc->id : "no resource"), task 687 lib/pacemaker/pcmk_sched_remote.c enum pcmk__action_type task; task 694 lib/pacemaker/pcmk_sched_remote.c task = pcmk__parse_action(action->task); task 695 lib/pacemaker/pcmk_sched_remote.c if ((task == pcmk__action_notify) || (task == pcmk__action_notified)) { task 696 lib/pacemaker/pcmk_sched_remote.c task = pcmk__parse_action(g_hash_table_lookup(action->meta, task 700 lib/pacemaker/pcmk_sched_remote.c switch (task) { task 484 lib/pacemaker/pcmk_sched_resource.c if (pcmk__str_eq(op->task, PCMK_ACTION_STOP, pcmk__str_none)) { task 487 lib/pacemaker/pcmk_sched_resource.c } else if (pcmk__str_eq(op->task, PCMK_ACTION_START, task 624 lib/pacemaker/pcmk_scheduler.c if (pcmk__str_eq(dc_down->task, PCMK_ACTION_DO_SHUTDOWN, task 50 lib/pacemaker/pcmk_simulate.c const char *task = action->task; task 58 lib/pacemaker/pcmk_simulate.c if (pcmk__str_eq(action->task, PCMK_ACTION_CANCEL, pcmk__str_none)) { task 60 lib/pacemaker/pcmk_simulate.c task = action->cancel_task; task 76 lib/pacemaker/pcmk_simulate.c if (pcmk__strcase_any_of(action->task, PCMK_ACTION_NOTIFY, task 86 lib/pacemaker/pcmk_simulate.c key = pcmk__op_key(history_id, task, interval_ms); task 97 lib/pacemaker/pcmk_simulate.c } else if (pcmk__str_eq(action->task, PCMK_ACTION_STONITH, task 103 lib/pacemaker/pcmk_simulate.c prefix, action->task, op, action_host); task 111 lib/pacemaker/pcmk_simulate.c prefix, action->task, action_host); task 478 lib/pacemaker/pcmk_simulate.c const char *task = crm_element_value(action->xml, PCMK__XA_OPERATION_KEY); task 481 lib/pacemaker/pcmk_simulate.c out->message(out, "inject-pseudo-action", node, task); task 683 lib/pacemaker/pcmk_simulate.c const char *task = crm_element_value(action->xml, PCMK_XA_OPERATION); task 688 lib/pacemaker/pcmk_simulate.c out->message(out, "inject-cluster-action", node, task, rsc); task 174 lib/pengine/pe_actions.c new_action(char *key, const char *task, pcmk_resource_t *rsc, task 180 lib/pengine/pe_actions.c action->task = pcmk__str_copy(task); task 188 lib/pengine/pe_actions.c if (pcmk__str_eq(task, PCMK_ACTION_LRM_DELETE, pcmk__str_casei)) { task 206 lib/pengine/pe_actions.c action->op_entry = pcmk__find_action_config(rsc, task, interval_ms, task 222 lib/pengine/pe_actions.c scheduler->priv->next_action_id, key, task, task 352 lib/pengine/pe_actions.c && pcmk__str_eq(action->task, PCMK_ACTION_STOP, pcmk__str_casei) task 1065 lib/pengine/pe_actions.c action->task, interval_ms, xml_obj); task 1066 lib/pengine/pe_actions.c action->needs = pcmk__action_requires(action->rsc, action->task); task 1069 lib/pengine/pe_actions.c action->on_fail = pcmk__parse_on_fail(action->rsc, action->task, task 1072 lib/pengine/pe_actions.c action->fail_role = pcmk__role_after_failure(action->rsc, action->task, task 1093 lib/pengine/pe_actions.c custom_action(pcmk_resource_t *rsc, char *key, const char *task, task 1099 lib/pengine/pe_actions.c pcmk__assert((key != NULL) && (task != NULL) && (scheduler != NULL)); task 1103 lib/pengine/pe_actions.c action = new_action(key, task, rsc, on_node, optional, scheduler); task 1377 lib/pengine/pe_actions.c free(action->task); task 1385 lib/pengine/pe_actions.c enum pcmk__action_type task = pcmk__parse_action(name); task 1388 lib/pengine/pe_actions.c switch (task) { task 1395 lib/pengine/pe_actions.c --task; task 1401 lib/pengine/pe_actions.c return task; task 1416 lib/pengine/pe_actions.c find_first_action(const GList *input, const char *uuid, const char *task, task 1419 lib/pengine/pe_actions.c CRM_CHECK(uuid || task, return NULL); task 1427 lib/pengine/pe_actions.c } else if (task != NULL && !pcmk__str_eq(task, action->task, pcmk__str_casei)) { task 1518 lib/pengine/pe_actions.c const char *task, bool require_node) task 1521 lib/pengine/pe_actions.c char *key = pcmk__op_key(rsc->id, task, 0); task 1565 lib/pengine/pe_actions.c action->task); task 1750 lib/pengine/pe_actions.c pe__new_rsc_pseudo_action(pcmk_resource_t *rsc, const char *task, bool optional, task 1755 lib/pengine/pe_actions.c pcmk__assert((rsc != NULL) && (task != NULL)); task 1757 lib/pengine/pe_actions.c action = custom_action(rsc, pcmk__op_key(rsc->id, task, 0), task, NULL, task 100 lib/pengine/pe_digest.c const char *task, guint *interval_ms, task 136 lib/pengine/pe_digest.c action_config = pcmk__find_action_config(rsc, task, *interval_ms, true); task 157 lib/pengine/pe_digest.c params = pcmk__unpack_action_meta(rsc, node, task, *interval_ms, task 303 lib/pengine/pe_digest.c pe__calculate_digests(pcmk_resource_t *rsc, const char *task, task 337 lib/pengine/pe_digest.c calculate_main_digest(data, rsc, node, params, task, interval_ms, xml_op, task 362 lib/pengine/pe_digest.c rsc_action_digest(pcmk_resource_t *rsc, const char *task, guint interval_ms, task 367 lib/pengine/pe_digest.c char *key = pcmk__op_key(rsc->id, task, interval_ms); task 371 lib/pengine/pe_digest.c data = pe__calculate_digests(rsc, task, &interval_ms, node, xml_op, task 399 lib/pengine/pe_digest.c const char *task = crm_element_value(xml_op, PCMK_XA_OPERATION); task 410 lib/pengine/pe_digest.c data = rsc_action_digest(rsc, task, interval_ms, node, xml_op, task 419 lib/pengine/pe_digest.c interval_ms, task, rsc->id, pcmk__node_name(node), task 444 lib/pengine/pe_digest.c interval_ms, task, rsc->id, pcmk__node_name(node), task 454 lib/pengine/pe_digest.c interval_ms, task, rsc->id, pcmk__node_name(node), task 291 lib/pengine/pe_notif.c pcmk__notify_key(rsc->id, notif_type, action->task), task 297 lib/pengine/pe_notif.c pcmk__insert_meta(notify, "notify_key_operation", action->task); task 321 lib/pengine/pe_notif.c const char *task = NULL; task 343 lib/pengine/pe_notif.c task = g_hash_table_lookup(op->meta, "notify_operation"); // original action task 346 lib/pengine/pe_notif.c rsc->id, pcmk__node_name(node), value, task); task 349 lib/pengine/pe_notif.c key = pcmk__notify_key(rsc->id, value, task); task 350 lib/pengine/pe_notif.c notify_action = custom_action(rsc, key, op->task, node, task 397 lib/pengine/pe_notif.c || pcmk__str_eq(mon->task, PCMK_ACTION_CANCEL, pcmk__str_none)) { task 436 lib/pengine/pe_notif.c pe__action_notif_pseudo_ops(pcmk_resource_t *rsc, const char *task, task 447 lib/pengine/pe_notif.c n_data->action = task; task 615 lib/pengine/pe_notif.c enum pcmk__action_type task = pcmk__parse_action(op->task); task 617 lib/pengine/pe_notif.c if ((task == pcmk__action_stop) && op->node->details->unclean) { task 625 lib/pengine/pe_notif.c switch (task) { task 813 lib/pengine/pe_notif.c enum pcmk__action_type task = pcmk__parse_action(n_data->action); task 828 lib/pengine/pe_notif.c switch (pcmk__parse_action(op->task)) { task 842 lib/pengine/pe_notif.c switch (task) { task 877 lib/pengine/pe_notif.c && ((task == pcmk__action_stop) || (task == pcmk__action_demote))) { task 901 lib/pengine/pe_notif.c if ((task == pcmk__action_demote) || (stop == NULL) task 910 lib/pengine/pe_notif.c && ((task == pcmk__action_start) || (task == pcmk__action_promote))) { task 933 lib/pengine/pe_notif.c if ((task != pcmk__action_start) || (start == NULL) task 152 lib/pengine/pe_output.c const char *task = crm_element_value(rsc_op, PCMK_XA_OPERATION); task 154 lib/pengine/pe_output.c if (pcmk__str_eq(task, PCMK_ACTION_NOTIFY, pcmk__str_none)) { task 162 lib/pengine/pe_output.c && pcmk__str_eq(task, PCMK_ACTION_MONITOR, pcmk__str_none) task 229 lib/pengine/pe_output.c op_history_string(xmlNode *xml_op, const char *task, const char *interval_ms_s, task 275 lib/pengine/pe_output.c buf = crm_strdup_printf("(%s) %s:%s%s%s%s rc=%d (%s)", call, task, task 294 lib/pengine/pe_output.c buf = crm_strdup_printf("(%s) %s%s%s", call, task, task 1413 lib/pengine/pe_output.c char *task = NULL; task 1419 lib/pengine/pe_output.c || !parse_op_key(op_key, &rsc_id, &task, &interval_ms)) { task 1422 lib/pengine/pe_output.c pcmk__str_update(&task, "unknown action"); task 1425 lib/pengine/pe_output.c pcmk__assert((rsc_id != NULL) && (task != NULL)); task 1435 lib/pengine/pe_output.c pcmk__g_strcat(str, pcmk__readable_action(task, interval_ms), " on ", task 1475 lib/pengine/pe_output.c free(task); task 1631 lib/pengine/pe_output.c const char *task = crm_element_value(xml_op, PCMK_XA_OPERATION); task 1647 lib/pengine/pe_output.c PCMK_XA_TASK, task, task 2793 lib/pengine/pe_output.c const char *task = va_arg(args, const char *); task 2798 lib/pengine/pe_output.c char *buf = op_history_string(xml_op, task, interval_ms_s, rc, task 2811 lib/pengine/pe_output.c const char *task = va_arg(args, const char *); task 2823 lib/pengine/pe_output.c PCMK_XA_TASK, task, task 3140 lib/pengine/pe_output.c const char *task = crm_element_value(xml_op, PCMK_XA_OPERATION); task 3149 lib/pengine/pe_output.c if (pcmk__str_eq(task, PCMK_ACTION_MONITOR, pcmk__str_casei) task 3151 lib/pengine/pe_output.c task = "probe"; task 3166 lib/pengine/pe_output.c out->message(out, "op-history", xml_op, task, interval_ms_s, task 66 lib/pengine/pe_status_private.h const char *task, task 38 lib/pengine/unpack.c const char *task; // Action name task 2572 lib/pengine/unpack.c const char *task = NULL; task 2619 lib/pengine/unpack.c task = crm_element_value(rsc_op, PCMK_XA_OPERATION); task 2621 lib/pengine/unpack.c key = pcmk__op_key(rsc->id, task, interval_ms); task 2623 lib/pengine/unpack.c custom_action(rsc, key, task, node, TRUE, scheduler); task 2634 lib/pengine/unpack.c const char *task = NULL; task 2645 lib/pengine/unpack.c task = crm_element_value(rsc_op, PCMK_XA_OPERATION); task 2648 lib/pengine/unpack.c if (pcmk__str_eq(task, PCMK_ACTION_STOP, pcmk__str_casei) task 2652 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(task, PCMK_ACTION_START, task 2657 lib/pengine/unpack.c && pcmk__str_eq(task, PCMK_ACTION_MONITOR, task 2664 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(task, PCMK_ACTION_PROMOTE, task 3086 lib/pengine/unpack.c const char * task = NULL; task 3092 lib/pengine/unpack.c task = crm_element_value(op, PCMK_XA_OPERATION); task 3094 lib/pengine/unpack.c if (pcmk__str_any_of(task, PCMK_ACTION_START, PCMK_ACTION_STOP, task 3591 lib/pengine/unpack.c xmlNode *config = pcmk__find_action_config(history->rsc, history->task, task 3595 lib/pengine/unpack.c history->task, task 3600 lib/pengine/unpack.c *on_fail = pcmk__parse_on_fail(history->rsc, history->task, task 3602 lib/pengine/unpack.c *fail_role = pcmk__role_after_failure(history->rsc, history->task, *on_fail, task 3639 lib/pengine/unpack.c (is_probe? "probe" : history->task), history->rsc->id, task 3649 lib/pengine/unpack.c (is_probe? "probe" : history->task), history->rsc->id, task 3678 lib/pengine/unpack.c if (strcmp(history->task, PCMK_ACTION_STOP) == 0) { task 3682 lib/pengine/unpack.c } else if (strcmp(history->task, PCMK_ACTION_MIGRATE_TO) == 0) { task 3685 lib/pengine/unpack.c } else if (strcmp(history->task, PCMK_ACTION_MIGRATE_FROM) == 0) { task 3688 lib/pengine/unpack.c } else if (strcmp(history->task, PCMK_ACTION_PROMOTE) == 0) { task 3691 lib/pengine/unpack.c } else if (strcmp(history->task, PCMK_ACTION_DEMOTE) == 0) { task 3752 lib/pengine/unpack.c if (strcmp(history->task, PCMK_ACTION_STOP) != 0) { task 3764 lib/pengine/unpack.c history->rsc->id, history->task, task 3826 lib/pengine/unpack.c const char *task = history->task; task 3870 lib/pengine/unpack.c task = "probe"; task 3999 lib/pengine/unpack.c history->exit_status, task, history->rsc->id, task 4022 lib/pengine/unpack.c should_clear_for_param_change(const xmlNode *xml_op, const char *task, task 4025 lib/pengine/unpack.c if (pcmk__str_any_of(task, PCMK_ACTION_START, PCMK_ACTION_MONITOR, NULL)) { task 4072 lib/pengine/unpack.c should_ignore_failure_timeout(const pcmk_resource_t *rsc, const char *task, task 4099 lib/pengine/unpack.c && pcmk__str_eq(task, PCMK_ACTION_MONITOR, pcmk__str_casei)) { task 4167 lib/pengine/unpack.c && !should_ignore_failure_timeout(history->rsc, history->task, task 4226 lib/pengine/unpack.c && should_clear_for_param_change(history->xml, history->task, task 4250 lib/pengine/unpack.c history->task, history->rsc->id); task 4256 lib/pengine/unpack.c && pcmk__str_eq(history->task, PCMK_ACTION_MONITOR, pcmk__str_none)) { task 4313 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_MONITOR, task 4324 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_START, pcmk__str_none)) { task 4328 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_STOP, pcmk__str_none)) { task 4332 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_PROMOTE, task 4337 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_DEMOTE, task 4347 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_MIGRATE_FROM, task 4352 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_MIGRATE_TO, task 4374 lib/pengine/unpack.c history->task); task 4414 lib/pengine/unpack.c return pcmk__str_any_of(history->task, PCMK_ACTION_MONITOR, task 4496 lib/pengine/unpack.c history->id, history->task, history->rsc->id, task 4514 lib/pengine/unpack.c pcmk__readable_interval(history->interval_ms), history->task, task 4580 lib/pengine/unpack.c if (!pcmk__str_eq(history->task, task 4628 lib/pengine/unpack.c if (strcmp(history->task, PCMK_ACTION_START) == 0) { task 4632 lib/pengine/unpack.c } else if (strcmp(history->task, PCMK_ACTION_PROMOTE) == 0) { task 4635 lib/pengine/unpack.c } else if ((strcmp(history->task, PCMK_ACTION_MIGRATE_TO) == 0) task 4659 lib/pengine/unpack.c if (pcmk_is_probe(history->task, history->interval_ms)) { task 4670 lib/pengine/unpack.c history->rsc->priv->pending_action = strdup(history->task); task 4702 lib/pengine/unpack.c history.task = crm_element_value(xml_op, PCMK_XA_OPERATION); task 4703 lib/pengine/unpack.c if (history.task == NULL) { task 4715 lib/pengine/unpack.c history.task); task 4728 lib/pengine/unpack.c history.id, history.task, history.call_id, task 4774 lib/pengine/unpack.c history.task, rsc->id, pcmk__node_name(node), task 4818 lib/pengine/unpack.c && (strcmp(history.task, PCMK_ACTION_STOP) == 0))) { task 4824 lib/pengine/unpack.c history.task, crm_exit_str(history.exit_status), task 1671 tools/crm_mon.c send_custom_trap(const char *node, const char *rsc, const char *task, int target_rc, int rc, task 1690 tools/crm_mon.c setenv("CRM_notify_task", task, 1); task 1723 tools/crm_mon.c char *task = NULL; task 1751 tools/crm_mon.c if (parse_op_key(id, &rsc, &task, NULL) == FALSE) { task 1782 tools/crm_mon.c crm_notice("%s of %s on %s completed: %s", task, rsc, node, desc); task 1789 tools/crm_mon.c crm_warn("%s of %s on %s failed: %s", task, rsc, node, desc); task 1793 tools/crm_mon.c crm_warn("%s of %s on %s failed: %s", task, rsc, node, desc); task 1797 tools/crm_mon.c send_custom_trap(node, rsc, task, target_rc, rc, status, desc); task 1802 tools/crm_mon.c free(task); task 1980 tools/crm_resource_runtime.c || pcmk__str_eq(PCMK_ACTION_NOTIFY, action->task, pcmk__str_casei)) {