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 415 daemons/controld/controld_fencing.c const char *task = NULL; task 438 daemons/controld/controld_fencing.c task = crm_element_value(action->xml, PCMK_XA_OPERATION); task 439 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 432 daemons/controld/controld_messages.c } else if (is_for_crm && pcmk__str_eq(task, CRM_OP_LRM_DELETE, pcmk__str_casei)) { task 445 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 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 377 daemons/controld/controld_te_actions.c pcmk__xe_id(action->xml), pcmk__s(task, "without task")); task 381 daemons/controld/controld_te_actions.c task = crm_element_value(rsc_op, PCMK_XA_OPERATION); task 405 daemons/controld/controld_te_actions.c task, task_uuid, (is_local? " locally" : ""), on_node, task 459 daemons/controld/controld_te_actions.c action->id, task, task_uuid, on_node, action->timeout); task 463 daemons/controld/controld_te_actions.c action->id, task, task_uuid, on_node, action->timeout, graph->network_delay); task 530 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, PCMK_XA_OPERATION); task 545 daemons/controld/controld_te_actions.c && pcmk__strcase_any_of(task, PCMK_ACTION_MIGRATE_TO, task 579 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, PCMK_XA_OPERATION); task 605 daemons/controld/controld_te_actions.c if (pcmk__strcase_any_of(task, PCMK_ACTION_MIGRATE_TO, task 631 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, PCMK_XA_OPERATION); task 645 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 520 lib/common/actions.c crm_create_op_xml(xmlNode *parent, const char *prefix, const char *task, task 525 lib/common/actions.c CRM_CHECK(prefix && task && interval_spec, return NULL); task 528 lib/common/actions.c crm_xml_set_id(xml_op, "%s-%s-%s", prefix, task, interval_spec); task 530 lib/common/actions.c crm_xml_add(xml_op, PCMK_XA_NAME, task); task 286 lib/common/ipc_pacemakerd.c do_pacemakerd_api_call(pcmk_ipc_api_t *api, const char *ipc_name, const char *task) task 299 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 201 lib/lrmd/lrmd_client.c lrmd_new_event(const char *rsc_id, const char *task, guint interval_ms) task 207 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 994 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 1078 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 560 lib/pacemaker/pcmk_injections.c char *task = NULL; task 584 lib/pacemaker/pcmk_injections.c parse_op_key(key, &resource, &task, &interval_ms); task 599 lib/pacemaker/pcmk_injections.c pcmk__inject_failcount(out, cib, cib_node, resource, task, interval_ms, task 607 lib/pacemaker/pcmk_injections.c op = create_op(cib_resource, task, interval_ms, outcome); task 619 lib/pacemaker/pcmk_injections.c free(task); task 963 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 973 lib/pacemaker/pcmk_output.c ((task == NULL)? "unknown" : task)); task 974 lib/pacemaker/pcmk_output.c } else if (pcmk__str_eq(task, PCMK_ACTION_MONITOR, pcmk__str_none)) { task 978 lib/pacemaker/pcmk_output.c ((task == NULL)? "unknown" : task)); task 1031 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1042 lib/pacemaker/pcmk_output.c PCMK_XA_TASK, pcmk__s(task, ""), task 1301 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1305 lib/pacemaker/pcmk_output.c if (task == NULL) { task 1308 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s %s '%s'", task, node_name, reason); task 1310 lib/pacemaker/pcmk_output.c crm_notice(" * %s %s", task, node_name); task 1320 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1324 lib/pacemaker/pcmk_output.c if (task == NULL) { task 1328 lib/pacemaker/pcmk_output.c PCMK_XA_TASK, task, task 1333 lib/pacemaker/pcmk_output.c crm_notice(" * %s %s", task, node_name); task 1391 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1400 lib/pacemaker/pcmk_output.c task, pcmk__xe_id(rsc), node); task 1402 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Cluster action: %s on %s", task, node); task 1414 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1424 lib/pacemaker/pcmk_output.c PCMK_XA_TASK, task, task 1684 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1691 lib/pacemaker/pcmk_output.c task, ((node == NULL)? "" : " on "), pcmk__s(node, "")); task 1700 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1709 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 983 lib/pacemaker/pcmk_sched_actions.c switch (pcmk_parse_action(action->task)) { task 1131 lib/pacemaker/pcmk_sched_actions.c const char *task = NULL; task 1139 lib/pacemaker/pcmk_sched_actions.c task = op->op_type; task 1150 lib/pacemaker/pcmk_sched_actions.c if (pcmk__str_any_of(task, PCMK_ACTION_RELOAD, PCMK_ACTION_RELOAD_AGENT, task 1153 lib/pacemaker/pcmk_sched_actions.c task = PCMK_ACTION_START; task 1155 lib/pacemaker/pcmk_sched_actions.c task = PCMK_ACTION_MONITOR; task 1159 lib/pacemaker/pcmk_sched_actions.c key = pcmk__op_key(op->rsc_id, task, op->interval_ms); task 1160 lib/pacemaker/pcmk_sched_actions.c if (pcmk__str_eq(task, PCMK_ACTION_NOTIFY, pcmk__str_none)) { task 1224 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, PCMK_XA_OPERATION, task); task 1316 lib/pacemaker/pcmk_sched_actions.c if (action->node->details->shutdown && (action->task != NULL) task 1317 lib/pacemaker/pcmk_sched_actions.c && (strcmp(action->task, PCMK_ACTION_STOP) != 0)) { task 1404 lib/pacemaker/pcmk_sched_actions.c char *task = NULL; task 1414 lib/pacemaker/pcmk_sched_actions.c if (pcmk__str_eq(action->task, PCMK_ACTION_DO_SHUTDOWN, task 1416 lib/pacemaker/pcmk_sched_actions.c task = strdup("Shutdown"); task 1418 lib/pacemaker/pcmk_sched_actions.c } else if (pcmk__str_eq(action->task, PCMK_ACTION_STONITH, task 1423 lib/pacemaker/pcmk_sched_actions.c task = crm_strdup_printf("Fence (%s)", op); task 1439 lib/pacemaker/pcmk_sched_actions.c out->message(out, "node-action", task, node_name, action->reason); task 1442 lib/pacemaker/pcmk_sched_actions.c free(task); task 1463 lib/pacemaker/pcmk_sched_actions.c task_for_digest(const char *task, guint interval_ms) task 1469 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_any_of(task, PCMK_ACTION_MONITOR, PCMK_ACTION_MIGRATE_FROM, task 1471 lib/pacemaker/pcmk_sched_actions.c task = PCMK_ACTION_START; task 1473 lib/pacemaker/pcmk_sched_actions.c return task; task 1522 lib/pacemaker/pcmk_sched_actions.c force_restart(pcmk_resource_t *rsc, const char *task, guint interval_ms, task 1525 lib/pacemaker/pcmk_sched_actions.c char *key = pcmk__op_key(rsc->id, task, interval_ms); task 1526 lib/pacemaker/pcmk_sched_actions.c pcmk_action_t *required = custom_action(rsc, key, task, NULL, FALSE, task 1612 lib/pacemaker/pcmk_sched_actions.c const char *task = NULL; task 1618 lib/pacemaker/pcmk_sched_actions.c task = crm_element_value(xml_op, PCMK_XA_OPERATION); task 1619 lib/pacemaker/pcmk_sched_actions.c CRM_CHECK(task != NULL, return false); task 1625 lib/pacemaker/pcmk_sched_actions.c if (pcmk__find_action_config(rsc, task, interval_ms, false) != NULL) { task 1628 lib/pacemaker/pcmk_sched_actions.c pcmk__readable_interval(interval_ms), task, rsc->id, task 1634 lib/pacemaker/pcmk_sched_actions.c task, interval_ms, node, "orphan"); task 1638 lib/pacemaker/pcmk_sched_actions.c pcmk__readable_interval(interval_ms), task, rsc->id, task 1645 lib/pacemaker/pcmk_sched_actions.c pcmk__readable_interval(interval_ms), task, rsc->id, task 1647 lib/pacemaker/pcmk_sched_actions.c task = task_for_digest(task, interval_ms); task 1657 lib/pacemaker/pcmk_sched_actions.c pcmk__readable_interval(interval_ms), task, rsc->id, task 1667 lib/pacemaker/pcmk_sched_actions.c force_restart(rsc, task, interval_ms, node); task 1680 lib/pacemaker/pcmk_sched_actions.c pcmk__reschedule_recurring(rsc, task, interval_ms, node); task 1698 lib/pacemaker/pcmk_sched_actions.c force_restart(rsc, task, interval_ms, node); task 1795 lib/pacemaker/pcmk_sched_actions.c const char *task = NULL; task 1803 lib/pacemaker/pcmk_sched_actions.c task = crm_element_value(rsc_op, PCMK_XA_OPERATION); task 1812 lib/pacemaker/pcmk_sched_actions.c task, interval_ms, node, "maintenance mode"); task 1815 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 1082 lib/pacemaker/pcmk_sched_colocation.c mark_action_blocked(pcmk_resource_t *rsc, const char *task, task 1092 lib/pacemaker/pcmk_sched_colocation.c && pcmk__str_eq(action->task, task, pcmk__str_none)) { task 1103 lib/pacemaker/pcmk_sched_colocation.c mark_action_blocked((pcmk_resource_t *) (iter->data), task, reason); task 1130 lib/pacemaker/pcmk_sched_colocation.c is_start = pcmk__str_eq(action->task, PCMK_ACTION_START, pcmk__str_none); task 1132 lib/pacemaker/pcmk_sched_colocation.c && !pcmk__str_eq(action->task, PCMK_ACTION_PROMOTE, pcmk__str_none)) { task 1151 lib/pacemaker/pcmk_sched_colocation.c action->task, NULL); task 1157 lib/pacemaker/pcmk_sched_colocation.c rsc->id, child->id, action->task); task 1163 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 351 lib/pacemaker/pcmk_sched_ordering.c char *task = crm_strdup_printf(PCMK_ACTION_CLONE_ONE_OR_MORE ":%s", id); task 352 lib/pacemaker/pcmk_sched_ordering.c pcmk_action_t *clone_min_met = get_pseudo_op(task, rsc_first->cluster); task 354 lib/pacemaker/pcmk_sched_ordering.c free(task); task 770 lib/pacemaker/pcmk_sched_ordering.c char *task = crm_strdup_printf(PCMK_ACTION_ONE_OR_MORE ":%s", task 772 lib/pacemaker/pcmk_sched_ordering.c pcmk_action_t *unordered_action = get_pseudo_op(task, scheduler); task 774 lib/pacemaker/pcmk_sched_ordering.c free(task); task 1127 lib/pacemaker/pcmk_sched_ordering.c && pcmk__str_eq(action->task, PCMK_ACTION_MIGRATE_TO, pcmk__str_none) task 1170 lib/pacemaker/pcmk_sched_ordering.c || !pcmk__str_eq(action->task, PCMK_ACTION_STOP, pcmk__str_none)) { task 1233 lib/pacemaker/pcmk_sched_ordering.c char *task = NULL; task 1236 lib/pacemaker/pcmk_sched_ordering.c CRM_CHECK(parse_op_key(original_key, NULL, &task, &interval_ms), task 1238 lib/pacemaker/pcmk_sched_ordering.c key = pcmk__op_key(rsc->id, task, interval_ms); task 1241 lib/pacemaker/pcmk_sched_ordering.c free(task); task 1308 lib/pacemaker/pcmk_sched_ordering.c "to order it after", then_action_iter->task, rsc->id, task 1482 lib/pacemaker/pcmk_sched_ordering.c const char *after_desc = (after->task == NULL)? after->uuid : after->task; task 1486 lib/pacemaker/pcmk_sched_ordering.c const char *before_desc = before->task? before->task : before->uuid; task 305 lib/pacemaker/pcmk_sched_probes.c if (pcmk__str_eq(then->task, PCMK_ACTION_STONITH, pcmk__str_none) task 316 lib/pacemaker/pcmk_sched_probes.c if (pcmk__str_eq(then->task, PCMK_ACTION_DO_SHUTDOWN, pcmk__str_none) task 371 lib/pacemaker/pcmk_sched_probes.c if ((first != NULL) && !pcmk__str_eq(first->task, PCMK_ACTION_STOP, task 386 lib/pacemaker/pcmk_sched_probes.c if ((then != NULL) && pcmk__str_eq(then->task, PCMK_ACTION_STOP, task 489 lib/pacemaker/pcmk_sched_probes.c || !pcmk__str_eq(after->action->task, PCMK_ACTION_START, task 507 lib/pacemaker/pcmk_sched_probes.c || !pcmk__str_eq(then->action->task, PCMK_ACTION_START, task 548 lib/pacemaker/pcmk_sched_probes.c || !pcmk__str_eq(probe->task, PCMK_ACTION_MONITOR, pcmk__str_none)) { task 569 lib/pacemaker/pcmk_sched_probes.c if (pcmk__str_eq(after->task, PCMK_ACTION_START, pcmk__str_none)) { task 573 lib/pacemaker/pcmk_sched_probes.c } else if (pcmk__str_eq(after->task, PCMK_ACTION_PROMOTE, task 803 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 pcmk__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 pcmk__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 1411 lib/pengine/pe_actions.c free(action->task); task 1420 lib/pengine/pe_actions.c enum action_tasks task = pcmk_parse_action(name); task 1423 lib/pengine/pe_actions.c switch (task) { task 1430 lib/pengine/pe_actions.c --task; task 1436 lib/pengine/pe_actions.c return task; task 1451 lib/pengine/pe_actions.c find_first_action(const GList *input, const char *uuid, const char *task, task 1454 lib/pengine/pe_actions.c CRM_CHECK(uuid || task, return NULL); task 1462 lib/pengine/pe_actions.c } else if (task != NULL && !pcmk__str_eq(task, action->task, pcmk__str_casei)) { task 1554 lib/pengine/pe_actions.c const char *task, bool require_node) task 1557 lib/pengine/pe_actions.c char *key = pcmk__op_key(rsc->id, task, 0); task 1601 lib/pengine/pe_actions.c action->task); task 1804 lib/pengine/pe_actions.c pe__new_rsc_pseudo_action(pcmk_resource_t *rsc, const char *task, bool optional, task 1809 lib/pengine/pe_actions.c pcmk__assert((rsc != NULL) && (task != NULL)); task 1811 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 1408 lib/pengine/pe_output.c char *task = NULL; task 1414 lib/pengine/pe_output.c || !parse_op_key(op_key, &rsc_id, &task, &interval_ms)) { task 1417 lib/pengine/pe_output.c pcmk__str_update(&task, "unknown action"); task 1420 lib/pengine/pe_output.c pcmk__assert((rsc_id != NULL) && (task != NULL)); task 1430 lib/pengine/pe_output.c pcmk__g_strcat(str, pcmk__readable_action(task, interval_ms), " on ", task 1471 lib/pengine/pe_output.c free(task); task 1627 lib/pengine/pe_output.c const char *task = crm_element_value(xml_op, PCMK_XA_OPERATION); task 1643 lib/pengine/pe_output.c PCMK_XA_TASK, task, task 2785 lib/pengine/pe_output.c const char *task = va_arg(args, const char *); task 2790 lib/pengine/pe_output.c char *buf = op_history_string(xml_op, task, interval_ms_s, rc, task 2803 lib/pengine/pe_output.c const char *task = va_arg(args, const char *); task 2815 lib/pengine/pe_output.c PCMK_XA_TASK, task, task 3130 lib/pengine/pe_output.c const char *task = crm_element_value(xml_op, PCMK_XA_OPERATION); task 3139 lib/pengine/pe_output.c if (pcmk__str_eq(task, PCMK_ACTION_MONITOR, pcmk__str_casei) task 3141 lib/pengine/pe_output.c task = "probe"; task 3156 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 2601 lib/pengine/unpack.c const char *task = NULL; task 2648 lib/pengine/unpack.c task = crm_element_value(rsc_op, PCMK_XA_OPERATION); task 2650 lib/pengine/unpack.c key = pcmk__op_key(rsc->id, task, interval_ms); task 2652 lib/pengine/unpack.c custom_action(rsc, key, task, node, TRUE, scheduler); task 2663 lib/pengine/unpack.c const char *task = NULL; task 2674 lib/pengine/unpack.c task = crm_element_value(rsc_op, PCMK_XA_OPERATION); task 2677 lib/pengine/unpack.c if (pcmk__str_eq(task, PCMK_ACTION_STOP, pcmk__str_casei) task 2681 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(task, PCMK_ACTION_START, task 2686 lib/pengine/unpack.c && pcmk__str_eq(task, PCMK_ACTION_MONITOR, task 2693 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(task, PCMK_ACTION_PROMOTE, task 3121 lib/pengine/unpack.c const char * task = NULL; task 3127 lib/pengine/unpack.c task = crm_element_value(op, PCMK_XA_OPERATION); task 3129 lib/pengine/unpack.c if (pcmk__str_any_of(task, PCMK_ACTION_START, PCMK_ACTION_STOP, task 3741 lib/pengine/unpack.c xmlNode *config = pcmk__find_action_config(history->rsc, history->task, task 3745 lib/pengine/unpack.c history->task, task 3750 lib/pengine/unpack.c *on_fail = pcmk__parse_on_fail(history->rsc, history->task, task 3752 lib/pengine/unpack.c *fail_role = pcmk__role_after_failure(history->rsc, history->task, *on_fail, task 3788 lib/pengine/unpack.c (is_probe? "probe" : history->task), history->rsc->id, task 3797 lib/pengine/unpack.c (is_probe? "probe" : history->task), history->rsc->id, task 3826 lib/pengine/unpack.c if (strcmp(history->task, PCMK_ACTION_STOP) == 0) { task 3830 lib/pengine/unpack.c } else if (strcmp(history->task, PCMK_ACTION_MIGRATE_TO) == 0) { task 3833 lib/pengine/unpack.c } else if (strcmp(history->task, PCMK_ACTION_MIGRATE_FROM) == 0) { task 3836 lib/pengine/unpack.c } else if (strcmp(history->task, PCMK_ACTION_PROMOTE) == 0) { task 3839 lib/pengine/unpack.c } else if (strcmp(history->task, PCMK_ACTION_DEMOTE) == 0) { task 3899 lib/pengine/unpack.c if (strcmp(history->task, PCMK_ACTION_STOP) != 0) { task 3910 lib/pengine/unpack.c history->rsc->id, history->task, task 3972 lib/pengine/unpack.c const char *task = history->task; task 4016 lib/pengine/unpack.c task = "probe"; task 4145 lib/pengine/unpack.c history->exit_status, task, history->rsc->id, task 4168 lib/pengine/unpack.c should_clear_for_param_change(const xmlNode *xml_op, const char *task, task 4171 lib/pengine/unpack.c if (pcmk__str_any_of(task, PCMK_ACTION_START, PCMK_ACTION_MONITOR, NULL)) { task 4218 lib/pengine/unpack.c should_ignore_failure_timeout(const pcmk_resource_t *rsc, const char *task, task 4244 lib/pengine/unpack.c && pcmk__str_eq(task, PCMK_ACTION_MONITOR, pcmk__str_casei)) { task 4307 lib/pengine/unpack.c && !should_ignore_failure_timeout(history->rsc, history->task, task 4365 lib/pengine/unpack.c && should_clear_for_param_change(history->xml, history->task, task 4390 lib/pengine/unpack.c history->task, history->rsc->id); task 4397 lib/pengine/unpack.c && pcmk__str_eq(history->task, PCMK_ACTION_MONITOR, pcmk__str_none)) { task 4454 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_MONITOR, task 4465 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_START, pcmk__str_none)) { task 4469 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_STOP, pcmk__str_none)) { task 4473 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_PROMOTE, task 4478 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_DEMOTE, task 4488 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_MIGRATE_FROM, task 4493 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, PCMK_ACTION_MIGRATE_TO, task 4515 lib/pengine/unpack.c history->task); task 4562 lib/pengine/unpack.c return pcmk__str_any_of(history->task, PCMK_ACTION_MONITOR, task 4568 lib/pengine/unpack.c return !pcmk__str_any_of(history->task, PCMK_ACTION_NOTIFY, task 4656 lib/pengine/unpack.c history->id, history->task, history->rsc->id, task 4674 lib/pengine/unpack.c pcmk__readable_interval(history->interval_ms), history->task, task 4740 lib/pengine/unpack.c if (!pcmk__str_eq(history->task, task 4788 lib/pengine/unpack.c if (strcmp(history->task, PCMK_ACTION_START) == 0) { task 4792 lib/pengine/unpack.c } else if (strcmp(history->task, PCMK_ACTION_PROMOTE) == 0) { task 4795 lib/pengine/unpack.c } else if ((strcmp(history->task, PCMK_ACTION_MIGRATE_TO) == 0) task 4818 lib/pengine/unpack.c if (pcmk_is_probe(history->task, history->interval_ms)) { task 4829 lib/pengine/unpack.c history->rsc->pending_task = strdup(history->task); task 4861 lib/pengine/unpack.c history.task = crm_element_value(xml_op, PCMK_XA_OPERATION); task 4862 lib/pengine/unpack.c if (history.task == NULL) { task 4874 lib/pengine/unpack.c history.task); task 4887 lib/pengine/unpack.c history.id, history.task, history.call_id, task 4933 lib/pengine/unpack.c history.task, rsc->id, pcmk__node_name(node), task 4977 lib/pengine/unpack.c && (strcmp(history.task, PCMK_ACTION_STOP) == 0))) { task 4983 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)) {