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 304 daemons/controld/controld_callbacks.c task, node->name, down->id); task 307 daemons/controld/controld_callbacks.c task, node->name, down->id); task 323 daemons/controld/controld_callbacks.c node->name, liveness, task, down->id); task 265 daemons/controld/controld_execd.c const char *task, const char *ack_host, const char *ack_sys) task 267 daemons/controld/controld_execd.c lrmd_event_data_t *op = construct_op(lrm_state, input->xml, rsc_id, task); task 402 daemons/controld/controld_fencing.c const char *task = NULL; task 425 daemons/controld/controld_fencing.c task = crm_element_value(action->xml, PCMK_XA_OPERATION); task 426 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 378 daemons/controld/controld_te_actions.c task = crm_element_value(rsc_op, PCMK_XA_OPERATION); task 455 daemons/controld/controld_te_actions.c action->id, task, task_uuid, on_node, action->timeout); task 459 daemons/controld/controld_te_actions.c action->id, task, task_uuid, on_node, action->timeout, graph->network_delay); task 526 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, PCMK_XA_OPERATION); task 541 daemons/controld/controld_te_actions.c && pcmk__strcase_any_of(task, PCMK_ACTION_MIGRATE_TO, task 575 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, PCMK_XA_OPERATION); task 601 daemons/controld/controld_te_actions.c if (pcmk__strcase_any_of(task, PCMK_ACTION_MIGRATE_TO, task 627 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, PCMK_XA_OPERATION); task 641 daemons/controld/controld_te_actions.c && pcmk__strcase_any_of(task, PCMK_ACTION_MIGRATE_TO, task 485 daemons/controld/controld_te_callbacks.c const char *task = NULL; task 493 daemons/controld/controld_te_callbacks.c task = crm_element_value(action->xml, PCMK_XA_OPERATION); task 500 daemons/controld/controld_te_callbacks.c (on_node? on_node : ""), (task? task : "unknown action"), task 507 daemons/controld/controld_te_callbacks.c (on_node? on_node : ""), (task? task : "unknown action"), task 521 daemons/controld/controld_te_callbacks.c && controld_action_is_recordable(task)) { task 114 daemons/controld/controld_te_events.c const char *task = crm_element_value(action->xml, task 117 daemons/controld/controld_te_events.c if (pcmk__str_eq(task, PCMK_ACTION_STONITH, pcmk__str_casei)) { task 187 daemons/controld/controld_te_events.c char *task = NULL; task 206 daemons/controld/controld_te_events.c CRM_CHECK(parse_op_key(id, &rsc_id, &task, &interval_ms), task 211 daemons/controld/controld_te_events.c || pcmk__str_eq(task, PCMK_ACTION_PROMOTE, pcmk__str_none) task 212 daemons/controld/controld_te_events.c || pcmk__str_eq(task, PCMK_ACTION_DEMOTE, pcmk__str_none)) { task 215 daemons/controld/controld_te_events.c } else if (pcmk__str_eq(task, PCMK_ACTION_START, pcmk__str_none)) { task 220 daemons/controld/controld_te_events.c } else if (pcmk__str_eq(task, PCMK_ACTION_STOP, pcmk__str_none)) { task 248 daemons/controld/controld_te_events.c rsc_id, on_uname, task, rc, value, now); task 254 daemons/controld/controld_te_events.c fail_name = pcmk__failcount_name(rsc_id, task, interval_ms); task 267 daemons/controld/controld_te_events.c last_name = pcmk__lastfailure_name(rsc_id, task, interval_ms); task 288 daemons/controld/controld_te_events.c free(task); task 322 daemons/controld/controld_te_events.c const char *task = NULL; task 326 daemons/controld/controld_te_events.c task = crm_element_value(action->xml, PCMK_XA_OPERATION); task 327 daemons/controld/controld_te_events.c if (!pcmk__str_eq(PCMK_ACTION_CANCEL, task, pcmk__str_casei)) { task 331 daemons/controld/controld_te_events.c task = crm_element_value(action->xml, PCMK__XA_OPERATION_KEY); task 332 daemons/controld/controld_te_events.c if (!pcmk__str_eq(task, id, pcmk__str_casei)) { 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 208 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 185 include/crm/pengine/internal.h pcmk_action_t *custom_action(pcmk_resource_t *rsc, char *key, const char *task, task 217 include/crm/pengine/internal.h const char *task, const pcmk_node_t *on_node); task 226 include/crm/pengine/internal.h const char *task, bool require_node); task 262 include/crm/pengine/internal.h pcmk__op_digest_t *pe__calculate_digests(pcmk_resource_t *rsc, const char *task, task 207 lib/common/actions.c free(action->task); task 549 lib/common/actions.c crm_create_op_xml(xmlNode *parent, const char *prefix, const char *task, task 554 lib/common/actions.c CRM_CHECK(prefix && task && interval_spec, return NULL); task 557 lib/common/actions.c pcmk__xe_set_id(xml_op, "%s-%s-%s", prefix, task, interval_spec); task 559 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 404 lib/pacemaker/pcmk_graph_producer.c if (pcmk__str_eq(action->task, PCMK_ACTION_STONITH, pcmk__str_none)) { task 412 lib/pacemaker/pcmk_graph_producer.c } else if (pcmk__str_any_of(action->task, task 417 lib/pacemaker/pcmk_graph_producer.c } else if (pcmk__str_eq(action->task, PCMK_ACTION_LRM_DELETE, task 424 lib/pacemaker/pcmk_graph_producer.c if (pcmk__str_eq(action->task, PCMK_ACTION_MAINTENANCE_NODES, task 436 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(action_xml, PCMK_XA_OPERATION, action->task); task 516 lib/pacemaker/pcmk_graph_producer.c && !pcmk__str_eq(action->task, PCMK_ACTION_MONITOR, pcmk__str_none)) { task 537 lib/pacemaker/pcmk_graph_producer.c || pcmk__strcase_any_of(action->task, PCMK_ACTION_STONITH, task 670 lib/pacemaker/pcmk_graph_producer.c && pcmk__str_eq(action->task, PCMK_ACTION_MIGRATE_TO, task 1084 lib/pacemaker/pcmk_graph_producer.c && pcmk__str_eq(action->task, PCMK_ACTION_STOP, pcmk__str_none)) { task 100 lib/pacemaker/pcmk_injections.c const char *resource, const char *task, task 110 lib/pacemaker/pcmk_injections.c && (resource != NULL) && (task != NULL), return); task 118 lib/pacemaker/pcmk_injections.c name = pcmk__failcount_name(resource, task, interval_ms); task 142 lib/pacemaker/pcmk_injections.c name = pcmk__lastfailure_name(resource, task, interval_ms); task 195 lib/pacemaker/pcmk_injections.c create_op(const xmlNode *cib_resource, const char *task, guint interval_ms, task 201 lib/pacemaker/pcmk_injections.c op = lrmd_new_event(pcmk__xe_id(cib_resource), task, interval_ms); task 568 lib/pacemaker/pcmk_injections.c char *task = NULL; task 593 lib/pacemaker/pcmk_injections.c parse_op_key(key, &resource, &task, &interval_ms); task 608 lib/pacemaker/pcmk_injections.c if (pcmk__str_eq(task, PCMK_ACTION_STOP, pcmk__str_none)) { task 611 lib/pacemaker/pcmk_injections.c } else if (pcmk__str_eq(task, PCMK_ACTION_START, pcmk__str_none) task 617 lib/pacemaker/pcmk_injections.c pcmk__inject_failcount(out, cib, cib_node, resource, task, interval_ms, task 625 lib/pacemaker/pcmk_injections.c op = create_op(cib_resource, task, interval_ms, outcome); task 636 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 59 lib/pacemaker/pcmk_resource.c const char *task = crm_element_value(lrm_rsc_op, PCMK_XA_OPERATION); task 67 lib/pacemaker/pcmk_resource.c && pcmk__strcase_any_of(task, PCMK_ACTION_MONITOR, task 201 lib/pacemaker/pcmk_resource.c const char *task = NULL; task 221 lib/pacemaker/pcmk_resource.c task = crm_element_value(xml_op, PCMK_XA_OPERATION); task 224 lib/pacemaker/pcmk_resource.c if (task == NULL) { // Assume start if no history is available task 225 lib/pacemaker/pcmk_resource.c task = PCMK_ACTION_START; task 230 lib/pacemaker/pcmk_resource.c digests = pe__calculate_digests(rsc, task, &interval_ms, node, xml_op, task 232 lib/pacemaker/pcmk_resource.c rc = out->message(out, "digests", rsc, node, task, interval_ms, digests); task 477 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(first->task, PCMK_ACTION_STOP, pcmk__str_none)) { task 559 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(first->task, PCMK_ACTION_START, pcmk__str_none)) { task 570 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(then->task, PCMK_ACTION_START, pcmk__str_none)) { task 603 lib/pacemaker/pcmk_sched_actions.c if (!strcmp(first->task, PCMK_ACTION_RELOAD_AGENT)) { task 743 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(then->task, PCMK_ACTION_STOP, pcmk__str_none)) { task 749 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(then->task, PCMK_ACTION_START, pcmk__str_none) task 995 lib/pacemaker/pcmk_sched_actions.c switch (pcmk__parse_action(action->task)) { task 1143 lib/pacemaker/pcmk_sched_actions.c const char *task = NULL; task 1151 lib/pacemaker/pcmk_sched_actions.c task = op->op_type; task 1167 lib/pacemaker/pcmk_sched_actions.c if (pcmk__str_any_of(task, PCMK_ACTION_RELOAD, PCMK_ACTION_RELOAD_AGENT, task 1170 lib/pacemaker/pcmk_sched_actions.c task = PCMK_ACTION_START; task 1172 lib/pacemaker/pcmk_sched_actions.c task = PCMK_ACTION_MONITOR; task 1176 lib/pacemaker/pcmk_sched_actions.c key = pcmk__op_key(op->rsc_id, task, op->interval_ms); task 1177 lib/pacemaker/pcmk_sched_actions.c if (pcmk__str_eq(task, PCMK_ACTION_NOTIFY, pcmk__str_none)) { task 1241 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, PCMK_XA_OPERATION, task); task 1334 lib/pacemaker/pcmk_sched_actions.c if (action->node->details->shutdown && (action->task != NULL) task 1335 lib/pacemaker/pcmk_sched_actions.c && (strcmp(action->task, PCMK_ACTION_STOP) != 0)) { task 1424 lib/pacemaker/pcmk_sched_actions.c char *task = NULL; task 1434 lib/pacemaker/pcmk_sched_actions.c if (pcmk__str_eq(action->task, PCMK_ACTION_DO_SHUTDOWN, task 1436 lib/pacemaker/pcmk_sched_actions.c task = strdup("Shutdown"); task 1438 lib/pacemaker/pcmk_sched_actions.c } else if (pcmk__str_eq(action->task, PCMK_ACTION_STONITH, task 1443 lib/pacemaker/pcmk_sched_actions.c task = crm_strdup_printf("Fence (%s)", op); task 1459 lib/pacemaker/pcmk_sched_actions.c out->message(out, "node-action", task, node_name, action->reason); task 1462 lib/pacemaker/pcmk_sched_actions.c free(task); task 1485 lib/pacemaker/pcmk_sched_actions.c task_for_digest(const char *task, guint interval_ms) task 1491 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_any_of(task, PCMK_ACTION_MONITOR, PCMK_ACTION_MIGRATE_FROM, task 1493 lib/pacemaker/pcmk_sched_actions.c task = PCMK_ACTION_START; task 1495 lib/pacemaker/pcmk_sched_actions.c return task; task 1544 lib/pacemaker/pcmk_sched_actions.c force_restart(pcmk_resource_t *rsc, const char *task, guint interval_ms, task 1547 lib/pacemaker/pcmk_sched_actions.c char *key = pcmk__op_key(rsc->id, task, interval_ms); task 1548 lib/pacemaker/pcmk_sched_actions.c pcmk_action_t *required = custom_action(rsc, key, task, NULL, FALSE, task 1635 lib/pacemaker/pcmk_sched_actions.c const char *task = NULL; task 1641 lib/pacemaker/pcmk_sched_actions.c task = crm_element_value(xml_op, PCMK_XA_OPERATION); task 1642 lib/pacemaker/pcmk_sched_actions.c CRM_CHECK(task != NULL, return false); task 1648 lib/pacemaker/pcmk_sched_actions.c if (pcmk__find_action_config(rsc, task, interval_ms, false) != NULL) { task 1651 lib/pacemaker/pcmk_sched_actions.c pcmk__readable_interval(interval_ms), task, rsc->id, task 1657 lib/pacemaker/pcmk_sched_actions.c task, interval_ms, node, "orphan"); task 1661 lib/pacemaker/pcmk_sched_actions.c pcmk__readable_interval(interval_ms), task, rsc->id, task 1668 lib/pacemaker/pcmk_sched_actions.c pcmk__readable_interval(interval_ms), task, rsc->id, task 1670 lib/pacemaker/pcmk_sched_actions.c task = task_for_digest(task, interval_ms); task 1681 lib/pacemaker/pcmk_sched_actions.c pcmk__readable_interval(interval_ms), task, rsc->id, task 1691 lib/pacemaker/pcmk_sched_actions.c force_restart(rsc, task, interval_ms, node); task 1704 lib/pacemaker/pcmk_sched_actions.c pcmk__reschedule_recurring(rsc, task, interval_ms, node); task 1722 lib/pacemaker/pcmk_sched_actions.c force_restart(rsc, task, interval_ms, node); task 1823 lib/pacemaker/pcmk_sched_actions.c const char *task = NULL; task 1831 lib/pacemaker/pcmk_sched_actions.c task = crm_element_value(rsc_op, PCMK_XA_OPERATION); task 1840 lib/pacemaker/pcmk_sched_actions.c task, interval_ms, node, "maintenance mode"); task 1843 lib/pacemaker/pcmk_sched_actions.c || pcmk__strcase_any_of(task, PCMK_ACTION_MONITOR, task 721 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 1361 lib/pacemaker/pcmk_sched_instances.c const char *action_name = action->task; task 1364 lib/pacemaker/pcmk_sched_instances.c if (pcmk__strcase_any_of(action->task, PCMK_ACTION_NOTIFY, task 1442 lib/pacemaker/pcmk_sched_instances.c then_action = find_instance_action(then, then_instance, then->task, task 1545 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 725 lib/pacemaker/pcmk_sched_ordering.c char *task = crm_strdup_printf(PCMK_ACTION_ONE_OR_MORE ":%s", task 727 lib/pacemaker/pcmk_sched_ordering.c pcmk_action_t *unordered_action = get_pseudo_op(task, scheduler); task 729 lib/pacemaker/pcmk_sched_ordering.c free(task); task 1090 lib/pacemaker/pcmk_sched_ordering.c && pcmk__str_eq(action->task, PCMK_ACTION_MIGRATE_TO, pcmk__str_none) task 1135 lib/pacemaker/pcmk_sched_ordering.c || !pcmk__str_eq(action->task, PCMK_ACTION_STOP, pcmk__str_none)) { task 1200 lib/pacemaker/pcmk_sched_ordering.c char *task = NULL; task 1203 lib/pacemaker/pcmk_sched_ordering.c CRM_CHECK(parse_op_key(original_key, NULL, &task, &interval_ms), task 1205 lib/pacemaker/pcmk_sched_ordering.c key = pcmk__op_key(rsc->id, task, interval_ms); task 1208 lib/pacemaker/pcmk_sched_ordering.c free(task); task 1276 lib/pacemaker/pcmk_sched_ordering.c "to order it after", then_action_iter->task, rsc->id, task 1452 lib/pacemaker/pcmk_sched_ordering.c const char *after_desc = (after->task == NULL)? after->uuid : after->task; task 1456 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 106 lib/pacemaker/pcmk_sched_promotable.c } else if (pcmk__str_eq(PCMK_ACTION_DEMOTE, action->task, task 110 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 627 lib/pacemaker/pcmk_scheduler.c if (pcmk__str_eq(dc_down->task, PCMK_ACTION_DO_SHUTDOWN, task 51 lib/pacemaker/pcmk_simulate.c const char *task = action->task; task 59 lib/pacemaker/pcmk_simulate.c if (pcmk__str_eq(action->task, PCMK_ACTION_CANCEL, pcmk__str_none)) { task 61 lib/pacemaker/pcmk_simulate.c task = action->cancel_task; task 77 lib/pacemaker/pcmk_simulate.c if (pcmk__strcase_any_of(action->task, PCMK_ACTION_NOTIFY, task 87 lib/pacemaker/pcmk_simulate.c key = pcmk__op_key(history_id, task, interval_ms); task 98 lib/pacemaker/pcmk_simulate.c } else if (pcmk__str_eq(action->task, PCMK_ACTION_STONITH, task 104 lib/pacemaker/pcmk_simulate.c prefix, action->task, op, action_host); task 112 lib/pacemaker/pcmk_simulate.c prefix, action->task, action_host); task 536 lib/pacemaker/pcmk_simulate.c const char *task = crm_element_value(action->xml, PCMK__XA_OPERATION_KEY); task 539 lib/pacemaker/pcmk_simulate.c out->message(out, "inject-pseudo-action", node, task); task 741 lib/pacemaker/pcmk_simulate.c const char *task = crm_element_value(action->xml, PCMK_XA_OPERATION); task 746 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 349 lib/pengine/pe_actions.c && pcmk__str_eq(action->task, PCMK_ACTION_STOP, pcmk__str_casei) task 1057 lib/pengine/pe_actions.c action->task, interval_ms, xml_obj); task 1058 lib/pengine/pe_actions.c action->needs = pcmk__action_requires(action->rsc, action->task); task 1061 lib/pengine/pe_actions.c action->on_fail = pcmk__parse_on_fail(action->rsc, action->task, task 1064 lib/pengine/pe_actions.c action->fail_role = pcmk__role_after_failure(action->rsc, action->task, task 1085 lib/pengine/pe_actions.c custom_action(pcmk_resource_t *rsc, char *key, const char *task, task 1091 lib/pengine/pe_actions.c pcmk__assert((key != NULL) && (task != NULL) && (scheduler != NULL)); task 1095 lib/pengine/pe_actions.c action = new_action(key, task, rsc, on_node, optional, scheduler); task 1355 lib/pengine/pe_actions.c enum pcmk__action_type task = pcmk__parse_action(name); task 1358 lib/pengine/pe_actions.c switch (task) { task 1365 lib/pengine/pe_actions.c --task; task 1371 lib/pengine/pe_actions.c return task; task 1386 lib/pengine/pe_actions.c find_first_action(const GList *input, const char *uuid, const char *task, task 1389 lib/pengine/pe_actions.c CRM_CHECK(uuid || task, return NULL); task 1397 lib/pengine/pe_actions.c } else if (task != NULL && !pcmk__str_eq(task, action->task, pcmk__str_casei)) { task 1488 lib/pengine/pe_actions.c const char *task, bool require_node) task 1491 lib/pengine/pe_actions.c char *key = pcmk__op_key(rsc->id, task, 0); task 1535 lib/pengine/pe_actions.c action->task); task 1720 lib/pengine/pe_actions.c pe__new_rsc_pseudo_action(pcmk_resource_t *rsc, const char *task, bool optional, task 1725 lib/pengine/pe_actions.c pcmk__assert((rsc != NULL) && (task != NULL)); task 1727 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 302 lib/pengine/pe_digest.c pe__calculate_digests(pcmk_resource_t *rsc, const char *task, task 336 lib/pengine/pe_digest.c calculate_main_digest(data, rsc, node, params, task, interval_ms, xml_op, task 361 lib/pengine/pe_digest.c rsc_action_digest(pcmk_resource_t *rsc, const char *task, guint interval_ms, task 366 lib/pengine/pe_digest.c char *key = pcmk__op_key(rsc->id, task, interval_ms); task 370 lib/pengine/pe_digest.c data = pe__calculate_digests(rsc, task, &interval_ms, node, xml_op, task 398 lib/pengine/pe_digest.c const char *task = crm_element_value(xml_op, PCMK_XA_OPERATION); task 409 lib/pengine/pe_digest.c data = rsc_action_digest(rsc, task, interval_ms, node, xml_op, task 420 lib/pengine/pe_digest.c pcmk__readable_interval(interval_ms), task, rsc->id, task 445 lib/pengine/pe_digest.c interval_ms, task, rsc->id, pcmk__node_name(node), task 455 lib/pengine/pe_digest.c interval_ms, task, rsc->id, pcmk__node_name(node), task 295 lib/pengine/pe_notif.c pcmk__notify_key(rsc->id, notif_type, action->task), task 301 lib/pengine/pe_notif.c pcmk__insert_meta(notify, "notify_key_operation", action->task); task 325 lib/pengine/pe_notif.c const char *task = NULL; task 347 lib/pengine/pe_notif.c task = g_hash_table_lookup(op->meta, "notify_operation"); // original action task 350 lib/pengine/pe_notif.c rsc->id, pcmk__node_name(node), value, task); task 353 lib/pengine/pe_notif.c key = pcmk__notify_key(rsc->id, value, task); task 354 lib/pengine/pe_notif.c notify_action = custom_action(rsc, key, op->task, node, task 401 lib/pengine/pe_notif.c || pcmk__str_eq(mon->task, PCMK_ACTION_CANCEL, pcmk__str_none)) { task 440 lib/pengine/pe_notif.c pe__action_notif_pseudo_ops(pcmk_resource_t *rsc, const char *task, task 451 lib/pengine/pe_notif.c n_data->action = task; task 626 lib/pengine/pe_notif.c enum pcmk__action_type task = pcmk__parse_action(op->task); task 628 lib/pengine/pe_notif.c if ((task == pcmk__action_stop) && op->node->details->unclean) { task 636 lib/pengine/pe_notif.c switch (task) { task 824 lib/pengine/pe_notif.c enum pcmk__action_type task = pcmk__parse_action(n_data->action); task 839 lib/pengine/pe_notif.c switch (pcmk__parse_action(op->task)) { task 853 lib/pengine/pe_notif.c switch (task) { task 888 lib/pengine/pe_notif.c && ((task == pcmk__action_stop) || (task == pcmk__action_demote))) { task 912 lib/pengine/pe_notif.c if ((task == pcmk__action_demote) || (stop == NULL) task 921 lib/pengine/pe_notif.c && ((task == pcmk__action_start) || (task == pcmk__action_promote))) { task 944 lib/pengine/pe_notif.c if ((task != pcmk__action_start) || (start == NULL) task 154 lib/pengine/pe_output.c const char *task = crm_element_value(rsc_op, PCMK_XA_OPERATION); task 156 lib/pengine/pe_output.c if (pcmk__str_eq(task, PCMK_ACTION_NOTIFY, pcmk__str_none)) { task 164 lib/pengine/pe_output.c && pcmk__str_eq(task, PCMK_ACTION_MONITOR, pcmk__str_none) task 232 lib/pengine/pe_output.c op_history_string(xmlNode *xml_op, const char *task, const char *interval_ms_s, task 278 lib/pengine/pe_output.c buf = crm_strdup_printf("(%s) %s:%s%s%s%s rc=%d (%s)", call, task, task 297 lib/pengine/pe_output.c buf = crm_strdup_printf("(%s) %s%s%s", call, task, task 1421 lib/pengine/pe_output.c char *task = NULL; task 1427 lib/pengine/pe_output.c || !parse_op_key(op_key, &rsc_id, &task, &interval_ms)) { task 1430 lib/pengine/pe_output.c pcmk__str_update(&task, "unknown action"); task 1433 lib/pengine/pe_output.c pcmk__assert((rsc_id != NULL) && (task != NULL)); task 1443 lib/pengine/pe_output.c pcmk__g_strcat(str, pcmk__readable_action(task, interval_ms), " on ", task 1483 lib/pengine/pe_output.c free(task); task 1639 lib/pengine/pe_output.c const char *task = crm_element_value(xml_op, PCMK_XA_OPERATION); task 1655 lib/pengine/pe_output.c PCMK_XA_TASK, task, task 2802 lib/pengine/pe_output.c const char *task = va_arg(args, const char *); task 2807 lib/pengine/pe_output.c char *buf = op_history_string(xml_op, task, interval_ms_s, rc, task 2820 lib/pengine/pe_output.c const char *task = va_arg(args, const char *); task 2832 lib/pengine/pe_output.c PCMK_XA_TASK, task, task 3152 lib/pengine/pe_output.c const char *task = crm_element_value(xml_op, PCMK_XA_OPERATION); task 3161 lib/pengine/pe_output.c if (pcmk__str_eq(task, PCMK_ACTION_MONITOR, pcmk__str_casei) task 3163 lib/pengine/pe_output.c task = "probe"; task 3178 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 40 lib/pengine/unpack.c const char *task; // Action name task 2585 lib/pengine/unpack.c const char *task = NULL; task 2632 lib/pengine/unpack.c task = crm_element_value(rsc_op, PCMK_XA_OPERATION); task 2634 lib/pengine/unpack.c key = pcmk__op_key(rsc->id, task, interval_ms); task 2636 lib/pengine/unpack.c custom_action(rsc, key, task, node, TRUE, scheduler); task 2647 lib/pengine/unpack.c const char *task = NULL; task 2658 lib/pengine/unpack.c task = crm_element_value(rsc_op, PCMK_XA_OPERATION); task 2661 lib/pengine/unpack.c if (pcmk__str_eq(task, PCMK_ACTION_STOP, pcmk__str_casei) task 2665 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(task, PCMK_ACTION_START, task 2670 lib/pengine/unpack.c && pcmk__str_eq(task, PCMK_ACTION_MONITOR, task 2677 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(task, PCMK_ACTION_PROMOTE, task 3097 lib/pengine/unpack.c const char * task = NULL; task 3103 lib/pengine/unpack.c task = crm_element_value(op, PCMK_XA_OPERATION); task 3105 lib/pengine/unpack.c if (pcmk__str_any_of(task, PCMK_ACTION_START, PCMK_ACTION_STOP, task 3602 lib/pengine/unpack.c xmlNode *config = pcmk__find_action_config(history->rsc, history->task, task 3606 lib/pengine/unpack.c history->task, task 3611 lib/pengine/unpack.c *on_fail = pcmk__parse_on_fail(history->rsc, history->task, task 3613 lib/pengine/unpack.c *fail_role = pcmk__role_after_failure(history->rsc, history->task, *on_fail, task 3650 lib/pengine/unpack.c (is_probe? "probe" : history->task), history->rsc->id, task 3660 lib/pengine/unpack.c (is_probe? "probe" : history->task), history->rsc->id, task 3689 lib/pengine/unpack.c if (strcmp(history->task, PCMK_ACTION_STOP) == 0) { task 3693 lib/pengine/unpack.c } else if (strcmp(history->task, PCMK_ACTION_MIGRATE_TO) == 0) { task 3696 lib/pengine/unpack.c } else if (strcmp(history->task, PCMK_ACTION_MIGRATE_FROM) == 0) { task 3699 lib/pengine/unpack.c } else if (strcmp(history->task, PCMK_ACTION_PROMOTE) == 0) { task 3702 lib/pengine/unpack.c } else if (strcmp(history->task, PCMK_ACTION_DEMOTE) == 0) { task 3763 lib/pengine/unpack.c if (strcmp(history->task, PCMK_ACTION_STOP) != 0) { task 3775 lib/pengine/unpack.c history->rsc->id, history->task, task 3842 lib/pengine/unpack.c const char *task = history->task; task 3886 lib/pengine/unpack.c task = "probe"; task 4015 lib/pengine/unpack.c history->exit_status, task, history->rsc->id, task 4038 lib/pengine/unpack.c should_clear_for_param_change(const xmlNode *xml_op, const char *task, task 4041 lib/pengine/unpack.c if (pcmk__str_any_of(task, PCMK_ACTION_START, PCMK_ACTION_MONITOR, NULL)) { task 4087 lib/pengine/unpack.c should_ignore_failure_timeout(const pcmk_resource_t *rsc, const char *task, task 4114 lib/pengine/unpack.c && pcmk__str_eq(task, PCMK_ACTION_MONITOR, pcmk__str_casei)) { task 4182 lib/pengine/unpack.c && !should_ignore_failure_timeout(history->rsc, history->task, task 4241 lib/pengine/unpack.c && should_clear_for_param_change(history->xml, history->task, task 4265 lib/pengine/unpack.c history->task, history->rsc->id); task 4271 lib/pengine/unpack.c && pcmk__str_eq(history->task, PCMK_ACTION_MONITOR, pcmk__str_none)) { task 4328 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_MONITOR, task 4339 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_START, pcmk__str_none)) { task 4343 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_STOP, pcmk__str_none)) { task 4347 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_PROMOTE, task 4352 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_DEMOTE, task 4362 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_MIGRATE_FROM, task 4367 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_MIGRATE_TO, task 4389 lib/pengine/unpack.c history->task); task 4429 lib/pengine/unpack.c return pcmk__str_any_of(history->task, PCMK_ACTION_MONITOR, task 4511 lib/pengine/unpack.c history->id, history->task, history->rsc->id, task 4529 lib/pengine/unpack.c pcmk__readable_interval(history->interval_ms), history->task, task 4595 lib/pengine/unpack.c if (!pcmk__str_eq(history->task, task 4643 lib/pengine/unpack.c if (strcmp(history->task, PCMK_ACTION_START) == 0) { task 4647 lib/pengine/unpack.c } else if (strcmp(history->task, PCMK_ACTION_PROMOTE) == 0) { task 4650 lib/pengine/unpack.c } else if ((strcmp(history->task, PCMK_ACTION_MIGRATE_TO) == 0) task 4674 lib/pengine/unpack.c if (pcmk_is_probe(history->task, history->interval_ms)) { task 4685 lib/pengine/unpack.c history->rsc->priv->pending_action = strdup(history->task); task 4717 lib/pengine/unpack.c history.task = crm_element_value(xml_op, PCMK_XA_OPERATION); task 4718 lib/pengine/unpack.c if (history.task == NULL) { task 4730 lib/pengine/unpack.c history.task); task 4743 lib/pengine/unpack.c history.id, history.task, history.call_id, task 4789 lib/pengine/unpack.c history.task, rsc->id, pcmk__node_name(node), task 4833 lib/pengine/unpack.c && (strcmp(history.task, PCMK_ACTION_STOP) == 0))) { task 4839 lib/pengine/unpack.c history.task, crm_exit_str(history.exit_status), task 1673 tools/crm_mon.c send_custom_trap(const char *node, const char *rsc, const char *task, int target_rc, int rc, task 1692 tools/crm_mon.c setenv("CRM_notify_task", task, 1); task 1725 tools/crm_mon.c char *task = NULL; task 1753 tools/crm_mon.c if (parse_op_key(id, &rsc, &task, NULL) == FALSE) { task 1784 tools/crm_mon.c crm_notice("%s of %s on %s completed: %s", task, rsc, node, desc); task 1791 tools/crm_mon.c crm_warn("%s of %s on %s failed: %s", task, rsc, node, desc); task 1795 tools/crm_mon.c crm_warn("%s of %s on %s failed: %s", task, rsc, node, desc); task 1799 tools/crm_mon.c send_custom_trap(node, rsc, task, target_rc, rc, status, desc); task 1804 tools/crm_mon.c free(task); task 2023 tools/crm_resource_runtime.c || pcmk__str_eq(PCMK_ACTION_NOTIFY, action->task, pcmk__str_casei)) {