task 275 daemons/controld/controld_callbacks.c const char *task = crm_element_value(down->xml, XML_LRM_ATTR_TASK); task 277 daemons/controld/controld_callbacks.c if (pcmk__str_eq(task, CRM_OP_FENCE, pcmk__str_casei)) { task 283 daemons/controld/controld_callbacks.c } else if (!appeared && pcmk__str_eq(task, CRM_OP_SHUTDOWN, pcmk__str_casei)) { task 293 daemons/controld/controld_callbacks.c task, node->uname, down->id); task 296 daemons/controld/controld_callbacks.c task, node->uname, down->id); task 306 daemons/controld/controld_callbacks.c task, down->id); task 269 daemons/controld/controld_execd.c const char *task, const char *ack_host, const char *ack_sys) task 271 daemons/controld/controld_execd.c lrmd_event_data_t *op = construct_op(lrm_state, input->xml, rsc_id, task); task 401 daemons/controld/controld_fencing.c const char *task = NULL; task 424 daemons/controld/controld_fencing.c task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); task 425 daemons/controld/controld_fencing.c if (task && pcmk__str_eq(task, CRM_OP_FENCE, pcmk__str_casei)) { task 342 daemons/controld/controld_messages.c const char *task = crm_element_value(msg, F_CRM_TASK); task 353 daemons/controld/controld_messages.c } else if (pcmk__str_eq(task, CRM_OP_HELLO, pcmk__str_casei)) { task 381 daemons/controld/controld_messages.c if (pcmk__strcase_any_of(task, CRM_OP_NODE_INFO, task 400 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, CRM_OP_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, CRM_OP_LRM_DELETE, pcmk__str_none)) { task 148 daemons/controld/controld_te_actions.c id, task, on_node, (is_local? " locally" : ""), task 151 daemons/controld/controld_te_actions.c if (is_local && pcmk__str_eq(task, CRM_OP_SHUTDOWN, pcmk__str_none)) { task 159 daemons/controld/controld_te_actions.c } else if (pcmk__str_eq(task, CRM_OP_SHUTDOWN, pcmk__str_none)) { task 165 daemons/controld/controld_te_actions.c cmd = create_request(task, action->xml, router_node, CRM_SYSTEM_CRMD, CRM_SYSTEM_TENGINE, NULL); task 186 daemons/controld/controld_te_actions.c action->id, task, on_node, action->timeout, graph->network_delay); task 354 daemons/controld/controld_te_actions.c const char *task = NULL; task 368 daemons/controld/controld_te_actions.c ID(action->xml), pcmk__s(task, "without task")); task 372 daemons/controld/controld_te_actions.c task = crm_element_value(rsc_op, XML_LRM_ATTR_TASK); task 396 daemons/controld/controld_te_actions.c task, task_uuid, (is_local? " locally" : ""), on_node, task 446 daemons/controld/controld_te_actions.c action->id, task, task_uuid, on_node, action->timeout); task 450 daemons/controld/controld_te_actions.c action->id, task, task_uuid, on_node, action->timeout, graph->network_delay); task 517 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); task 531 daemons/controld/controld_te_actions.c if ((target == NULL) && pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, task 563 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); task 589 daemons/controld/controld_te_actions.c if (pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, CRMD_ACTION_MIGRATED, NULL)) { task 614 daemons/controld/controld_te_actions.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); task 627 daemons/controld/controld_te_actions.c if ((target == NULL) && pcmk__strcase_any_of(task, CRMD_ACTION_MIGRATE, 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, CRM_OP_FENCE, 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, CRMD_ACTION_PROMOTE, pcmk__str_none) task 200 daemons/controld/controld_te_events.c || pcmk__str_eq(task, CRMD_ACTION_DEMOTE, pcmk__str_none)) { task 203 daemons/controld/controld_te_events.c } else if (pcmk__str_eq(task, CRMD_ACTION_START, pcmk__str_none)) { task 208 daemons/controld/controld_te_events.c } else if (pcmk__str_eq(task, CRMD_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(CRMD_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 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 74 include/crm/common/util.h const char *task, const char *interval_spec, task 78 include/crm/common/util.h bool pcmk_is_probe(const char *task, guint interval); task 222 include/crm/crm.h crm_action_str(const char *task, guint interval_ms) { task 223 include/crm/crm.h if ((task != NULL) && (interval_ms == 0) task 224 include/crm/crm.h && (strcasecmp(task, RSC_STATUS) == 0)) { task 227 include/crm/crm.h return task; task 269 include/crm/lrmd.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 138 include/crm/pengine/common.h const char *task2text(enum action_tasks task); task 139 include/crm/pengine/common.h enum action_tasks text2task(const char *task); task 228 include/crm/pengine/internal.h pe_action_t *pe__new_rsc_pseudo_action(pe_resource_t *rsc, const char *task, task 391 include/crm/pengine/internal.h pe_action_t *custom_action(pe_resource_t *rsc, char *key, const char *task, task 445 include/crm/pengine/internal.h const char *task, const pe_node_t *on_node); task 453 include/crm/pengine/internal.h const char *task, bool require_node); task 517 include/crm/pengine/internal.h op_digest_cache_t *pe__calculate_digests(pe_resource_t *rsc, const char *task, task 437 include/crm/pengine/pe_types.h char *task; 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 428 lib/common/operations.c crm_create_op_xml(xmlNode *parent, const char *prefix, const char *task, task 433 lib/common/operations.c CRM_CHECK(prefix && task && interval_spec, return NULL); task 436 lib/common/operations.c crm_xml_set_id(xml_op, "%s-%s-%s", prefix, task, interval_spec); task 438 lib/common/operations.c crm_xml_add(xml_op, "name", task); task 495 lib/common/operations.c pcmk_is_probe(const char *task, guint interval) task 497 lib/common/operations.c if (task == NULL) { task 501 lib/common/operations.c return (interval == 0) && pcmk__str_eq(task, CRMD_ACTION_STATUS, pcmk__str_none); task 507 lib/common/operations.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); task 512 lib/common/operations.c return pcmk_is_probe(task, interval_ms); 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 345 lib/pacemaker/libpacemaker_private.h const char *task, guint interval_ms, task 349 lib/pacemaker/libpacemaker_private.h void pcmk__reschedule_recurring(pe_resource_t *rsc, const char *task, task 857 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, CRM_OP_SHUTDOWN, pcmk__str_casei)) { task 149 lib/pacemaker/pcmk_graph_producer.c } else if (pcmk__str_eq(action->task, CRM_OP_FENCE, pcmk__str_casei)) { task 161 lib/pacemaker/pcmk_graph_producer.c && pcmk__str_eq(action->task, CRMD_ACTION_STOP, pcmk__str_casei)) { task 173 lib/pacemaker/pcmk_graph_producer.c && pcmk__str_eq(input->task, CRMD_ACTION_MIGRATED, pcmk__str_casei)) { task 197 lib/pacemaker/pcmk_graph_producer.c if (pcmk__str_eq(action->task, RSC_NOTIFY, pcmk__str_none)) { task 209 lib/pacemaker/pcmk_graph_producer.c return pcmk__op_key(action->rsc->clone_name, action->task, interval_ms); task 362 lib/pacemaker/pcmk_graph_producer.c } else if (pcmk__str_eq(action->task, CRM_OP_FENCE, pcmk__str_none) task 400 lib/pacemaker/pcmk_graph_producer.c if (pcmk__str_eq(action->task, CRM_OP_FENCE, pcmk__str_casei)) { task 407 lib/pacemaker/pcmk_graph_producer.c } else if (pcmk__str_any_of(action->task, task 412 lib/pacemaker/pcmk_graph_producer.c } else if (pcmk__str_eq(action->task, CRM_OP_LRM_DELETE, pcmk__str_none)) { task 418 lib/pacemaker/pcmk_graph_producer.c if (pcmk__str_eq(action->task, CRM_OP_MAINTENANCE_NODES, task 430 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(action_xml, XML_LRM_ATTR_TASK, action->task); task 509 lib/pacemaker/pcmk_graph_producer.c && !pcmk__str_eq(action->task, RSC_STATUS, pcmk__str_none)) { task 530 lib/pacemaker/pcmk_graph_producer.c || pcmk__strcase_any_of(action->task, CRM_OP_FENCE, CRM_OP_SHUTDOWN, task 658 lib/pacemaker/pcmk_graph_producer.c if (action->rsc && pcmk__str_eq(action->task, RSC_MIGRATE, pcmk__str_casei)) { task 1058 lib/pacemaker/pcmk_graph_producer.c && pcmk__str_eq(action->task, RSC_STOP, pcmk__str_none)) { task 90 lib/pacemaker/pcmk_injections.c const char *resource, const char *task, task 103 lib/pacemaker/pcmk_injections.c name = pcmk__failcount_name(resource, task, interval_ms); task 107 lib/pacemaker/pcmk_injections.c name = pcmk__lastfailure_name(resource, task, interval_ms); task 161 lib/pacemaker/pcmk_injections.c create_op(const xmlNode *cib_resource, const char *task, guint interval_ms, task 167 lib/pacemaker/pcmk_injections.c op = lrmd_new_event(ID(cib_resource), task, interval_ms); task 563 lib/pacemaker/pcmk_injections.c char *task = NULL; task 587 lib/pacemaker/pcmk_injections.c parse_op_key(key, &resource, &task, &interval_ms); task 602 lib/pacemaker/pcmk_injections.c pcmk__inject_failcount(out, cib_node, resource, task, interval_ms, outcome); task 609 lib/pacemaker/pcmk_injections.c op = create_op(cib_resource, task, interval_ms, outcome); task 621 lib/pacemaker/pcmk_injections.c free(task); task 952 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 962 lib/pacemaker/pcmk_output.c ((task == NULL)? "unknown" : task)); task 963 lib/pacemaker/pcmk_output.c } else if (pcmk__str_eq(task, "monitor", pcmk__str_none)) { task 967 lib/pacemaker/pcmk_output.c ((task == NULL)? "unknown" : task)); task 1022 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1032 lib/pacemaker/pcmk_output.c "task", pcmk__s(task, ""), task 1256 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1260 lib/pacemaker/pcmk_output.c if (task == NULL) { task 1263 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s %s '%s'", task, node_name, reason); task 1265 lib/pacemaker/pcmk_output.c crm_notice(" * %s %s", task, node_name); task 1275 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1279 lib/pacemaker/pcmk_output.c if (task == NULL) { task 1283 lib/pacemaker/pcmk_output.c "task", task, task 1288 lib/pacemaker/pcmk_output.c crm_notice(" * %s %s", task, node_name); task 1345 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1353 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Cluster action: %s for %s on %s", task, ID(rsc), node); task 1355 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Cluster action: %s on %s", task, node); task 1366 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1376 lib/pacemaker/pcmk_output.c "task", task, task 1635 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1641 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Pseudo action: %s%s%s", task, node ? " on " : "", task 1651 lib/pacemaker/pcmk_output.c const char *task = va_arg(args, const char *); task 1660 lib/pacemaker/pcmk_output.c "task", task, task 54 lib/pacemaker/pcmk_resource.c const char *task = crm_element_value(lrm_rsc_op, XML_LRM_ATTR_TASK); task 61 lib/pacemaker/pcmk_resource.c && pcmk__strcase_any_of(task, RSC_STATUS, 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 = RSC_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 463 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(first->task, RSC_STOP, pcmk__str_casei)) { task 541 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(first->task, RSC_START, pcmk__str_casei)) { task 552 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(then->task, RSC_START, pcmk__str_casei)) { task 584 lib/pacemaker/pcmk_sched_actions.c if (!strcmp(first->task, CRMD_ACTION_RELOAD_AGENT)) { task 721 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(then->task, RSC_STOP, pcmk__str_none)) { task 727 lib/pacemaker/pcmk_sched_actions.c && pcmk__str_eq(then->task, RSC_START, pcmk__str_none) task 968 lib/pacemaker/pcmk_sched_actions.c switch (text2task(action->task)) { task 1120 lib/pacemaker/pcmk_sched_actions.c const char *task = NULL; task 1128 lib/pacemaker/pcmk_sched_actions.c task = op->op_type; task 1139 lib/pacemaker/pcmk_sched_actions.c if (pcmk__str_any_of(task, CRMD_ACTION_RELOAD, CRMD_ACTION_RELOAD_AGENT, task 1142 lib/pacemaker/pcmk_sched_actions.c task = CRMD_ACTION_START; task 1144 lib/pacemaker/pcmk_sched_actions.c task = CRMD_ACTION_STATUS; task 1148 lib/pacemaker/pcmk_sched_actions.c key = pcmk__op_key(op->rsc_id, task, op->interval_ms); task 1149 lib/pacemaker/pcmk_sched_actions.c if (pcmk__str_eq(task, CRMD_ACTION_NOTIFY, pcmk__str_none)) { task 1210 lib/pacemaker/pcmk_sched_actions.c crm_xml_add(xml_op, XML_LRM_ATTR_TASK, task); task 1302 lib/pacemaker/pcmk_sched_actions.c if (action->node->details->shutdown && (action->task != NULL) task 1303 lib/pacemaker/pcmk_sched_actions.c && (strcmp(action->task, RSC_STOP) != 0)) { task 1390 lib/pacemaker/pcmk_sched_actions.c char *task = NULL; task 1400 lib/pacemaker/pcmk_sched_actions.c if (pcmk__str_eq(action->task, CRM_OP_SHUTDOWN, pcmk__str_casei)) { task 1401 lib/pacemaker/pcmk_sched_actions.c task = strdup("Shutdown"); task 1403 lib/pacemaker/pcmk_sched_actions.c } else if (pcmk__str_eq(action->task, CRM_OP_FENCE, pcmk__str_casei)) { task 1406 lib/pacemaker/pcmk_sched_actions.c task = crm_strdup_printf("Fence (%s)", op); task 1420 lib/pacemaker/pcmk_sched_actions.c out->message(out, "node-action", task, node_name, action->reason); task 1423 lib/pacemaker/pcmk_sched_actions.c free(task); task 1445 lib/pacemaker/pcmk_sched_actions.c action_in_config(const pe_resource_t *rsc, const char *task, guint interval_ms) task 1447 lib/pacemaker/pcmk_sched_actions.c char *key = pcmk__op_key(rsc->id, task, interval_ms); 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, RSC_STATUS, RSC_MIGRATED, RSC_PROMOTE, NULL)) { task 1471 lib/pacemaker/pcmk_sched_actions.c task = RSC_START; task 1473 lib/pacemaker/pcmk_sched_actions.c return task; task 1522 lib/pacemaker/pcmk_sched_actions.c force_restart(pe_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 pe_action_t *required = custom_action(rsc, key, task, NULL, FALSE, TRUE, task 1609 lib/pacemaker/pcmk_sched_actions.c const char *task = NULL; task 1615 lib/pacemaker/pcmk_sched_actions.c task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); task 1616 lib/pacemaker/pcmk_sched_actions.c CRM_CHECK(task != NULL, return false); task 1622 lib/pacemaker/pcmk_sched_actions.c if (action_in_config(rsc, task, interval_ms)) { task 1624 lib/pacemaker/pcmk_sched_actions.c pcmk__readable_interval(interval_ms), task, rsc->id, task 1630 lib/pacemaker/pcmk_sched_actions.c task, interval_ms, node, "orphan"); task 1634 lib/pacemaker/pcmk_sched_actions.c pcmk__readable_interval(interval_ms), task, rsc->id, task 1641 lib/pacemaker/pcmk_sched_actions.c pcmk__readable_interval(interval_ms), task, rsc->id, task 1643 lib/pacemaker/pcmk_sched_actions.c task = task_for_digest(task, interval_ms); task 1653 lib/pacemaker/pcmk_sched_actions.c pcmk__readable_interval(interval_ms), task, rsc->id, task 1663 lib/pacemaker/pcmk_sched_actions.c force_restart(rsc, task, interval_ms, node); task 1676 lib/pacemaker/pcmk_sched_actions.c pcmk__reschedule_recurring(rsc, task, interval_ms, node); task 1693 lib/pacemaker/pcmk_sched_actions.c force_restart(rsc, task, interval_ms, node); task 1788 lib/pacemaker/pcmk_sched_actions.c const char *task = NULL; task 1796 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, RSC_STATUS, RSC_START, task 557 lib/pacemaker/pcmk_sched_bundle.c enum action_tasks task = get_complex_task(data->child, action->task); task 558 lib/pacemaker/pcmk_sched_bundle.c switch(task) { task 82 lib/pacemaker/pcmk_sched_clone.c find_rsc_action(pe_resource_t *rsc, const char *task) task 85 lib/pacemaker/pcmk_sched_clone.c GList *actions = pe__resource_actions(rsc, NULL, task, FALSE); task 877 lib/pacemaker/pcmk_sched_colocation.c mark_action_blocked(pe_resource_t *rsc, const char *task, task 886 lib/pacemaker/pcmk_sched_colocation.c && pcmk__str_eq(action->task, task, pcmk__str_casei)) { task 897 lib/pacemaker/pcmk_sched_colocation.c mark_action_blocked((pe_resource_t *) (iter->data), task, reason); task 926 lib/pacemaker/pcmk_sched_colocation.c is_start = pcmk__str_eq(action->task, RSC_START, pcmk__str_none); task 927 lib/pacemaker/pcmk_sched_colocation.c if (!is_start && !pcmk__str_eq(action->task, RSC_PROMOTE, pcmk__str_none)) { task 946 lib/pacemaker/pcmk_sched_colocation.c action->task, NULL); task 952 lib/pacemaker/pcmk_sched_colocation.c rsc->id, child->id, action->task); task 958 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, RSC_START, pcmk__str_casei) task 329 lib/pacemaker/pcmk_sched_fencing.c rsc->id, action->task); task 472 lib/pacemaker/pcmk_sched_group.c enum action_tasks task = get_complex_task(member, action->task); task 473 lib/pacemaker/pcmk_sched_group.c const char *task_s = task2text(task); task 493 lib/pacemaker/pcmk_sched_group.c if (!pcmk__str_eq(task_s, action->task, pcmk__str_none) task 507 lib/pacemaker/pcmk_sched_group.c } else if ((task != stop_rsc) && (task != action_demote)) { task 563 lib/pacemaker/pcmk_sched_group.c then->task, node); task 860 lib/pacemaker/pcmk_sched_instances.c if (pcmk__str_eq(RSC_START, action->task, pcmk__str_none)) { task 871 lib/pacemaker/pcmk_sched_instances.c } else if (pcmk__str_eq(RSC_STOP, action->task, pcmk__str_none)) { task 1207 lib/pacemaker/pcmk_sched_instances.c if ((for_first && !pcmk__str_any_of(action->task, CRMD_ACTION_STOP, task 1210 lib/pacemaker/pcmk_sched_instances.c || (!for_first && pcmk__str_any_of(action->task, CRMD_ACTION_PROMOTE, task 1259 lib/pacemaker/pcmk_sched_instances.c const char *action_name = action->task; task 1262 lib/pacemaker/pcmk_sched_instances.c if (pcmk__strcase_any_of(action->task, CRMD_ACTION_NOTIFY, task 1339 lib/pacemaker/pcmk_sched_instances.c then_action = find_instance_action(then, then_instance, then->task, task 1438 lib/pacemaker/pcmk_sched_instances.c instance_action = find_first_action(instance->actions, NULL, then->task, task 238 lib/pacemaker/pcmk_sched_migration.c res = strdup(action->task); task 338 lib/pacemaker/pcmk_sched_ordering.c char *task = crm_strdup_printf(CRM_OP_RELAXED_CLONE ":%s", id); task 339 lib/pacemaker/pcmk_sched_ordering.c pe_action_t *clone_min_met = get_pseudo_op(task, data_set); task 341 lib/pacemaker/pcmk_sched_ordering.c free(task); task 756 lib/pacemaker/pcmk_sched_ordering.c char *task = crm_strdup_printf(CRM_OP_RELAXED_SET ":%s", ID(set1)); task 757 lib/pacemaker/pcmk_sched_ordering.c pe_action_t *unordered_action = get_pseudo_op(task, data_set); task 759 lib/pacemaker/pcmk_sched_ordering.c free(task); task 1087 lib/pacemaker/pcmk_sched_ordering.c && pcmk__str_eq(action->task, RSC_MIGRATE, pcmk__str_casei) task 1131 lib/pacemaker/pcmk_sched_ordering.c || !pcmk__str_eq(action->task, RSC_STOP, pcmk__str_casei)) { task 1194 lib/pacemaker/pcmk_sched_ordering.c char *task = NULL; task 1197 lib/pacemaker/pcmk_sched_ordering.c if (parse_op_key(original_key, NULL, &task, &interval_ms)) { task 1198 lib/pacemaker/pcmk_sched_ordering.c key = pcmk__op_key(rsc->id, task, interval_ms); task 1201 lib/pacemaker/pcmk_sched_ordering.c free(task); task 1268 lib/pacemaker/pcmk_sched_ordering.c "to order it after", then_action_iter->task, rsc->id, task 1420 lib/pacemaker/pcmk_sched_ordering.c const char *after_desc = (after->task == NULL)? after->uuid : after->task; task 1424 lib/pacemaker/pcmk_sched_ordering.c const char *before_desc = before->task? before->task : before->uuid; task 301 lib/pacemaker/pcmk_sched_probes.c if (pcmk__str_eq(then->task, CRM_OP_FENCE, pcmk__str_casei) task 312 lib/pacemaker/pcmk_sched_probes.c if (pcmk__str_eq(then->task, CRM_OP_SHUTDOWN, pcmk__str_none) task 364 lib/pacemaker/pcmk_sched_probes.c && !pcmk__str_eq(order->lh_action->task, RSC_STOP, pcmk__str_none)) { task 379 lib/pacemaker/pcmk_sched_probes.c && pcmk__str_eq(order->rh_action->task, RSC_STOP, task 480 lib/pacemaker/pcmk_sched_probes.c || !pcmk__str_eq(after->action->task, RSC_START, pcmk__str_none)) { task 498 lib/pacemaker/pcmk_sched_probes.c || !pcmk__str_eq(then->action->task, RSC_START, pcmk__str_none)) { task 542 lib/pacemaker/pcmk_sched_probes.c || !pcmk__str_eq(probe->task, RSC_STATUS, pcmk__str_casei)) { task 564 lib/pacemaker/pcmk_sched_probes.c if (pcmk__str_eq(after->task, RSC_START, pcmk__str_casei)) { task 568 lib/pacemaker/pcmk_sched_probes.c } else if (pcmk__str_eq(after->task, RSC_PROMOTE, pcmk__str_casei)) { task 798 lib/pacemaker/pcmk_sched_probes.c } else if (!pcmk__str_eq(first->task, RSC_START, pcmk__str_none)) { task 98 lib/pacemaker/pcmk_sched_promotable.c } else if (pcmk__str_eq(RSC_DEMOTE, action->task, pcmk__str_none)) { task 101 lib/pacemaker/pcmk_sched_promotable.c } else if (pcmk__str_eq(RSC_PROMOTE, action->task, pcmk__str_none)) { task 320 lib/pacemaker/pcmk_sched_recurring.c pcmk__readable_interval(op->interval_ms), mon->task, task 541 lib/pacemaker/pcmk_sched_recurring.c stopped_mon->task, rsc->id, pe__node_name(stop_node)); task 616 lib/pacemaker/pcmk_sched_recurring.c pcmk__new_cancel_action(pe_resource_t *rsc, const char *task, guint interval_ms, task 623 lib/pacemaker/pcmk_sched_recurring.c CRM_ASSERT((rsc != NULL) && (task != NULL) && (node != NULL)); task 626 lib/pacemaker/pcmk_sched_recurring.c key = pcmk__op_key(rsc->id, task, interval_ms); task 631 lib/pacemaker/pcmk_sched_recurring.c pcmk__str_update(&cancel_op->task, RSC_CANCEL); task 632 lib/pacemaker/pcmk_sched_recurring.c pcmk__str_update(&cancel_op->cancel_task, task); task 635 lib/pacemaker/pcmk_sched_recurring.c add_hash_param(cancel_op->meta, XML_LRM_ATTR_TASK, task); task 654 lib/pacemaker/pcmk_sched_recurring.c pcmk__schedule_cancel(pe_resource_t *rsc, const char *call_id, const char *task, task 660 lib/pacemaker/pcmk_sched_recurring.c CRM_CHECK((rsc != NULL) && (task != NULL) task 665 lib/pacemaker/pcmk_sched_recurring.c pcmk__readable_interval(interval_ms), task, rsc->id, task 667 lib/pacemaker/pcmk_sched_recurring.c cancel = pcmk__new_cancel_action(rsc, task, interval_ms, node); task 685 lib/pacemaker/pcmk_sched_recurring.c pcmk__reschedule_recurring(pe_resource_t *rsc, const char *task, task 692 lib/pacemaker/pcmk_sched_recurring.c op = custom_action(rsc, pcmk__op_key(rsc->id, task, interval_ms), task 693 lib/pacemaker/pcmk_sched_recurring.c task, node, TRUE, TRUE, rsc->cluster); task 170 lib/pacemaker/pcmk_sched_remote.c enum action_tasks task = text2task(action->task); task 185 lib/pacemaker/pcmk_sched_remote.c action->task, action->uuid, task 189 lib/pacemaker/pcmk_sched_remote.c if (pcmk__strcase_any_of(action->task, CRMD_ACTION_MIGRATE, task 194 lib/pacemaker/pcmk_sched_remote.c task = stop_rsc; task 197 lib/pacemaker/pcmk_sched_remote.c switch (task) { task 274 lib/pacemaker/pcmk_sched_remote.c if ((task == monitor_rsc) && (state == remote_state_failed)) { task 314 lib/pacemaker/pcmk_sched_remote.c enum action_tasks task = text2task(action->task); task 331 lib/pacemaker/pcmk_sched_remote.c action->task, action->uuid, task 337 lib/pacemaker/pcmk_sched_remote.c if (pcmk__strcase_any_of(action->task, CRMD_ACTION_MIGRATE, task 342 lib/pacemaker/pcmk_sched_remote.c task = stop_rsc; task 345 lib/pacemaker/pcmk_sched_remote.c switch (task) { task 387 lib/pacemaker/pcmk_sched_remote.c if(task != no_action) { task 428 lib/pacemaker/pcmk_sched_remote.c pcmk__str_eq(action->task, CRM_OP_CLEAR_FAILCOUNT, pcmk__str_casei)) { task 467 lib/pacemaker/pcmk_sched_remote.c if (pcmk__str_eq(action->task, RSC_START, pcmk__str_casei)) { task 473 lib/pacemaker/pcmk_sched_remote.c && pcmk__str_eq(rsc_action->task, RSC_STOP, pcmk__str_casei)) { task 554 lib/pacemaker/pcmk_sched_remote.c const char *task = action->task; task 556 lib/pacemaker/pcmk_sched_remote.c if (pcmk__str_eq(task, CRM_OP_FENCE, pcmk__str_casei) task 574 lib/pacemaker/pcmk_sched_remote.c action->task, (action->rsc? action->rsc->id : "no resource"), task 583 lib/pacemaker/pcmk_sched_remote.c action->task, (action->rsc? action->rsc->id : "no resource"), task 592 lib/pacemaker/pcmk_sched_remote.c action->task, (action->rsc? action->rsc->id : "no resource"), task 605 lib/pacemaker/pcmk_sched_remote.c if (pcmk__str_eq(task, "notify", pcmk__str_casei)) { task 606 lib/pacemaker/pcmk_sched_remote.c task = g_hash_table_lookup(action->meta, "notify_operation"); task 621 lib/pacemaker/pcmk_sched_remote.c if (pcmk__strcase_any_of(task, "cancel", "stop", "demote", "migrate_from", task 625 lib/pacemaker/pcmk_sched_remote.c action->task, (action->rsc? action->rsc->id : "no resource"), task 637 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 == action_notify) || (task == 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 388 lib/pacemaker/pcmk_sched_resource.c if (pcmk__str_eq(op->task, RSC_STOP, pcmk__str_casei)) { task 391 lib/pacemaker/pcmk_sched_resource.c } else if (pcmk__str_eq(op->task, RSC_START, pcmk__str_casei)) { task 619 lib/pacemaker/pcmk_scheduler.c if (pcmk__str_eq(dc_down->task, CRM_OP_SHUTDOWN, pcmk__str_none)) { 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, RSC_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, RSC_NOTIFY, RSC_NOTIFIED, 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, CRM_OP_FENCE, pcmk__str_casei)) { task 103 lib/pacemaker/pcmk_simulate.c prefix, action->task, op, action_host); task 111 lib/pacemaker/pcmk_simulate.c prefix, action->task, action_host); task 469 lib/pacemaker/pcmk_simulate.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY); task 472 lib/pacemaker/pcmk_simulate.c out->message(out, "inject-pseudo-action", node, task); task 661 lib/pacemaker/pcmk_simulate.c const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK); task 665 lib/pacemaker/pcmk_simulate.c out->message(out, "inject-cluster-action", node, task, rsc); task 349 lib/pengine/common.c text2task(const char *task) task 351 lib/pengine/common.c if (pcmk__str_eq(task, CRMD_ACTION_STOP, pcmk__str_casei)) { task 353 lib/pengine/common.c } else if (pcmk__str_eq(task, CRMD_ACTION_STOPPED, pcmk__str_casei)) { task 355 lib/pengine/common.c } else if (pcmk__str_eq(task, CRMD_ACTION_START, pcmk__str_casei)) { task 357 lib/pengine/common.c } else if (pcmk__str_eq(task, CRMD_ACTION_STARTED, pcmk__str_casei)) { task 359 lib/pengine/common.c } else if (pcmk__str_eq(task, CRM_OP_SHUTDOWN, pcmk__str_casei)) { task 361 lib/pengine/common.c } else if (pcmk__str_eq(task, CRM_OP_FENCE, pcmk__str_casei)) { task 363 lib/pengine/common.c } else if (pcmk__str_eq(task, CRMD_ACTION_STATUS, pcmk__str_casei)) { task 365 lib/pengine/common.c } else if (pcmk__str_eq(task, CRMD_ACTION_NOTIFY, pcmk__str_casei)) { task 367 lib/pengine/common.c } else if (pcmk__str_eq(task, CRMD_ACTION_NOTIFIED, pcmk__str_casei)) { task 369 lib/pengine/common.c } else if (pcmk__str_eq(task, CRMD_ACTION_PROMOTE, pcmk__str_casei)) { task 371 lib/pengine/common.c } else if (pcmk__str_eq(task, CRMD_ACTION_DEMOTE, pcmk__str_casei)) { task 373 lib/pengine/common.c } else if (pcmk__str_eq(task, CRMD_ACTION_PROMOTED, pcmk__str_casei)) { task 375 lib/pengine/common.c } else if (pcmk__str_eq(task, CRMD_ACTION_DEMOTED, pcmk__str_casei)) { task 379 lib/pengine/common.c if (pcmk__str_eq(task, CRMD_ACTION_CANCEL, pcmk__str_casei)) { task 381 lib/pengine/common.c } else if (pcmk__str_eq(task, CRMD_ACTION_DELETE, pcmk__str_casei)) { task 383 lib/pengine/common.c } else if (pcmk__str_eq(task, CRMD_ACTION_STATUS, pcmk__str_casei)) { task 385 lib/pengine/common.c } else if (pcmk__str_eq(task, CRMD_ACTION_MIGRATE, pcmk__str_casei)) { task 387 lib/pengine/common.c } else if (pcmk__str_eq(task, CRMD_ACTION_MIGRATED, pcmk__str_casei)) { task 390 lib/pengine/common.c crm_trace("Unsupported action: %s", task); task 397 lib/pengine/common.c task2text(enum action_tasks task) task 401 lib/pengine/common.c switch (task) { task 167 lib/pengine/pe_actions.c new_action(char *key, const char *task, pe_resource_t *rsc, task 176 lib/pengine/pe_actions.c action->task = strdup(task); CRM_ASSERT(action->task != NULL); task 185 lib/pengine/pe_actions.c if (pcmk__str_eq(task, CRM_OP_LRM_DELETE, pcmk__str_casei)) { task 209 lib/pengine/pe_actions.c data_set->action_id, key, task, task 340 lib/pengine/pe_actions.c && pcmk__str_eq(action->task, CRMD_ACTION_STOP, pcmk__str_casei) task 413 lib/pengine/pe_actions.c if (pcmk__str_eq(action->task, CRMD_ACTION_STOP, pcmk__str_casei)) { task 416 lib/pengine/pe_actions.c } else if (pcmk__str_eq(action->task, CRMD_ACTION_START, pcmk__str_casei)) { task 440 lib/pengine/pe_actions.c if (pcmk__str_eq(action->task, CRMD_ACTION_STOP, pcmk__str_casei) task 448 lib/pengine/pe_actions.c } else if (pcmk__str_eq(action->task, CRMD_ACTION_DEMOTE, pcmk__str_casei) && !value) { task 483 lib/pengine/pe_actions.c } else if (pcmk__str_eq(action->task, CRM_OP_LRM_DELETE, pcmk__str_casei)) { task 651 lib/pengine/pe_actions.c .op_name = action->task, task 666 lib/pengine/pe_actions.c is_probe = pcmk_is_probe(action->task, interval_ms); task 731 lib/pengine/pe_actions.c && (pcmk__str_eq(action->task, RSC_START, pcmk__str_casei) task 752 lib/pengine/pe_actions.c if (!pcmk__strcase_any_of(action->task, RSC_START, RSC_PROMOTE, NULL)) { task 847 lib/pengine/pe_actions.c && !(pcmk__str_eq(action->task, CRMD_ACTION_STATUS, pcmk__str_casei) task 849 lib/pengine/pe_actions.c && !pcmk__str_eq(action->task, CRMD_ACTION_START, pcmk__str_casei)) { task 869 lib/pengine/pe_actions.c } else if (value == NULL && pcmk__str_eq(action->task, CRMD_ACTION_STOP, pcmk__str_casei)) { task 900 lib/pengine/pe_actions.c if (pcmk__str_eq(action->task, CRMD_ACTION_PROMOTE, pcmk__str_casei)) { task 942 lib/pengine/pe_actions.c custom_action(pe_resource_t *rsc, char *key, const char *task, task 948 lib/pengine/pe_actions.c CRM_ASSERT((key != NULL) && (task != NULL) && (data_set != NULL)); task 955 lib/pengine/pe_actions.c action = new_action(key, task, rsc, on_node, optional, save_action, task 1211 lib/pengine/pe_actions.c free(action->task); task 1267 lib/pengine/pe_actions.c enum action_tasks task = text2task(name); task 1270 lib/pengine/pe_actions.c switch (task) { task 1277 lib/pengine/pe_actions.c --task; task 1283 lib/pengine/pe_actions.c return task; task 1298 lib/pengine/pe_actions.c find_first_action(const GList *input, const char *uuid, const char *task, task 1301 lib/pengine/pe_actions.c CRM_CHECK(uuid || task, return NULL); task 1309 lib/pengine/pe_actions.c } else if (task != NULL && !pcmk__str_eq(task, action->task, pcmk__str_casei)) { task 1401 lib/pengine/pe_actions.c const char *task, bool require_node) task 1404 lib/pengine/pe_actions.c char *key = pcmk__op_key(rsc->id, task, 0); task 1446 lib/pengine/pe_actions.c action->task); task 1650 lib/pengine/pe_actions.c pe__new_rsc_pseudo_action(pe_resource_t *rsc, const char *task, bool optional, task 1655 lib/pengine/pe_actions.c CRM_ASSERT((rsc != NULL) && (task != NULL)); task 1657 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 130 lib/pengine/pe_digest.c action = custom_action(rsc, pcmk__op_key(rsc->id, task, *interval_ms), task 131 lib/pengine/pe_digest.c task, node, TRUE, FALSE, data_set); task 298 lib/pengine/pe_digest.c pe__calculate_digests(pe_resource_t *rsc, const char *task, guint *interval_ms, task 326 lib/pengine/pe_digest.c calculate_main_digest(data, rsc, node, params, task, interval_ms, xml_op, task 351 lib/pengine/pe_digest.c rsc_action_digest(pe_resource_t *rsc, const char *task, guint interval_ms, task 356 lib/pengine/pe_digest.c char *key = pcmk__op_key(rsc->id, task, interval_ms); task 360 lib/pengine/pe_digest.c data = pe__calculate_digests(rsc, task, &interval_ms, node, xml_op, task 388 lib/pengine/pe_digest.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); task 399 lib/pengine/pe_digest.c data = rsc_action_digest(rsc, task, interval_ms, node, xml_op, task 406 lib/pengine/pe_digest.c interval_ms, task, rsc->id, pe__node_name(node), task 432 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 286 lib/pengine/pe_notif.c pcmk__notify_key(rsc->id, notif_type, action->task), task 292 lib/pengine/pe_notif.c add_hash_param(notify->meta, "notify_key_operation", action->task); task 315 lib/pengine/pe_notif.c const char *task = NULL; task 337 lib/pengine/pe_notif.c task = g_hash_table_lookup(op->meta, "notify_operation"); // original action task 340 lib/pengine/pe_notif.c rsc->id, pe__node_name(node), value, task); task 343 lib/pengine/pe_notif.c key = pcmk__notify_key(rsc->id, value, task); task 344 lib/pengine/pe_notif.c notify_action = custom_action(rsc, key, op->task, node, task 392 lib/pengine/pe_notif.c || pcmk__str_eq(mon->task, RSC_CANCEL, pcmk__str_none)) { task 431 lib/pengine/pe_notif.c pe__action_notif_pseudo_ops(pe_resource_t *rsc, const char *task, task 443 lib/pengine/pe_notif.c n_data->action = task; task 607 lib/pengine/pe_notif.c enum action_tasks task = text2task(op->task); task 609 lib/pengine/pe_notif.c if ((task == stop_rsc) && op->node->details->unclean) { task 617 lib/pengine/pe_notif.c switch (task) { task 803 lib/pengine/pe_notif.c enum action_tasks task = text2task(n_data->action); task 816 lib/pengine/pe_notif.c switch (text2task(op->task)) { task 830 lib/pengine/pe_notif.c switch (task) { task 865 lib/pengine/pe_notif.c && ((task == stop_rsc) || (task == action_demote))) { task 884 lib/pengine/pe_notif.c if ((task == action_demote) || (stop == NULL) task 893 lib/pengine/pe_notif.c && ((task == start_rsc) || (task == action_promote))) { task 914 lib/pengine/pe_notif.c if ((task != start_rsc) || (start == NULL) task 144 lib/pengine/pe_output.c const char *task = crm_element_value(rsc_op, XML_LRM_ATTR_TASK); task 153 lib/pengine/pe_output.c if (pcmk__str_eq(task, CRMD_ACTION_STATUS, pcmk__str_casei) task 155 lib/pengine/pe_output.c task = "probe"; task 159 lib/pengine/pe_output.c if (pcmk__str_eq(task, CRMD_ACTION_NOTIFY, pcmk__str_casei) || (pcmk__str_eq(task, "probe", pcmk__str_casei) && (op_rc_i == 7))) { task 216 lib/pengine/pe_output.c op_history_string(xmlNode *xml_op, const char *task, const char *interval_ms_s, task 261 lib/pengine/pe_output.c buf = crm_strdup_printf("(%s) %s:%s%s%s%s rc=%d (%s)", call, task, task 280 lib/pengine/pe_output.c buf = crm_strdup_printf("(%s) %s%s%s", call, task, task 1270 lib/pengine/pe_output.c char *task = NULL; task 1276 lib/pengine/pe_output.c || !parse_op_key(op_key, &rsc_id, &task, &interval_ms)) { task 1278 lib/pengine/pe_output.c task = strdup("unknown action"); task 1281 lib/pengine/pe_output.c CRM_ASSERT((rsc_id != NULL) && (task != NULL)); task 1291 lib/pengine/pe_output.c pcmk__g_strcat(str, crm_action_str(task, interval_ms), " on ", node_name, task 1332 lib/pengine/pe_output.c free(task); task 2524 lib/pengine/pe_output.c const char *task = va_arg(args, const char *); task 2529 lib/pengine/pe_output.c char *buf = op_history_string(xml_op, task, interval_ms_s, rc, task 2542 lib/pengine/pe_output.c const char *task = va_arg(args, const char *); task 2550 lib/pengine/pe_output.c "task", task, task 2860 lib/pengine/pe_output.c const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); task 2869 lib/pengine/pe_output.c if (pcmk__str_eq(task, CRMD_ACTION_STATUS, pcmk__str_casei) task 2871 lib/pengine/pe_output.c task = "probe"; task 2886 lib/pengine/pe_output.c out->message(out, "op-history", xml_op, task, interval_ms_s, task 73 lib/pengine/pe_status_private.h notify_data_t *pe__action_notif_pseudo_ops(pe_resource_t *rsc, const char *task, task 39 lib/pengine/unpack.c const char *task; // Action name task 2256 lib/pengine/unpack.c const char *task = NULL; task 2302 lib/pengine/unpack.c task = crm_element_value(rsc_op, XML_LRM_ATTR_TASK); task 2304 lib/pengine/unpack.c key = pcmk__op_key(rsc->id, task, interval_ms); task 2306 lib/pengine/unpack.c custom_action(rsc, key, task, node, TRUE, TRUE, data_set); task 2317 lib/pengine/unpack.c const char *task = NULL; task 2328 lib/pengine/unpack.c task = crm_element_value(rsc_op, XML_LRM_ATTR_TASK); task 2331 lib/pengine/unpack.c if (pcmk__str_eq(task, CRMD_ACTION_STOP, pcmk__str_casei) task 2335 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(task, CRMD_ACTION_START, CRMD_ACTION_MIGRATED, NULL)) { task 2338 lib/pengine/unpack.c } else if ((implied_monitor_start <= *stop_index) && pcmk__str_eq(task, CRMD_ACTION_STATUS, pcmk__str_casei)) { task 2344 lib/pengine/unpack.c } else if (pcmk__strcase_any_of(task, CRMD_ACTION_PROMOTE, CRMD_ACTION_DEMOTE, NULL)) { task 2755 lib/pengine/unpack.c const char * task = NULL; task 2761 lib/pengine/unpack.c task = crm_element_value(op, XML_LRM_ATTR_TASK); task 2763 lib/pengine/unpack.c if (pcmk__str_any_of(task, CRMD_ACTION_START, CRMD_ACTION_STOP, task 3387 lib/pengine/unpack.c (is_probe? "probe" : history->task), history->rsc->id, task 3396 lib/pengine/unpack.c (is_probe? "probe" : history->task), history->rsc->id, task 3417 lib/pengine/unpack.c action = custom_action(history->rsc, strdup(history->key), history->task, task 3426 lib/pengine/unpack.c if (strcmp(history->task, CRMD_ACTION_STOP) == 0) { task 3430 lib/pengine/unpack.c } else if (strcmp(history->task, CRMD_ACTION_MIGRATE) == 0) { task 3433 lib/pengine/unpack.c } else if (strcmp(history->task, CRMD_ACTION_MIGRATED) == 0) { task 3436 lib/pengine/unpack.c } else if (strcmp(history->task, CRMD_ACTION_PROMOTE) == 0) { task 3439 lib/pengine/unpack.c } else if (strcmp(history->task, CRMD_ACTION_DEMOTE) == 0) { task 3500 lib/pengine/unpack.c if (strcmp(history->task, CRMD_ACTION_STOP) != 0) { task 3511 lib/pengine/unpack.c history->rsc->id, history->task, pe__node_name(history->node), task 3572 lib/pengine/unpack.c const char *task = history->task; task 3616 lib/pengine/unpack.c task = "probe"; task 3744 lib/pengine/unpack.c history->exit_status, task, history->rsc->id, task 3767 lib/pengine/unpack.c should_clear_for_param_change(const xmlNode *xml_op, const char *task, task 3770 lib/pengine/unpack.c if (!strcmp(task, "start") || !strcmp(task, "monitor")) { task 3818 lib/pengine/unpack.c should_ignore_failure_timeout(const pe_resource_t *rsc, const char *task, task 3843 lib/pengine/unpack.c && (interval_ms != 0) && pcmk__str_eq(task, CRMD_ACTION_STATUS, pcmk__str_casei)) { task 3904 lib/pengine/unpack.c && !should_ignore_failure_timeout(history->rsc, history->task, task 3960 lib/pengine/unpack.c && should_clear_for_param_change(history->xml, history->task, task 3983 lib/pengine/unpack.c history->task, history->rsc->id); task 3990 lib/pengine/unpack.c && pcmk__str_eq(history->task, CRMD_ACTION_STATUS, pcmk__str_none)) { task 4036 lib/pengine/unpack.c history->task, NULL, TRUE, FALSE, task 4068 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, CRMD_ACTION_STATUS, task 4079 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, CRMD_ACTION_START, pcmk__str_none)) { task 4083 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, CRMD_ACTION_STOP, pcmk__str_none)) { task 4087 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, CRMD_ACTION_PROMOTE, task 4092 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, CRMD_ACTION_DEMOTE, task 4100 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, CRMD_ACTION_MIGRATED, task 4105 lib/pengine/unpack.c } else if (pcmk__str_eq(history->task, CRMD_ACTION_MIGRATE, task 4126 lib/pengine/unpack.c history->rsc->id, fail2text(*on_fail), history->task); task 4173 lib/pengine/unpack.c return pcmk__str_any_of(history->task, CRMD_ACTION_STATUS, task 4179 lib/pengine/unpack.c return !pcmk__str_any_of(history->task, CRMD_ACTION_NOTIFY, task 4264 lib/pengine/unpack.c history->id, history->task, history->rsc->id, task 4282 lib/pengine/unpack.c pcmk__readable_interval(history->interval_ms), history->task, task 4347 lib/pengine/unpack.c if (!pcmk__str_eq(history->task, task 4395 lib/pengine/unpack.c if (strcmp(history->task, CRMD_ACTION_START) == 0) { task 4399 lib/pengine/unpack.c } else if (strcmp(history->task, CRMD_ACTION_PROMOTE) == 0) { task 4402 lib/pengine/unpack.c } else if ((strcmp(history->task, CRMD_ACTION_MIGRATE) == 0) task 4425 lib/pengine/unpack.c if (pcmk_is_probe(history->task, history->interval_ms)) { task 4436 lib/pengine/unpack.c history->rsc->pending_task = strdup(history->task); task 4467 lib/pengine/unpack.c history.task = crm_element_value(xml_op, XML_LRM_ATTR_TASK); task 4468 lib/pengine/unpack.c if (history.task == NULL) { task 4479 lib/pengine/unpack.c history.id, rsc->id, pe__node_name(node), history.task); task 4492 lib/pengine/unpack.c history.id, history.task, history.call_id, pe__node_name(node), task 4537 lib/pengine/unpack.c history.task, rsc->id, pe__node_name(node), task 4577 lib/pengine/unpack.c && (strcmp(history.task, CRMD_ACTION_STOP) == 0))) { task 4583 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 1714 tools/crm_resource_runtime.c || pcmk__str_eq("notify", action->task, pcmk__str_casei)) {