task 276 daemons/controld/controld_callbacks.c const char *task = crm_element_value(down->xml, PCMK_XA_OPERATION); task 278 daemons/controld/controld_callbacks.c if (pcmk__str_eq(task, PCMK_ACTION_STONITH, pcmk__str_casei)) { task 284 daemons/controld/controld_callbacks.c } else if (!appeared && pcmk__str_eq(task, PCMK_ACTION_DO_SHUTDOWN, task 295 daemons/controld/controld_callbacks.c task, node->uname, down->id); task 298 daemons/controld/controld_callbacks.c task, node->uname, down->id); task 308 daemons/controld/controld_callbacks.c 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 406 daemons/controld/controld_fencing.c const char *task = NULL; task 429 daemons/controld/controld_fencing.c task = crm_element_value(action->xml, PCMK_XA_OPERATION); task 430 daemons/controld/controld_fencing.c if (pcmk__str_eq(task, PCMK_ACTION_STONITH, pcmk__str_casei)) { task 343 daemons/controld/controld_messages.c const char *task = NULL; task 353 daemons/controld/controld_messages.c task = crm_element_value(msg, PCMK__XA_CRM_TASK); task 362 daemons/controld/controld_messages.c if (pcmk__str_eq(task, CRM_OP_HELLO, pcmk__str_casei)) { task 411 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 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 cmd = create_request(task, pseudo->xml, node->uname, 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 149 daemons/controld/controld_te_actions.c id, task, on_node, (is_local? " locally" : ""), task 153 daemons/controld/controld_te_actions.c && pcmk__str_eq(task, PCMK_ACTION_DO_SHUTDOWN, pcmk__str_none)) { task 161 daemons/controld/controld_te_actions.c } else if (pcmk__str_eq(task, PCMK_ACTION_DO_SHUTDOWN, pcmk__str_none)) { task 168 daemons/controld/controld_te_actions.c cmd = create_request(task, action->xml, router_node, CRM_SYSTEM_CRMD, CRM_SYSTEM_TENGINE, NULL); task 191 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 pcmk__xe_id(action->xml), pcmk__s(task, "without task")); task 382 daemons/controld/controld_te_actions.c task = crm_element_value(rsc_op, PCMK_XA_OPERATION); task 406 daemons/controld/controld_te_actions.c task, task_uuid, (is_local? " locally" : ""), on_node, task 460 daemons/controld/controld_te_actions.c action->id, task, task_uuid, on_node, action->timeout); task 464 daemons/controld/controld_te_actions.c action->id, task, task_uuid, on_node, action->timeout, graph->network_delay); task 531 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, PCMK_XA_OPERATION); task 546 daemons/controld/controld_te_actions.c && pcmk__strcase_any_of(task, PCMK_ACTION_MIGRATE_TO, task 580 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, PCMK_XA_OPERATION); task 606 daemons/controld/controld_te_actions.c if (pcmk__strcase_any_of(task, PCMK_ACTION_MIGRATE_TO, task 632 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, PCMK_XA_OPERATION); task 646 daemons/controld/controld_te_actions.c && pcmk__strcase_any_of(task, PCMK_ACTION_MIGRATE_TO, task 670 daemons/controld/controld_te_callbacks.c const char *task = NULL; task 678 daemons/controld/controld_te_callbacks.c task = crm_element_value(action->xml, PCMK_XA_OPERATION); task 685 daemons/controld/controld_te_callbacks.c (on_node? on_node : ""), (task? task : "unknown action"), task 692 daemons/controld/controld_te_callbacks.c (on_node? on_node : ""), (task? task : "unknown action"), task 706 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 32 daemons/controld/controld_transition.h const char *get_rsc_state(const char *task, enum pcmk_exec_status status); task 343 include/crm/common/actions.h char *task; // Action name task 409 include/crm/common/actions.h const char *task, const char *interval_spec, task 412 include/crm/common/actions.h bool pcmk_is_probe(const char *task, guint interval); task 49 include/crm/common/ipc.h #define create_request(task, xml_data, host_to, sys_to, sys_from, uuid_from) \ task 50 include/crm/common/ipc.h create_request_adv(task, xml_data, host_to, sys_to, sys_from, uuid_from, \ task 55 include/crm/common/ipc.h xmlNode *create_request_adv(const char *task, xmlNode *xml_data, task 208 include/crm/crm_compat.h crm_action_str(const char *task, guint interval_ms) { task 209 include/crm/crm_compat.h if ((task != NULL) && (interval_ms == 0) task 210 include/crm/crm_compat.h && (strcasecmp(task, PCMK_ACTION_MONITOR) == 0)) { task 213 include/crm/crm_compat.h return task; task 99 include/crm/lrmd_events.h lrmd_event_data_t *lrmd_new_event(const char *rsc_id, const char *task, task 30 include/crm/lrmd_internal.h const char *target, const char *task, task 65 include/crm/pengine/common_compat.h const char *task2text(enum action_tasks task); task 68 include/crm/pengine/common_compat.h enum action_tasks text2task(const char *task); task 49 include/crm/pengine/internal.h pcmk_action_t *pe__new_rsc_pseudo_action(pcmk_resource_t *rsc, const char *task, task 204 include/crm/pengine/internal.h pcmk_action_t *custom_action(pcmk_resource_t *rsc, char *key, const char *task, task 235 include/crm/pengine/internal.h const char *task, const pcmk_node_t *on_node); task 244 include/crm/pengine/internal.h const char *task, bool require_node); task 286 include/crm/pengine/internal.h pcmk__op_digest_t *pe__calculate_digests(pcmk_resource_t *rsc, const char *task, task 521 lib/common/actions.c crm_create_op_xml(xmlNode *parent, const char *prefix, const char *task, task 526 lib/common/actions.c CRM_CHECK(prefix && task && interval_spec, return NULL); task 529 lib/common/actions.c crm_xml_set_id(xml_op, "%s-%s-%s", prefix, task, interval_spec); task 531 lib/common/actions.c crm_xml_add(xml_op, PCMK_XA_NAME, task); task 280 lib/common/ipc_pacemakerd.c do_pacemakerd_api_call(pcmk_ipc_api_t *api, const char *ipc_name, const char *task) task 293 lib/common/ipc_pacemakerd.c cmd = create_request(task, NULL, NULL, CRM_SYSTEM_MCP, task 147 lib/common/ipc_schedulerd.c do_schedulerd_api_call(pcmk_ipc_api_t *api, const char *task, xmlNode *cib, char **ref) task 160 lib/common/ipc_schedulerd.c cmd = create_request(task, cib, NULL, CRM_SYSTEM_PENGINE, task 40 lib/common/messages.c create_request_adv(const char *task, xmlNode *msg_data, task 50 lib/common/messages.c (task? task : "_empty_"), task 70 lib/common/messages.c crm_xml_add(request, PCMK__XA_CRM_TASK, task); task 30 lib/common/probes.c pcmk_is_probe(const char *task, guint interval_ms) task 34 lib/common/probes.c && pcmk__str_eq(task, PCMK_ACTION_MONITOR, pcmk__str_none); task 311 lib/lrmd/lrmd_alerts.c const char *target, const char *task, const char *desc, task 322 lib/lrmd/lrmd_alerts.c params = alert_key2param(params, PCMK__alert_key_task, task); task 197 lib/lrmd/lrmd_client.c lrmd_new_event(const char *rsc_id, const char *task, guint interval_ms) task 203 lib/lrmd/lrmd_client.c event->op_type = pcmk__str_copy(task); task 395 lib/pacemaker/libpacemaker_private.h const char *task, guint interval_ms, task 399 lib/pacemaker/libpacemaker_private.h void pcmk__reschedule_recurring(pcmk_resource_t *rsc, const char *task, task 1036 lib/pacemaker/libpacemaker_private.h const char *task, guint interval_ms, int rc); task 142 lib/pacemaker/pcmk_graph_producer.c if (pcmk__str_eq(action->task, PCMK_ACTION_DO_SHUTDOWN, pcmk__str_none)) { task 148 lib/pacemaker/pcmk_graph_producer.c } else if (pcmk__str_eq(action->task, PCMK_ACTION_STONITH, task 163 lib/pacemaker/pcmk_graph_producer.c && pcmk__str_eq(action->task, PCMK_ACTION_STOP, task 177 lib/pacemaker/pcmk_graph_producer.c && pcmk__str_eq(input->task, PCMK_ACTION_MIGRATE_FROM, task 202 lib/pacemaker/pcmk_graph_producer.c if (pcmk__str_eq(action->task, PCMK_ACTION_NOTIFY, pcmk__str_none)) { task 214 lib/pacemaker/pcmk_graph_producer.c return pcmk__op_key(action->rsc->clone_name, action->task, interval_ms); task 370 lib/pacemaker/pcmk_graph_producer.c } else if (pcmk__str_eq(action->task, PCMK_ACTION_STONITH, pcmk__str_none) task 409 lib/pacemaker/pcmk_graph_producer.c if (pcmk__str_eq(action->task, PCMK_ACTION_STONITH, pcmk__str_none)) { task 417 lib/pacemaker/pcmk_graph_producer.c } else if (pcmk__str_any_of(action->task, task 422 lib/pacemaker/pcmk_graph_producer.c } else if (pcmk__str_eq(action->task, PCMK_ACTION_LRM_DELETE, task 429 lib/pacemaker/pcmk_graph_producer.c if (pcmk__str_eq(action->task, PCMK_ACTION_MAINTENANCE_NODES, task 441 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(action_xml, PCMK_XA_OPERATION, action->task); task 521 lib/pacemaker/pcmk_graph_producer.c && !pcmk__str_eq(action->task, PCMK_ACTION_MONITOR, pcmk__str_none)) { task 542 lib/pacemaker/pcmk_graph_producer.c || pcmk__strcase_any_of(action->task, PCMK_ACTION_STONITH, task 671 lib/pacemaker/pcmk_graph_producer.c && pcmk__str_eq(action->task, PCMK_ACTION_MIGRATE_TO, task 1073 lib/pacemaker/pcmk_graph_producer.c && pcmk__str_eq(action->task, PCMK_ACTION_STOP, pcmk__str_none)) { task 95 lib/pacemaker/pcmk_injections.c const char *resource, const char *task, task 105 lib/pacemaker/pcmk_injections.c && (resource != NULL) && (task != NULL), return); task 113 lib/pacemaker/pcmk_injections.c name = pcmk__failcount_name(resource, task, interval_ms); task 130 lib/pacemaker/pcmk_injections.c name = pcmk__lastfailure_name(resource, task, interval_ms); task 184 lib/pacemaker/pcmk_injections.c create_op(const xmlNode *cib_resource, const char *task, guint interval_ms, task 190 lib/pacemaker/pcmk_injections.c op = lrmd_new_event(pcmk__xe_id(cib_resource), task, interval_ms); task 559 lib/pacemaker/pcmk_injections.c char *task = NULL; task 583 lib/pacemaker/pcmk_injections.c parse_op_key(key, &resource, &task, &interval_ms); task 598 lib/pacemaker/pcmk_injections.c pcmk__inject_failcount(out, cib, cib_node, resource, task, interval_ms, task 606 lib/pacemaker/pcmk_injections.c op = create_op(cib_resource, task, interval_ms, outcome); task 618 lib/pacemaker/pcmk_injections.c free(task); task 967 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 977 lib/pacemaker/pcmk_output.c ((task == NULL)? "unknown" : task)); task 978 lib/pacemaker/pcmk_output.c } else if (pcmk__str_eq(task, PCMK_ACTION_MONITOR, pcmk__str_none)) { task 982 lib/pacemaker/pcmk_output.c ((task == NULL)? "unknown" : task)); task 1035 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1046 lib/pacemaker/pcmk_output.c PCMK_XA_TASK, pcmk__s(task, ""), task 1305 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1309 lib/pacemaker/pcmk_output.c if (task == NULL) { task 1312 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s %s '%s'", task, node_name, reason); task 1314 lib/pacemaker/pcmk_output.c crm_notice(" * %s %s", task, node_name); task 1324 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1328 lib/pacemaker/pcmk_output.c if (task == NULL) { task 1332 lib/pacemaker/pcmk_output.c PCMK_XA_TASK, task, task 1337 lib/pacemaker/pcmk_output.c crm_notice(" * %s %s", task, node_name); task 1395 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1404 lib/pacemaker/pcmk_output.c task, pcmk__xe_id(rsc), node); task 1406 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Cluster action: %s on %s", task, node); task 1418 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1428 lib/pacemaker/pcmk_output.c PCMK_XA_TASK, task, task 1688 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1695 lib/pacemaker/pcmk_output.c task, ((node == NULL)? "" : " on "), pcmk__s(node, "")); task 1704 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1713 lib/pacemaker/pcmk_output.c PCMK_XA_TASK, task, task 57 lib/pacemaker/pcmk_resource.c const char *task = crm_element_value(lrm_rsc_op, PCMK_XA_OPERATION); task 65 lib/pacemaker/pcmk_resource.c && pcmk__strcase_any_of(task, PCMK_ACTION_MONITOR, task 199 lib/pacemaker/pcmk_resource.c const char *task = NULL; task 218 lib/pacemaker/pcmk_resource.c task = crm_element_value(xml_op, PCMK_XA_OPERATION); task 221 lib/pacemaker/pcmk_resource.c if (task == NULL) { // Assume start if no history is available task 222 lib/pacemaker/pcmk_resource.c task = PCMK_ACTION_START; task 227 lib/pacemaker/pcmk_resource.c digests = pe__calculate_digests(rsc, task, &interval_ms, node, xml_op, task 229 lib/pacemaker/pcmk_resource.c rc = out->message(out, "digests", rsc, node, task, interval_ms, digests); task 469 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(first->task, PCMK_ACTION_STOP, pcmk__str_none)) { task 551 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 732 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(then->task, PCMK_ACTION_STOP, pcmk__str_none)) { task 738 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(then->task, PCMK_ACTION_START, pcmk__str_none) task 984 lib/pacemaker/pcmk_sched_actions.c switch (pcmk_parse_action(action->task)) { task 1132 lib/pacemaker/pcmk_sched_actions.c const char *task = NULL; task 1140 lib/pacemaker/pcmk_sched_actions.c task = op->op_type; task 1151 lib/pacemaker/pcmk_sched_actions.c if (pcmk__str_any_of(task, PCMK_ACTION_RELOAD, PCMK_ACTION_RELOAD_AGENT, task 1154 lib/pacemaker/pcmk_sched_actions.c task = PCMK_ACTION_START; task 1156 lib/pacemaker/pcmk_sched_actions.c task = PCMK_ACTION_MONITOR; task 1160 lib/pacemaker/pcmk_sched_actions.c key = pcmk__op_key(op->rsc_id, task, op->interval_ms); task 1161 lib/pacemaker/pcmk_sched_actions.c if (pcmk__str_eq(task, PCMK_ACTION_NOTIFY, pcmk__str_none)) { task 1225 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, PCMK_XA_OPERATION, task); task 1317 lib/pacemaker/pcmk_sched_actions.c if (action->node->details->shutdown && (action->task != NULL) task 1318 lib/pacemaker/pcmk_sched_actions.c && (strcmp(action->task, PCMK_ACTION_STOP) != 0)) { task 1405 lib/pacemaker/pcmk_sched_actions.c char *task = NULL; task 1415 lib/pacemaker/pcmk_sched_actions.c if (pcmk__str_eq(action->task, PCMK_ACTION_DO_SHUTDOWN, task 1417 lib/pacemaker/pcmk_sched_actions.c task = strdup("Shutdown"); task 1419 lib/pacemaker/pcmk_sched_actions.c } else if (pcmk__str_eq(action->task, PCMK_ACTION_STONITH, task 1424 lib/pacemaker/pcmk_sched_actions.c task = crm_strdup_printf("Fence (%s)", op); task 1440 lib/pacemaker/pcmk_sched_actions.c out->message(out, "node-action", task, node_name, action->reason); task 1443 lib/pacemaker/pcmk_sched_actions.c free(task); task 1464 lib/pacemaker/pcmk_sched_actions.c task_for_digest(const char *task, guint interval_ms) task 1470 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_any_of(task, PCMK_ACTION_MONITOR, PCMK_ACTION_MIGRATE_FROM, task 1472 lib/pacemaker/pcmk_sched_actions.c task = PCMK_ACTION_START; task 1474 lib/pacemaker/pcmk_sched_actions.c return task; task 1523 lib/pacemaker/pcmk_sched_actions.c force_restart(pcmk_resource_t *rsc, const char *task, guint interval_ms, task 1526 lib/pacemaker/pcmk_sched_actions.c char *key = pcmk__op_key(rsc->id, task, interval_ms); task 1527 lib/pacemaker/pcmk_sched_actions.c pcmk_action_t *required = custom_action(rsc, key, task, NULL, FALSE, task 1613 lib/pacemaker/pcmk_sched_actions.c const char *task = NULL; task 1619 lib/pacemaker/pcmk_sched_actions.c task = crm_element_value(xml_op, PCMK_XA_OPERATION); task 1620 lib/pacemaker/pcmk_sched_actions.c CRM_CHECK(task != NULL, return false); task 1626 lib/pacemaker/pcmk_sched_actions.c if (pcmk__find_action_config(rsc, task, interval_ms, false) != NULL) { task 1629 lib/pacemaker/pcmk_sched_actions.c pcmk__readable_interval(interval_ms), task, rsc->id, task 1635 lib/pacemaker/pcmk_sched_actions.c task, interval_ms, node, "orphan"); task 1639 lib/pacemaker/pcmk_sched_actions.c pcmk__readable_interval(interval_ms), task, rsc->id, task 1646 lib/pacemaker/pcmk_sched_actions.c pcmk__readable_interval(interval_ms), task, rsc->id, task 1648 lib/pacemaker/pcmk_sched_actions.c task = task_for_digest(task, interval_ms); task 1658 lib/pacemaker/pcmk_sched_actions.c pcmk__readable_interval(interval_ms), task, rsc->id, task 1668 lib/pacemaker/pcmk_sched_actions.c force_restart(rsc, task, interval_ms, node); task 1681 lib/pacemaker/pcmk_sched_actions.c pcmk__reschedule_recurring(rsc, task, interval_ms, node); task 1699 lib/pacemaker/pcmk_sched_actions.c force_restart(rsc, task, interval_ms, node); task 1796 lib/pacemaker/pcmk_sched_actions.c const char *task = NULL; task 1804 lib/pacemaker/pcmk_sched_actions.c task = crm_element_value(rsc_op, PCMK_XA_OPERATION); task 1813 lib/pacemaker/pcmk_sched_actions.c task, interval_ms, node, "maintenance mode"); task 1816 lib/pacemaker/pcmk_sched_actions.c || pcmk__strcase_any_of(task, PCMK_ACTION_MONITOR, task 701 lib/pacemaker/pcmk_sched_bundle.c switch (get_complex_task(bundled_resource, action->task)) { task 1036 lib/pacemaker/pcmk_sched_colocation.c mark_action_blocked(pcmk_resource_t *rsc, const char *task, task 1046 lib/pacemaker/pcmk_sched_colocation.c && pcmk__str_eq(action->task, task, pcmk__str_none)) { task 1057 lib/pacemaker/pcmk_sched_colocation.c mark_action_blocked((pcmk_resource_t *) (iter->data), task, reason); task 1084 lib/pacemaker/pcmk_sched_colocation.c is_start = pcmk__str_eq(action->task, PCMK_ACTION_START, pcmk__str_none); task 1086 lib/pacemaker/pcmk_sched_colocation.c && !pcmk__str_eq(action->task, PCMK_ACTION_PROMOTE, pcmk__str_none)) { task 1105 lib/pacemaker/pcmk_sched_colocation.c action->task, NULL); task 1111 lib/pacemaker/pcmk_sched_colocation.c rsc->id, child->id, action->task); task 1117 lib/pacemaker/pcmk_sched_colocation.c rsc->id, action->rsc->id, action->task); task 75 lib/pacemaker/pcmk_sched_fencing.c if (pcmk__str_eq(action->task, PCMK_ACTION_START, task 333 lib/pacemaker/pcmk_sched_fencing.c rsc->id, action->task); task 547 lib/pacemaker/pcmk_sched_group.c enum action_tasks task = get_complex_task(member, action->task); task 548 lib/pacemaker/pcmk_sched_group.c const char *task_s = pcmk_action_text(task); task 567 lib/pacemaker/pcmk_sched_group.c if (!pcmk__str_eq(task_s, action->task, pcmk__str_none) task 581 lib/pacemaker/pcmk_sched_group.c } else if ((task != pcmk_action_stop) && (task != pcmk_action_demote)) { task 636 lib/pacemaker/pcmk_sched_group.c then->task, node); task 927 lib/pacemaker/pcmk_sched_instances.c if (pcmk__str_eq(PCMK_ACTION_START, action->task, pcmk__str_none)) { task 940 lib/pacemaker/pcmk_sched_instances.c } else if (pcmk__str_eq(PCMK_ACTION_STOP, action->task, task 1285 lib/pacemaker/pcmk_sched_instances.c if ((for_first && !pcmk__str_any_of(action->task, PCMK_ACTION_STOP, task 1288 lib/pacemaker/pcmk_sched_instances.c || (!for_first && pcmk__str_any_of(action->task, PCMK_ACTION_PROMOTE, task 1340 lib/pacemaker/pcmk_sched_instances.c const char *action_name = action->task; task 1343 lib/pacemaker/pcmk_sched_instances.c if (pcmk__strcase_any_of(action->task, PCMK_ACTION_NOTIFY, task 1421 lib/pacemaker/pcmk_sched_instances.c then_action = find_instance_action(then, then_instance, then->task, task 1522 lib/pacemaker/pcmk_sched_instances.c instance_action = find_first_action(instance->actions, NULL, then->task, task 246 lib/pacemaker/pcmk_sched_migration.c res = pcmk__str_copy(action->task); task 350 lib/pacemaker/pcmk_sched_ordering.c char *task = crm_strdup_printf(PCMK_ACTION_CLONE_ONE_OR_MORE ":%s", id); task 351 lib/pacemaker/pcmk_sched_ordering.c pcmk_action_t *clone_min_met = get_pseudo_op(task, rsc_first->cluster); task 353 lib/pacemaker/pcmk_sched_ordering.c free(task); task 769 lib/pacemaker/pcmk_sched_ordering.c char *task = crm_strdup_printf(PCMK_ACTION_ONE_OR_MORE ":%s", task 771 lib/pacemaker/pcmk_sched_ordering.c pcmk_action_t *unordered_action = get_pseudo_op(task, scheduler); task 773 lib/pacemaker/pcmk_sched_ordering.c free(task); task 1126 lib/pacemaker/pcmk_sched_ordering.c && pcmk__str_eq(action->task, PCMK_ACTION_MIGRATE_TO, pcmk__str_none) task 1169 lib/pacemaker/pcmk_sched_ordering.c || !pcmk__str_eq(action->task, PCMK_ACTION_STOP, pcmk__str_none)) { task 1232 lib/pacemaker/pcmk_sched_ordering.c char *task = NULL; task 1235 lib/pacemaker/pcmk_sched_ordering.c CRM_CHECK(parse_op_key(original_key, NULL, &task, &interval_ms), task 1237 lib/pacemaker/pcmk_sched_ordering.c key = pcmk__op_key(rsc->id, task, interval_ms); task 1240 lib/pacemaker/pcmk_sched_ordering.c free(task); task 1307 lib/pacemaker/pcmk_sched_ordering.c "to order it after", then_action_iter->task, rsc->id, task 1481 lib/pacemaker/pcmk_sched_ordering.c const char *after_desc = (after->task == NULL)? after->uuid : after->task; task 1485 lib/pacemaker/pcmk_sched_ordering.c const char *before_desc = before->task? before->task : before->uuid; task 307 lib/pacemaker/pcmk_sched_probes.c if (pcmk__str_eq(then->task, PCMK_ACTION_STONITH, pcmk__str_none) task 318 lib/pacemaker/pcmk_sched_probes.c if (pcmk__str_eq(then->task, PCMK_ACTION_DO_SHUTDOWN, pcmk__str_none) task 373 lib/pacemaker/pcmk_sched_probes.c if ((first != NULL) && !pcmk__str_eq(first->task, PCMK_ACTION_STOP, task 388 lib/pacemaker/pcmk_sched_probes.c if ((then != NULL) && pcmk__str_eq(then->task, PCMK_ACTION_STOP, task 491 lib/pacemaker/pcmk_sched_probes.c || !pcmk__str_eq(after->action->task, PCMK_ACTION_START, task 509 lib/pacemaker/pcmk_sched_probes.c || !pcmk__str_eq(then->action->task, PCMK_ACTION_START, task 550 lib/pacemaker/pcmk_sched_probes.c || !pcmk__str_eq(probe->task, PCMK_ACTION_MONITOR, pcmk__str_none)) { task 571 lib/pacemaker/pcmk_sched_probes.c if (pcmk__str_eq(after->task, PCMK_ACTION_START, pcmk__str_none)) { task 575 lib/pacemaker/pcmk_sched_probes.c } else if (pcmk__str_eq(after->task, PCMK_ACTION_PROMOTE, task 805 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 567 lib/pacemaker/pcmk_sched_recurring.c stopped_mon->task, rsc->id, pcmk__node_name(stop_node)); task 646 lib/pacemaker/pcmk_sched_recurring.c pcmk__new_cancel_action(pcmk_resource_t *rsc, const char *task, task 653 lib/pacemaker/pcmk_sched_recurring.c CRM_ASSERT((rsc != NULL) && (task != NULL) && (node != NULL)); task 655 lib/pacemaker/pcmk_sched_recurring.c key = pcmk__op_key(rsc->id, task, interval_ms); task 663 lib/pacemaker/pcmk_sched_recurring.c pcmk__str_update(&(cancel_op->task), PCMK_ACTION_CANCEL); task 664 lib/pacemaker/pcmk_sched_recurring.c pcmk__str_update(&(cancel_op->cancel_task), task); task 667 lib/pacemaker/pcmk_sched_recurring.c pcmk__insert_meta(cancel_op, PCMK_XA_OPERATION, task); task 687 lib/pacemaker/pcmk_sched_recurring.c const char *task, guint interval_ms, task 692 lib/pacemaker/pcmk_sched_recurring.c CRM_CHECK((rsc != NULL) && (task != NULL) task 697 lib/pacemaker/pcmk_sched_recurring.c pcmk__readable_interval(interval_ms), task, rsc->id, task 699 lib/pacemaker/pcmk_sched_recurring.c cancel = pcmk__new_cancel_action(rsc, task, interval_ms, node); task 717 lib/pacemaker/pcmk_sched_recurring.c pcmk__reschedule_recurring(pcmk_resource_t *rsc, const char *task, task 724 lib/pacemaker/pcmk_sched_recurring.c op = custom_action(rsc, pcmk__op_key(rsc->id, task, interval_ms), task 725 lib/pacemaker/pcmk_sched_recurring.c task, node, TRUE, rsc->cluster); task 171 lib/pacemaker/pcmk_sched_remote.c enum action_tasks task = pcmk_parse_action(action->task); task 186 lib/pacemaker/pcmk_sched_remote.c action->task, action->uuid, task 190 lib/pacemaker/pcmk_sched_remote.c if (pcmk__strcase_any_of(action->task, PCMK_ACTION_MIGRATE_TO, task 195 lib/pacemaker/pcmk_sched_remote.c task = pcmk_action_stop; task 198 lib/pacemaker/pcmk_sched_remote.c switch (task) { task 271 lib/pacemaker/pcmk_sched_remote.c if ((task == pcmk_action_monitor) && (state == remote_state_failed)) { task 309 lib/pacemaker/pcmk_sched_remote.c enum action_tasks task = pcmk_parse_action(action->task); task 327 lib/pacemaker/pcmk_sched_remote.c action->task, action->uuid, task 333 lib/pacemaker/pcmk_sched_remote.c if (pcmk__strcase_any_of(action->task, PCMK_ACTION_MIGRATE_TO, task 338 lib/pacemaker/pcmk_sched_remote.c task = pcmk_action_stop; task 341 lib/pacemaker/pcmk_sched_remote.c switch (task) { task 381 lib/pacemaker/pcmk_sched_remote.c if (task != pcmk_action_unspecified) { task 421 lib/pacemaker/pcmk_sched_remote.c pcmk__str_eq(action->task, PCMK_ACTION_CLEAR_FAILCOUNT, task 462 lib/pacemaker/pcmk_sched_remote.c if (pcmk__str_eq(action->task, PCMK_ACTION_START, pcmk__str_none)) { task 468 lib/pacemaker/pcmk_sched_remote.c && pcmk__str_eq(rsc_action->task, PCMK_ACTION_STOP, task 551 lib/pacemaker/pcmk_sched_remote.c const char *task = action->task; task 553 lib/pacemaker/pcmk_sched_remote.c if (pcmk__str_eq(task, PCMK_ACTION_STONITH, pcmk__str_none) task 571 lib/pacemaker/pcmk_sched_remote.c action->task, (action->rsc? action->rsc->id : "no resource"), task 580 lib/pacemaker/pcmk_sched_remote.c action->task, (action->rsc? action->rsc->id : "no resource"), task 589 lib/pacemaker/pcmk_sched_remote.c action->task, (action->rsc? action->rsc->id : "no resource"), task 602 lib/pacemaker/pcmk_sched_remote.c if (pcmk__str_eq(task, PCMK_ACTION_NOTIFY, pcmk__str_none)) { task 603 lib/pacemaker/pcmk_sched_remote.c task = g_hash_table_lookup(action->meta, "notify_operation"); task 618 lib/pacemaker/pcmk_sched_remote.c if (pcmk__strcase_any_of(task, PCMK_ACTION_CANCEL, PCMK_ACTION_STOP, task 624 lib/pacemaker/pcmk_sched_remote.c action->task, (action->rsc? action->rsc->id : "no resource"), task 636 lib/pacemaker/pcmk_sched_remote.c action->task, (action->rsc? action->rsc->id : "no resource"), task 689 lib/pacemaker/pcmk_sched_remote.c enum action_tasks task; task 695 lib/pacemaker/pcmk_sched_remote.c task = pcmk_parse_action(action->task); task 696 lib/pacemaker/pcmk_sched_remote.c if ((task == pcmk_action_notify) || (task == pcmk_action_notified)) { task 697 lib/pacemaker/pcmk_sched_remote.c task = pcmk_parse_action(g_hash_table_lookup(action->meta, task 701 lib/pacemaker/pcmk_sched_remote.c switch (task) { task 466 lib/pacemaker/pcmk_sched_resource.c if (pcmk__str_eq(op->task, PCMK_ACTION_STOP, pcmk__str_none)) { task 469 lib/pacemaker/pcmk_sched_resource.c } else if (pcmk__str_eq(op->task, PCMK_ACTION_START, task 628 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 87 lib/pacemaker/pcmk_simulate.c key = pcmk__op_key(clone_name, 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 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 672 lib/pacemaker/pcmk_simulate.c const char *task = crm_element_value(action->xml, PCMK_XA_OPERATION); task 677 lib/pacemaker/pcmk_simulate.c out->message(out, "inject-cluster-action", node, task, rsc); task 38 lib/pengine/common.c task2text(enum action_tasks task) task 40 lib/pengine/common.c return pcmk_action_text(task); task 44 lib/pengine/common.c text2task(const char *task) task 46 lib/pengine/common.c return pcmk_parse_action(task); task 169 lib/pengine/pe_actions.c new_action(char *key, const char *task, pcmk_resource_t *rsc, task 175 lib/pengine/pe_actions.c action->task = pcmk__str_copy(task); task 182 lib/pengine/pe_actions.c if (pcmk__str_eq(task, PCMK_ACTION_LRM_DELETE, pcmk__str_casei)) { task 200 lib/pengine/pe_actions.c action->op_entry = pcmk__find_action_config(rsc, task, interval_ms, task 216 lib/pengine/pe_actions.c scheduler->action_id, key, task, task 345 lib/pengine/pe_actions.c && pcmk__str_eq(action->task, PCMK_ACTION_STOP, pcmk__str_casei) task 422 lib/pengine/pe_actions.c if (pcmk__str_eq(action->task, PCMK_ACTION_STOP, pcmk__str_casei)) { task 425 lib/pengine/pe_actions.c } else if (pcmk__str_eq(action->task, PCMK_ACTION_START, pcmk__str_casei)) { task 1101 lib/pengine/pe_actions.c action->task, interval_ms, xml_obj); task 1102 lib/pengine/pe_actions.c action->needs = pcmk__action_requires(action->rsc, action->task); task 1105 lib/pengine/pe_actions.c action->on_fail = pcmk__parse_on_fail(action->rsc, action->task, task 1108 lib/pengine/pe_actions.c action->fail_role = pcmk__role_after_failure(action->rsc, action->task, task 1129 lib/pengine/pe_actions.c custom_action(pcmk_resource_t *rsc, char *key, const char *task, task 1135 lib/pengine/pe_actions.c CRM_ASSERT((key != NULL) && (task != NULL) && (scheduler != NULL)); task 1139 lib/pengine/pe_actions.c action = new_action(key, task, rsc, on_node, optional, scheduler); task 1409 lib/pengine/pe_actions.c free(action->task); task 1418 lib/pengine/pe_actions.c enum action_tasks task = pcmk_parse_action(name); task 1421 lib/pengine/pe_actions.c switch (task) { task 1428 lib/pengine/pe_actions.c --task; task 1434 lib/pengine/pe_actions.c return task; task 1449 lib/pengine/pe_actions.c find_first_action(const GList *input, const char *uuid, const char *task, task 1452 lib/pengine/pe_actions.c CRM_CHECK(uuid || task, return NULL); task 1460 lib/pengine/pe_actions.c } else if (task != NULL && !pcmk__str_eq(task, action->task, pcmk__str_casei)) { task 1552 lib/pengine/pe_actions.c const char *task, bool require_node) task 1555 lib/pengine/pe_actions.c char *key = pcmk__op_key(rsc->id, task, 0); task 1599 lib/pengine/pe_actions.c action->task); task 1802 lib/pengine/pe_actions.c pe__new_rsc_pseudo_action(pcmk_resource_t *rsc, const char *task, bool optional, task 1807 lib/pengine/pe_actions.c CRM_ASSERT((rsc != NULL) && (task != NULL)); task 1809 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 306 lib/pengine/pe_digest.c pe__calculate_digests(pcmk_resource_t *rsc, const char *task, task 339 lib/pengine/pe_digest.c calculate_main_digest(data, rsc, node, params, task, interval_ms, xml_op, task 364 lib/pengine/pe_digest.c rsc_action_digest(pcmk_resource_t *rsc, const char *task, guint interval_ms, task 369 lib/pengine/pe_digest.c char *key = pcmk__op_key(rsc->id, task, interval_ms); task 373 lib/pengine/pe_digest.c data = pe__calculate_digests(rsc, task, &interval_ms, node, xml_op, task 401 lib/pengine/pe_digest.c const char *task = crm_element_value(xml_op, PCMK_XA_OPERATION); task 412 lib/pengine/pe_digest.c data = rsc_action_digest(rsc, task, interval_ms, node, xml_op, task 421 lib/pengine/pe_digest.c interval_ms, task, rsc->id, pcmk__node_name(node), task 446 lib/pengine/pe_digest.c interval_ms, task, rsc->id, pcmk__node_name(node), task 456 lib/pengine/pe_digest.c interval_ms, task, rsc->id, pcmk__node_name(node), task 287 lib/pengine/pe_notif.c pcmk__notify_key(rsc->id, notif_type, action->task), task 293 lib/pengine/pe_notif.c pcmk__insert_meta(notify, "notify_key_operation", action->task); task 317 lib/pengine/pe_notif.c const char *task = NULL; task 339 lib/pengine/pe_notif.c task = g_hash_table_lookup(op->meta, "notify_operation"); // original action task 342 lib/pengine/pe_notif.c rsc->id, pcmk__node_name(node), value, task); task 345 lib/pengine/pe_notif.c key = pcmk__notify_key(rsc->id, value, task); task 346 lib/pengine/pe_notif.c notify_action = custom_action(rsc, key, op->task, node, task 393 lib/pengine/pe_notif.c || pcmk__str_eq(mon->task, PCMK_ACTION_CANCEL, pcmk__str_none)) { task 432 lib/pengine/pe_notif.c pe__action_notif_pseudo_ops(pcmk_resource_t *rsc, const char *task, task 443 lib/pengine/pe_notif.c n_data->action = task; task 610 lib/pengine/pe_notif.c enum action_tasks task = pcmk_parse_action(op->task); task 612 lib/pengine/pe_notif.c if ((task == pcmk_action_stop) && op->node->details->unclean) { task 620 lib/pengine/pe_notif.c switch (task) { task 808 lib/pengine/pe_notif.c enum action_tasks task = pcmk_parse_action(n_data->action); task 822 lib/pengine/pe_notif.c switch (pcmk_parse_action(op->task)) { task 836 lib/pengine/pe_notif.c switch (task) { task 871 lib/pengine/pe_notif.c && ((task == pcmk_action_stop) || (task == pcmk_action_demote))) { task 891 lib/pengine/pe_notif.c if ((task == pcmk_action_demote) || (stop == NULL) task 900 lib/pengine/pe_notif.c && ((task == pcmk_action_start) || (task == pcmk_action_promote))) { task 921 lib/pengine/pe_notif.c if ((task != pcmk_action_start) || (start == NULL) task 149 lib/pengine/pe_output.c const char *task = crm_element_value(rsc_op, PCMK_XA_OPERATION); task 158 lib/pengine/pe_output.c if (pcmk__str_eq(task, PCMK_ACTION_MONITOR, pcmk__str_casei) task 160 lib/pengine/pe_output.c task = "probe"; task 164 lib/pengine/pe_output.c if (pcmk__str_eq(task, PCMK_ACTION_NOTIFY, pcmk__str_none) task 165 lib/pengine/pe_output.c || (pcmk__str_eq(task, "probe", 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 1407 lib/pengine/pe_output.c char *task = NULL; task 1413 lib/pengine/pe_output.c || !parse_op_key(op_key, &rsc_id, &task, &interval_ms)) { task 1416 lib/pengine/pe_output.c pcmk__str_update(&task, "unknown action"); task 1419 lib/pengine/pe_output.c CRM_ASSERT((rsc_id != NULL) && (task != NULL)); task 1429 lib/pengine/pe_output.c pcmk__g_strcat(str, pcmk__readable_action(task, interval_ms), " on ", task 1470 lib/pengine/pe_output.c free(task); task 1626 lib/pengine/pe_output.c const char *task = crm_element_value(xml_op, PCMK_XA_OPERATION); task 1642 lib/pengine/pe_output.c PCMK_XA_TASK, task, task 2774 lib/pengine/pe_output.c const char *task = va_arg(args, const char *); task 2779 lib/pengine/pe_output.c char *buf = op_history_string(xml_op, task, interval_ms_s, rc, task 2792 lib/pengine/pe_output.c const char *task = va_arg(args, const char *); task 2804 lib/pengine/pe_output.c PCMK_XA_TASK, task, task 3119 lib/pengine/pe_output.c const char *task = crm_element_value(xml_op, PCMK_XA_OPERATION); task 3128 lib/pengine/pe_output.c if (pcmk__str_eq(task, PCMK_ACTION_MONITOR, pcmk__str_casei) task 3130 lib/pengine/pe_output.c task = "probe"; task 3145 lib/pengine/pe_output.c out->message(out, "op-history", xml_op, task, interval_ms_s, task 80 lib/pengine/pe_status_private.h const char *task, task 38 lib/pengine/unpack.c const char *task; // Action name task 2568 lib/pengine/unpack.c const char *task = NULL; task 2615 lib/pengine/unpack.c task = crm_element_value(rsc_op, PCMK_XA_OPERATION); task 2617 lib/pengine/unpack.c key = pcmk__op_key(rsc->id, task, interval_ms); task 2619 lib/pengine/unpack.c custom_action(rsc, key, task, node, TRUE, scheduler); task 2630 lib/pengine/unpack.c const char *task = NULL; task 2641 lib/pengine/unpack.c task = crm_element_value(rsc_op, PCMK_XA_OPERATION); task 2644 lib/pengine/unpack.c if (pcmk__str_eq(task, PCMK_ACTION_STOP, pcmk__str_casei) task 2648 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(task, PCMK_ACTION_START, task 2653 lib/pengine/unpack.c && pcmk__str_eq(task, PCMK_ACTION_MONITOR, task 2660 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(task, PCMK_ACTION_PROMOTE, task 3088 lib/pengine/unpack.c const char * task = NULL; task 3094 lib/pengine/unpack.c task = crm_element_value(op, PCMK_XA_OPERATION); task 3096 lib/pengine/unpack.c if (pcmk__str_any_of(task, PCMK_ACTION_START, PCMK_ACTION_STOP, task 3708 lib/pengine/unpack.c xmlNode *config = pcmk__find_action_config(history->rsc, history->task, task 3712 lib/pengine/unpack.c history->task, task 3717 lib/pengine/unpack.c *on_fail = pcmk__parse_on_fail(history->rsc, history->task, task 3719 lib/pengine/unpack.c *fail_role = pcmk__role_after_failure(history->rsc, history->task, *on_fail, task 3755 lib/pengine/unpack.c (is_probe? "probe" : history->task), history->rsc->id, task 3764 lib/pengine/unpack.c (is_probe? "probe" : history->task), history->rsc->id, task 3793 lib/pengine/unpack.c if (strcmp(history->task, PCMK_ACTION_STOP) == 0) { task 3797 lib/pengine/unpack.c } else if (strcmp(history->task, PCMK_ACTION_MIGRATE_TO) == 0) { task 3800 lib/pengine/unpack.c } else if (strcmp(history->task, PCMK_ACTION_MIGRATE_FROM) == 0) { task 3803 lib/pengine/unpack.c } else if (strcmp(history->task, PCMK_ACTION_PROMOTE) == 0) { task 3806 lib/pengine/unpack.c } else if (strcmp(history->task, PCMK_ACTION_DEMOTE) == 0) { task 3866 lib/pengine/unpack.c if (strcmp(history->task, PCMK_ACTION_STOP) != 0) { task 3877 lib/pengine/unpack.c history->rsc->id, history->task, task 3939 lib/pengine/unpack.c const char *task = history->task; task 3983 lib/pengine/unpack.c task = "probe"; task 4112 lib/pengine/unpack.c history->exit_status, task, history->rsc->id, task 4135 lib/pengine/unpack.c should_clear_for_param_change(const xmlNode *xml_op, const char *task, task 4138 lib/pengine/unpack.c if (pcmk__str_any_of(task, PCMK_ACTION_START, PCMK_ACTION_MONITOR, NULL)) { task 4185 lib/pengine/unpack.c should_ignore_failure_timeout(const pcmk_resource_t *rsc, const char *task, task 4211 lib/pengine/unpack.c && pcmk__str_eq(task, PCMK_ACTION_MONITOR, pcmk__str_casei)) { task 4274 lib/pengine/unpack.c && !should_ignore_failure_timeout(history->rsc, history->task, task 4332 lib/pengine/unpack.c && should_clear_for_param_change(history->xml, history->task, task 4357 lib/pengine/unpack.c history->task, history->rsc->id); task 4364 lib/pengine/unpack.c && pcmk__str_eq(history->task, PCMK_ACTION_MONITOR, pcmk__str_none)) { task 4421 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_MONITOR, task 4432 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_START, pcmk__str_none)) { task 4436 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_STOP, pcmk__str_none)) { task 4440 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_PROMOTE, task 4445 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_DEMOTE, task 4455 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_MIGRATE_FROM, task 4460 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_MIGRATE_TO, task 4482 lib/pengine/unpack.c history->task); task 4529 lib/pengine/unpack.c return pcmk__str_any_of(history->task, PCMK_ACTION_MONITOR, task 4535 lib/pengine/unpack.c return !pcmk__str_any_of(history->task, PCMK_ACTION_NOTIFY, task 4623 lib/pengine/unpack.c history->id, history->task, history->rsc->id, task 4641 lib/pengine/unpack.c pcmk__readable_interval(history->interval_ms), history->task, task 4707 lib/pengine/unpack.c if (!pcmk__str_eq(history->task, task 4755 lib/pengine/unpack.c if (strcmp(history->task, PCMK_ACTION_START) == 0) { task 4759 lib/pengine/unpack.c } else if (strcmp(history->task, PCMK_ACTION_PROMOTE) == 0) { task 4762 lib/pengine/unpack.c } else if ((strcmp(history->task, PCMK_ACTION_MIGRATE_TO) == 0) task 4785 lib/pengine/unpack.c if (pcmk_is_probe(history->task, history->interval_ms)) { task 4796 lib/pengine/unpack.c history->rsc->pending_task = strdup(history->task); task 4828 lib/pengine/unpack.c history.task = crm_element_value(xml_op, PCMK_XA_OPERATION); task 4829 lib/pengine/unpack.c if (history.task == NULL) { task 4841 lib/pengine/unpack.c history.task); task 4854 lib/pengine/unpack.c history.id, history.task, history.call_id, task 4900 lib/pengine/unpack.c history.task, rsc->id, pcmk__node_name(node), task 4944 lib/pengine/unpack.c && (strcmp(history.task, PCMK_ACTION_STOP) == 0))) { task 4950 lib/pengine/unpack.c history.task, services_ocf_exitcode_str(history.exit_status), task 1374 maint/gnulib/lib/stackvma.c task_t task = mach_task_self (); task 1403 maint/gnulib/lib/stackvma.c more = (vm_region_64 (task, &address, &size, VM_REGION_BASIC_INFO_64, task 1410 maint/gnulib/lib/stackvma.c more = (vm_region (task, &address, &size, VM_REGION_BASIC_INFO, task 1307 maint/gnulib/lib/vma-iter.c task_t task = mach_task_self (); task 1340 maint/gnulib/lib/vma-iter.c more = (vm_region_64 (task, &address, &size, VM_REGION_BASIC_INFO_64, task 1347 maint/gnulib/lib/vma-iter.c more = (vm_region (task, &address, &size, VM_REGION_BASIC_INFO, task 1375 maint/gnulib/lib/vma-iter.c task_t task = mach_task_self (); task 1389 maint/gnulib/lib/vma-iter.c if (!(vm_region (task, &address, &size, &protection, &max_protection, task 1393 maint/gnulib/lib/vma-iter.c mach_port_deallocate (task, object_name); task 1783 tools/crm_mon.c send_custom_trap(const char *node, const char *rsc, const char *task, int target_rc, int rc, task 1802 tools/crm_mon.c setenv("CRM_notify_task", task, 1); task 1835 tools/crm_mon.c char *task = NULL; task 1863 tools/crm_mon.c if (parse_op_key(id, &rsc, &task, NULL) == FALSE) { task 1894 tools/crm_mon.c crm_notice("%s of %s on %s completed: %s", task, rsc, node, desc); task 1901 tools/crm_mon.c crm_warn("%s of %s on %s failed: %s", task, rsc, node, desc); task 1905 tools/crm_mon.c crm_warn("%s of %s on %s failed: %s", task, rsc, node, desc); task 1909 tools/crm_mon.c send_custom_trap(node, rsc, task, target_rc, rc, status, desc); task 1914 tools/crm_mon.c free(task); task 1884 tools/crm_resource_runtime.c || pcmk__str_eq(PCMK_ACTION_NOTIFY, action->task, pcmk__str_casei)) {