task 277 daemons/controld/controld_callbacks.c const char *task = crm_element_value(down->xml, XML_LRM_ATTR_TASK); task 279 daemons/controld/controld_callbacks.c if (pcmk__str_eq(task, PCMK_ACTION_STONITH, pcmk__str_casei)) { task 285 daemons/controld/controld_callbacks.c } else if (!appeared && pcmk__str_eq(task, PCMK_ACTION_DO_SHUTDOWN, task 296 daemons/controld/controld_callbacks.c task, node->uname, down->id); task 299 daemons/controld/controld_callbacks.c task, node->uname, down->id); task 309 daemons/controld/controld_callbacks.c task, down->id); task 267 daemons/controld/controld_execd.c const char *task, const char *ack_host, const char *ack_sys) task 269 daemons/controld/controld_execd.c lrmd_event_data_t *op = construct_op(lrm_state, input->xml, rsc_id, task); task 404 daemons/controld/controld_fencing.c const char *task = NULL; task 427 daemons/controld/controld_fencing.c task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); task 428 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, F_CRM_TASK); task 362 daemons/controld/controld_messages.c if (pcmk__str_eq(task, CRM_OP_HELLO, pcmk__str_casei)) { task 409 daemons/controld/controld_messages.c if (pcmk__strcase_any_of(task, CRM_OP_NODE_INFO, task 429 daemons/controld/controld_messages.c } else if (is_for_crm && pcmk__str_eq(task, CRM_OP_LRM_DELETE, pcmk__str_casei)) { task 47 daemons/controld/controld_te_actions.c const char *task = crm_element_value(pseudo->xml, XML_LRM_ATTR_TASK); task 50 daemons/controld/controld_te_actions.c if (pcmk__str_eq(task, PCMK_ACTION_MAINTENANCE_NODES, pcmk__str_casei)) { task 63 daemons/controld/controld_te_actions.c cmd = create_request(task, pseudo->xml, node->uname, task 108 daemons/controld/controld_te_actions.c const char *task = NULL; task 119 daemons/controld/controld_te_actions.c task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); task 120 daemons/controld/controld_te_actions.c CRM_CHECK(!pcmk__str_empty(task), return EPROTO); task 128 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 166 daemons/controld/controld_te_actions.c cmd = create_request(task, action->xml, router_node, CRM_SYSTEM_CRMD, CRM_SYSTEM_TENGINE, NULL); task 187 daemons/controld/controld_te_actions.c action->id, task, on_node, action->timeout, graph->network_delay); task 355 daemons/controld/controld_te_actions.c const char *task = NULL; task 369 daemons/controld/controld_te_actions.c ID(action->xml), pcmk__s(task, "without task")); task 373 daemons/controld/controld_te_actions.c task = crm_element_value(rsc_op, XML_LRM_ATTR_TASK); task 397 daemons/controld/controld_te_actions.c task, task_uuid, (is_local? " locally" : ""), on_node, task 447 daemons/controld/controld_te_actions.c action->id, task, task_uuid, on_node, action->timeout); task 451 daemons/controld/controld_te_actions.c action->id, task, task_uuid, on_node, action->timeout, graph->network_delay); task 518 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); task 533 daemons/controld/controld_te_actions.c && pcmk__strcase_any_of(task, PCMK_ACTION_MIGRATE_TO, task 564 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); task 590 daemons/controld/controld_te_actions.c if (pcmk__strcase_any_of(task, PCMK_ACTION_MIGRATE_TO, task 616 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); task 630 daemons/controld/controld_te_actions.c && pcmk__strcase_any_of(task, PCMK_ACTION_MIGRATE_TO, task 648 daemons/controld/controld_te_callbacks.c const char *task = NULL; task 656 daemons/controld/controld_te_callbacks.c task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); task 663 daemons/controld/controld_te_callbacks.c (on_node? on_node : ""), (task? task : "unknown action"), task 670 daemons/controld/controld_te_callbacks.c (on_node? on_node : ""), (task? task : "unknown action"), task 683 daemons/controld/controld_te_callbacks.c && controld_action_is_recordable(task)) { task 112 daemons/controld/controld_te_events.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); task 114 daemons/controld/controld_te_events.c if (pcmk__str_eq(task, PCMK_ACTION_STONITH, pcmk__str_casei)) { task 175 daemons/controld/controld_te_events.c char *task = NULL; task 194 daemons/controld/controld_te_events.c CRM_CHECK(parse_op_key(id, &rsc_id, &task, &interval_ms), task 199 daemons/controld/controld_te_events.c || pcmk__str_eq(task, PCMK_ACTION_PROMOTE, pcmk__str_none) task 200 daemons/controld/controld_te_events.c || pcmk__str_eq(task, PCMK_ACTION_DEMOTE, pcmk__str_none)) { task 203 daemons/controld/controld_te_events.c } else if (pcmk__str_eq(task, PCMK_ACTION_START, pcmk__str_none)) { task 208 daemons/controld/controld_te_events.c } else if (pcmk__str_eq(task, PCMK_ACTION_STOP, pcmk__str_none)) { task 236 daemons/controld/controld_te_events.c rsc_id, on_uname, task, rc, value, now); task 243 daemons/controld/controld_te_events.c fail_name = pcmk__failcount_name(rsc_id, task, interval_ms); task 257 daemons/controld/controld_te_events.c last_name = pcmk__lastfailure_name(rsc_id, task, interval_ms); task 278 daemons/controld/controld_te_events.c free(task); task 312 daemons/controld/controld_te_events.c const char *task = NULL; task 316 daemons/controld/controld_te_events.c task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); task 317 daemons/controld/controld_te_events.c if (!pcmk__str_eq(PCMK_ACTION_CANCEL, task, pcmk__str_casei)) { task 321 daemons/controld/controld_te_events.c task = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); task 322 daemons/controld/controld_te_events.c if (!pcmk__str_eq(task, id, pcmk__str_casei)) { task 323 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 403 include/crm/common/actions.h char *task; //!< Action name task 456 include/crm/common/actions.h const char *task, const char *interval_spec, task 459 include/crm/common/actions.h bool pcmk_is_probe(const char *task, guint interval); task 43 include/crm/common/ipc.h #define create_request(task, xml_data, host_to, sys_to, sys_from, uuid_from) \ task 44 include/crm/common/ipc.h create_request_adv(task, xml_data, host_to, sys_to, sys_from, uuid_from, \ task 47 include/crm/common/ipc.h xmlNode *create_request_adv(const char *task, xmlNode *xml_data, task 176 include/crm/crm_compat.h crm_action_str(const char *task, guint interval_ms) { task 177 include/crm/crm_compat.h if ((task != NULL) && (interval_ms == 0) task 178 include/crm/crm_compat.h && (strcasecmp(task, PCMK_ACTION_MONITOR) == 0)) { task 181 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 25 include/crm/pengine/common.h const char *task2text(enum action_tasks task); task 26 include/crm/pengine/common.h enum action_tasks text2task(const char *task); task 196 include/crm/pengine/internal.h pcmk_action_t *pe__new_rsc_pseudo_action(pcmk_resource_t *rsc, const char *task, task 369 include/crm/pengine/internal.h pcmk_action_t *custom_action(pcmk_resource_t *rsc, char *key, const char *task, task 403 include/crm/pengine/internal.h const char *task, const pcmk_node_t *on_node); task 412 include/crm/pengine/internal.h const char *task, bool require_node); task 464 include/crm/pengine/internal.h op_digest_cache_t *pe__calculate_digests(pcmk_resource_t *rsc, const char *task, task 428 lib/common/actions.c crm_create_op_xml(xmlNode *parent, const char *prefix, const char *task, task 433 lib/common/actions.c CRM_CHECK(prefix && task && interval_spec, return NULL); task 436 lib/common/actions.c crm_xml_set_id(xml_op, "%s-%s-%s", prefix, task, interval_spec); task 438 lib/common/actions.c crm_xml_add(xml_op, "name", task); task 496 lib/common/actions.c pcmk_is_probe(const char *task, guint interval) task 498 lib/common/actions.c if (task == NULL) { task 503 lib/common/actions.c && pcmk__str_eq(task, PCMK_ACTION_MONITOR, pcmk__str_none); task 509 lib/common/actions.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); task 514 lib/common/actions.c return pcmk_is_probe(task, interval_ms); task 275 lib/common/ipc_pacemakerd.c do_pacemakerd_api_call(pcmk_ipc_api_t *api, const char *ipc_name, const char *task) task 288 lib/common/ipc_pacemakerd.c cmd = create_request(task, NULL, NULL, CRM_SYSTEM_MCP, task 143 lib/common/ipc_schedulerd.c do_schedulerd_api_call(pcmk_ipc_api_t *api, const char *task, xmlNode *cib, char **ref) task 156 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, F_CRM_TASK, task); 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 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 pcmk__str_update((char **) &event->op_type, task); task 393 lib/pacemaker/libpacemaker_private.h const char *task, guint interval_ms, task 397 lib/pacemaker/libpacemaker_private.h void pcmk__reschedule_recurring(pcmk_resource_t *rsc, const char *task, task 1028 lib/pacemaker/libpacemaker_private.h const char *resource, const char *task, task 143 lib/pacemaker/pcmk_graph_producer.c if (pcmk__str_eq(action->task, PCMK_ACTION_DO_SHUTDOWN, pcmk__str_none)) { task 149 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 369 lib/pacemaker/pcmk_graph_producer.c } else if (pcmk__str_eq(action->task, PCMK_ACTION_STONITH, pcmk__str_none) task 408 lib/pacemaker/pcmk_graph_producer.c if (pcmk__str_eq(action->task, PCMK_ACTION_STONITH, pcmk__str_none)) { task 416 lib/pacemaker/pcmk_graph_producer.c } else if (pcmk__str_any_of(action->task, task 421 lib/pacemaker/pcmk_graph_producer.c } else if (pcmk__str_eq(action->task, PCMK_ACTION_LRM_DELETE, task 428 lib/pacemaker/pcmk_graph_producer.c if (pcmk__str_eq(action->task, PCMK_ACTION_MAINTENANCE_NODES, task 440 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(action_xml, XML_LRM_ATTR_TASK, action->task); task 520 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 1072 lib/pacemaker/pcmk_graph_producer.c && pcmk__str_eq(action->task, PCMK_ACTION_STOP, pcmk__str_none)) { task 91 lib/pacemaker/pcmk_injections.c const char *resource, const char *task, task 104 lib/pacemaker/pcmk_injections.c name = pcmk__failcount_name(resource, task, interval_ms); task 108 lib/pacemaker/pcmk_injections.c name = pcmk__lastfailure_name(resource, task, interval_ms); task 162 lib/pacemaker/pcmk_injections.c create_op(const xmlNode *cib_resource, const char *task, guint interval_ms, task 168 lib/pacemaker/pcmk_injections.c op = lrmd_new_event(ID(cib_resource), task, interval_ms); task 567 lib/pacemaker/pcmk_injections.c char *task = NULL; task 591 lib/pacemaker/pcmk_injections.c parse_op_key(key, &resource, &task, &interval_ms); task 606 lib/pacemaker/pcmk_injections.c pcmk__inject_failcount(out, cib_node, resource, task, interval_ms, outcome); task 613 lib/pacemaker/pcmk_injections.c op = create_op(cib_resource, task, interval_ms, outcome); task 625 lib/pacemaker/pcmk_injections.c free(task); task 965 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 975 lib/pacemaker/pcmk_output.c ((task == NULL)? "unknown" : task)); task 976 lib/pacemaker/pcmk_output.c } else if (pcmk__str_eq(task, PCMK_ACTION_MONITOR, pcmk__str_none)) { task 980 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 "task", pcmk__s(task, ""), task 1304 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1308 lib/pacemaker/pcmk_output.c if (task == NULL) { task 1311 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s %s '%s'", task, node_name, reason); task 1313 lib/pacemaker/pcmk_output.c crm_notice(" * %s %s", task, node_name); task 1323 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1327 lib/pacemaker/pcmk_output.c if (task == NULL) { task 1331 lib/pacemaker/pcmk_output.c "task", task, task 1336 lib/pacemaker/pcmk_output.c crm_notice(" * %s %s", task, node_name); task 1394 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1403 lib/pacemaker/pcmk_output.c task, ID(rsc), node); task 1405 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Cluster action: %s on %s", task, node); task 1417 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1427 lib/pacemaker/pcmk_output.c "task", task, task 1686 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1693 lib/pacemaker/pcmk_output.c task, ((node == NULL)? "" : " on "), pcmk__s(node, "")); task 1702 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1711 lib/pacemaker/pcmk_output.c "task", task, task 53 lib/pacemaker/pcmk_resource.c const char *task = crm_element_value(lrm_rsc_op, XML_LRM_ATTR_TASK); task 60 lib/pacemaker/pcmk_resource.c && pcmk__strcase_any_of(task, PCMK_ACTION_MONITOR, task 121 lib/pacemaker/pcmk_resource.c const char *task = NULL; task 140 lib/pacemaker/pcmk_resource.c task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); task 143 lib/pacemaker/pcmk_resource.c if (task == NULL) { // Assume start if no history is available task 144 lib/pacemaker/pcmk_resource.c task = PCMK_ACTION_START; task 149 lib/pacemaker/pcmk_resource.c digests = pe__calculate_digests(rsc, task, &interval_ms, node, xml_op, task 151 lib/pacemaker/pcmk_resource.c rc = out->message(out, "digests", rsc, node, task, interval_ms, digests); task 468 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(first->task, PCMK_ACTION_STOP, pcmk__str_none)) { task 548 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(first->task, PCMK_ACTION_START, pcmk__str_none)) { task 559 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(then->task, PCMK_ACTION_START, pcmk__str_none)) { task 592 lib/pacemaker/pcmk_sched_actions.c if (!strcmp(first->task, PCMK_ACTION_RELOAD_AGENT)) { task 730 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(then->task, PCMK_ACTION_STOP, pcmk__str_none)) { task 736 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(then->task, PCMK_ACTION_START, pcmk__str_none) task 982 lib/pacemaker/pcmk_sched_actions.c switch (text2task(action->task)) { task 1130 lib/pacemaker/pcmk_sched_actions.c const char *task = NULL; task 1138 lib/pacemaker/pcmk_sched_actions.c task = op->op_type; task 1149 lib/pacemaker/pcmk_sched_actions.c if (pcmk__str_any_of(task, PCMK_ACTION_RELOAD, PCMK_ACTION_RELOAD_AGENT, task 1152 lib/pacemaker/pcmk_sched_actions.c task = PCMK_ACTION_START; task 1154 lib/pacemaker/pcmk_sched_actions.c task = PCMK_ACTION_MONITOR; task 1158 lib/pacemaker/pcmk_sched_actions.c key = pcmk__op_key(op->rsc_id, task, op->interval_ms); task 1159 lib/pacemaker/pcmk_sched_actions.c if (pcmk__str_eq(task, PCMK_ACTION_NOTIFY, pcmk__str_none)) { task 1220 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, XML_LRM_ATTR_TASK, task); task 1312 lib/pacemaker/pcmk_sched_actions.c if (action->node->details->shutdown && (action->task != NULL) task 1313 lib/pacemaker/pcmk_sched_actions.c && (strcmp(action->task, PCMK_ACTION_STOP) != 0)) { task 1400 lib/pacemaker/pcmk_sched_actions.c char *task = NULL; task 1410 lib/pacemaker/pcmk_sched_actions.c if (pcmk__str_eq(action->task, PCMK_ACTION_DO_SHUTDOWN, task 1412 lib/pacemaker/pcmk_sched_actions.c task = strdup("Shutdown"); task 1414 lib/pacemaker/pcmk_sched_actions.c } else if (pcmk__str_eq(action->task, PCMK_ACTION_STONITH, task 1419 lib/pacemaker/pcmk_sched_actions.c task = crm_strdup_printf("Fence (%s)", op); task 1435 lib/pacemaker/pcmk_sched_actions.c out->message(out, "node-action", task, node_name, action->reason); task 1438 lib/pacemaker/pcmk_sched_actions.c free(task); task 1459 lib/pacemaker/pcmk_sched_actions.c task_for_digest(const char *task, guint interval_ms) task 1465 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_any_of(task, PCMK_ACTION_MONITOR, PCMK_ACTION_MIGRATE_FROM, task 1467 lib/pacemaker/pcmk_sched_actions.c task = PCMK_ACTION_START; task 1469 lib/pacemaker/pcmk_sched_actions.c return task; task 1518 lib/pacemaker/pcmk_sched_actions.c force_restart(pcmk_resource_t *rsc, const char *task, guint interval_ms, task 1521 lib/pacemaker/pcmk_sched_actions.c char *key = pcmk__op_key(rsc->id, task, interval_ms); task 1522 lib/pacemaker/pcmk_sched_actions.c pcmk_action_t *required = custom_action(rsc, key, task, NULL, FALSE, task 1607 lib/pacemaker/pcmk_sched_actions.c const char *task = NULL; task 1613 lib/pacemaker/pcmk_sched_actions.c task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); task 1614 lib/pacemaker/pcmk_sched_actions.c CRM_CHECK(task != NULL, return false); task 1620 lib/pacemaker/pcmk_sched_actions.c if (pcmk__find_action_config(rsc, task, interval_ms, false) != NULL) { task 1622 lib/pacemaker/pcmk_sched_actions.c pcmk__readable_interval(interval_ms), task, rsc->id, task 1629 lib/pacemaker/pcmk_sched_actions.c task, interval_ms, node, "orphan"); task 1633 lib/pacemaker/pcmk_sched_actions.c pcmk__readable_interval(interval_ms), task, rsc->id, task 1640 lib/pacemaker/pcmk_sched_actions.c pcmk__readable_interval(interval_ms), task, rsc->id, task 1642 lib/pacemaker/pcmk_sched_actions.c task = task_for_digest(task, interval_ms); task 1652 lib/pacemaker/pcmk_sched_actions.c pcmk__readable_interval(interval_ms), task, rsc->id, task 1662 lib/pacemaker/pcmk_sched_actions.c force_restart(rsc, task, interval_ms, node); task 1675 lib/pacemaker/pcmk_sched_actions.c pcmk__reschedule_recurring(rsc, task, interval_ms, node); task 1692 lib/pacemaker/pcmk_sched_actions.c force_restart(rsc, task, interval_ms, node); task 1787 lib/pacemaker/pcmk_sched_actions.c const char *task = NULL; task 1795 lib/pacemaker/pcmk_sched_actions.c task = crm_element_value(rsc_op, XML_LRM_ATTR_TASK); task 1805 lib/pacemaker/pcmk_sched_actions.c task, interval_ms, node, "maintenance mode"); task 1808 lib/pacemaker/pcmk_sched_actions.c || pcmk__strcase_any_of(task, PCMK_ACTION_MONITOR, task 694 lib/pacemaker/pcmk_sched_bundle.c switch (get_complex_task(bundled_resource, action->task)) { task 1014 lib/pacemaker/pcmk_sched_colocation.c mark_action_blocked(pcmk_resource_t *rsc, const char *task, task 1024 lib/pacemaker/pcmk_sched_colocation.c && pcmk__str_eq(action->task, task, pcmk__str_none)) { task 1035 lib/pacemaker/pcmk_sched_colocation.c mark_action_blocked((pcmk_resource_t *) (iter->data), task, reason); task 1062 lib/pacemaker/pcmk_sched_colocation.c is_start = pcmk__str_eq(action->task, PCMK_ACTION_START, pcmk__str_none); task 1064 lib/pacemaker/pcmk_sched_colocation.c && !pcmk__str_eq(action->task, PCMK_ACTION_PROMOTE, pcmk__str_none)) { task 1083 lib/pacemaker/pcmk_sched_colocation.c action->task, NULL); task 1089 lib/pacemaker/pcmk_sched_colocation.c rsc->id, child->id, action->task); task 1095 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 501 lib/pacemaker/pcmk_sched_group.c enum action_tasks task = get_complex_task(member, action->task); task 502 lib/pacemaker/pcmk_sched_group.c const char *task_s = task2text(task); task 521 lib/pacemaker/pcmk_sched_group.c if (!pcmk__str_eq(task_s, action->task, pcmk__str_none) task 535 lib/pacemaker/pcmk_sched_group.c } else if ((task != pcmk_action_stop) && (task != pcmk_action_demote)) { task 590 lib/pacemaker/pcmk_sched_group.c then->task, node); task 925 lib/pacemaker/pcmk_sched_instances.c if (pcmk__str_eq(PCMK_ACTION_START, action->task, pcmk__str_none)) { task 938 lib/pacemaker/pcmk_sched_instances.c } else if (pcmk__str_eq(PCMK_ACTION_STOP, action->task, task 1278 lib/pacemaker/pcmk_sched_instances.c if ((for_first && !pcmk__str_any_of(action->task, PCMK_ACTION_STOP, task 1281 lib/pacemaker/pcmk_sched_instances.c || (!for_first && pcmk__str_any_of(action->task, PCMK_ACTION_PROMOTE, task 1333 lib/pacemaker/pcmk_sched_instances.c const char *action_name = action->task; task 1336 lib/pacemaker/pcmk_sched_instances.c if (pcmk__strcase_any_of(action->task, PCMK_ACTION_NOTIFY, task 1414 lib/pacemaker/pcmk_sched_instances.c then_action = find_instance_action(then, then_instance, then->task, task 1514 lib/pacemaker/pcmk_sched_instances.c instance_action = find_first_action(instance->actions, NULL, then->task, task 244 lib/pacemaker/pcmk_sched_migration.c res = strdup(action->task); task 342 lib/pacemaker/pcmk_sched_ordering.c char *task = crm_strdup_printf(PCMK_ACTION_CLONE_ONE_OR_MORE ":%s", id); task 343 lib/pacemaker/pcmk_sched_ordering.c pcmk_action_t *clone_min_met = get_pseudo_op(task, rsc_first->cluster); task 345 lib/pacemaker/pcmk_sched_ordering.c free(task); task 760 lib/pacemaker/pcmk_sched_ordering.c char *task = crm_strdup_printf(PCMK_ACTION_ONE_OR_MORE ":%s", ID(set1)); task 761 lib/pacemaker/pcmk_sched_ordering.c pcmk_action_t *unordered_action = get_pseudo_op(task, scheduler); task 763 lib/pacemaker/pcmk_sched_ordering.c free(task); task 1096 lib/pacemaker/pcmk_sched_ordering.c && pcmk__str_eq(action->task, PCMK_ACTION_MIGRATE_TO, pcmk__str_none) task 1139 lib/pacemaker/pcmk_sched_ordering.c || !pcmk__str_eq(action->task, PCMK_ACTION_STOP, pcmk__str_none)) { task 1202 lib/pacemaker/pcmk_sched_ordering.c char *task = NULL; task 1205 lib/pacemaker/pcmk_sched_ordering.c if (parse_op_key(original_key, NULL, &task, &interval_ms)) { task 1206 lib/pacemaker/pcmk_sched_ordering.c key = pcmk__op_key(rsc->id, task, interval_ms); task 1209 lib/pacemaker/pcmk_sched_ordering.c free(task); task 1278 lib/pacemaker/pcmk_sched_ordering.c "to order it after", then_action_iter->task, rsc->id, task 1450 lib/pacemaker/pcmk_sched_ordering.c const char *after_desc = (after->task == NULL)? after->uuid : after->task; task 1454 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 317 lib/pacemaker/pcmk_sched_probes.c if (pcmk__str_eq(then->task, PCMK_ACTION_DO_SHUTDOWN, pcmk__str_none) task 372 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 490 lib/pacemaker/pcmk_sched_probes.c || !pcmk__str_eq(after->action->task, PCMK_ACTION_START, task 508 lib/pacemaker/pcmk_sched_probes.c || !pcmk__str_eq(then->action->task, PCMK_ACTION_START, task 549 lib/pacemaker/pcmk_sched_probes.c || !pcmk__str_eq(probe->task, PCMK_ACTION_MONITOR, pcmk__str_none)) { task 572 lib/pacemaker/pcmk_sched_probes.c if (pcmk__str_eq(after->task, PCMK_ACTION_START, pcmk__str_none)) { task 576 lib/pacemaker/pcmk_sched_probes.c } else if (pcmk__str_eq(after->task, PCMK_ACTION_PROMOTE, task 806 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 327 lib/pacemaker/pcmk_sched_recurring.c pcmk__readable_interval(op->interval_ms), mon->task, task 553 lib/pacemaker/pcmk_sched_recurring.c stopped_mon->task, rsc->id, pe__node_name(stop_node)); task 628 lib/pacemaker/pcmk_sched_recurring.c pcmk__new_cancel_action(pcmk_resource_t *rsc, const char *task, task 635 lib/pacemaker/pcmk_sched_recurring.c CRM_ASSERT((rsc != NULL) && (task != NULL) && (node != NULL)); task 638 lib/pacemaker/pcmk_sched_recurring.c key = pcmk__op_key(rsc->id, task, interval_ms); task 643 lib/pacemaker/pcmk_sched_recurring.c pcmk__str_update(&cancel_op->task, PCMK_ACTION_CANCEL); task 644 lib/pacemaker/pcmk_sched_recurring.c pcmk__str_update(&cancel_op->cancel_task, task); task 647 lib/pacemaker/pcmk_sched_recurring.c add_hash_param(cancel_op->meta, XML_LRM_ATTR_TASK, task); task 667 lib/pacemaker/pcmk_sched_recurring.c const char *task, guint interval_ms, task 672 lib/pacemaker/pcmk_sched_recurring.c CRM_CHECK((rsc != NULL) && (task != NULL) task 677 lib/pacemaker/pcmk_sched_recurring.c pcmk__readable_interval(interval_ms), task, rsc->id, task 679 lib/pacemaker/pcmk_sched_recurring.c cancel = pcmk__new_cancel_action(rsc, task, interval_ms, node); task 697 lib/pacemaker/pcmk_sched_recurring.c pcmk__reschedule_recurring(pcmk_resource_t *rsc, const char *task, task 704 lib/pacemaker/pcmk_sched_recurring.c op = custom_action(rsc, pcmk__op_key(rsc->id, task, interval_ms), task 705 lib/pacemaker/pcmk_sched_recurring.c task, node, TRUE, rsc->cluster); task 172 lib/pacemaker/pcmk_sched_remote.c enum action_tasks task = text2task(action->task); task 187 lib/pacemaker/pcmk_sched_remote.c action->task, action->uuid, task 191 lib/pacemaker/pcmk_sched_remote.c if (pcmk__strcase_any_of(action->task, PCMK_ACTION_MIGRATE_TO, task 196 lib/pacemaker/pcmk_sched_remote.c task = pcmk_action_stop; task 199 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 = text2task(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 687 lib/pacemaker/pcmk_sched_remote.c enum action_tasks task; task 693 lib/pacemaker/pcmk_sched_remote.c task = text2task(action->task); task 694 lib/pacemaker/pcmk_sched_remote.c if ((task == pcmk_action_notify) || (task == pcmk_action_notified)) { task 695 lib/pacemaker/pcmk_sched_remote.c task = text2task(g_hash_table_lookup(action->meta, "notify_operation")); task 698 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 626 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 77 lib/pacemaker/pcmk_simulate.c if (pcmk__strcase_any_of(action->task, PCMK_ACTION_NOTIFY, task 88 lib/pacemaker/pcmk_simulate.c key = pcmk__op_key(clone_name, task, interval_ms); task 99 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 473 lib/pacemaker/pcmk_simulate.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); task 476 lib/pacemaker/pcmk_simulate.c out->message(out, "inject-pseudo-action", node, task); task 666 lib/pacemaker/pcmk_simulate.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); task 670 lib/pacemaker/pcmk_simulate.c out->message(out, "inject-cluster-action", node, task, rsc); task 360 lib/pengine/common.c text2task(const char *task) task 362 lib/pengine/common.c if (pcmk__str_eq(task, PCMK_ACTION_STOP, pcmk__str_casei)) { task 365 lib/pengine/common.c } else if (pcmk__str_eq(task, PCMK_ACTION_STOPPED, pcmk__str_casei)) { task 368 lib/pengine/common.c } else if (pcmk__str_eq(task, PCMK_ACTION_START, pcmk__str_casei)) { task 371 lib/pengine/common.c } else if (pcmk__str_eq(task, PCMK_ACTION_RUNNING, pcmk__str_casei)) { task 374 lib/pengine/common.c } else if (pcmk__str_eq(task, PCMK_ACTION_DO_SHUTDOWN, pcmk__str_casei)) { task 377 lib/pengine/common.c } else if (pcmk__str_eq(task, PCMK_ACTION_STONITH, pcmk__str_casei)) { task 380 lib/pengine/common.c } else if (pcmk__str_eq(task, PCMK_ACTION_MONITOR, pcmk__str_casei)) { task 383 lib/pengine/common.c } else if (pcmk__str_eq(task, PCMK_ACTION_NOTIFY, pcmk__str_casei)) { task 386 lib/pengine/common.c } else if (pcmk__str_eq(task, PCMK_ACTION_NOTIFIED, pcmk__str_casei)) { task 389 lib/pengine/common.c } else if (pcmk__str_eq(task, PCMK_ACTION_PROMOTE, pcmk__str_casei)) { task 392 lib/pengine/common.c } else if (pcmk__str_eq(task, PCMK_ACTION_DEMOTE, pcmk__str_casei)) { task 395 lib/pengine/common.c } else if (pcmk__str_eq(task, PCMK_ACTION_PROMOTED, pcmk__str_casei)) { task 398 lib/pengine/common.c } else if (pcmk__str_eq(task, PCMK_ACTION_DEMOTED, pcmk__str_casei)) { task 405 lib/pengine/common.c task2text(enum action_tasks task) task 409 lib/pengine/common.c switch (task) { task 166 lib/pengine/pe_actions.c new_action(char *key, const char *task, pcmk_resource_t *rsc, task 174 lib/pengine/pe_actions.c action->task = strdup(task); CRM_ASSERT(action->task != NULL); task 181 lib/pengine/pe_actions.c if (pcmk__str_eq(task, PCMK_ACTION_LRM_DELETE, pcmk__str_casei)) { task 199 lib/pengine/pe_actions.c action->op_entry = pcmk__find_action_config(rsc, task, interval_ms, task 215 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 419 lib/pengine/pe_actions.c if (pcmk__str_eq(action->task, PCMK_ACTION_STOP, pcmk__str_casei)) { task 422 lib/pengine/pe_actions.c } else if (pcmk__str_eq(action->task, PCMK_ACTION_START, pcmk__str_casei)) { task 1089 lib/pengine/pe_actions.c action->task, interval_ms, xml_obj); task 1090 lib/pengine/pe_actions.c action->needs = pcmk__action_requires(action->rsc, action->task); task 1093 lib/pengine/pe_actions.c action->on_fail = pcmk__parse_on_fail(action->rsc, action->task, task 1096 lib/pengine/pe_actions.c action->fail_role = pcmk__role_after_failure(action->rsc, action->task, task 1117 lib/pengine/pe_actions.c custom_action(pcmk_resource_t *rsc, char *key, const char *task, task 1123 lib/pengine/pe_actions.c CRM_ASSERT((key != NULL) && (task != NULL) && (scheduler != NULL)); task 1127 lib/pengine/pe_actions.c action = new_action(key, task, rsc, on_node, optional, scheduler); task 1397 lib/pengine/pe_actions.c free(action->task); task 1455 lib/pengine/pe_actions.c enum action_tasks task = text2task(name); task 1458 lib/pengine/pe_actions.c switch (task) { task 1465 lib/pengine/pe_actions.c --task; task 1471 lib/pengine/pe_actions.c return task; task 1486 lib/pengine/pe_actions.c find_first_action(const GList *input, const char *uuid, const char *task, task 1489 lib/pengine/pe_actions.c CRM_CHECK(uuid || task, return NULL); task 1497 lib/pengine/pe_actions.c } else if (task != NULL && !pcmk__str_eq(task, action->task, pcmk__str_casei)) { task 1589 lib/pengine/pe_actions.c const char *task, bool require_node) task 1592 lib/pengine/pe_actions.c char *key = pcmk__op_key(rsc->id, task, 0); task 1636 lib/pengine/pe_actions.c action->task); task 1835 lib/pengine/pe_actions.c pe__new_rsc_pseudo_action(pcmk_resource_t *rsc, const char *task, bool optional, task 1840 lib/pengine/pe_actions.c CRM_ASSERT((rsc != NULL) && (task != NULL)); task 1842 lib/pengine/pe_actions.c action = custom_action(rsc, pcmk__op_key(rsc->id, task, 0), task, NULL, task 101 lib/pengine/pe_digest.c const char *task, guint *interval_ms, task 137 lib/pengine/pe_digest.c action_config = pcmk__find_action_config(rsc, task, *interval_ms, true); task 158 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 334 lib/pengine/pe_digest.c calculate_main_digest(data, rsc, node, params, task, interval_ms, xml_op, task 359 lib/pengine/pe_digest.c rsc_action_digest(pcmk_resource_t *rsc, const char *task, guint interval_ms, task 364 lib/pengine/pe_digest.c char *key = pcmk__op_key(rsc->id, task, interval_ms); task 368 lib/pengine/pe_digest.c data = pe__calculate_digests(rsc, task, &interval_ms, node, xml_op, task 396 lib/pengine/pe_digest.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); task 407 lib/pengine/pe_digest.c data = rsc_action_digest(rsc, task, interval_ms, node, xml_op, task 415 lib/pengine/pe_digest.c interval_ms, task, rsc->id, pe__node_name(node), task 440 lib/pengine/pe_digest.c interval_ms, task, rsc->id, pe__node_name(node), task 448 lib/pengine/pe_digest.c interval_ms, task, rsc->id, pe__node_name(node), task 289 lib/pengine/pe_notif.c pcmk__notify_key(rsc->id, notif_type, action->task), task 295 lib/pengine/pe_notif.c add_hash_param(notify->meta, "notify_key_operation", action->task); task 319 lib/pengine/pe_notif.c const char *task = NULL; task 341 lib/pengine/pe_notif.c task = g_hash_table_lookup(op->meta, "notify_operation"); // original action task 344 lib/pengine/pe_notif.c rsc->id, pe__node_name(node), value, task); task 347 lib/pengine/pe_notif.c key = pcmk__notify_key(rsc->id, value, task); task 348 lib/pengine/pe_notif.c notify_action = custom_action(rsc, key, op->task, node, task 396 lib/pengine/pe_notif.c || pcmk__str_eq(mon->task, PCMK_ACTION_CANCEL, pcmk__str_none)) { task 435 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 action_tasks task = text2task(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 812 lib/pengine/pe_notif.c enum action_tasks task = text2task(n_data->action); task 826 lib/pengine/pe_notif.c switch (text2task(op->task)) { task 840 lib/pengine/pe_notif.c switch (task) { task 875 lib/pengine/pe_notif.c && ((task == pcmk_action_stop) || (task == pcmk_action_demote))) { task 895 lib/pengine/pe_notif.c if ((task == pcmk_action_demote) || (stop == NULL) task 904 lib/pengine/pe_notif.c && ((task == pcmk_action_start) || (task == pcmk_action_promote))) { task 925 lib/pengine/pe_notif.c if ((task != pcmk_action_start) || (start == NULL) task 148 lib/pengine/pe_output.c const char *task = crm_element_value(rsc_op, XML_LRM_ATTR_TASK); task 157 lib/pengine/pe_output.c if (pcmk__str_eq(task, PCMK_ACTION_MONITOR, pcmk__str_casei) task 159 lib/pengine/pe_output.c task = "probe"; task 163 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, "probe", pcmk__str_none) task 222 lib/pengine/pe_output.c op_history_string(xmlNode *xml_op, const char *task, const char *interval_ms_s, task 267 lib/pengine/pe_output.c buf = crm_strdup_printf("(%s) %s:%s%s%s%s rc=%d (%s)", call, task, task 286 lib/pengine/pe_output.c buf = crm_strdup_printf("(%s) %s%s%s", call, task, task 1315 lib/pengine/pe_output.c char *task = NULL; task 1321 lib/pengine/pe_output.c || !parse_op_key(op_key, &rsc_id, &task, &interval_ms)) { task 1323 lib/pengine/pe_output.c task = strdup("unknown action"); task 1326 lib/pengine/pe_output.c CRM_ASSERT((rsc_id != NULL) && (task != NULL)); task 1336 lib/pengine/pe_output.c pcmk__g_strcat(str, pcmk__readable_action(task, interval_ms), " on ", task 1377 lib/pengine/pe_output.c free(task); task 2571 lib/pengine/pe_output.c const char *task = va_arg(args, const char *); task 2576 lib/pengine/pe_output.c char *buf = op_history_string(xml_op, task, interval_ms_s, rc, task 2589 lib/pengine/pe_output.c const char *task = va_arg(args, const char *); task 2597 lib/pengine/pe_output.c "task", task, task 2914 lib/pengine/pe_output.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); task 2923 lib/pengine/pe_output.c if (pcmk__str_eq(task, PCMK_ACTION_MONITOR, pcmk__str_casei) task 2925 lib/pengine/pe_output.c task = "probe"; task 2940 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 39 lib/pengine/unpack.c const char *task; // Action name task 2477 lib/pengine/unpack.c const char *task = NULL; task 2523 lib/pengine/unpack.c task = crm_element_value(rsc_op, XML_LRM_ATTR_TASK); task 2525 lib/pengine/unpack.c key = pcmk__op_key(rsc->id, task, interval_ms); task 2527 lib/pengine/unpack.c custom_action(rsc, key, task, node, TRUE, scheduler); task 2538 lib/pengine/unpack.c const char *task = NULL; task 2549 lib/pengine/unpack.c task = crm_element_value(rsc_op, XML_LRM_ATTR_TASK); task 2552 lib/pengine/unpack.c if (pcmk__str_eq(task, PCMK_ACTION_STOP, pcmk__str_casei) task 2556 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(task, PCMK_ACTION_START, task 2561 lib/pengine/unpack.c && pcmk__str_eq(task, PCMK_ACTION_MONITOR, task 2568 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(task, PCMK_ACTION_PROMOTE, task 2984 lib/pengine/unpack.c const char * task = NULL; task 2990 lib/pengine/unpack.c task = crm_element_value(op, XML_LRM_ATTR_TASK); task 2992 lib/pengine/unpack.c if (pcmk__str_any_of(task, PCMK_ACTION_START, PCMK_ACTION_STOP, task 3604 lib/pengine/unpack.c xmlNode *config = pcmk__find_action_config(history->rsc, history->task, task 3608 lib/pengine/unpack.c history->task, task 3613 lib/pengine/unpack.c *on_fail = pcmk__parse_on_fail(history->rsc, history->task, task 3615 lib/pengine/unpack.c *fail_role = pcmk__role_after_failure(history->rsc, history->task, *on_fail, task 3651 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 3688 lib/pengine/unpack.c if (strcmp(history->task, PCMK_ACTION_STOP) == 0) { task 3692 lib/pengine/unpack.c } else if (strcmp(history->task, PCMK_ACTION_MIGRATE_TO) == 0) { task 3695 lib/pengine/unpack.c } else if (strcmp(history->task, PCMK_ACTION_MIGRATE_FROM) == 0) { task 3698 lib/pengine/unpack.c } else if (strcmp(history->task, PCMK_ACTION_PROMOTE) == 0) { task 3701 lib/pengine/unpack.c } else if (strcmp(history->task, PCMK_ACTION_DEMOTE) == 0) { task 3760 lib/pengine/unpack.c if (strcmp(history->task, PCMK_ACTION_STOP) != 0) { task 3771 lib/pengine/unpack.c history->rsc->id, history->task, pe__node_name(history->node), task 3832 lib/pengine/unpack.c const char *task = history->task; task 3876 lib/pengine/unpack.c task = "probe"; task 4004 lib/pengine/unpack.c history->exit_status, task, history->rsc->id, task 4027 lib/pengine/unpack.c should_clear_for_param_change(const xmlNode *xml_op, const char *task, task 4030 lib/pengine/unpack.c if (pcmk__str_any_of(task, PCMK_ACTION_START, PCMK_ACTION_MONITOR, NULL)) { task 4077 lib/pengine/unpack.c should_ignore_failure_timeout(const pcmk_resource_t *rsc, const char *task, task 4103 lib/pengine/unpack.c && pcmk__str_eq(task, PCMK_ACTION_MONITOR, pcmk__str_casei)) { task 4164 lib/pengine/unpack.c && !should_ignore_failure_timeout(history->rsc, history->task, task 4222 lib/pengine/unpack.c && should_clear_for_param_change(history->xml, history->task, task 4247 lib/pengine/unpack.c history->task, history->rsc->id); task 4254 lib/pengine/unpack.c && pcmk__str_eq(history->task, PCMK_ACTION_MONITOR, pcmk__str_none)) { task 4311 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_MONITOR, task 4322 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_START, pcmk__str_none)) { task 4326 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_STOP, pcmk__str_none)) { task 4330 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_PROMOTE, task 4335 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_DEMOTE, task 4343 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_MIGRATE_FROM, task 4348 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_MIGRATE_TO, task 4369 lib/pengine/unpack.c history->rsc->id, fail2text(*on_fail), history->task); task 4416 lib/pengine/unpack.c return pcmk__str_any_of(history->task, PCMK_ACTION_MONITOR, task 4422 lib/pengine/unpack.c return !pcmk__str_any_of(history->task, PCMK_ACTION_NOTIFY, task 4507 lib/pengine/unpack.c history->id, history->task, history->rsc->id, task 4525 lib/pengine/unpack.c pcmk__readable_interval(history->interval_ms), history->task, task 4590 lib/pengine/unpack.c if (!pcmk__str_eq(history->task, task 4638 lib/pengine/unpack.c if (strcmp(history->task, PCMK_ACTION_START) == 0) { task 4642 lib/pengine/unpack.c } else if (strcmp(history->task, PCMK_ACTION_PROMOTE) == 0) { task 4645 lib/pengine/unpack.c } else if ((strcmp(history->task, PCMK_ACTION_MIGRATE_TO) == 0) task 4668 lib/pengine/unpack.c if (pcmk_is_probe(history->task, history->interval_ms)) { task 4679 lib/pengine/unpack.c history->rsc->pending_task = strdup(history->task); task 4711 lib/pengine/unpack.c history.task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); task 4712 lib/pengine/unpack.c if (history.task == NULL) { task 4723 lib/pengine/unpack.c history.id, rsc->id, pe__node_name(node), history.task); task 4736 lib/pengine/unpack.c history.id, history.task, history.call_id, pe__node_name(node), task 4781 lib/pengine/unpack.c history.task, rsc->id, pe__node_name(node), task 4825 lib/pengine/unpack.c && (strcmp(history.task, PCMK_ACTION_STOP) == 0))) { task 4831 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 1756 tools/crm_mon.c send_custom_trap(const char *node, const char *rsc, const char *task, int target_rc, int rc, task 1775 tools/crm_mon.c setenv("CRM_notify_task", task, 1); task 1808 tools/crm_mon.c char *task = NULL; task 1836 tools/crm_mon.c if (parse_op_key(id, &rsc, &task, NULL) == FALSE) { task 1867 tools/crm_mon.c crm_notice("%s of %s on %s completed: %s", task, rsc, node, desc); task 1874 tools/crm_mon.c crm_warn("%s of %s on %s failed: %s", task, rsc, node, desc); task 1878 tools/crm_mon.c crm_warn("%s of %s on %s failed: %s", task, rsc, node, desc); task 1882 tools/crm_mon.c send_custom_trap(node, rsc, task, target_rc, rc, status, desc); task 1887 tools/crm_mon.c free(task); task 1769 tools/crm_resource_runtime.c || pcmk__str_eq(PCMK_ACTION_NOTIFY, action->task, pcmk__str_casei)) {