action             78 daemons/controld/controld_based.c do_cib_control(long long action,
action             85 daemons/controld/controld_based.c     if (action & A_CIB_STOP) {
action             97 daemons/controld/controld_based.c     if (action & A_CIB_START) {
action            181 daemons/controld/controld_based.c controld_action_is_recordable(const char *action)
action            183 daemons/controld/controld_based.c     return !pcmk__strcase_any_of(action, CRMD_ACTION_CANCEL, CRMD_ACTION_DELETE,
action             42 daemons/controld/controld_control.c do_ha_control(long long action,
action             54 daemons/controld/controld_control.c     if (action & A_HA_DISCONNECT) {
action             61 daemons/controld/controld_control.c     if (action & A_HA_CONNECT) {
action             92 daemons/controld/controld_control.c     if (action & ~(A_HA_CONNECT | A_HA_DISCONNECT)) {
action             93 daemons/controld/controld_control.c         crm_err("Unexpected action %s in %s", fsa_action2string(action),
action            100 daemons/controld/controld_control.c do_shutdown(long long action,
action            111 daemons/controld/controld_control.c do_shutdown_req(long long action,
action            319 daemons/controld/controld_control.c do_exit(long long action,
action            327 daemons/controld/controld_control.c     if (action & A_EXIT_1) {
action            335 daemons/controld/controld_control.c                fsa_action2string(action), exit_type);
action            345 daemons/controld/controld_control.c do_startup(long long action,
action            433 daemons/controld/controld_control.c do_stop(long long action,
action            444 daemons/controld/controld_control.c do_started(long long action,
action            507 daemons/controld/controld_control.c do_recover(long long action,
action            811 daemons/controld/controld_control.c do_read_config(long long action,
action             74 daemons/controld/controld_election.c do_election_vote(long long action,
action            120 daemons/controld/controld_election.c do_election_check(long long action,
action            134 daemons/controld/controld_election.c do_election_count_vote(long long action,
action            187 daemons/controld/controld_election.c do_dc_takeover(long long action,
action            242 daemons/controld/controld_election.c do_dc_release(long long action,
action            247 daemons/controld/controld_election.c     if (action & A_DC_RELEASE) {
action            252 daemons/controld/controld_election.c     } else if (action & A_DC_RELEASED) {
action            275 daemons/controld/controld_election.c         crm_err("Unknown DC action %s", fsa_action2string(action));
action            315 daemons/controld/controld_execd.c try_local_executor_connect(long long action, fsa_data_t *msg_data,
action            351 daemons/controld/controld_execd.c do_lrm_control(long long action,
action            372 daemons/controld/controld_execd.c     if (action & A_LRM_DISCONNECT) {
action            374 daemons/controld/controld_execd.c             if (action == A_LRM_DISCONNECT) {
action            387 daemons/controld/controld_execd.c     if (action & A_LRM_CONNECT) {
action            388 daemons/controld/controld_execd.c         try_local_executor_connect(action, msg_data, lrm_state);
action            391 daemons/controld/controld_execd.c     if (action & ~(A_LRM_CONNECT | A_LRM_DISCONNECT)) {
action            392 daemons/controld/controld_execd.c         crm_err("Unexpected action %s in %s", fsa_action2string(action),
action           1441 daemons/controld/controld_execd.c synthesize_lrmd_failure(lrm_state_t *lrm_state, xmlNode *action,
action           1446 daemons/controld/controld_execd.c     const char *operation = crm_element_value(action, XML_LRM_ATTR_TASK);
action           1447 daemons/controld/controld_execd.c     const char *target_node = crm_element_value(action, XML_LRM_ATTR_TARGET);
action           1448 daemons/controld/controld_execd.c     xmlNode *xml_rsc = find_xml_node(action, XML_CIB_TAG_RESOURCE, TRUE);
action           1453 daemons/controld/controld_execd.c                  crm_element_value(action, XML_LRM_ATTR_TASK_KEY), rc,
action           1464 daemons/controld/controld_execd.c     op = construct_op(lrm_state, action, ID(xml_rsc), operation);
action           1476 daemons/controld/controld_execd.c     process_lrm_event(lrm_state, op, NULL, action);
action           1734 daemons/controld/controld_execd.c do_lrm_invoke(long long action,
action           2563 daemons/controld/controld_execd.c do_lrm_event(long long action,
action            639 daemons/controld/controld_execd_state.c lrm_state_cancel(lrm_state_t *lrm_state, const char *rsc_id, const char *action,
action            649 daemons/controld/controld_execd_state.c         return remote_ra_cancel(lrm_state, rsc_id, action, interval_ms);
action            652 daemons/controld/controld_execd_state.c                                                       action, interval_ms);
action            702 daemons/controld/controld_execd_state.c                                 const char *action, const char *userdata,
action            714 daemons/controld/controld_execd_state.c         rc = controld_execute_remote_agent(lrm_state, rsc_id, action,
action            720 daemons/controld/controld_execd_state.c                                                       action, userdata,
action            172 daemons/controld/controld_fencing.c send_stonith_update(crm_action_t *action, const char *target, const char *uuid)
action            381 daemons/controld/controld_fencing.c             crm_action_t *action = (crm_action_t *) lpc2->data;
action            383 daemons/controld/controld_fencing.c             if (action->type != action_type_crm || pcmk_is_set(action->flags, pcmk__graph_action_confirmed)) {
action            387 daemons/controld/controld_fencing.c             task = crm_element_value(action->xml, XML_LRM_ATTR_TASK);
action            389 daemons/controld/controld_fencing.c                 crm__set_graph_action_flags(action, pcmk__graph_action_failed);
action            390 daemons/controld/controld_fencing.c                 last_action = action->xml;
action            391 daemons/controld/controld_fencing.c                 pcmk__update_graph(graph, action);
action            393 daemons/controld/controld_fencing.c                            action->id, ID(action->xml));
action            481 daemons/controld/controld_fencing.c     if (pcmk__str_eq("on", event->action, pcmk__str_none)) {
action            537 daemons/controld/controld_fencing.c                event->action, executioner, client, event->origin,
action            744 daemons/controld/controld_fencing.c     crm_action_t *action = NULL;
action            781 daemons/controld/controld_fencing.c     action = controld_get_action(stonith_id);
action            782 daemons/controld/controld_fencing.c     if (action == NULL) {
action            790 daemons/controld/controld_fencing.c     target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET);
action            797 daemons/controld/controld_fencing.c     stop_te_timer(action->timer);
action            799 daemons/controld/controld_fencing.c         const char *uuid = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID);
action            800 daemons/controld/controld_fencing.c         const char *op = crm_meta_value(action->params, "stonith_action");
action            803 daemons/controld/controld_fencing.c         if (!(pcmk_is_set(action->flags, pcmk__graph_action_confirmed))) {
action            804 daemons/controld/controld_fencing.c             te_action_confirmed(action, NULL);
action            825 daemons/controld/controld_fencing.c                 value = crm_meta_value(action->params, XML_OP_ATTR_DIGESTS_ALL);
action            829 daemons/controld/controld_fencing.c                 value = crm_meta_value(action->params, XML_OP_ATTR_DIGESTS_SECURE);
action            833 daemons/controld/controld_fencing.c             } else if (!(pcmk_is_set(action->flags, pcmk__graph_action_sent_update))) {
action            834 daemons/controld/controld_fencing.c                 send_stonith_update(action, target, uuid);
action            835 daemons/controld/controld_fencing.c                 crm__set_graph_action_flags(action, pcmk__graph_action_sent_update);
action            852 daemons/controld/controld_fencing.c         crm__set_graph_action_flags(action, pcmk__graph_action_failed);
action            875 daemons/controld/controld_fencing.c     pcmk__update_graph(transition_graph, action);
action            900 daemons/controld/controld_fencing.c te_fence_node(crm_graph_t *graph, crm_action_t *action)
action            911 daemons/controld/controld_fencing.c     id = ID(action->xml);
action            912 daemons/controld/controld_fencing.c     target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET);
action            913 daemons/controld/controld_fencing.c     uuid = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID);
action            914 daemons/controld/controld_fencing.c     type = crm_meta_value(action->params, "stonith_action");
action            922 daemons/controld/controld_fencing.c         crm_log_xml_warn(action->xml, "BadAction");
action            926 daemons/controld/controld_fencing.c     priority_delay = crm_meta_value(action->params, XML_CONFIG_ATTR_PRIORITY_FENCING_DELAY);
action            938 daemons/controld/controld_fencing.c     transition_key = pcmk__transition_key(transition_graph->id, action->id, 0,
action             26 daemons/controld/controld_fencing.h gboolean te_fence_node(crm_graph_t *graph, crm_action_t *action);
action            103 daemons/controld/controld_fsa.c               void (*function) (long long action,
action            119 daemons/controld/controld_fsa.c do_log(long long action, enum crmd_fsa_cause cause,
action            125 daemons/controld/controld_fsa.c     if (action & A_LOG) {
action            127 daemons/controld/controld_fsa.c     } else if (action & A_WARN) {
action            129 daemons/controld/controld_fsa.c     } else if (action & A_ERROR) {
action            526 daemons/controld/controld_fsa.h const char *fsa_action2string(long long action);
action            540 daemons/controld/controld_fsa.h void do_read_config(long long action, enum crmd_fsa_cause cause,
action            545 daemons/controld/controld_fsa.h void do_pe_invoke(long long action, enum crmd_fsa_cause cause,
action            550 daemons/controld/controld_fsa.h void do_log(long long action, enum crmd_fsa_cause cause,
action            555 daemons/controld/controld_fsa.h void do_startup(long long action, enum crmd_fsa_cause cause,
action            560 daemons/controld/controld_fsa.h void do_cib_control(long long action, enum crmd_fsa_cause cause,
action            565 daemons/controld/controld_fsa.h void do_ha_control(long long action, enum crmd_fsa_cause cause,
action            570 daemons/controld/controld_fsa.h void do_lrm_control(long long action, enum crmd_fsa_cause cause,
action            575 daemons/controld/controld_fsa.h void do_pe_control(long long action, enum crmd_fsa_cause cause,
action            580 daemons/controld/controld_fsa.h void do_te_control(long long action, enum crmd_fsa_cause cause,
action            585 daemons/controld/controld_fsa.h void do_started(long long action, enum crmd_fsa_cause cause,
action            590 daemons/controld/controld_fsa.h void do_msg_route(long long action, enum crmd_fsa_cause cause,
action            595 daemons/controld/controld_fsa.h void do_recover(long long action, enum crmd_fsa_cause cause,
action            600 daemons/controld/controld_fsa.h void do_election_vote(long long action, enum crmd_fsa_cause cause,
action            605 daemons/controld/controld_fsa.h void do_election_count_vote(long long action, enum crmd_fsa_cause cause,
action            611 daemons/controld/controld_fsa.h void do_election_check(long long action, enum crmd_fsa_cause cause,
action            616 daemons/controld/controld_fsa.h void do_timer_control(long long action, enum crmd_fsa_cause cause,
action            621 daemons/controld/controld_fsa.h void do_dc_takeover(long long action, enum crmd_fsa_cause cause,
action            626 daemons/controld/controld_fsa.h void do_dc_release(long long action, enum crmd_fsa_cause cause,
action            631 daemons/controld/controld_fsa.h void do_dc_join_offer_all(long long action, enum crmd_fsa_cause cause,
action            636 daemons/controld/controld_fsa.h void do_dc_join_offer_one(long long action, enum crmd_fsa_cause cause,
action            641 daemons/controld/controld_fsa.h void do_dc_join_ack(long long action, enum crmd_fsa_cause cause,
action            646 daemons/controld/controld_fsa.h void do_dc_join_filter_offer(long long action, enum crmd_fsa_cause cause,
action            652 daemons/controld/controld_fsa.h void do_dc_join_finalize(long long action, enum crmd_fsa_cause cause,
action            658 daemons/controld/controld_fsa.h void do_cl_join_query(long long action, enum crmd_fsa_cause cause,
action            663 daemons/controld/controld_fsa.h void do_cl_join_announce(long long action, enum crmd_fsa_cause cause,
action            668 daemons/controld/controld_fsa.h void do_cl_join_offer_respond(long long action, enum crmd_fsa_cause cause,
action            674 daemons/controld/controld_fsa.h void do_cl_join_finalize_respond(long long action, enum crmd_fsa_cause cause,
action            680 daemons/controld/controld_fsa.h void do_lrm_invoke(long long action, enum crmd_fsa_cause cause,
action            685 daemons/controld/controld_fsa.h void do_lrm_event(long long action, enum crmd_fsa_cause cause,
action            690 daemons/controld/controld_fsa.h void do_te_invoke(long long action, enum crmd_fsa_cause cause,
action            695 daemons/controld/controld_fsa.h void do_shutdown_req(long long action, enum crmd_fsa_cause cause,
action            700 daemons/controld/controld_fsa.h void do_shutdown(long long action, enum crmd_fsa_cause cause,
action            705 daemons/controld/controld_fsa.h void do_stop(long long action, enum crmd_fsa_cause cause,
action            710 daemons/controld/controld_fsa.h void do_exit(long long action, enum crmd_fsa_cause cause,
action            715 daemons/controld/controld_fsa.h void do_dc_join_final(long long action, enum crmd_fsa_cause cause,
action             49 daemons/controld/controld_join_client.c do_cl_join_query(long long action,
action             70 daemons/controld/controld_join_client.c do_cl_join_announce(long long action,
action            104 daemons/controld/controld_join_client.c do_cl_join_offer_respond(long long action,
action            223 daemons/controld/controld_join_client.c do_cl_join_finalize_respond(long long action,
action            178 daemons/controld/controld_join_dc.c do_dc_join_offer_all(long long action,
action            208 daemons/controld/controld_join_dc.c do_dc_join_offer_one(long long action,
action            291 daemons/controld/controld_join_dc.c do_dc_join_filter_offer(long long action,
action            408 daemons/controld/controld_join_dc.c do_dc_join_finalize(long long action,
action            531 daemons/controld/controld_join_dc.c do_dc_join_ack(long long action,
action            741 daemons/controld/controld_join_dc.c do_dc_join_final(long long action,
action            151 daemons/controld/controld_lrm.h                      const char *action, guint interval_ms);
action            153 daemons/controld/controld_lrm.h                                     const char *action, const char *userdata,
action            171 daemons/controld/controld_lrm.h                      const char *action, guint interval_ms);
action            173 daemons/controld/controld_lrm.h                                   const char *action, const char *userdata,
action            277 daemons/controld/controld_messages.c do_msg_route(long long action,
action             50 daemons/controld/controld_messages.h             ((fsa_data_t*)msg_data)->data, action, TRUE, __func__);     \
action             54 daemons/controld/controld_messages.h             NULL, action, TRUE, __func__);                              \
action             32 daemons/controld/controld_remote_ra.c     char *action;
action            112 daemons/controld/controld_remote_ra.c     free(cmd->action);
action            309 daemons/controld/controld_remote_ra.c     if (pcmk__str_eq(cmd->action, "start", pcmk__str_casei)) {
action            312 daemons/controld/controld_remote_ra.c     } else if (pcmk__str_eq(cmd->action, "migrate_from", pcmk__str_casei)) {
action            325 daemons/controld/controld_remote_ra.c     } else if (pcmk__str_eq(cmd->action, "stop", pcmk__str_casei)) {
action            363 daemons/controld/controld_remote_ra.c     op.op_type = cmd->action;
action            427 daemons/controld/controld_remote_ra.c     if (!pcmk__strcase_any_of(cmd->action, "start", "migrate_from", NULL)) {
action            611 daemons/controld/controld_remote_ra.c     if (op->type == lrmd_event_connect && pcmk__strcase_any_of(cmd->action, "start",
action            643 daemons/controld/controld_remote_ra.c         crm_debug("Remote connection event matched %s action", cmd->action);
action            647 daemons/controld/controld_remote_ra.c     } else if (op->type == lrmd_event_poke && pcmk__str_eq(cmd->action, "monitor", pcmk__str_casei)) {
action            663 daemons/controld/controld_remote_ra.c         crm_debug("Remote poke event matched %s action", cmd->action);
action            674 daemons/controld/controld_remote_ra.c     } else if (op->type == lrmd_event_disconnect && pcmk__str_eq(cmd->action, "monitor", pcmk__str_casei)) {
action            686 daemons/controld/controld_remote_ra.c     } else if (op->type == lrmd_event_new_client && pcmk__str_eq(cmd->action, "stop", pcmk__str_casei)) {
action            692 daemons/controld/controld_remote_ra.c         crm_debug("Event did not match %s action", ra_data->cur_cmd->action);
action            798 daemons/controld/controld_remote_ra.c         if (!strcmp(cmd->action, "start") || !strcmp(cmd->action, "migrate_from")) {
action            804 daemons/controld/controld_remote_ra.c                           cmd->action);
action            810 daemons/controld/controld_remote_ra.c         } else if (!strcmp(cmd->action, "monitor")) {
action            833 daemons/controld/controld_remote_ra.c         } else if (!strcmp(cmd->action, "stop")) {
action            849 daemons/controld/controld_remote_ra.c         } else if (!strcmp(cmd->action, "migrate_to")) {
action            853 daemons/controld/controld_remote_ra.c         } else if (pcmk__str_any_of(cmd->action, CRMD_ACTION_RELOAD,
action            940 daemons/controld/controld_remote_ra.c is_remote_ra_supported_action(const char *action)
action            942 daemons/controld/controld_remote_ra.c     return pcmk__str_any_of(action,
action            962 daemons/controld/controld_remote_ra.c         if ((cmd->interval_ms > 0) && pcmk__str_eq(cmd->action, "monitor", pcmk__str_casei)) {
action            973 daemons/controld/controld_remote_ra.c                   cmd->action, cmd->rsc_id, cmd->interval_ms, cmd->userdata);
action            986 daemons/controld/controld_remote_ra.c remove_cmd(GList * list, const char *action, guint interval_ms)
action            994 daemons/controld/controld_remote_ra.c             && pcmk__str_eq(cmd->action, action, pcmk__str_casei)) {
action           1008 daemons/controld/controld_remote_ra.c                  const char *action, guint interval_ms)
action           1019 daemons/controld/controld_remote_ra.c     ra_data->cmds = remove_cmd(ra_data->cmds, action, interval_ms);
action           1020 daemons/controld/controld_remote_ra.c     ra_data->recurring_cmds = remove_cmd(ra_data->recurring_cmds, action,
action           1024 daemons/controld/controld_remote_ra.c         (pcmk__str_eq(ra_data->cur_cmd->action, action, pcmk__str_casei))) {
action           1052 daemons/controld/controld_remote_ra.c         pcmk__str_eq(ra_data->cur_cmd->action, "monitor", pcmk__str_casei)) {
action           1061 daemons/controld/controld_remote_ra.c             && pcmk__str_eq(cmd->action, "monitor", pcmk__str_casei)) {
action           1069 daemons/controld/controld_remote_ra.c             && pcmk__str_eq(cmd->action, "monitor", pcmk__str_casei)) {
action           1126 daemons/controld/controld_remote_ra.c                               const char *action, const char *userdata,
action           1137 daemons/controld/controld_remote_ra.c     CRM_CHECK((lrm_state != NULL) && (rsc_id != NULL) && (action != NULL)
action           1141 daemons/controld/controld_remote_ra.c     if (!is_remote_ra_supported_action(action)) {
action           1170 daemons/controld/controld_remote_ra.c     cmd->action = strdup(action);
action           1172 daemons/controld/controld_remote_ra.c     if ((cmd->owner == NULL) || (cmd->rsc_id == NULL) || (cmd->action == NULL)
action            214 daemons/controld/controld_schedulerd.c do_pe_control(long long action,
action            219 daemons/controld/controld_schedulerd.c     if (action & A_PE_STOP) {
action            224 daemons/controld/controld_schedulerd.c     if ((action & A_PE_START)
action            318 daemons/controld/controld_schedulerd.c do_pe_invoke(long long action,
action            325 daemons/controld/controld_schedulerd.c                 fsa_action2string(action));
action             25 daemons/controld/controld_te_actions.c void send_rsc_command(crm_action_t * action);
action             26 daemons/controld/controld_te_actions.c static void te_update_job_count(crm_action_t * action, int offset);
action             29 daemons/controld/controld_te_actions.c te_start_action_timer(crm_graph_t * graph, crm_action_t * action)
action             31 daemons/controld/controld_te_actions.c     action->timer = calloc(1, sizeof(crm_action_timer_t));
action             32 daemons/controld/controld_te_actions.c     action->timer->timeout = action->timeout;
action             33 daemons/controld/controld_te_actions.c     action->timer->action = action;
action             34 daemons/controld/controld_te_actions.c     action->timer->source_id = g_timeout_add(action->timer->timeout + graph->network_delay,
action             35 daemons/controld/controld_te_actions.c                                              action_timer_callback, (void *)action->timer);
action             37 daemons/controld/controld_te_actions.c     CRM_ASSERT(action->timer->source_id != 0);
action             77 daemons/controld/controld_te_actions.c get_target_rc(crm_action_t * action)
action             81 daemons/controld/controld_te_actions.c     pcmk__scan_min_int(crm_meta_value(action->params, XML_ATTR_TE_TARGET_RC),
action             87 daemons/controld/controld_te_actions.c te_crm_command(crm_graph_t * graph, crm_action_t * action)
action            102 daemons/controld/controld_te_actions.c     id = ID(action->xml);
action            103 daemons/controld/controld_te_actions.c     task = crm_element_value(action->xml, XML_LRM_ATTR_TASK);
action            104 daemons/controld/controld_te_actions.c     on_node = crm_element_value(action->xml, XML_LRM_ATTR_TARGET);
action            105 daemons/controld/controld_te_actions.c     router_node = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE);
action            110 daemons/controld/controld_te_actions.c             const char *mode = crm_element_value(action->xml, PCMK__XA_MODE);
action            126 daemons/controld/controld_te_actions.c     value = crm_meta_value(action->params, XML_ATTR_TE_NOWAIT);
action            140 daemons/controld/controld_te_actions.c         te_action_confirmed(action, graph);
action            149 daemons/controld/controld_te_actions.c     cmd = create_request(task, action->xml, router_node, CRM_SYSTEM_CRMD, CRM_SYSTEM_TENGINE, NULL);
action            151 daemons/controld/controld_te_actions.c     counter = pcmk__transition_key(transition_graph->id, action->id,
action            152 daemons/controld/controld_te_actions.c                                    get_target_rc(action), te_uuid);
action            160 daemons/controld/controld_te_actions.c         crm_err("Action %d failed: send", action->id);
action            164 daemons/controld/controld_te_actions.c         te_action_confirmed(action, graph);
action            167 daemons/controld/controld_te_actions.c         if (action->timeout <= 0) {
action            169 daemons/controld/controld_te_actions.c                     action->id, task, on_node, action->timeout, graph->network_delay);
action            170 daemons/controld/controld_te_actions.c             action->timeout = (int) graph->network_delay;
action            172 daemons/controld/controld_te_actions.c         te_start_action_timer(graph, action);
action            195 daemons/controld/controld_te_actions.c synthesize_timeout_event(crm_action_t *action, int target_rc)
action            198 daemons/controld/controld_te_actions.c     const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET);
action            207 daemons/controld/controld_te_actions.c         router_node = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE);
action            216 daemons/controld/controld_te_actions.c     op = pcmk__event_from_graph_action(NULL, action, PCMK_EXEC_TIMEOUT,
action            219 daemons/controld/controld_te_actions.c     op->user_data = pcmk__transition_key(transition_graph->id, action->id,
action            226 daemons/controld/controld_te_actions.c controld_record_action_timeout(crm_action_t *action)
action            236 daemons/controld/controld_te_actions.c     const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET);
action            237 daemons/controld/controld_te_actions.c     const char *task_uuid = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY);
action            238 daemons/controld/controld_te_actions.c     const char *target_uuid = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID);
action            241 daemons/controld/controld_te_actions.c     int target_rc = get_target_rc(action);
action            244 daemons/controld/controld_te_actions.c              crm_element_name(action->xml), action->id, task_uuid, target);
action            246 daemons/controld/controld_te_actions.c     action_rsc = find_xml_node(action->xml, XML_CIB_TAG_RESOURCE, TRUE);
action            253 daemons/controld/controld_te_actions.c               crm_log_xml_err(action->xml, "Bad:action"); return);
action            281 daemons/controld/controld_te_actions.c     op = synthesize_timeout_event(action, target_rc);
action            291 daemons/controld/controld_te_actions.c               rc, action->id, task_uuid, target);
action            292 daemons/controld/controld_te_actions.c     crm__set_graph_action_flags(action, pcmk__graph_action_sent_update);
action            296 daemons/controld/controld_te_actions.c te_rsc_command(crm_graph_t * graph, crm_action_t * action)
action            318 daemons/controld/controld_te_actions.c     CRM_ASSERT(action != NULL);
action            319 daemons/controld/controld_te_actions.c     CRM_ASSERT(action->xml != NULL);
action            321 daemons/controld/controld_te_actions.c     crm__clear_graph_action_flags(action, pcmk__graph_action_executed);
action            322 daemons/controld/controld_te_actions.c     on_node = crm_element_value(action->xml, XML_LRM_ATTR_TARGET);
action            325 daemons/controld/controld_te_actions.c               crm_err("Corrupted command(id=%s) %s: no node", ID(action->xml), crm_str(task));
action            328 daemons/controld/controld_te_actions.c     rsc_op = action->xml;
action            330 daemons/controld/controld_te_actions.c     task_uuid = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY);
action            337 daemons/controld/controld_te_actions.c     counter = pcmk__transition_key(transition_graph->id, action->id,
action            338 daemons/controld/controld_te_actions.c                                    get_target_rc(action), te_uuid);
action            345 daemons/controld/controld_te_actions.c     value = crm_meta_value(action->params, XML_ATTR_TE_NOWAIT);
action            352 daemons/controld/controld_te_actions.c                (no_wait? " without waiting" : ""), action->id);
action            383 daemons/controld/controld_te_actions.c     crm__set_graph_action_flags(action, pcmk__graph_action_executed);
action            386 daemons/controld/controld_te_actions.c         crm_err("Action %d failed: send", action->id);
action            390 daemons/controld/controld_te_actions.c         crm_info("Action %d confirmed - no wait", action->id);
action            391 daemons/controld/controld_te_actions.c         crm__set_graph_action_flags(action, pcmk__graph_action_confirmed); /* Just mark confirmed.
action            394 daemons/controld/controld_te_actions.c         pcmk__update_graph(transition_graph, action);
action            397 daemons/controld/controld_te_actions.c     } else if (pcmk_is_set(action->flags, pcmk__graph_action_confirmed)) {
action            399 daemons/controld/controld_te_actions.c                   action->id, task, task_uuid, on_node, action->timeout);
action            401 daemons/controld/controld_te_actions.c         if (action->timeout <= 0) {
action            403 daemons/controld/controld_te_actions.c                     action->id, task, task_uuid, on_node, action->timeout, graph->network_delay);
action            404 daemons/controld/controld_te_actions.c             action->timeout = (int) graph->network_delay;
action            406 daemons/controld/controld_te_actions.c         te_update_job_count(action, 1);
action            407 daemons/controld/controld_te_actions.c         te_start_action_timer(graph, action);
action            468 daemons/controld/controld_te_actions.c te_update_job_count(crm_action_t * action, int offset)
action            470 daemons/controld/controld_te_actions.c     const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK);
action            471 daemons/controld/controld_te_actions.c     const char *target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET);
action            473 daemons/controld/controld_te_actions.c     if (action->type != action_type_rsc || target == NULL) {
action            482 daemons/controld/controld_te_actions.c     target = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE);
action            487 daemons/controld/controld_te_actions.c         const char *t1 = crm_meta_value(action->params, XML_LRM_ATTR_MIGRATE_SOURCE);
action            488 daemons/controld/controld_te_actions.c         const char *t2 = crm_meta_value(action->params, XML_LRM_ATTR_MIGRATE_TARGET);
action            494 daemons/controld/controld_te_actions.c         target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET);
action            501 daemons/controld/controld_te_actions.c te_should_perform_action_on(crm_graph_t * graph, crm_action_t * action, const char *target)
action            505 daemons/controld/controld_te_actions.c     const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK);
action            506 daemons/controld/controld_te_actions.c     const char *id = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY);
action            544 daemons/controld/controld_te_actions.c te_should_perform_action(crm_graph_t * graph, crm_action_t * action)
action            547 daemons/controld/controld_te_actions.c     const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK);
action            549 daemons/controld/controld_te_actions.c     if (action->type != action_type_rsc) {
action            558 daemons/controld/controld_te_actions.c     target = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE);
action            562 daemons/controld/controld_te_actions.c         target = crm_meta_value(action->params, XML_LRM_ATTR_MIGRATE_SOURCE);
action            563 daemons/controld/controld_te_actions.c         if(te_should_perform_action_on(graph, action, target) == FALSE) {
action            567 daemons/controld/controld_te_actions.c         target = crm_meta_value(action->params, XML_LRM_ATTR_MIGRATE_TARGET);
action            570 daemons/controld/controld_te_actions.c         target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET);
action            573 daemons/controld/controld_te_actions.c     return te_should_perform_action_on(graph, action, target);
action            583 daemons/controld/controld_te_actions.c te_action_confirmed(crm_action_t *action, crm_graph_t *graph)
action            585 daemons/controld/controld_te_actions.c     if (!pcmk_is_set(action->flags, pcmk__graph_action_confirmed)) {
action            586 daemons/controld/controld_te_actions.c         if ((action->type == action_type_rsc)
action            587 daemons/controld/controld_te_actions.c             && (crm_element_value(action->xml, XML_LRM_ATTR_TARGET) != NULL)) {
action            588 daemons/controld/controld_te_actions.c             te_update_job_count(action, -1);
action            590 daemons/controld/controld_te_actions.c         crm__set_graph_action_flags(action, pcmk__graph_action_confirmed);
action            593 daemons/controld/controld_te_actions.c         pcmk__update_graph(graph, action);
action            643 daemons/controld/controld_te_callbacks.c     CRM_CHECK(timer->action != NULL, return FALSE);
action            645 daemons/controld/controld_te_callbacks.c     task = crm_element_value(timer->action->xml, XML_LRM_ATTR_TASK);
action            646 daemons/controld/controld_te_callbacks.c     on_node = crm_element_value(timer->action->xml, XML_LRM_ATTR_TARGET);
action            647 daemons/controld/controld_te_callbacks.c     via_node = crm_element_value(timer->action->xml, XML_LRM_ATTR_ROUTER_NODE);
action            662 daemons/controld/controld_te_callbacks.c         pcmk__log_graph_action(LOG_ERR, timer->action);
action            664 daemons/controld/controld_te_callbacks.c         crm__set_graph_action_flags(timer->action, pcmk__graph_action_failed);
action            666 daemons/controld/controld_te_callbacks.c         te_action_confirmed(timer->action, transition_graph);
action            670 daemons/controld/controld_te_callbacks.c         if ((timer->action->type == action_type_rsc)
action            672 daemons/controld/controld_te_callbacks.c             controld_record_action_timeout(timer->action);
action             49 daemons/controld/controld_te_events.c             crm_action_t *action = (crm_action_t *) gIter2->data;
action             51 daemons/controld/controld_te_events.c             if (action->type == action_type_pseudo || pcmk_is_set(action->flags, pcmk__graph_action_confirmed)) {
action             53 daemons/controld/controld_te_events.c             } else if (action->type == action_type_crm) {
action             54 daemons/controld/controld_te_events.c                 const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK);
action             61 daemons/controld/controld_te_events.c             target_uuid = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID);
action             62 daemons/controld/controld_te_events.c             router = crm_element_value(action->xml, XML_LRM_ATTR_ROUTER_NODE);
action             71 daemons/controld/controld_te_events.c                 crm__set_graph_action_flags(action, pcmk__graph_action_failed);
action             73 daemons/controld/controld_te_events.c                 last_action = action->xml;
action             74 daemons/controld/controld_te_events.c                 stop_te_timer(action->timer);
action             75 daemons/controld/controld_te_events.c                 pcmk__update_graph(graph, action);
action             79 daemons/controld/controld_te_events.c                                action->id, crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY), down_node);
action             82 daemons/controld/controld_te_events.c                              action->id, crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY), down_node);
action            206 daemons/controld/controld_te_events.c             crm_action_t *action = (crm_action_t *) item2->data;
action            208 daemons/controld/controld_te_events.c             if (action->id == id) {
action            209 daemons/controld/controld_te_events.c                 return action;
action            230 daemons/controld/controld_te_events.c             crm_action_t *action = (crm_action_t *) gIter2->data;
action            232 daemons/controld/controld_te_events.c             task = crm_element_value(action->xml, XML_LRM_ATTR_TASK);
action            237 daemons/controld/controld_te_events.c             task = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY);
action            243 daemons/controld/controld_te_events.c             target = crm_element_value(action->xml, XML_LRM_ATTR_TARGET_UUID);
action            250 daemons/controld/controld_te_events.c             return action;
action            420 daemons/controld/controld_te_events.c         crm_action_t *action = controld_get_action(action_num);
action            422 daemons/controld/controld_te_events.c         if (action == NULL) {
action            427 daemons/controld/controld_te_events.c         } else if (pcmk_is_set(action->flags, pcmk__graph_action_confirmed)) {
action            442 daemons/controld/controld_te_events.c             if (pcmk__str_eq(crm_meta_value(action->params, XML_OP_ATTR_ON_FAIL), "ignore", pcmk__str_casei)) {
action            446 daemons/controld/controld_te_events.c                 crm__set_graph_action_flags(action, pcmk__graph_action_failed);
action            449 daemons/controld/controld_te_events.c             stop_te_timer(action->timer);
action            450 daemons/controld/controld_te_events.c             te_action_confirmed(action, transition_graph);
action            452 daemons/controld/controld_te_events.c             if (pcmk_is_set(action->flags, pcmk__graph_action_failed)) {
action            453 daemons/controld/controld_te_events.c                 abort_transition(action->synapse->priority + 1, tg_restart,
action             99 daemons/controld/controld_te_utils.c     enum transition_action action;
action            107 daemons/controld/controld_te_utils.c         abort_transition(abort_timer.priority, abort_timer.action,
action            130 daemons/controld/controld_te_utils.c     abort_timer.action = abort_action;
action            153 daemons/controld/controld_te_utils.c                       enum transition_action action, const char *abort_reason)
action            171 daemons/controld/controld_te_utils.c     if (graph->completion_action < action) {
action            173 daemons/controld/controld_te_utils.c                   abort2text(graph->completion_action), abort2text(action), abort_reason);
action            174 daemons/controld/controld_te_utils.c         graph->completion_action = action;
action             51 daemons/controld/controld_timers.c do_timer_control(long long action,
action             58 daemons/controld/controld_timers.c     if (action & A_DC_TIMER_STOP) {
action             61 daemons/controld/controld_timers.c     } else if (action & A_FINALIZE_TIMER_STOP) {
action             64 daemons/controld/controld_timers.c     } else if (action & A_INTEGRATE_TIMER_STOP) {
action             69 daemons/controld/controld_timers.c     if (action & A_DC_TIMER_START && timer_op_ok) {
action             76 daemons/controld/controld_timers.c     } else if (action & A_FINALIZE_TIMER_START) {
action             79 daemons/controld/controld_timers.c     } else if (action & A_INTEGRATE_TIMER_START) {
action             38 daemons/controld/controld_transition.c do_te_control(long long action,
action             45 daemons/controld/controld_transition.c     if (action & A_TE_STOP) {
action             60 daemons/controld/controld_transition.c     if ((action & A_TE_START) == 0) {
action             67 daemons/controld/controld_transition.c     } else if ((action & A_TE_START) && cur_state == S_STOPPING) {
action            114 daemons/controld/controld_transition.c do_te_invoke(long long action,
action            120 daemons/controld/controld_transition.c     if (AM_I_DC == FALSE || (fsa_state != S_TRANSITION_ENGINE && (action & A_TE_INVOKE))) {
action            122 daemons/controld/controld_transition.c                    fsa_action2string(action), fsa_state2string(fsa_state));
action            126 daemons/controld/controld_transition.c     if (action & A_TE_CANCEL) {
action            134 daemons/controld/controld_transition.c     } else if (action & A_TE_HALT) {
action            140 daemons/controld/controld_transition.c     } else if (action & A_TE_INVOKE) {
action             21 daemons/controld/controld_transition.h void controld_record_action_timeout(crm_action_t *action);
action             54 daemons/controld/controld_transition.h #  define abort_transition(pri, action, text, reason)			\
action             55 daemons/controld/controld_transition.h 	abort_transition_graph(pri, action, text, reason,__func__,__LINE__);
action             62 daemons/controld/controld_transition.h void te_action_confirmed(crm_action_t *action, crm_graph_t *graph);
action            245 daemons/controld/controld_utils.c fsa_action2string(long long action)
action            249 daemons/controld/controld_utils.c     switch (action) {
action            441 daemons/controld/controld_utils.c         crm_err("Action %.16llx is unknown", action);
action            533 daemons/controld/controld_utils.c fsa_dump_actions(uint64_t action, const char *text)
action            535 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_READCONFIG)) {
action            538 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_STARTUP)) {
action            541 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_STARTED)) {
action            544 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_HA_CONNECT)) {
action            547 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_HA_DISCONNECT)) {
action            550 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_LRM_CONNECT)) {
action            553 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_LRM_EVENT)) {
action            556 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_LRM_INVOKE)) {
action            559 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_LRM_DISCONNECT)) {
action            562 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_DC_TIMER_STOP)) {
action            565 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_DC_TIMER_START)) {
action            568 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_INTEGRATE_TIMER_START)) {
action            571 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_INTEGRATE_TIMER_STOP)) {
action            574 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_FINALIZE_TIMER_START)) {
action            577 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_FINALIZE_TIMER_STOP)) {
action            580 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_ELECTION_COUNT)) {
action            583 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_ELECTION_VOTE)) {
action            586 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_ELECTION_CHECK)) {
action            589 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_CL_JOIN_ANNOUNCE)) {
action            592 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_CL_JOIN_REQUEST)) {
action            595 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_CL_JOIN_RESULT)) {
action            598 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_DC_JOIN_OFFER_ALL)) {
action            601 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_DC_JOIN_OFFER_ONE)) {
action            604 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_DC_JOIN_PROCESS_REQ)) {
action            607 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_DC_JOIN_PROCESS_ACK)) {
action            610 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_DC_JOIN_FINALIZE)) {
action            613 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_MSG_PROCESS)) {
action            616 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_MSG_ROUTE)) {
action            619 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_RECOVER)) {
action            622 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_DC_RELEASE)) {
action            625 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_DC_RELEASED)) {
action            628 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_DC_TAKEOVER)) {
action            631 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_SHUTDOWN)) {
action            634 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_SHUTDOWN_REQ)) {
action            637 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_STOP)) {
action            640 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_EXIT_0)) {
action            643 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_EXIT_1)) {
action            646 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_CIB_START)) {
action            649 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_CIB_STOP)) {
action            652 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_TE_INVOKE)) {
action            655 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_TE_START)) {
action            658 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_TE_STOP)) {
action            661 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_TE_CANCEL)) {
action            664 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_PE_INVOKE)) {
action            667 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_PE_START)) {
action            670 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_PE_STOP)) {
action            673 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_NODE_BLOCK)) {
action            676 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_UPDATE_NODESTATUS)) {
action            679 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_LOG)) {
action            682 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_ERROR)) {
action            685 daemons/controld/controld_utils.c     if (pcmk_is_set(action, A_WARN)) {
action             76 daemons/controld/controld_utils.h void fsa_dump_actions(uint64_t action, const char *text);
action             99 daemons/controld/controld_utils.h bool controld_action_is_recordable(const char *action);
action            145 daemons/execd/cts-exec-helper.c     const char *action;
action            285 daemons/execd/cts-exec-helper.c                                    options.action,
action            318 daemons/execd/cts-exec-helper.c         rc = lrmd_conn->cmds->cancel(lrmd_conn, options.rsc_id, options.action,
action            393 daemons/execd/cts-exec-helper.c                                 op_info->rsc_id, op_info->action,
action            400 daemons/execd/cts-exec-helper.c         print_result(printf("API-CALL FAILURE unknown action '%s'\n", options.action));
action            560 daemons/execd/cts-exec-helper.c                 options.action = optarg;
action            648 daemons/execd/cts-exec-helper.c         options.action = "monitor";
action             70 daemons/execd/execd_alerts.c alert_complete(svc_action_t *action)
action             72 daemons/execd/execd_alerts.c     struct alert_cb_s *cb_data = (struct alert_cb_s *) (action->cb_data);
action             78 daemons/execd/execd_alerts.c     if (action->status != PCMK_EXEC_DONE) {
action             79 daemons/execd/execd_alerts.c         const char *reason = services__exit_reason(action);
action             82 daemons/execd/execd_alerts.c                    pcmk_exec_status_str(action->status),
action             88 daemons/execd/execd_alerts.c     } else if (action->rc != 0) {
action             91 daemons/execd/execd_alerts.c                    action->pid, action->rc, cb_data->client_id);
action             95 daemons/execd/execd_alerts.c                   action->pid, cb_data->client_id);
action             99 daemons/execd/execd_alerts.c     free(action->cb_data);
action            100 daemons/execd/execd_alerts.c     action->cb_data = NULL;
action            111 daemons/execd/execd_alerts.c     svc_action_t *action = NULL;
action            148 daemons/execd/execd_alerts.c     action = services_alert_create(alert_id, alert_path, alert_timeout, params,
action            150 daemons/execd/execd_alerts.c     if (action->rc != PCMK_OCF_UNKNOWN) {
action            155 daemons/execd/execd_alerts.c     rc = services_action_user(action, CRM_DAEMON_USER);
action            161 daemons/execd/execd_alerts.c     if (services_alert_async(action, alert_complete) == FALSE) {
action            162 daemons/execd/execd_alerts.c         services_action_free(action);
action            173 daemons/execd/execd_alerts.c     services_action_free(action);
action             57 daemons/execd/execd_commands.c     char *action;
action            196 daemons/execd/execd_commands.c action_matches(lrmd_cmd_t *cmd, const char *action, guint interval_ms)
action            199 daemons/execd/execd_commands.c            && pcmk__str_eq(cmd->action, action, pcmk__str_casei);
action            216 daemons/execd/execd_commands.c     if (pcmk__str_eq(cmd->action, "monitor", pcmk__str_casei)) {
action            221 daemons/execd/execd_commands.c                     cmd->rsc_id, cmd->action, cmd->call_id);
action            255 daemons/execd/execd_commands.c     if (pcmk__str_eq(cmd->action, "monitor", pcmk__str_casei)) {
action            260 daemons/execd/execd_commands.c                cmd->rsc_id, cmd->action, cmd->call_id);
action            264 daemons/execd/execd_commands.c normalize_action_name(lrmd_rsc_t * rsc, const char *action)
action            266 daemons/execd/execd_commands.c     if (pcmk__str_eq(action, "monitor", pcmk__str_casei) &&
action            270 daemons/execd/execd_commands.c     return action;
action            315 daemons/execd/execd_commands.c     cmd->action = crm_element_value_copy(rsc_xml, F_LRMD_RSC_ACTION);
action            324 daemons/execd/execd_commands.c                   cmd->rsc_id, cmd->action, cmd->interval_ms);
action            327 daemons/execd/execd_commands.c                                                 cmd->action, 0,
action            357 daemons/execd/execd_commands.c     free(cmd->action);
action            428 daemons/execd/execd_commands.c         if (action_matches(cmd, dup->action, dup->interval_ms)) {
action            469 daemons/execd/execd_commands.c              rsc->rsc_id, normalize_action_name(rsc, dup->action),
action            492 daemons/execd/execd_commands.c                                  normalize_action_name(rsc, dup->action),
action            505 daemons/execd/execd_commands.c     crm_trace("Scheduling %s on %s", cmd->action, rsc->rsc_id);
action            515 daemons/execd/execd_commands.c     if (pcmk__str_eq(cmd->action, "stop", pcmk__str_casei)) {
action            640 daemons/execd/execd_commands.c         crm_xml_add(notify, F_LRMD_RSC_ACTION, cmd->action);
action            719 daemons/execd/execd_commands.c     crm_trace("Resource operation rsc:%s action:%s completed (%p %p)", cmd->rsc_id, cmd->action,
action            802 daemons/execd/execd_commands.c action_complete(svc_action_t * action)
action            805 daemons/execd/execd_commands.c     lrmd_cmd_t *cmd = action->cb_data;
action            815 daemons/execd/execd_commands.c                 action->id);
action            820 daemons/execd/execd_commands.c     if (cmd->result.exit_status != action->rc) {
action            825 daemons/execd/execd_commands.c     cmd->last_pid = action->pid;
action            828 daemons/execd/execd_commands.c     code = services_result2ocf(action->standard, cmd->action, action->rc);
action            830 daemons/execd/execd_commands.c                      action->status, services__exit_reason(action));
action            843 daemons/execd/execd_commands.c             && pcmk__strcase_any_of(cmd->action, "start", "stop", NULL)) {
action            850 daemons/execd/execd_commands.c             cmd->real_action = cmd->action;
action            851 daemons/execd/execd_commands.c             cmd->action = strdup("monitor");
action            895 daemons/execd/execd_commands.c         } else if (pcmk__str_eq(cmd->action, "start", pcmk__str_casei)
action            925 daemons/execd/execd_commands.c                          cmd->rsc_id, cmd->action, time_sum, timeout_left, delay);
action            929 daemons/execd/execd_commands.c                            cmd->rsc_id, cmd->action,
action            947 daemons/execd/execd_commands.c                        (cmd->real_action? cmd->real_action : cmd->action),
action            958 daemons/execd/execd_commands.c     pcmk__set_result_output(&(cmd->result), services__grab_stdout(action),
action            959 daemons/execd/execd_commands.c                             services__grab_stderr(action));
action           1006 daemons/execd/execd_commands.c                 if (pcmk__str_eq(cmd->action, CRMD_ACTION_STATUS,
action           1010 daemons/execd/execd_commands.c                 } else if (pcmk__str_eq(cmd->action, CRMD_ACTION_STOP,
action           1034 daemons/execd/execd_commands.c         if (pcmk__str_eq(cmd->action, "start", pcmk__str_casei)) {
action           1038 daemons/execd/execd_commands.c         } else if (pcmk__str_eq(cmd->action, "stop", pcmk__str_casei)) {
action           1230 daemons/execd/execd_commands.c     if (pcmk__str_eq(cmd->action, "monitor", pcmk__str_casei)
action           1244 daemons/execd/execd_commands.c     } else if (pcmk__str_eq(cmd->action, "start", pcmk__str_casei)) {
action           1250 daemons/execd/execd_commands.c     } else if (pcmk__str_eq(cmd->action, "stop", pcmk__str_casei)) {
action           1253 daemons/execd/execd_commands.c     } else if (pcmk__str_eq(cmd->action, "monitor", pcmk__str_casei)) {
action           1280 daemons/execd/execd_commands.c     svc_action_t *action = NULL;
action           1287 daemons/execd/execd_commands.c               rsc->rsc_id, cmd->action, rsc->class, rsc->provider, rsc->type);
action           1292 daemons/execd/execd_commands.c         && pcmk__str_eq(cmd->action, "stop", pcmk__str_casei)) {
action           1301 daemons/execd/execd_commands.c     action = services__create_resource_action(rsc->rsc_id, rsc->class, rsc->provider,
action           1303 daemons/execd/execd_commands.c                                      normalize_action_name(rsc, cmd->action),
action           1307 daemons/execd/execd_commands.c     if (action == NULL) {
action           1313 daemons/execd/execd_commands.c     if (action->rc != PCMK_OCF_UNKNOWN) {
action           1314 daemons/execd/execd_commands.c         pcmk__set_result(&(cmd->result), action->rc, action->status,
action           1315 daemons/execd/execd_commands.c                          services__exit_reason(action));
action           1316 daemons/execd/execd_commands.c         services_action_free(action);
action           1320 daemons/execd/execd_commands.c     action->cb_data = cmd;
action           1322 daemons/execd/execd_commands.c     if (services_action_async(action, action_complete)) {
action           1330 daemons/execd/execd_commands.c     pcmk__set_result(&(cmd->result), action->rc, action->status,
action           1331 daemons/execd/execd_commands.c                      services__exit_reason(action));
action           1332 daemons/execd/execd_commands.c     services_action_free(action);
action           1333 daemons/execd/execd_commands.c     action = NULL;
action           1359 daemons/execd/execd_commands.c                  cmd->rsc_id, cmd->action, cmd->start_delay);
action           1440 daemons/execd/execd_commands.c                                    normalize_action_name(rsc, cmd->action),
action           1603 daemons/execd/execd_commands.c cancel_op(const char *rsc_id, const char *action, guint interval_ms)
action           1626 daemons/execd/execd_commands.c         if (action_matches(cmd, action, interval_ms)) {
action           1639 daemons/execd/execd_commands.c             if (action_matches(cmd, action, interval_ms)) {
action           1648 daemons/execd/execd_commands.c                                       normalize_action_name(rsc, action),
action           1693 daemons/execd/execd_commands.c         cancel_op(rsc->rsc_id, cmd->action, cmd->interval_ms);
action           1704 daemons/execd/execd_commands.c     const char *action = crm_element_value(rsc_xml, F_LRMD_RSC_ACTION);
action           1709 daemons/execd/execd_commands.c     if (!rsc_id || !action) {
action           1713 daemons/execd/execd_commands.c     return cancel_op(rsc_id, action, interval_ms);
action           1727 daemons/execd/execd_commands.c                     (cmd->real_action? cmd->real_action : cmd->action));
action             48 daemons/fenced/fenced_commands.c     char *action;
action             99 daemons/fenced/fenced_commands.c     char *action;
action            122 daemons/fenced/fenced_commands.c is_action_required(const char *action, stonith_device_t *device)
action            124 daemons/fenced/fenced_commands.c     return device && device->automatic_unfencing && pcmk__str_eq(action, "on",
action            129 daemons/fenced/fenced_commands.c get_action_delay_max(stonith_device_t * device, const char * action)
action            134 daemons/fenced/fenced_commands.c     if (!pcmk__is_fencing_action(action)) {
action            147 daemons/fenced/fenced_commands.c get_action_delay_base(stonith_device_t *device, const char *action, const char *victim)
action            152 daemons/fenced/fenced_commands.c     if (!pcmk__is_fencing_action(action)) {
action            212 daemons/fenced/fenced_commands.c get_action_timeout(stonith_device_t * device, const char *action, int default_timeout)
action            214 daemons/fenced/fenced_commands.c     if (action && device && device->params) {
action            221 daemons/fenced/fenced_commands.c         if (pcmk__str_eq(action, "reboot", pcmk__str_casei)
action            225 daemons/fenced/fenced_commands.c             action = "off";
action            229 daemons/fenced/fenced_commands.c         snprintf(buffer, sizeof(buffer), "pcmk_%s_timeout", action);
action            253 daemons/fenced/fenced_commands.c     free(cmd->action);
action            268 daemons/fenced/fenced_commands.c     const char *action = crm_element_value(op, F_STONITH_ACTION);
action            270 daemons/fenced/fenced_commands.c     CRM_CHECK(action != NULL, crm_log_xml_warn(msg, "NoAction"); return NULL);
action            286 daemons/fenced/fenced_commands.c     cmd->action = strdup(action);
action            347 daemons/fenced/fenced_commands.c               cmd->action, pid,
action            408 daemons/fenced/fenced_commands.c     stonith_action_t *action = NULL;
action            433 daemons/fenced/fenced_commands.c                       pending_op->action,
action            454 daemons/fenced/fenced_commands.c         if (pcmk__is_fencing_action(cmd->action)) {
action            460 daemons/fenced/fenced_commands.c             crm_info("Faking success for %s watchdog operation", cmd->action);
action            469 daemons/fenced/fenced_commands.c         if (pcmk__str_eq(cmd->action, "stop", pcmk__str_casei)) {
action            484 daemons/fenced/fenced_commands.c     action_str = cmd->action;
action            485 daemons/fenced/fenced_commands.c     if (pcmk__str_eq(cmd->action, "reboot", pcmk__str_casei)
action            503 daemons/fenced/fenced_commands.c     action = stonith_action_create(device->agent,
action            513 daemons/fenced/fenced_commands.c     exec_rc = stonith_action_execute_async(action, (void *)cmd,
action            517 daemons/fenced/fenced_commands.c         cmd->done_cb(0, stonith__action_result(action), cmd);
action            518 daemons/fenced/fenced_commands.c         stonith__destroy_action(action);
action            574 daemons/fenced/fenced_commands.c     cmd->timeout = get_action_timeout(device, cmd->action, cmd->default_timeout);
action            579 daemons/fenced/fenced_commands.c                   cmd->action,
action            584 daemons/fenced/fenced_commands.c                   cmd->action,
action            597 daemons/fenced/fenced_commands.c     delay_max = get_action_delay_max(device, cmd->action);
action            598 daemons/fenced/fenced_commands.c     delay_base = get_action_delay_base(device, cmd->action, cmd->victim);
action            606 daemons/fenced/fenced_commands.c                  delay_base, delay_max, cmd->action, device->id);
action            619 daemons/fenced/fenced_commands.c                    cmd->action,
action            640 daemons/fenced/fenced_commands.c         crm_warn("Removal of device '%s' purged operation '%s'", device->id, cmd->action);
action            839 daemons/fenced/fenced_commands.c add_action(char *actions, const char *action)
action            852 daemons/fenced/fenced_commands.c     offset += snprintf(actions+offset, MAX_ACTION_LEN - offset, "%s", action);
action            877 daemons/fenced/fenced_commands.c         const char *action = NULL;
action            883 daemons/fenced/fenced_commands.c         action = crm_element_value(match, "name");
action            885 daemons/fenced/fenced_commands.c         if(pcmk__str_eq(action, "list", pcmk__str_casei)) {
action            888 daemons/fenced/fenced_commands.c         } else if(pcmk__str_eq(action, "status", pcmk__str_casei)) {
action            891 daemons/fenced/fenced_commands.c         } else if(pcmk__str_eq(action, "reboot", pcmk__str_casei)) {
action            894 daemons/fenced/fenced_commands.c         } else if (pcmk__str_eq(action, "on", pcmk__str_casei)) {
action            902 daemons/fenced/fenced_commands.c         if (action && pcmk__xe_attr_is_true(match, "on_target")) {
action            903 daemons/fenced/fenced_commands.c             device->on_target_actions = add_action(device->on_target_actions, action);
action            919 daemons/fenced/fenced_commands.c map_action(GHashTable *params, const char *action, const char *value)
action            921 daemons/fenced/fenced_commands.c     char *key = crm_strdup_printf("pcmk_%s_action", action);
action           1086 daemons/fenced/fenced_commands.c                           const char *action,
action           1101 daemons/fenced/fenced_commands.c     cmd->action = strdup(action);
action           1851 daemons/fenced/fenced_commands.c     const char *action = crm_element_value(op, F_STONITH_ACTION);
action           1855 daemons/fenced/fenced_commands.c     if ((id == NULL) || (action == NULL)) {
action           1858 daemons/fenced/fenced_commands.c                  (action? action : "not specified"));
action           1870 daemons/fenced/fenced_commands.c         } else if (pcmk__str_eq(action, "list", pcmk__str_casei)) {
action           1878 daemons/fenced/fenced_commands.c         } else if (pcmk__str_eq(action, "monitor", pcmk__str_casei)) {
action           1887 daemons/fenced/fenced_commands.c                  action, id);
action           1892 daemons/fenced/fenced_commands.c     } else if (!device->api_registered && !strcmp(action, "monitor")) {
action           1895 daemons/fenced/fenced_commands.c                  action, id);
action           1926 daemons/fenced/fenced_commands.c                   (search->action? search->action : "unknown action"),
action           1931 daemons/fenced/fenced_commands.c         free(search->action);
action           1948 daemons/fenced/fenced_commands.c localhost_is_eligible(const stonith_device_t *device, const char *action,
action           1954 daemons/fenced/fenced_commands.c     if (device && action && device->on_target_actions
action           1955 daemons/fenced/fenced_commands.c         && strstr(device->on_target_actions, action)) {
action           1958 daemons/fenced/fenced_commands.c                       "local host, not %s", action, device->id, target);
action           1963 daemons/fenced/fenced_commands.c         crm_trace("'%s' operation does not support self-fencing", action);
action           1987 daemons/fenced/fenced_commands.c     if (pcmk__str_eq(search->action, "reboot", pcmk__str_casei)) {
action           1998 daemons/fenced/fenced_commands.c     } else if (!localhost_is_eligible(dev, search->action, host,
action           2038 daemons/fenced/fenced_commands.c                       check_type, dev->id, search->host, search->action);
action           2060 daemons/fenced/fenced_commands.c                   check_type, dev->id, search->host, search->action);
action           2072 daemons/fenced/fenced_commands.c                    dev->id, (can? "" : " not"), search->action, host,
action           2076 daemons/fenced/fenced_commands.c                    dev->id, (can? "" : " not"), search->action, host, alias,
action           2095 daemons/fenced/fenced_commands.c get_capable_devices(const char *host, const char *action, int timeout, bool suicide, void *user_data,
action           2115 daemons/fenced/fenced_commands.c     pcmk__str_update(&search->action, action);
action           2128 daemons/fenced/fenced_commands.c               (search->action? search->action : "unknown action"),
action           2138 daemons/fenced/fenced_commands.c     char *action;
action           2152 daemons/fenced/fenced_commands.c add_action_specific_attributes(xmlNode *xml, const char *action,
action           2159 daemons/fenced/fenced_commands.c     CRM_CHECK(xml && action && device, return);
action           2161 daemons/fenced/fenced_commands.c     if (is_action_required(action, device)) {
action           2162 daemons/fenced/fenced_commands.c         crm_trace("Action '%s' is required using %s", action, device->id);
action           2166 daemons/fenced/fenced_commands.c     action_specific_timeout = get_action_timeout(device, action, 0);
action           2169 daemons/fenced/fenced_commands.c                   action, action_specific_timeout, device->id);
action           2173 daemons/fenced/fenced_commands.c     delay_max = get_action_delay_max(device, action);
action           2176 daemons/fenced/fenced_commands.c                   action, delay_max, device->id);
action           2180 daemons/fenced/fenced_commands.c     delay_base = get_action_delay_base(device, action, target);
action           2187 daemons/fenced/fenced_commands.c                   action, delay_max, device->id);
action           2190 daemons/fenced/fenced_commands.c                   action, delay_base, device->id);
action           2194 daemons/fenced/fenced_commands.c                   action, delay_base, delay_max, device->id);
action           2209 daemons/fenced/fenced_commands.c add_disallowed(xmlNode *xml, const char *action, stonith_device_t *device,
action           2212 daemons/fenced/fenced_commands.c     if (!localhost_is_eligible(device, action, target, allow_suicide)) {
action           2214 daemons/fenced/fenced_commands.c                   action, device->id);
action           2230 daemons/fenced/fenced_commands.c add_action_reply(xmlNode *xml, const char *action, stonith_device_t *device,
action           2235 daemons/fenced/fenced_commands.c     crm_xml_add(child, XML_ATTR_ID, action);
action           2236 daemons/fenced/fenced_commands.c     add_action_specific_attributes(child, action, device, target);
action           2237 daemons/fenced/fenced_commands.c     add_disallowed(child, action, device, target, allow_suicide);
action           2264 daemons/fenced/fenced_commands.c         const char *action = query->action;
action           2284 daemons/fenced/fenced_commands.c             && pcmk__str_eq(query->action, "reboot", pcmk__str_casei)) {
action           2287 daemons/fenced/fenced_commands.c             action = "off";
action           2291 daemons/fenced/fenced_commands.c         add_action_specific_attributes(dev, action, device, query->target);
action           2292 daemons/fenced/fenced_commands.c         if (pcmk__str_eq(query->action, "reboot", pcmk__str_casei)) {
action           2304 daemons/fenced/fenced_commands.c             add_disallowed(dev, action, device, query->target,
action           2342 daemons/fenced/fenced_commands.c     free(query->action);
action           2372 daemons/fenced/fenced_commands.c             && !pcmk__str_eq(cmd->action, "metadata", pcmk__str_casei)) {
action           2379 daemons/fenced/fenced_commands.c             && !pcmk__str_eq(cmd->action, "metadata", pcmk__str_casei)) {
action           2385 daemons/fenced/fenced_commands.c     g_string_printf(msg, "Operation '%s' ", cmd->action);
action           2464 daemons/fenced/fenced_commands.c     if (!stand_alone && pcmk__is_fencing_action(cmd->action)
action           2470 daemons/fenced/fenced_commands.c                   cmd->action, cmd->victim);
action           2514 daemons/fenced/fenced_commands.c                   cmd->action, device->id);
action           2537 daemons/fenced/fenced_commands.c             (pcmk__strcase_any_of(cmd->action, "list", "monitor", "status", NULL))) {
action           2551 daemons/fenced/fenced_commands.c             if (next_device != NULL && is_action_required(cmd->action, next_device)) {
action           2559 daemons/fenced/fenced_commands.c                && !is_action_required(cmd->action, device)) {
action           2602 daemons/fenced/fenced_commands.c             !pcmk__str_eq(cmd->action, cmd_other->action, pcmk__str_casei) ||
action           2618 daemons/fenced/fenced_commands.c                    cmd_other->action, cmd_other->victim, cmd_other->client_name,
action           2730 daemons/fenced/fenced_commands.c         get_capable_devices(host, cmd->action, cmd->default_timeout,
action           2958 daemons/fenced/fenced_commands.c                       relay_op->id, relay_op->action, relay_op->target,
action           2959 daemons/fenced/fenced_commands.c                       relay_op->client_name, op_id, relay_op->action, target,
action           3038 daemons/fenced/fenced_commands.c     const char *action = NULL;
action           3061 daemons/fenced/fenced_commands.c         action = crm_element_value(dev, F_STONITH_ACTION);
action           3073 daemons/fenced/fenced_commands.c     pcmk__str_update(&query->action, action);
action           3077 daemons/fenced/fenced_commands.c     get_capable_devices(target, action, timeout,
action           3162 daemons/fenced/fenced_commands.c         const char *action = crm_element_value(dev, F_STONITH_ACTION);
action           3169 daemons/fenced/fenced_commands.c                        pcmk__request_origin(request), action,
action           3172 daemons/fenced/fenced_commands.c             if (stonith_check_fence_tolerance(tolerance, target, action)) {
action           3181 daemons/fenced/fenced_commands.c                        request->peer, action, target,
action            250 daemons/fenced/fenced_history.c         op->action = crm_element_value_copy(xml_op, F_STONITH_ACTION);
action            352 daemons/fenced/fenced_history.c                 crm_xml_add(entry, F_STONITH_ACTION, op->action);
action            241 daemons/fenced/fenced_remote.c     free(op->action);
action            285 daemons/fenced/fenced_remote.c     return ((op->phase > st_phase_requested)? "reboot" : op->action);
action            304 daemons/fenced/fenced_remote.c     strcpy(op->action, "off");
action            322 daemons/fenced/fenced_remote.c     strcpy(op->action, "on");
action            355 daemons/fenced/fenced_remote.c         strcpy(op->action, "reboot");
action            375 daemons/fenced/fenced_remote.c     crm_xml_add(notify_data, F_STONITH_ACTION, op->action);
action            441 daemons/fenced/fenced_remote.c     crm_xml_add(data, F_STONITH_OPERATION, op->action);
action            540 daemons/fenced/fenced_remote.c                    op->action, (op->target? " targeting " : ""),
action            592 daemons/fenced/fenced_remote.c                CRM_XS " id=%.8s", op->action, (op->target? " targeting " : ""),
action            641 daemons/fenced/fenced_remote.c                op->action, op->target, op->client_name, op->id);
action            656 daemons/fenced/fenced_remote.c                " id=%.8s", op->action, op->target, op->client_name, op->id);
action            679 daemons/fenced/fenced_remote.c               op->action, op->target, op->client_name, op->id);
action            711 daemons/fenced/fenced_remote.c                   op->action, op->target, op->client_name, op->id);
action            948 daemons/fenced/fenced_remote.c         if (g_list_next(op->devices_list) && pcmk__str_eq(op->action, "reboot", pcmk__str_casei)) {
action            995 daemons/fenced/fenced_remote.c         if (!pcmk__str_eq(op->action, other_action, pcmk__str_casei)) {
action            997 daemons/fenced/fenced_remote.c                       op->id, other->id, op->action, other_action);
action           1013 daemons/fenced/fenced_remote.c                        other->action, other->target, other->client_name,
action           1041 daemons/fenced/fenced_remote.c                    op->action, op->target, op->client_name,
action           1154 daemons/fenced/fenced_remote.c     op->action = crm_element_value_copy(dev, F_STONITH_ACTION);
action           1189 daemons/fenced/fenced_remote.c               (peer && dev)? "Recorded" : "Generated", op->id, op->action,
action           1261 daemons/fenced/fenced_remote.c     CRM_CHECK(op->action, return NULL);
action           1273 daemons/fenced/fenced_remote.c                      CRM_XS " id=%.8s", op->action, op->target, op->id);
action           1279 daemons/fenced/fenced_remote.c                      CRM_XS " id=%.8s", op->action, op->target, op->id);
action           1285 daemons/fenced/fenced_remote.c                        op->action, op->target, op->id,
action           1379 daemons/fenced/fenced_remote.c                       op->action, op->target, device);
action           1382 daemons/fenced/fenced_remote.c                       op->action, op->target);
action           1423 daemons/fenced/fenced_remote.c                op->action, op->target, (device? device : "any device"));
action           1605 daemons/fenced/fenced_remote.c     if ((op->phase == st_phase_requested) && pcmk__str_eq(op->action, "on", pcmk__str_casei)) {
action           1656 daemons/fenced/fenced_remote.c                    op->target, op->action, op->client_name, op->id);
action           1721 daemons/fenced/fenced_remote.c         crm_xml_add(remote_op, F_STONITH_ACTION, op->action);
action           1734 daemons/fenced/fenced_remote.c                        peer->host, op->action, op->target, device,
action           1742 daemons/fenced/fenced_remote.c                        peer->host, op->action, op->target, op->client_name,
action           1755 daemons/fenced/fenced_remote.c                     && !pcmk__str_eq(op->action, "on", pcmk__str_casei))) &&
action           1794 daemons/fenced/fenced_remote.c                 op->action, op->target, op->client_name);
action           1799 daemons/fenced/fenced_remote.c                  CRM_XS " state=%s", op->action, op->target, op->client_name,
action           1820 daemons/fenced/fenced_remote.c                      op->replies, op->action, op->target, op->client_name,
action           1841 daemons/fenced/fenced_remote.c                      op->replies, op->action, op->target, op->client_name,
action           1851 daemons/fenced/fenced_remote.c                  op->action, op->target, (device? " using " : ""),
action           1894 daemons/fenced/fenced_remote.c     if (pcmk__is_fencing_action(op->action)) {
action           1933 daemons/fenced/fenced_remote.c                       const char *action, remote_fencing_op_t *op,
action           1941 daemons/fenced/fenced_remote.c                   peer, device, action, props->custom_action_timeout[phase]);
action           1948 daemons/fenced/fenced_remote.c                   peer, device, props->delay_max[phase], action);
action           1955 daemons/fenced/fenced_remote.c                   peer, device, props->delay_base[phase], action);
action           1959 daemons/fenced/fenced_remote.c     if (pcmk__str_eq(action, "on", pcmk__str_casei)) {
action           1965 daemons/fenced/fenced_remote.c                       peer, device, action);
action           1976 daemons/fenced/fenced_remote.c                   peer, action, device);
action           2125 daemons/fenced/fenced_remote.c              op->target, op->action, ndevices, pcmk__plural_s(ndevices), id);
action           2232 daemons/fenced/fenced_remote.c                 device, (const char *) op->devices->data, op->action, op->target);
action           2281 daemons/fenced/fenced_remote.c                        op->action, op->target, device, op->client_name,
action           2328 daemons/fenced/fenced_remote.c stonith_check_fence_tolerance(int tolerance, const char *target, const char *action)
action           2335 daemons/fenced/fenced_remote.c         action == NULL) {
action           2348 daemons/fenced/fenced_remote.c         } else if (strcmp(rop->action, action) != 0) {
action           2355 daemons/fenced/fenced_remote.c                    target, action, tolerance, rop->delegate, rop->originator);
action             22 daemons/fenced/pacemaker-fenced.h gboolean stonith_check_fence_tolerance(int tolerance, const char *target, const char *action);
action             76 daemons/fenced/pacemaker-fenced.h     char *action;
action            223 include/crm/common/internal.h bool pcmk__is_fencing_action(const char *action);
action             60 include/crm/fencing/internal.h void stonith__destroy_action(stonith_action_t *action);
action             61 include/crm/fencing/internal.h pcmk__action_result_t *stonith__action_result(stonith_action_t *action);
action             68 include/crm/fencing/internal.h stonith_action_execute_async(stonith_action_t * action,
action            267 include/crm/lrmd.h     char *action;
action            388 include/crm/lrmd.h     int (*exec) (lrmd_t * lrmd, const char *rsc_id, const char *action, const char *userdata,   /* userdata string given back in event notification */
action            407 include/crm/lrmd.h     int (*cancel) (lrmd_t *lrmd, const char *rsc_id, const char *action,
action             61 include/crm/pengine/internal.h #define pe__set_action_flags(action, flags_to_set) do {                     \
action             62 include/crm/pengine/internal.h         (action)->flags = pcmk__set_flags_as(__func__, __LINE__,            \
action             64 include/crm/pengine/internal.h                                              "Action", (action)->uuid,      \
action             65 include/crm/pengine/internal.h                                              (action)->flags,               \
action             70 include/crm/pengine/internal.h #define pe__clear_action_flags(action, flags_to_clear) do {                 \
action             71 include/crm/pengine/internal.h         (action)->flags = pcmk__clear_flags_as(__func__, __LINE__,          \
action             73 include/crm/pengine/internal.h                                                "Action", (action)->uuid,    \
action             74 include/crm/pengine/internal.h                                                (action)->flags,             \
action             95 include/crm/pengine/internal.h #define pe__set_action_flags_as(function, line, action, flags_to_set) do {  \
action             96 include/crm/pengine/internal.h         (action)->flags = pcmk__set_flags_as((function), (line),            \
action             98 include/crm/pengine/internal.h                                              "Action", (action)->uuid,      \
action             99 include/crm/pengine/internal.h                                              (action)->flags,               \
action            104 include/crm/pengine/internal.h #define pe__clear_action_flags_as(function, line, action, flags_to_clear) do { \
action            105 include/crm/pengine/internal.h         (action)->flags = pcmk__clear_flags_as((function), (line),          \
action            107 include/crm/pengine/internal.h                                                "Action", (action)->uuid,    \
action            108 include/crm/pengine/internal.h                                                (action)->flags,             \
action            197 include/crm/pengine/internal.h     const char *action;
action            414 include/crm/pengine/internal.h extern int pe_get_configured_timeout(pe_resource_t *rsc, const char *action,
action            429 include/crm/pengine/internal.h extern void pe_free_action(pe_action_t * action);
action            504 include/crm/pengine/internal.h char *pe__action2reason(pe_action_t *action, enum pe_action_flags flag);
action            505 include/crm/pengine/internal.h void pe_action_set_reason(pe_action_t *action, const char *reason, bool overwrite);
action            548 include/crm/pengine/pe_types.h     pe_action_t *action;
action             47 include/crm/pengine/status.h pe_rsc_action_details_t *pe_rsc_action_details(pe_action_t *action);
action            131 include/crm/services.h     char *action;
action            256 include/crm/services.h                                       const char *action, guint interval_ms,
action            263 include/crm/services.h gboolean services_action_kick(const char *name, const char *action,
action            361 include/crm/services.h gboolean services_action_cancel(const char *name, const char *action,
action            368 include/crm/services.h gboolean services_alert_async(svc_action_t *action,
action            371 include/crm/services.h enum ocf_exitcode services_result2ocf(const char *standard, const char *action,
action             53 include/crm/services_compat.h svc_action_t *services_action_create(const char *name, const char *action,
action             68 include/crm/services_compat.h services_get_ocf_exitcode(const char *action, int lsb_exitcode)
action             71 include/crm/services_compat.h     if (action && strcmp(action, "status") && strcmp(action, "monitor")) {
action             38 include/crm/services_internal.h                                       const char *action, guint interval_ms,
action             42 include/crm/services_internal.h const char *services__exit_reason(svc_action_t *action);
action             43 include/crm/services_internal.h char *services__grab_stdout(svc_action_t *action);
action             44 include/crm/services_internal.h char *services__grab_stderr(svc_action_t *action);
action             46 include/crm/services_internal.h void services__set_result(svc_action_t *action, int agent_status,
action             50 include/crm/services_internal.h void services__format_result(svc_action_t *action, int agent_status,
action            106 include/crm/stonith-ng.h     char *action;
action            129 include/crm/stonith-ng.h     char *action;
action            280 include/crm/stonith-ng.h     int (*fence)(stonith_t *st, int options, const char *node, const char *action,
action            424 include/crm/stonith-ng.h     int (*fence_with_delay)(stonith_t *st, int options, const char *node, const char *action,
action            571 include/crm/stonith-ng.h const char *stonith_action_str(const char *action);
action            212 include/pacemaker.h int pcmk_request_fencing(stonith_t *st, const char *target, const char *action,
action             49 include/pcmki/pcmki_fence.h int pcmk__request_fencing(stonith_t *st, const char *target, const char *action,
action            113 include/pcmki/pcmki_sched_allocate.h extern enum pe_action_flags native_action_flags(pe_action_t * action, pe_node_t * node);
action            135 include/pcmki/pcmki_sched_allocate.h extern enum pe_action_flags group_action_flags(pe_action_t * action, pe_node_t * node);
action            161 include/pcmki/pcmki_sched_allocate.h enum pe_action_flags pcmk__bundle_action_flags(pe_action_t *action,
action            180 include/pcmki/pcmki_sched_allocate.h extern enum pe_action_flags clone_action_flags(pe_action_t * action, pe_node_t * node);
action             38 include/pcmki/pcmki_sched_utils.h enum pe_action_flags summary_action_flags(pe_action_t * action, GList *children, pe_node_t * node);
action             39 include/pcmki/pcmki_sched_utils.h enum action_tasks clone_child_action(pe_action_t * action);
action             88 include/pcmki/pcmki_transition.h const char *action_state_str(crm_action_t *action);
action             90 include/pcmki/pcmki_transition.h #define crm__set_graph_action_flags(action, flags_to_set) do {             \
action             91 include/pcmki/pcmki_transition.h         (action)->flags = pcmk__set_flags_as(__func__, __LINE__,      \
action             94 include/pcmki/pcmki_transition.h             (action)->flags, (flags_to_set), #flags_to_set);          \
action             97 include/pcmki/pcmki_transition.h #define crm__clear_graph_action_flags(action, flags_to_clear) do {         \
action             98 include/pcmki/pcmki_transition.h         (action)->flags = pcmk__clear_flags_as(__func__, __LINE__,    \
action            101 include/pcmki/pcmki_transition.h             (action)->flags, (flags_to_clear), #flags_to_clear);      \
action            107 include/pcmki/pcmki_transition.h     crm_action_t *action;
action            146 include/pcmki/pcmki_transition.h     gboolean(*pseudo) (crm_graph_t * graph, crm_action_t * action);
action            147 include/pcmki/pcmki_transition.h     gboolean(*rsc) (crm_graph_t * graph, crm_action_t * action);
action            148 include/pcmki/pcmki_transition.h     gboolean(*crmd) (crm_graph_t * graph, crm_action_t * action);
action            149 include/pcmki/pcmki_transition.h     gboolean(*stonith) (crm_graph_t * graph, crm_action_t * action);
action            150 include/pcmki/pcmki_transition.h     gboolean(*allowed) (crm_graph_t * graph, crm_action_t * action);
action            166 include/pcmki/pcmki_transition.h void pcmk__update_graph(crm_graph_t *graph, crm_action_t *action);
action            170 include/pcmki/pcmki_transition.h void pcmk__log_graph_action(int log_level, crm_action_t *action);
action            172 include/pcmki/pcmki_transition.h                                                  crm_action_t *action,
action            536 lib/common/operations.c pcmk__is_fencing_action(const char *action)
action            538 lib/common/operations.c     return pcmk__str_any_of(action, "off", "reboot", "poweroff", NULL);
action             14 lib/fencing/fencing_private.h int stonith__execute(stonith_action_t *action);
action             31 lib/fencing/st_actions.c     char *action;
action             53 lib/fencing/st_actions.c static int internal_stonith_action_execute(stonith_action_t *action);
action             54 lib/fencing/st_actions.c static void log_action(stonith_action_t *action, pid_t pid);
action             64 lib/fencing/st_actions.c set_result_from_svc_action(stonith_action_t *action, svc_action_t *svc_action)
action             66 lib/fencing/st_actions.c     pcmk__set_result(&(action->result), svc_action->rc, svc_action->status,
action             68 lib/fencing/st_actions.c     pcmk__set_result_output(&(action->result),
action             74 lib/fencing/st_actions.c log_action(stonith_action_t *action, pid_t pid)
action             79 lib/fencing/st_actions.c     if (action->result.action_stderr != NULL) {
action             81 lib/fencing/st_actions.c         char *prefix = crm_strdup_printf("%s[%d] stderr:", action->agent, pid);
action             83 lib/fencing/st_actions.c         crm_log_output(LOG_WARNING, prefix, action->result.action_stderr);
action            109 lib/fencing/st_actions.c make_args(const char *agent, const char *action, const char *victim,
action            116 lib/fencing/st_actions.c     CRM_CHECK(action != NULL, return NULL);
action            124 lib/fencing/st_actions.c         snprintf(buffer, sizeof(buffer), "pcmk_%s_action", action);
action            128 lib/fencing/st_actions.c                       value, action, victim);
action            129 lib/fencing/st_actions.c             action = value;
action            133 lib/fencing/st_actions.c                         strdup(action));
action            152 lib/fencing/st_actions.c                      nodeid, action, victim);
action            183 lib/fencing/st_actions.c                           param, alias, action, victim);
action            203 lib/fencing/st_actions.c stonith__destroy_action(stonith_action_t *action)
action            205 lib/fencing/st_actions.c     if (action) {
action            206 lib/fencing/st_actions.c         free(action->agent);
action            207 lib/fencing/st_actions.c         if (action->args) {
action            208 lib/fencing/st_actions.c             g_hash_table_destroy(action->args);
action            210 lib/fencing/st_actions.c         free(action->action);
action            211 lib/fencing/st_actions.c         free(action->victim);
action            212 lib/fencing/st_actions.c         if (action->svc_action) {
action            213 lib/fencing/st_actions.c             services_action_free(action->svc_action);
action            215 lib/fencing/st_actions.c         pcmk__reset_result(&(action->result));
action            216 lib/fencing/st_actions.c         free(action);
action            229 lib/fencing/st_actions.c stonith__action_result(stonith_action_t *action)
action            231 lib/fencing/st_actions.c     return (action == NULL)? NULL : &(action->result);
action            243 lib/fencing/st_actions.c     stonith_action_t *action;
action            245 lib/fencing/st_actions.c     action = calloc(1, sizeof(stonith_action_t));
action            246 lib/fencing/st_actions.c     CRM_ASSERT(action != NULL);
action            248 lib/fencing/st_actions.c     action->args = make_args(agent, _action, victim, victim_nodeid,
action            252 lib/fencing/st_actions.c     action->agent = strdup(agent);
action            253 lib/fencing/st_actions.c     action->action = strdup(_action);
action            254 lib/fencing/st_actions.c     pcmk__str_update(&action->victim, victim);
action            255 lib/fencing/st_actions.c     action->timeout = action->remaining_timeout = timeout;
action            256 lib/fencing/st_actions.c     action->max_retries = FAILURE_MAX_RETRIES;
action            258 lib/fencing/st_actions.c     pcmk__set_result(&(action->result), PCMK_OCF_UNKNOWN, PCMK_EXEC_UNKNOWN,
action            269 lib/fencing/st_actions.c             action->max_retries = atoi(value);
action            273 lib/fencing/st_actions.c     return action;
action            277 lib/fencing/st_actions.c update_remaining_timeout(stonith_action_t * action)
action            279 lib/fencing/st_actions.c     int diff = time(NULL) - action->initial_start_time;
action            281 lib/fencing/st_actions.c     if (action->tries >= action->max_retries) {
action            283 lib/fencing/st_actions.c                  action->agent, action->action, action->max_retries);
action            284 lib/fencing/st_actions.c         action->remaining_timeout = 0;
action            285 lib/fencing/st_actions.c     } else if ((action->result.execution_status != PCMK_EXEC_TIMEOUT)
action            286 lib/fencing/st_actions.c                && (diff < (action->timeout * 0.7))) {
action            289 lib/fencing/st_actions.c         action->remaining_timeout = action->timeout - diff;
action            291 lib/fencing/st_actions.c         action->remaining_timeout = 0;
action            293 lib/fencing/st_actions.c     return action->remaining_timeout ? TRUE : FALSE;
action            511 lib/fencing/st_actions.c     stonith_action_t *action = (stonith_action_t *) svc_action->cb_data;
action            513 lib/fencing/st_actions.c     set_result_from_svc_action(action, svc_action);
action            515 lib/fencing/st_actions.c     log_action(action, action->pid);
action            517 lib/fencing/st_actions.c     if (!pcmk__result_ok(&(action->result))
action            518 lib/fencing/st_actions.c         && update_remaining_timeout(action)) {
action            520 lib/fencing/st_actions.c         int rc = internal_stonith_action_execute(action);
action            526 lib/fencing/st_actions.c     if (action->done_cb) {
action            527 lib/fencing/st_actions.c         action->done_cb(action->pid, &(action->result), action->userdata);
action            530 lib/fencing/st_actions.c     action->svc_action = NULL; // don't remove our caller
action            531 lib/fencing/st_actions.c     stonith__destroy_action(action);
action            537 lib/fencing/st_actions.c     stonith_action_t *action = (stonith_action_t *) svc_action->cb_data;
action            539 lib/fencing/st_actions.c     action->pid = svc_action->pid;
action            540 lib/fencing/st_actions.c     action->svc_action = svc_action;
action            542 lib/fencing/st_actions.c     if (action->fork_cb) {
action            543 lib/fencing/st_actions.c         (action->fork_cb) (svc_action->pid, action->userdata);
action            546 lib/fencing/st_actions.c     pcmk__set_result(&(action->result), PCMK_OCF_UNKNOWN, PCMK_EXEC_PENDING,
action            550 lib/fencing/st_actions.c               action->pid, action->action);
action            554 lib/fencing/st_actions.c internal_stonith_action_execute(stonith_action_t * action)
action            562 lib/fencing/st_actions.c     CRM_CHECK(action != NULL, return -EINVAL);
action            564 lib/fencing/st_actions.c     if ((action->action == NULL) || (action->args == NULL)
action            565 lib/fencing/st_actions.c         || (action->agent == NULL)) {
action            566 lib/fencing/st_actions.c         pcmk__set_result(&(action->result), PCMK_OCF_UNKNOWN_ERROR,
action            571 lib/fencing/st_actions.c     if (!action->tries) {
action            572 lib/fencing/st_actions.c         action->initial_start_time = time(NULL);
action            574 lib/fencing/st_actions.c     action->tries++;
action            576 lib/fencing/st_actions.c     if (action->tries > 1) {
action            578 lib/fencing/st_actions.c                  action->tries, action->agent, action->action, action->remaining_timeout);
action            583 lib/fencing/st_actions.c                                basename(action->agent));
action            588 lib/fencing/st_actions.c         set_result_from_svc_action(action, svc_action);
action            593 lib/fencing/st_actions.c     svc_action->timeout = 1000 * action->remaining_timeout;
action            595 lib/fencing/st_actions.c     svc_action->id = crm_strdup_printf("%s_%s_%d", basename(action->agent),
action            596 lib/fencing/st_actions.c                                        action->action, action->tries);
action            597 lib/fencing/st_actions.c     svc_action->agent = strdup(action->agent);
action            599 lib/fencing/st_actions.c     svc_action->params = action->args;
action            600 lib/fencing/st_actions.c     svc_action->cb_data = (void *) action;
action            609 lib/fencing/st_actions.c         pcmk__reset_result(&(action->result));
action            613 lib/fencing/st_actions.c     if (action->async) {
action            627 lib/fencing/st_actions.c     set_result_from_svc_action(action, svc_action);
action            645 lib/fencing/st_actions.c stonith_action_execute_async(stonith_action_t * action,
action            652 lib/fencing/st_actions.c     if (!action) {
action            656 lib/fencing/st_actions.c     action->userdata = userdata;
action            657 lib/fencing/st_actions.c     action->done_cb = done;
action            658 lib/fencing/st_actions.c     action->fork_cb = fork_cb;
action            659 lib/fencing/st_actions.c     action->async = 1;
action            661 lib/fencing/st_actions.c     return internal_stonith_action_execute(action);
action            673 lib/fencing/st_actions.c stonith__execute(stonith_action_t *action)
action            677 lib/fencing/st_actions.c     CRM_CHECK(action != NULL, return -EINVAL);
action            681 lib/fencing/st_actions.c         rc = internal_stonith_action_execute(action);
action            682 lib/fencing/st_actions.c     } while ((rc != pcmk_ok) && update_remaining_timeout(action));
action            586 lib/fencing/st_client.c                  const char *action, const char *victim, int timeout, xmlNode ** output)
action            594 lib/fencing/st_client.c     crm_xml_add(data, F_STONITH_ACTION, action);
action            644 lib/fencing/st_client.c                              const char *action, int timeout, int tolerance, int delay)
action            651 lib/fencing/st_client.c     crm_xml_add(data, F_STONITH_ACTION, action);
action            663 lib/fencing/st_client.c stonith_api_fence(stonith_t * stonith, int call_options, const char *node, const char *action,
action            666 lib/fencing/st_client.c     return stonith_api_fence_with_delay(stonith, call_options, node, action,
action            712 lib/fencing/st_client.c             kvp->action = crm_element_value_copy(op, F_STONITH_ACTION);
action            747 lib/fencing/st_client.c         free(hp->action);
action           1415 lib/fencing/st_client.c             event->action = crm_element_value_copy(data, F_STONITH_ACTION);
action           1438 lib/fencing/st_client.c     free(event->action);
action           1913 lib/fencing/st_client.c     const char *action = off? "off" : "reboot";
action           1918 lib/fencing/st_client.c                 action, nodeid, uname);
action           1925 lib/fencing/st_client.c                 action, nodeid, uname, pcmk_strerror(rc), rc);
action           1935 lib/fencing/st_client.c         rc = st->cmds->fence(st, opts, name, action, timeout, 0);
action           1940 lib/fencing/st_client.c                     action, nodeid, uname, pcmk_strerror(rc), rc);
action           1942 lib/fencing/st_client.c             api_log(LOG_NOTICE, "Node %u/%s kicked: %s", nodeid, uname, action);
action           2046 lib/fencing/st_client.c stonith_action_str(const char *action)
action           2048 lib/fencing/st_client.c     if (action == NULL) {
action           2050 lib/fencing/st_client.c     } else if (!strcmp(action, "on")) {
action           2052 lib/fencing/st_client.c     } else if (!strcmp(action, "off")) {
action           2055 lib/fencing/st_client.c         return action;
action           2205 lib/fencing/st_client.c             pcmk__str_eq(event->action, prev_hp->action, pcmk__str_casei) &&
action           2513 lib/fencing/st_client.c                              event->action, event->target, executioner, origin,
action            255 lib/fencing/st_output.c                            stonith_action_str(event->action), event->target,
action            270 lib/fencing/st_output.c                            stonith_action_str(event->action), event->target,
action            286 lib/fencing/st_output.c                            stonith_action_str(event->action), event->target,
action            308 lib/fencing/st_output.c                                   stonith_action_str(event->action), event->target,
action            320 lib/fencing/st_output.c                                   stonith_action_str(event->action), event->target,
action            328 lib/fencing/st_output.c                                   stonith_action_str(event->action), event->target,
action            347 lib/fencing/st_output.c                                                    "action", event->action,
action            130 lib/fencing/st_rhcs.c     stonith_action_t *action = stonith_action_create(agent, "metadata", NULL, 0,
action            132 lib/fencing/st_rhcs.c     int rc = stonith__execute(action);
action            137 lib/fencing/st_rhcs.c         stonith__destroy_action(action);
action            141 lib/fencing/st_rhcs.c     result = stonith__action_result(action);
action            147 lib/fencing/st_rhcs.c         stonith__destroy_action(action);
action            155 lib/fencing/st_rhcs.c         stonith__destroy_action(action);
action            161 lib/fencing/st_rhcs.c         stonith__destroy_action(action);
action            166 lib/fencing/st_rhcs.c     stonith__destroy_action(action);
action            264 lib/fencing/st_rhcs.c     stonith_action_t *action = NULL;
action            296 lib/fencing/st_rhcs.c     action = stonith_action_create(agent, "validate-all",
action            300 lib/fencing/st_rhcs.c     rc = stonith__execute(action);
action            302 lib/fencing/st_rhcs.c         pcmk__action_result_t *result = stonith__action_result(action);
action            316 lib/fencing/st_rhcs.c     stonith__destroy_action(action);
action           1797 lib/lrmd/lrmd_client.c         free(op_info->action);
action           1852 lib/lrmd/lrmd_client.c             op_info->action = crm_element_value_copy(op_xml, F_LRMD_RSC_ACTION);
action           1940 lib/lrmd/lrmd_client.c     svc_action_t *action = NULL;
action           1957 lib/lrmd/lrmd_client.c     action = services__create_resource_action(type, standard, provider, type,
action           1963 lib/lrmd/lrmd_client.c     if (action == NULL) {
action           1966 lib/lrmd/lrmd_client.c     if (action->rc != PCMK_OCF_UNKNOWN) {
action           1967 lib/lrmd/lrmd_client.c         services_action_free(action);
action           1971 lib/lrmd/lrmd_client.c     if (!services_action_sync(action)) {
action           1974 lib/lrmd/lrmd_client.c         services_action_free(action);
action           1978 lib/lrmd/lrmd_client.c     if (!action->stdout_data) {
action           1981 lib/lrmd/lrmd_client.c         services_action_free(action);
action           1985 lib/lrmd/lrmd_client.c     *output = strdup(action->stdout_data);
action           1986 lib/lrmd/lrmd_client.c     services_action_free(action);
action           1992 lib/lrmd/lrmd_client.c lrmd_api_exec(lrmd_t *lrmd, const char *rsc_id, const char *action,
action           2005 lib/lrmd/lrmd_client.c     crm_xml_add(data, F_LRMD_RSC_ACTION, action);
action           2050 lib/lrmd/lrmd_client.c lrmd_api_cancel(lrmd_t *lrmd, const char *rsc_id, const char *action,
action           2057 lib/lrmd/lrmd_client.c     crm_xml_add(data, F_LRMD_RSC_ACTION, action);
action             22 lib/pacemaker/libpacemaker_private.h void pcmk__update_action_for_orderings(pe_action_t *action,
action             26 lib/pacemaker/libpacemaker_private.h void pcmk__log_action(const char *pre_text, pe_action_t *action, bool details);
action             41 lib/pacemaker/libpacemaker_private.h bool pcmk__action_locks_rsc_to_node(const pe_action_t *action);
action             44 lib/pacemaker/libpacemaker_private.h void pcmk__deduplicate_action_inputs(pe_action_t *action);
action             59 lib/pacemaker/libpacemaker_private.h bool pcmk__graph_has_loop(pe_action_t *init_action, pe_action_t *action,
action             63 lib/pacemaker/libpacemaker_private.h void pcmk__add_action_to_graph(pe_action_t *action, pe_working_set_t *data_set);
action             76 lib/pacemaker/libpacemaker_private.h                             pe_action_t *action, enum pe_ordering order,
action            169 lib/pacemaker/libpacemaker_private.h void pcmk__block_colocated_starts(pe_action_t *action,
action            238 lib/pacemaker/libpacemaker_private.h pe_node_t *pcmk__connection_host_for_action(pe_action_t *action);
action            245 lib/pacemaker/libpacemaker_private.h void pcmk__add_bundle_meta_to_xml(xmlNode *args_xml, pe_action_t *action);
action            316 lib/pacemaker/libpacemaker_private.h                                             pe_action_t *action,
action            323 lib/pacemaker/libpacemaker_private.h void pcmk__order_notifs_after_fencing(pe_action_t *action, pe_resource_t *rsc,
action             29 lib/pacemaker/pcmk_fence.c     const char *action;
action             97 lib/pacemaker/pcmk_fence.c                     pcmk__str_eq(hp->action, np->action, pcmk__str_none) &&
action            122 lib/pacemaker/pcmk_fence.c         && pcmk__str_eq(async_fence_data.action, e->action, pcmk__str_none)) {
action            160 lib/pacemaker/pcmk_fence.c                                          async_fence_data.action,
action            181 lib/pacemaker/pcmk_fence.c pcmk__request_fencing(stonith_t *st, const char *target, const char *action,
action            191 lib/pacemaker/pcmk_fence.c     async_fence_data.action = action;
action            218 lib/pacemaker/pcmk_fence.c pcmk_request_fencing(stonith_t *st, const char *target, const char *action,
action            222 lib/pacemaker/pcmk_fence.c     return pcmk__request_fencing(st, target, action, name, timeout, tolerance,
action             83 lib/pacemaker/pcmk_graph_consumer.c         crm_action_t *action = (crm_action_t *) lpc->data;
action             85 lib/pacemaker/pcmk_graph_consumer.c         if (action->id == action_id) {
action             88 lib/pacemaker/pcmk_graph_consumer.c             crm__set_graph_action_flags(action, pcmk__graph_action_confirmed);
action             90 lib/pacemaker/pcmk_graph_consumer.c         } else if (all_confirmed && !(pcmk_is_set(action->flags, pcmk__graph_action_confirmed))) {
action            111 lib/pacemaker/pcmk_graph_consumer.c pcmk__update_graph(crm_graph_t *graph, crm_action_t *action)
action            120 lib/pacemaker/pcmk_graph_consumer.c             update_synapse_confirmed(synapse, action->id);
action            122 lib/pacemaker/pcmk_graph_consumer.c         } else if (!(pcmk_is_set(action->flags, pcmk__graph_action_failed)) || (synapse->priority == INFINITY)) {
action            123 lib/pacemaker/pcmk_graph_consumer.c             update_synapse_ready(synapse, action->id);
action            227 lib/pacemaker/pcmk_graph_consumer.c initiate_action(crm_graph_t *graph, crm_action_t *action)
action            229 lib/pacemaker/pcmk_graph_consumer.c     const char *id = ID(action->xml);
action            232 lib/pacemaker/pcmk_graph_consumer.c     CRM_CHECK(!pcmk_is_set(action->flags, pcmk__graph_action_executed),
action            235 lib/pacemaker/pcmk_graph_consumer.c     crm__set_graph_action_flags(action, pcmk__graph_action_executed);
action            236 lib/pacemaker/pcmk_graph_consumer.c     switch (action->type) {
action            238 lib/pacemaker/pcmk_graph_consumer.c             crm_trace("Executing pseudo-action %d (%s)", action->id, id);
action            239 lib/pacemaker/pcmk_graph_consumer.c             return graph_fns->pseudo(graph, action)? pcmk_rc_ok : pcmk_rc_error;
action            242 lib/pacemaker/pcmk_graph_consumer.c             crm_trace("Executing resource action %d (%s)", action->id, id);
action            243 lib/pacemaker/pcmk_graph_consumer.c             return graph_fns->rsc(graph, action)? pcmk_rc_ok : pcmk_rc_error;
action            246 lib/pacemaker/pcmk_graph_consumer.c             if (pcmk__str_eq(crm_element_value(action->xml, XML_LRM_ATTR_TASK),
action            249 lib/pacemaker/pcmk_graph_consumer.c                           action->id, id);
action            250 lib/pacemaker/pcmk_graph_consumer.c                 return graph_fns->stonith(graph, action)? pcmk_rc_ok : pcmk_rc_error;
action            252 lib/pacemaker/pcmk_graph_consumer.c             crm_trace("Executing control action %d (%s)", action->id, id);
action            253 lib/pacemaker/pcmk_graph_consumer.c             return graph_fns->crmd(graph, action)? pcmk_rc_ok : pcmk_rc_error;
action            257 lib/pacemaker/pcmk_graph_consumer.c                     crm_element_name(action->xml), id);
action            276 lib/pacemaker/pcmk_graph_consumer.c         crm_action_t *action = (crm_action_t *) lpc->data;
action            278 lib/pacemaker/pcmk_graph_consumer.c         if (initiate_action(graph, action) != pcmk_rc_ok) {
action            280 lib/pacemaker/pcmk_graph_consumer.c                     crm_element_name(action->xml), action->id, synapse->id);
action            282 lib/pacemaker/pcmk_graph_consumer.c             crm__set_graph_action_flags(action, pcmk__graph_action_confirmed | pcmk__graph_action_failed);
action            301 lib/pacemaker/pcmk_graph_consumer.c pseudo_action_dummy(crm_graph_t * graph, crm_action_t * action)
action            316 lib/pacemaker/pcmk_graph_consumer.c     if (action->id == fail) {
action            317 lib/pacemaker/pcmk_graph_consumer.c         crm_err("Dummy event handler: pretending action %d failed", action->id);
action            318 lib/pacemaker/pcmk_graph_consumer.c         crm__set_graph_action_flags(action, pcmk__graph_action_failed);
action            321 lib/pacemaker/pcmk_graph_consumer.c         crm_trace("Dummy event handler: action %d initiated", action->id);
action            323 lib/pacemaker/pcmk_graph_consumer.c     crm__set_graph_action_flags(action, pcmk__graph_action_confirmed);
action            324 lib/pacemaker/pcmk_graph_consumer.c     pcmk__update_graph(graph, action);
action            466 lib/pacemaker/pcmk_graph_consumer.c     crm_action_t *action = NULL;
action            494 lib/pacemaker/pcmk_graph_consumer.c     action = calloc(1, sizeof(crm_action_t));
action            495 lib/pacemaker/pcmk_graph_consumer.c     if (action == NULL) {
action            501 lib/pacemaker/pcmk_graph_consumer.c     pcmk__scan_min_int(value, &(action->id), -1);
action            502 lib/pacemaker/pcmk_graph_consumer.c     action->type = action_type_rsc;
action            503 lib/pacemaker/pcmk_graph_consumer.c     action->xml = copy_xml(xml_action);
action            504 lib/pacemaker/pcmk_graph_consumer.c     action->synapse = parent;
action            505 lib/pacemaker/pcmk_graph_consumer.c     action->type = action_type;
action            506 lib/pacemaker/pcmk_graph_consumer.c     action->params = xml2list(action->xml);
action            508 lib/pacemaker/pcmk_graph_consumer.c     value = g_hash_table_lookup(action->params, "CRM_meta_timeout");
action            509 lib/pacemaker/pcmk_graph_consumer.c     pcmk__scan_min_int(value, &(action->timeout), 0);
action            512 lib/pacemaker/pcmk_graph_consumer.c     value = g_hash_table_lookup(action->params, "CRM_meta_start_delay");
action            517 lib/pacemaker/pcmk_graph_consumer.c         action->timeout += start_delay;
action            520 lib/pacemaker/pcmk_graph_consumer.c     if (pcmk__guint_from_hash(action->params,
action            522 lib/pacemaker/pcmk_graph_consumer.c                               &(action->interval_ms)) != pcmk_rc_ok) {
action            523 lib/pacemaker/pcmk_graph_consumer.c         action->interval_ms = 0;
action            526 lib/pacemaker/pcmk_graph_consumer.c     value = g_hash_table_lookup(action->params, "CRM_meta_can_fail");
action            532 lib/pacemaker/pcmk_graph_consumer.c             crm__set_graph_action_flags(action, pcmk__graph_action_can_fail);
action            534 lib/pacemaker/pcmk_graph_consumer.c             crm__clear_graph_action_flags(action, pcmk__graph_action_can_fail);
action            538 lib/pacemaker/pcmk_graph_consumer.c         if (pcmk_is_set(action->flags, pcmk__graph_action_can_fail)) {
action            545 lib/pacemaker/pcmk_graph_consumer.c     crm_trace("Action %d has timer set to %dms", action->id, action->timeout);
action            547 lib/pacemaker/pcmk_graph_consumer.c     return action;
action            589 lib/pacemaker/pcmk_graph_consumer.c         for (xmlNode *action = pcmk__xml_first_child(action_set);
action            590 lib/pacemaker/pcmk_graph_consumer.c              action != NULL; action = pcmk__xml_next(action)) {
action            592 lib/pacemaker/pcmk_graph_consumer.c             crm_action_t *new_action = unpack_action(new_synapse, action);
action            748 lib/pacemaker/pcmk_graph_consumer.c     crm_action_t *action = user_data;
action            750 lib/pacemaker/pcmk_graph_consumer.c     if ((action->timer != NULL) && (action->timer->source_id != 0)) {
action            751 lib/pacemaker/pcmk_graph_consumer.c         crm_warn("Cancelling timer for graph action %d", action->id);
action            752 lib/pacemaker/pcmk_graph_consumer.c         g_source_remove(action->timer->source_id);
action            754 lib/pacemaker/pcmk_graph_consumer.c     if (action->params != NULL) {
action            755 lib/pacemaker/pcmk_graph_consumer.c         g_hash_table_destroy(action->params);
action            757 lib/pacemaker/pcmk_graph_consumer.c     free_xml(action->xml);
action            758 lib/pacemaker/pcmk_graph_consumer.c     free(action->timer);
action            759 lib/pacemaker/pcmk_graph_consumer.c     free(action);
action            812 lib/pacemaker/pcmk_graph_consumer.c pcmk__event_from_graph_action(xmlNode *resource, crm_action_t *action,
action            821 lib/pacemaker/pcmk_graph_consumer.c     CRM_CHECK(action != NULL, return NULL);
action            822 lib/pacemaker/pcmk_graph_consumer.c     CRM_CHECK(action->type == action_type_rsc, return NULL);
action            824 lib/pacemaker/pcmk_graph_consumer.c     action_resource = first_named_child(action->xml, XML_CIB_TAG_RESOURCE);
action            825 lib/pacemaker/pcmk_graph_consumer.c     CRM_CHECK(action_resource != NULL, crm_log_xml_warn(action->xml, "invalid");
action            829 lib/pacemaker/pcmk_graph_consumer.c                         crm_element_value(action->xml, XML_LRM_ATTR_TASK),
action            830 lib/pacemaker/pcmk_graph_consumer.c                         action->interval_ms);
action            836 lib/pacemaker/pcmk_graph_consumer.c     g_hash_table_iter_init(&iter, action->params);
action             83 lib/pacemaker/pcmk_graph_logging.c             crm_action_t *action = (crm_action_t *) aIter->data;
action             85 lib/pacemaker/pcmk_graph_logging.c             if (action->id == id) {
action             86 lib/pacemaker/pcmk_graph_logging.c                 return action;
action            159 lib/pacemaker/pcmk_graph_logging.c                    crm_action_t *action, const char *pending_inputs)
action            161 lib/pacemaker/pcmk_graph_logging.c     const char *key = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY);
action            162 lib/pacemaker/pcmk_graph_logging.c     const char *host = crm_element_value(action->xml, XML_LRM_ATTR_TARGET);
action            165 lib/pacemaker/pcmk_graph_logging.c                                    actiontype2text(action->type), key);
action            169 lib/pacemaker/pcmk_graph_logging.c                action->id, desc, (host? " on " : ""), (host? host : ""),
action            193 lib/pacemaker/pcmk_graph_logging.c pcmk__log_graph_action(int log_level, crm_action_t *action)
action            195 lib/pacemaker/pcmk_graph_logging.c     log_synapse(log_level, NULL, action->synapse);
action            116 lib/pacemaker/pcmk_graph_producer.c     pe_action_t *action = NULL;
action            120 lib/pacemaker/pcmk_graph_producer.c         action = get_pseudo_op(CRM_OP_MAINTENANCE_NODES, data_set);
action            121 lib/pacemaker/pcmk_graph_producer.c         pe__set_action_flags(action, pe_action_print_always);
action            138 lib/pacemaker/pcmk_graph_producer.c add_downed_nodes(xmlNode *xml, const pe_action_t *action,
action            141 lib/pacemaker/pcmk_graph_producer.c     CRM_CHECK(xml && action && action->node && data_set, return);
action            143 lib/pacemaker/pcmk_graph_producer.c     if (pcmk__str_eq(action->task, CRM_OP_SHUTDOWN, pcmk__str_casei)) {
action            147 lib/pacemaker/pcmk_graph_producer.c         add_node_to_xml_by_id(action->node->details->id, downed);
action            149 lib/pacemaker/pcmk_graph_producer.c     } else if (pcmk__str_eq(action->task, CRM_OP_FENCE, pcmk__str_casei)) {
action            152 lib/pacemaker/pcmk_graph_producer.c         const char *fence = g_hash_table_lookup(action->meta, "stonith_action");
action            156 lib/pacemaker/pcmk_graph_producer.c             add_node_to_xml_by_id(action->node->details->id, downed);
action            157 lib/pacemaker/pcmk_graph_producer.c             pe_foreach_guest_node(data_set, action->node, add_node_to_xml, downed);
action            160 lib/pacemaker/pcmk_graph_producer.c     } else if (action->rsc && action->rsc->is_remote_node
action            161 lib/pacemaker/pcmk_graph_producer.c                && pcmk__str_eq(action->task, CRMD_ACTION_STOP, pcmk__str_casei)) {
action            170 lib/pacemaker/pcmk_graph_producer.c         for (iter = action->actions_before; iter != NULL; iter = iter->next) {
action            171 lib/pacemaker/pcmk_graph_producer.c             input = ((pe_action_wrapper_t *) iter->data)->action;
action            172 lib/pacemaker/pcmk_graph_producer.c             if (input->rsc && pcmk__str_eq(action->rsc->id, input->rsc->id, pcmk__str_casei)
action            180 lib/pacemaker/pcmk_graph_producer.c             add_node_to_xml_by_id(action->rsc->id, downed);
action            195 lib/pacemaker/pcmk_graph_producer.c clone_op_key(pe_action_t *action, guint interval_ms)
action            197 lib/pacemaker/pcmk_graph_producer.c     if (pcmk__str_eq(action->task, RSC_NOTIFY, pcmk__str_none)) {
action            198 lib/pacemaker/pcmk_graph_producer.c         const char *n_type = g_hash_table_lookup(action->meta, "notify_type");
action            199 lib/pacemaker/pcmk_graph_producer.c         const char *n_task = g_hash_table_lookup(action->meta,
action            203 lib/pacemaker/pcmk_graph_producer.c         return pcmk__notify_key(action->rsc->clone_name, n_type, n_task);
action            205 lib/pacemaker/pcmk_graph_producer.c     } else if (action->cancel_task != NULL) {
action            206 lib/pacemaker/pcmk_graph_producer.c         return pcmk__op_key(action->rsc->clone_name, action->cancel_task,
action            209 lib/pacemaker/pcmk_graph_producer.c         return pcmk__op_key(action->rsc->clone_name, action->task, interval_ms);
action            221 lib/pacemaker/pcmk_graph_producer.c add_node_details(pe_action_t *action, xmlNode *xml)
action            223 lib/pacemaker/pcmk_graph_producer.c     pe_node_t *router_node = pcmk__connection_host_for_action(action);
action            225 lib/pacemaker/pcmk_graph_producer.c     crm_xml_add(xml, XML_LRM_ATTR_TARGET, action->node->details->uname);
action            226 lib/pacemaker/pcmk_graph_producer.c     crm_xml_add(xml, XML_LRM_ATTR_TARGET_UUID, action->node->details->id);
action            240 lib/pacemaker/pcmk_graph_producer.c add_resource_details(pe_action_t *action, xmlNode *action_xml)
action            252 lib/pacemaker/pcmk_graph_producer.c     if (pcmk__action_locks_rsc_to_node(action)) {
action            254 lib/pacemaker/pcmk_graph_producer.c                        (long long) action->rsc->lock_time);
action            259 lib/pacemaker/pcmk_graph_producer.c     rsc_xml = create_xml_node(action_xml, crm_element_name(action->rsc->xml));
action            260 lib/pacemaker/pcmk_graph_producer.c     if (pcmk_is_set(action->rsc->flags, pe_rsc_orphan)
action            261 lib/pacemaker/pcmk_graph_producer.c         && (action->rsc->clone_name != NULL)) {
action            271 lib/pacemaker/pcmk_graph_producer.c                   action->rsc->id, action->rsc->clone_name);
action            272 lib/pacemaker/pcmk_graph_producer.c         crm_xml_add(rsc_xml, XML_ATTR_ID, action->rsc->clone_name);
action            273 lib/pacemaker/pcmk_graph_producer.c         crm_xml_add(rsc_xml, XML_ATTR_ID_LONG, action->rsc->id);
action            275 lib/pacemaker/pcmk_graph_producer.c     } else if (!pcmk_is_set(action->rsc->flags, pe_rsc_unique)) {
action            276 lib/pacemaker/pcmk_graph_producer.c         const char *xml_id = ID(action->rsc->xml);
action            279 lib/pacemaker/pcmk_graph_producer.c                   xml_id, action->rsc->id, action->rsc->clone_name);
action            295 lib/pacemaker/pcmk_graph_producer.c         if ((action->rsc->clone_name != NULL)
action            296 lib/pacemaker/pcmk_graph_producer.c             && !pcmk__str_eq(xml_id, action->rsc->clone_name,
action            298 lib/pacemaker/pcmk_graph_producer.c             crm_xml_add(rsc_xml, XML_ATTR_ID_LONG, action->rsc->clone_name);
action            300 lib/pacemaker/pcmk_graph_producer.c             crm_xml_add(rsc_xml, XML_ATTR_ID_LONG, action->rsc->id);
action            304 lib/pacemaker/pcmk_graph_producer.c         CRM_ASSERT(action->rsc->clone_name == NULL);
action            305 lib/pacemaker/pcmk_graph_producer.c         crm_xml_add(rsc_xml, XML_ATTR_ID, action->rsc->id);
action            310 lib/pacemaker/pcmk_graph_producer.c                     g_hash_table_lookup(action->rsc->meta, attr_list[lpc]));
action            322 lib/pacemaker/pcmk_graph_producer.c add_action_attributes(pe_action_t *action, xmlNode *action_xml)
action            333 lib/pacemaker/pcmk_graph_producer.c     g_hash_table_foreach(action->extra, hash2field, args_xml);
action            335 lib/pacemaker/pcmk_graph_producer.c     if ((action->rsc != NULL) && (action->node != NULL)) {
action            337 lib/pacemaker/pcmk_graph_producer.c         GHashTable *params = pe_rsc_params(action->rsc, action->node,
action            338 lib/pacemaker/pcmk_graph_producer.c                                            action->rsc->cluster);
action            340 lib/pacemaker/pcmk_graph_producer.c         pcmk__substitute_remote_addr(action->rsc, params, action->rsc->cluster);
action            348 lib/pacemaker/pcmk_graph_producer.c             pe_get_versioned_attributes(versioned_parameters, action->rsc,
action            349 lib/pacemaker/pcmk_graph_producer.c                                         action->node, action->rsc->cluster);
action            357 lib/pacemaker/pcmk_graph_producer.c     } else if ((action->rsc != NULL) && (action->rsc->variant <= pe_native)) {
action            358 lib/pacemaker/pcmk_graph_producer.c         GHashTable *params = pe_rsc_params(action->rsc, NULL,
action            359 lib/pacemaker/pcmk_graph_producer.c                                            action->rsc->cluster);
action            364 lib/pacemaker/pcmk_graph_producer.c         if (xml_has_children(action->rsc->versioned_parameters)) {
action            365 lib/pacemaker/pcmk_graph_producer.c             add_node_copy(action_xml, action->rsc->versioned_parameters);
action            381 lib/pacemaker/pcmk_graph_producer.c     g_hash_table_foreach(action->meta, hash2metafield, args_xml);
action            382 lib/pacemaker/pcmk_graph_producer.c     if (action->rsc != NULL) {
action            383 lib/pacemaker/pcmk_graph_producer.c         const char *value = g_hash_table_lookup(action->rsc->meta,
action            385 lib/pacemaker/pcmk_graph_producer.c         pe_resource_t *parent = action->rsc;
action            397 lib/pacemaker/pcmk_graph_producer.c         pcmk__add_bundle_meta_to_xml(args_xml, action);
action            399 lib/pacemaker/pcmk_graph_producer.c     } else if (pcmk__str_eq(action->task, CRM_OP_FENCE, pcmk__str_none)
action            400 lib/pacemaker/pcmk_graph_producer.c                && (action->node != NULL)) {
action            407 lib/pacemaker/pcmk_graph_producer.c         g_hash_table_foreach(action->node->details->attrs, hash2metafield, args_xml);
action            424 lib/pacemaker/pcmk_graph_producer.c create_graph_action(xmlNode *parent, pe_action_t *action, bool skip_details,
action            434 lib/pacemaker/pcmk_graph_producer.c     if ((action == NULL) || (data_set == NULL)) {
action            440 lib/pacemaker/pcmk_graph_producer.c     if (pcmk__str_eq(action->task, CRM_OP_FENCE, pcmk__str_casei)) {
action            443 lib/pacemaker/pcmk_graph_producer.c                                      pcmk_is_set(action->flags, pe_action_pseudo)?
action            447 lib/pacemaker/pcmk_graph_producer.c     } else if (pcmk__str_any_of(action->task,
action            453 lib/pacemaker/pcmk_graph_producer.c     } else if (pcmk__str_eq(action->task, CRM_OP_LRM_DELETE, pcmk__str_none)) {
action            458 lib/pacemaker/pcmk_graph_producer.c     } else if (pcmk_is_set(action->flags, pe_action_pseudo)) {
action            459 lib/pacemaker/pcmk_graph_producer.c         if (pcmk__str_eq(action->task, CRM_OP_MAINTENANCE_NODES,
action            469 lib/pacemaker/pcmk_graph_producer.c         rsc_details = pe_rsc_action_details(action);
action            473 lib/pacemaker/pcmk_graph_producer.c     crm_xml_add_int(action_xml, XML_ATTR_ID, action->id);
action            474 lib/pacemaker/pcmk_graph_producer.c     crm_xml_add(action_xml, XML_LRM_ATTR_TASK, action->task);
action            476 lib/pacemaker/pcmk_graph_producer.c     if ((action->rsc != NULL) && (action->rsc->clone_name != NULL)) {
action            480 lib/pacemaker/pcmk_graph_producer.c         if (pcmk__guint_from_hash(action->meta, XML_LRM_ATTR_INTERVAL_MS, 0,
action            484 lib/pacemaker/pcmk_graph_producer.c         clone_key = clone_op_key(action, interval_ms);
action            486 lib/pacemaker/pcmk_graph_producer.c         crm_xml_add(action_xml, "internal_" XML_LRM_ATTR_TASK_KEY, action->uuid);
action            489 lib/pacemaker/pcmk_graph_producer.c         crm_xml_add(action_xml, XML_LRM_ATTR_TASK_KEY, action->uuid);
action            492 lib/pacemaker/pcmk_graph_producer.c     if (needs_node_info && (action->node != NULL)) {
action            493 lib/pacemaker/pcmk_graph_producer.c         add_node_details(action, action_xml);
action            494 lib/pacemaker/pcmk_graph_producer.c         g_hash_table_insert(action->meta, strdup(XML_LRM_ATTR_TARGET),
action            495 lib/pacemaker/pcmk_graph_producer.c                             strdup(action->node->details->uname));
action            496 lib/pacemaker/pcmk_graph_producer.c         g_hash_table_insert(action->meta, strdup(XML_LRM_ATTR_TARGET_UUID),
action            497 lib/pacemaker/pcmk_graph_producer.c                             strdup(action->node->details->id));
action            504 lib/pacemaker/pcmk_graph_producer.c     if ((action->rsc != NULL)
action            505 lib/pacemaker/pcmk_graph_producer.c         && !pcmk_is_set(action->flags, pe_action_pseudo)) {
action            508 lib/pacemaker/pcmk_graph_producer.c         add_resource_details(action, action_xml);
action            512 lib/pacemaker/pcmk_graph_producer.c     add_action_attributes(action, action_xml);
action            515 lib/pacemaker/pcmk_graph_producer.c     if (needs_node_info && (action->node != NULL)) {
action            516 lib/pacemaker/pcmk_graph_producer.c         add_downed_nodes(action_xml, action, data_set);
action            533 lib/pacemaker/pcmk_graph_producer.c should_add_action_to_graph(pe_action_t *action)
action            535 lib/pacemaker/pcmk_graph_producer.c     if (!pcmk_is_set(action->flags, pe_action_runnable)) {
action            537 lib/pacemaker/pcmk_graph_producer.c                   action->uuid, action->id);
action            541 lib/pacemaker/pcmk_graph_producer.c     if (pcmk_is_set(action->flags, pe_action_optional)
action            542 lib/pacemaker/pcmk_graph_producer.c         && !pcmk_is_set(action->flags, pe_action_print_always)) {
action            544 lib/pacemaker/pcmk_graph_producer.c                   action->uuid, action->id);
action            551 lib/pacemaker/pcmk_graph_producer.c     if ((action->rsc != NULL)
action            552 lib/pacemaker/pcmk_graph_producer.c         && !pcmk_is_set(action->rsc->flags, pe_rsc_managed)
action            553 lib/pacemaker/pcmk_graph_producer.c         && !pcmk__str_eq(action->task, RSC_STATUS, pcmk__str_none)) {
action            561 lib/pacemaker/pcmk_graph_producer.c         interval_ms_s = g_hash_table_lookup(action->meta,
action            565 lib/pacemaker/pcmk_graph_producer.c                       action->uuid, action->id, action->rsc->id);
action            573 lib/pacemaker/pcmk_graph_producer.c     if (pcmk_is_set(action->flags, pe_action_pseudo)
action            574 lib/pacemaker/pcmk_graph_producer.c         || pcmk__strcase_any_of(action->task, CRM_OP_FENCE, CRM_OP_SHUTDOWN,
action            579 lib/pacemaker/pcmk_graph_producer.c     if (action->node == NULL) {
action            582 lib/pacemaker/pcmk_graph_producer.c                action->uuid, action->id);
action            583 lib/pacemaker/pcmk_graph_producer.c         pcmk__log_action("Unallocated", action, false);
action            587 lib/pacemaker/pcmk_graph_producer.c     if (pcmk_is_set(action->flags, pe_action_dc)) {
action            590 lib/pacemaker/pcmk_graph_producer.c                   action->uuid, action->id, action->node->details->uname);
action            592 lib/pacemaker/pcmk_graph_producer.c     } else if (pe__is_guest_node(action->node)
action            593 lib/pacemaker/pcmk_graph_producer.c                && !action->node->details->remote_requires_reset) {
action            596 lib/pacemaker/pcmk_graph_producer.c                   action->uuid, action->id, action->node->details->uname);
action            598 lib/pacemaker/pcmk_graph_producer.c     } else if (!action->node->details->online) {
action            601 lib/pacemaker/pcmk_graph_producer.c                action->uuid, action->id);
action            602 lib/pacemaker/pcmk_graph_producer.c         pcmk__log_action("Offline node", action, false);
action            605 lib/pacemaker/pcmk_graph_producer.c     } else if (action->node->details->unclean) {
action            608 lib/pacemaker/pcmk_graph_producer.c                action->uuid, action->id);
action            609 lib/pacemaker/pcmk_graph_producer.c         pcmk__log_action("Unclean node", action, false);
action            643 lib/pacemaker/pcmk_graph_producer.c should_add_input_to_graph(pe_action_t *action, pe_action_wrapper_t *input)
action            652 lib/pacemaker/pcmk_graph_producer.c                   action->uuid, action->id,
action            653 lib/pacemaker/pcmk_graph_producer.c                   input->action->uuid, input->action->id);
action            656 lib/pacemaker/pcmk_graph_producer.c     } else if (!pcmk_is_set(input->action->flags, pe_action_runnable)
action            660 lib/pacemaker/pcmk_graph_producer.c                   action->uuid, action->id,
action            661 lib/pacemaker/pcmk_graph_producer.c                   input->action->uuid, input->action->id);
action            664 lib/pacemaker/pcmk_graph_producer.c     } else if (!pcmk_is_set(input->action->flags, pe_action_runnable)
action            668 lib/pacemaker/pcmk_graph_producer.c                   action->uuid, action->id,
action            669 lib/pacemaker/pcmk_graph_producer.c                   input->action->uuid, input->action->id);
action            673 lib/pacemaker/pcmk_graph_producer.c                && !pcmk_is_set(input->action->flags, pe_action_runnable)) {
action            676 lib/pacemaker/pcmk_graph_producer.c                   action->uuid, action->id,
action            677 lib/pacemaker/pcmk_graph_producer.c                   input->action->uuid, input->action->id);
action            681 lib/pacemaker/pcmk_graph_producer.c                && pcmk_is_set(input->action->flags, pe_action_migrate_runnable)) {
action            684 lib/pacemaker/pcmk_graph_producer.c                   action->uuid, action->id,
action            685 lib/pacemaker/pcmk_graph_producer.c                   input->action->uuid, input->action->id);
action            689 lib/pacemaker/pcmk_graph_producer.c                && pcmk_is_set(input->action->flags, pe_action_migrate_runnable)
action            690 lib/pacemaker/pcmk_graph_producer.c                && pcmk__ends_with(input->action->uuid, "_stop_0")) {
action            693 lib/pacemaker/pcmk_graph_producer.c                   action->uuid, action->id,
action            694 lib/pacemaker/pcmk_graph_producer.c                   input->action->uuid, input->action->id);
action            698 lib/pacemaker/pcmk_graph_producer.c         pe_node_t *input_node = input->action->node;
action            702 lib/pacemaker/pcmk_graph_producer.c         if (action->rsc && pcmk__str_eq(action->task, RSC_MIGRATE, pcmk__str_casei)) {
action            703 lib/pacemaker/pcmk_graph_producer.c             pe_node_t *allocated = action->rsc->allocated_to;
action            712 lib/pacemaker/pcmk_graph_producer.c                           action->uuid, action->id,
action            713 lib/pacemaker/pcmk_graph_producer.c                           input->action->uuid, input->action->id,
action            720 lib/pacemaker/pcmk_graph_producer.c         } else if ((input_node == NULL) || (action->node == NULL)
action            721 lib/pacemaker/pcmk_graph_producer.c                    || (input_node->details != action->node->details)) {
action            724 lib/pacemaker/pcmk_graph_producer.c                       action->uuid, action->id,
action            725 lib/pacemaker/pcmk_graph_producer.c                       input->action->uuid, input->action->id,
action            726 lib/pacemaker/pcmk_graph_producer.c                       (action->node? action->node->details->uname : "<none>"),
action            731 lib/pacemaker/pcmk_graph_producer.c         } else if (pcmk_is_set(input->action->flags, pe_action_optional)) {
action            734 lib/pacemaker/pcmk_graph_producer.c                       action->uuid, action->id,
action            735 lib/pacemaker/pcmk_graph_producer.c                       input->action->uuid, input->action->id);
action            741 lib/pacemaker/pcmk_graph_producer.c         if (input->action->node && action->node
action            742 lib/pacemaker/pcmk_graph_producer.c             && (input->action->node->details != action->node->details)) {
action            745 lib/pacemaker/pcmk_graph_producer.c                       action->uuid, action->id,
action            746 lib/pacemaker/pcmk_graph_producer.c                       input->action->uuid, input->action->id,
action            747 lib/pacemaker/pcmk_graph_producer.c                       action->node->details->uname,
action            748 lib/pacemaker/pcmk_graph_producer.c                       input->action->node->details->uname);
action            752 lib/pacemaker/pcmk_graph_producer.c         } else if (pcmk_is_set(input->action->flags, pe_action_optional)) {
action            755 lib/pacemaker/pcmk_graph_producer.c                       action->uuid, action->id,
action            756 lib/pacemaker/pcmk_graph_producer.c                       input->action->uuid, input->action->id);
action            761 lib/pacemaker/pcmk_graph_producer.c     } else if (input->action->rsc
action            762 lib/pacemaker/pcmk_graph_producer.c                && input->action->rsc != action->rsc
action            763 lib/pacemaker/pcmk_graph_producer.c                && pcmk_is_set(input->action->rsc->flags, pe_rsc_failed)
action            764 lib/pacemaker/pcmk_graph_producer.c                && !pcmk_is_set(input->action->rsc->flags, pe_rsc_managed)
action            765 lib/pacemaker/pcmk_graph_producer.c                && pcmk__ends_with(input->action->uuid, "_stop_0")
action            766 lib/pacemaker/pcmk_graph_producer.c                && action->rsc && pe_rsc_is_clone(action->rsc)) {
action            769 lib/pacemaker/pcmk_graph_producer.c                  input->action->uuid, action->uuid);
action            772 lib/pacemaker/pcmk_graph_producer.c     } else if (pcmk_is_set(input->action->flags, pe_action_optional)
action            773 lib/pacemaker/pcmk_graph_producer.c                && !pcmk_any_flags_set(input->action->flags,
action            775 lib/pacemaker/pcmk_graph_producer.c                && !should_add_action_to_graph(input->action)) {
action            778 lib/pacemaker/pcmk_graph_producer.c                   action->uuid, action->id,
action            779 lib/pacemaker/pcmk_graph_producer.c                   input->action->uuid, input->action->id);
action            784 lib/pacemaker/pcmk_graph_producer.c               action->uuid, action->id, action_type_str(input->action->flags),
action            785 lib/pacemaker/pcmk_graph_producer.c               input->action->uuid, input->action->id,
action            786 lib/pacemaker/pcmk_graph_producer.c               action_node_str(input->action),
action            787 lib/pacemaker/pcmk_graph_producer.c               action_runnable_str(input->action->flags),
action            788 lib/pacemaker/pcmk_graph_producer.c               action_optional_str(input->action->flags), input->type);
action            805 lib/pacemaker/pcmk_graph_producer.c pcmk__graph_has_loop(pe_action_t *init_action, pe_action_t *action,
action            810 lib/pacemaker/pcmk_graph_producer.c     if (pcmk_is_set(input->action->flags, pe_action_tracking)) {
action            812 lib/pacemaker/pcmk_graph_producer.c                   input->action->uuid,
action            813 lib/pacemaker/pcmk_graph_producer.c                   input->action->node? input->action->node->details->uname : "",
action            814 lib/pacemaker/pcmk_graph_producer.c                   action->uuid,
action            815 lib/pacemaker/pcmk_graph_producer.c                   action->node? action->node->details->uname : "",
action            821 lib/pacemaker/pcmk_graph_producer.c     if (!should_add_input_to_graph(action, input)) {
action            825 lib/pacemaker/pcmk_graph_producer.c     if (input->action == init_action) {
action            827 lib/pacemaker/pcmk_graph_producer.c                   action->uuid,
action            828 lib/pacemaker/pcmk_graph_producer.c                   action->node? action->node->details->uname : "",
action            834 lib/pacemaker/pcmk_graph_producer.c     pe__set_action_flags(input->action, pe_action_tracking);
action            838 lib/pacemaker/pcmk_graph_producer.c               action->uuid,
action            839 lib/pacemaker/pcmk_graph_producer.c               action->node? action->node->details->uname : "",
action            840 lib/pacemaker/pcmk_graph_producer.c               input->action->uuid,
action            841 lib/pacemaker/pcmk_graph_producer.c               input->action->node? input->action->node->details->uname : "",
action            847 lib/pacemaker/pcmk_graph_producer.c     for (GList *iter = input->action->actions_before;
action            850 lib/pacemaker/pcmk_graph_producer.c         if (pcmk__graph_has_loop(init_action, input->action,
action            858 lib/pacemaker/pcmk_graph_producer.c     pe__clear_action_flags(input->action, pe_action_tracking);
action            862 lib/pacemaker/pcmk_graph_producer.c                   input->action->uuid,
action            863 lib/pacemaker/pcmk_graph_producer.c                   input->action->node? input->action->node->details->uname : "",
action            864 lib/pacemaker/pcmk_graph_producer.c                   action->uuid,
action            865 lib/pacemaker/pcmk_graph_producer.c                   action->node? action->node->details->uname : "",
action            881 lib/pacemaker/pcmk_graph_producer.c create_graph_synapse(pe_action_t *action, pe_working_set_t *data_set)
action            889 lib/pacemaker/pcmk_graph_producer.c     if (action->rsc != NULL) {
action            890 lib/pacemaker/pcmk_graph_producer.c         synapse_priority = action->rsc->priority;
action            892 lib/pacemaker/pcmk_graph_producer.c     if (action->priority > synapse_priority) {
action            893 lib/pacemaker/pcmk_graph_producer.c         synapse_priority = action->priority;
action            918 lib/pacemaker/pcmk_graph_producer.c pcmk__add_action_to_graph(pe_action_t *action, pe_working_set_t *data_set)
action            928 lib/pacemaker/pcmk_graph_producer.c     if (!pcmk_is_set(action->flags, pe_action_dedup)) {
action            929 lib/pacemaker/pcmk_graph_producer.c         pcmk__deduplicate_action_inputs(action);
action            930 lib/pacemaker/pcmk_graph_producer.c         pe__set_action_flags(action, pe_action_dedup);
action            933 lib/pacemaker/pcmk_graph_producer.c     if (pcmk_is_set(action->flags, pe_action_dumped)    // Already added, or
action            934 lib/pacemaker/pcmk_graph_producer.c         || !should_add_action_to_graph(action)) {       // shouldn't be added
action            937 lib/pacemaker/pcmk_graph_producer.c     pe__set_action_flags(action, pe_action_dumped);
action            939 lib/pacemaker/pcmk_graph_producer.c     syn = create_graph_synapse(action, data_set);
action            943 lib/pacemaker/pcmk_graph_producer.c     create_graph_action(set, action, false, data_set);
action            945 lib/pacemaker/pcmk_graph_producer.c     for (GList *lpc = action->actions_before; lpc != NULL; lpc = lpc->next) {
action            948 lib/pacemaker/pcmk_graph_producer.c         if (should_add_input_to_graph(action, input)) {
action            952 lib/pacemaker/pcmk_graph_producer.c             create_graph_action(input_xml, input->action, true, data_set);
action           1061 lib/pacemaker/pcmk_graph_producer.c         pe_action_t *action = (pe_action_t *) iter->data;
action           1063 lib/pacemaker/pcmk_graph_producer.c         if ((action->rsc != NULL)
action           1064 lib/pacemaker/pcmk_graph_producer.c             && (action->node != NULL)
action           1065 lib/pacemaker/pcmk_graph_producer.c             && action->node->details->shutdown
action           1066 lib/pacemaker/pcmk_graph_producer.c             && !pcmk_is_set(action->rsc->flags, pe_rsc_maintenance)
action           1067 lib/pacemaker/pcmk_graph_producer.c             && !pcmk_any_flags_set(action->flags,
action           1069 lib/pacemaker/pcmk_graph_producer.c             && pcmk__str_eq(action->task, RSC_STOP, pcmk__str_none)) {
action           1077 lib/pacemaker/pcmk_graph_producer.c                          action->node->details->unclean? "fence" : "shut down",
action           1078 lib/pacemaker/pcmk_graph_producer.c                          action->node->details->uname, action->rsc->id,
action           1079 lib/pacemaker/pcmk_graph_producer.c                          pcmk_is_set(action->rsc->flags, pe_rsc_managed)? " blocked" : " unmanaged",
action           1080 lib/pacemaker/pcmk_graph_producer.c                          pcmk_is_set(action->rsc->flags, pe_rsc_failed)? " failed" : "",
action           1081 lib/pacemaker/pcmk_graph_producer.c                          action->uuid);
action           1085 lib/pacemaker/pcmk_graph_producer.c         pcmk__add_action_to_graph(action, data_set);
action            120 lib/pacemaker/pcmk_output.c     pe_action_t *action = va_arg(args, pe_action_t *);
action            133 lib/pacemaker/pcmk_output.c     CRM_ASSERT(action);
action            137 lib/pacemaker/pcmk_output.c         source = action;
action            204 lib/pacemaker/pcmk_output.c     if(source->reason && !pcmk_is_set(action->flags, pe_action_runnable)) {
action            210 lib/pacemaker/pcmk_output.c     } else if (!pcmk_is_set(action->flags, pe_action_runnable)) {
action            233 lib/pacemaker/pcmk_output.c     pe_action_t *action = va_arg(args, pe_action_t *);
action            243 lib/pacemaker/pcmk_output.c     CRM_ASSERT(action);
action            247 lib/pacemaker/pcmk_output.c         source = action;
action            337 lib/pacemaker/pcmk_output.c     if (source->reason && !pcmk_is_set(action->flags, pe_action_runnable)) {
action            346 lib/pacemaker/pcmk_output.c     } else if (!pcmk_is_set(action->flags, pe_action_runnable)) {
action           1322 lib/pacemaker/pcmk_output.c     const char *action = va_arg(args, const char *);
action           1329 lib/pacemaker/pcmk_output.c     if (pcmk__str_eq(action, "Online", pcmk__str_none)) {
action           1332 lib/pacemaker/pcmk_output.c     } else if (pcmk__str_eq(action, "Offline", pcmk__str_none)) {
action           1335 lib/pacemaker/pcmk_output.c     } else if (pcmk__str_eq(action, "Failing", pcmk__str_none)) {
action           1347 lib/pacemaker/pcmk_output.c     const char *action = va_arg(args, const char *);
action           1355 lib/pacemaker/pcmk_output.c                                  "action", action,
action           1365 lib/pacemaker/pcmk_output.c     const char *action = va_arg(args, const char *);
action           1372 lib/pacemaker/pcmk_output.c     if (pcmk__str_eq(action, "Standby", pcmk__str_none)) {
action           1375 lib/pacemaker/pcmk_output.c         out->list_item(out, NULL, "%s ticket %s", action, ticket);
action           1385 lib/pacemaker/pcmk_output.c     const char *action = va_arg(args, const char *);
action           1393 lib/pacemaker/pcmk_output.c                                  "action", action,
action             34 lib/pacemaker/pcmk_sched_actions.c action_flags_for_ordering(pe_action_t *action, pe_node_t *node)
action             40 lib/pacemaker/pcmk_sched_actions.c     if (action->rsc == NULL) {
action             41 lib/pacemaker/pcmk_sched_actions.c         return action->flags;
action             48 lib/pacemaker/pcmk_sched_actions.c     flags = action->rsc->cmds->action_flags(action, NULL);
action             49 lib/pacemaker/pcmk_sched_actions.c     if ((node == NULL) || !pe_rsc_is_clone(action->rsc)) {
action             59 lib/pacemaker/pcmk_sched_actions.c     flags = action->rsc->cmds->action_flags(action, node);
action             70 lib/pacemaker/pcmk_sched_actions.c         pe__set_raw_action_flags(flags, action->rsc->id,
action            188 lib/pacemaker/pcmk_sched_actions.c action_for_ordering(pe_action_t *action)
action            190 lib/pacemaker/pcmk_sched_actions.c     pe_action_t *result = action;
action            191 lib/pacemaker/pcmk_sched_actions.c     pe_resource_t *rsc = action->rsc;
action            193 lib/pacemaker/pcmk_sched_actions.c     if ((rsc != NULL) && (rsc->variant >= pe_group) && (action->uuid != NULL)) {
action            194 lib/pacemaker/pcmk_sched_actions.c         char *uuid = action_uuid_for_ordering(action->uuid, rsc);
action            199 lib/pacemaker/pcmk_sched_actions.c                      "remapped action", action->uuid, uuid, rsc->id);
action            200 lib/pacemaker/pcmk_sched_actions.c             result = action;
action            524 lib/pacemaker/pcmk_sched_actions.c         pe_action_t *first = other->action;
action            558 lib/pacemaker/pcmk_sched_actions.c                          other->action->uuid, first_node->details->uname,
action            573 lib/pacemaker/pcmk_sched_actions.c             pe__set_action_flags(other->action, pe_action_optional);
action            583 lib/pacemaker/pcmk_sched_actions.c         if (first != other->action) {
action            585 lib/pacemaker/pcmk_sched_actions.c                          then->uuid, first->uuid, other->action->uuid);
action            593 lib/pacemaker/pcmk_sched_actions.c         if (first == other->action) {
action            621 lib/pacemaker/pcmk_sched_actions.c                          other->action->uuid, then->uuid, first->uuid,
action            634 lib/pacemaker/pcmk_sched_actions.c                 pcmk__update_action_for_orderings(other->action, data_set);
action            659 lib/pacemaker/pcmk_sched_actions.c             pcmk__update_action_for_orderings(other->action, data_set);
action            673 lib/pacemaker/pcmk_sched_actions.c pcmk__log_action(const char *pre_text, pe_action_t *action, bool details)
action            679 lib/pacemaker/pcmk_sched_actions.c     CRM_CHECK(action != NULL, return);
action            681 lib/pacemaker/pcmk_sched_actions.c     if (!pcmk_is_set(action->flags, pe_action_pseudo)) {
action            682 lib/pacemaker/pcmk_sched_actions.c         if (action->node != NULL) {
action            683 lib/pacemaker/pcmk_sched_actions.c             node_uname = action->node->details->uname;
action            684 lib/pacemaker/pcmk_sched_actions.c             node_uuid = action->node->details->id;
action            690 lib/pacemaker/pcmk_sched_actions.c     switch (text2task(action->task)) {
action            693 lib/pacemaker/pcmk_sched_actions.c             if (pcmk_is_set(action->flags, pe_action_pseudo)) {
action            695 lib/pacemaker/pcmk_sched_actions.c             } else if (pcmk_is_set(action->flags, pe_action_optional)) {
action            697 lib/pacemaker/pcmk_sched_actions.c             } else if (!pcmk_is_set(action->flags, pe_action_runnable)) {
action            699 lib/pacemaker/pcmk_sched_actions.c             } else if (pcmk_is_set(action->flags, pe_action_processed)) {
action            707 lib/pacemaker/pcmk_sched_actions.c                       desc, action->id, action->uuid,
action            713 lib/pacemaker/pcmk_sched_actions.c             if (pcmk_is_set(action->flags, pe_action_optional)) {
action            715 lib/pacemaker/pcmk_sched_actions.c             } else if (pcmk_is_set(action->flags, pe_action_pseudo)) {
action            717 lib/pacemaker/pcmk_sched_actions.c             } else if (!pcmk_is_set(action->flags, pe_action_runnable)) {
action            719 lib/pacemaker/pcmk_sched_actions.c             } else if (pcmk_is_set(action->flags, pe_action_processed)) {
action            727 lib/pacemaker/pcmk_sched_actions.c                       desc, action->id, action->uuid,
action            728 lib/pacemaker/pcmk_sched_actions.c                       (action->rsc? action->rsc->id : "<none>"),
action            739 lib/pacemaker/pcmk_sched_actions.c         for (iter = action->actions_before; iter != NULL; iter = iter->next) {
action            742 lib/pacemaker/pcmk_sched_actions.c             pcmk__log_action("\t\t", other->action, false);
action            745 lib/pacemaker/pcmk_sched_actions.c         for (iter = action->actions_after; iter != NULL; iter = iter->next) {
action            748 lib/pacemaker/pcmk_sched_actions.c             pcmk__log_action("\t\t", other->action, false);
action            754 lib/pacemaker/pcmk_sched_actions.c                   g_list_length(action->actions_before),
action            755 lib/pacemaker/pcmk_sched_actions.c                   g_list_length(action->actions_after));
action            774 lib/pacemaker/pcmk_sched_actions.c     pe_action_t *action = NULL;
action            778 lib/pacemaker/pcmk_sched_actions.c     action = custom_action(rsc, pcmk__op_key(rsc->id, task, 0), task, NULL,
action            780 lib/pacemaker/pcmk_sched_actions.c     pe__set_action_flags(action, pe_action_pseudo);
action            782 lib/pacemaker/pcmk_sched_actions.c         pe__set_action_flags(action, pe_action_runnable);
action            784 lib/pacemaker/pcmk_sched_actions.c     return action;
action           1074 lib/pacemaker/pcmk_sched_actions.c pcmk__action_locks_rsc_to_node(const pe_action_t *action)
action           1077 lib/pacemaker/pcmk_sched_actions.c     if ((action == NULL) || (action->rsc == NULL)
action           1078 lib/pacemaker/pcmk_sched_actions.c         || (action->rsc->lock_node == NULL) || (action->node == NULL)
action           1079 lib/pacemaker/pcmk_sched_actions.c         || (action->node->details != action->rsc->lock_node->details)) {
action           1086 lib/pacemaker/pcmk_sched_actions.c     if (action->node->details->shutdown && (action->task != NULL)
action           1087 lib/pacemaker/pcmk_sched_actions.c         && (strcmp(action->task, RSC_STOP) != 0)) {
action           1107 lib/pacemaker/pcmk_sched_actions.c     if (action_wrapper1->action->id < action_wrapper2->action->id) {
action           1110 lib/pacemaker/pcmk_sched_actions.c     if (action_wrapper1->action->id > action_wrapper2->action->id) {
action           1123 lib/pacemaker/pcmk_sched_actions.c pcmk__deduplicate_action_inputs(pe_action_t *action)
action           1129 lib/pacemaker/pcmk_sched_actions.c     action->actions_before = g_list_sort(action->actions_before,
action           1131 lib/pacemaker/pcmk_sched_actions.c     for (item = action->actions_before; item != NULL; item = next) {
action           1136 lib/pacemaker/pcmk_sched_actions.c             && (input->action->id == last_input->action->id)) {
action           1138 lib/pacemaker/pcmk_sched_actions.c                       input->action->uuid, input->action->id,
action           1139 lib/pacemaker/pcmk_sched_actions.c                       action->uuid, action->id);
action           1151 lib/pacemaker/pcmk_sched_actions.c             action->actions_before = g_list_delete_link(action->actions_before,
action           1175 lib/pacemaker/pcmk_sched_actions.c         pe_action_t *action = (pe_action_t *) iter->data;
action           1177 lib/pacemaker/pcmk_sched_actions.c         if (action->rsc != NULL) {
action           1180 lib/pacemaker/pcmk_sched_actions.c         } else if (pcmk_is_set(action->flags, pe_action_optional)) {
action           1184 lib/pacemaker/pcmk_sched_actions.c         if (pcmk__str_eq(action->task, CRM_OP_SHUTDOWN, pcmk__str_casei)) {
action           1187 lib/pacemaker/pcmk_sched_actions.c         } else if (pcmk__str_eq(action->task, CRM_OP_FENCE, pcmk__str_casei)) {
action           1188 lib/pacemaker/pcmk_sched_actions.c             const char *op = g_hash_table_lookup(action->meta, "stonith_action");
action           1196 lib/pacemaker/pcmk_sched_actions.c         if (pe__is_guest_node(action->node)) {
action           1198 lib/pacemaker/pcmk_sched_actions.c                                           action->node->details->uname,
action           1199 lib/pacemaker/pcmk_sched_actions.c                                           action->node->details->remote_rsc->container->id);
action           1200 lib/pacemaker/pcmk_sched_actions.c         } else if (action->node != NULL) {
action           1201 lib/pacemaker/pcmk_sched_actions.c             node_name = crm_strdup_printf("%s", action->node->details->uname);
action           1204 lib/pacemaker/pcmk_sched_actions.c         out->message(out, "node-action", task, node_name, action->reason);
action            501 lib/pacemaker/pcmk_sched_allocate.c add_nondc_fencing(GList *list, pe_action_t *action, pe_working_set_t *data_set)
action            510 lib/pacemaker/pcmk_sched_allocate.c         order_actions((pe_action_t *) list->data, action, pe_order_optional);
action            512 lib/pacemaker/pcmk_sched_allocate.c     return g_list_prepend(list, action);
action            706 lib/pacemaker/pcmk_sched_allocate.c         pe_action_t *action = (pe_action_t *) iter->data;
action            708 lib/pacemaker/pcmk_sched_allocate.c         if (!pcmk_any_flags_set(action->flags, flags)) {
action            709 lib/pacemaker/pcmk_sched_allocate.c             pcmk__log_action("\t", action, true);
action            171 lib/pacemaker/pcmk_sched_bundle.c     pe_action_t *action = NULL;
action            204 lib/pacemaker/pcmk_sched_bundle.c             action = pcmk__new_rsc_pseudo_action(rsc, RSC_PROMOTED, true, true);
action            205 lib/pacemaker/pcmk_sched_bundle.c             action->priority = INFINITY;
action            209 lib/pacemaker/pcmk_sched_bundle.c             action = pcmk__new_rsc_pseudo_action(rsc, RSC_DEMOTED, true, true);
action            210 lib/pacemaker/pcmk_sched_bundle.c             action->priority = INFINITY;
action            551 lib/pacemaker/pcmk_sched_bundle.c pcmk__bundle_action_flags(pe_action_t *action, pe_node_t *node)
action            557 lib/pacemaker/pcmk_sched_bundle.c     get_bundle_variant_data(data, action->rsc);
action            559 lib/pacemaker/pcmk_sched_bundle.c         enum action_tasks task = get_complex_task(data->child, action->task, TRUE);
action            568 lib/pacemaker/pcmk_sched_bundle.c                 return summary_action_flags(action, data->child->children, node);
action            574 lib/pacemaker/pcmk_sched_bundle.c     containers = get_container_list(action->rsc);
action            575 lib/pacemaker/pcmk_sched_bundle.c     flags = summary_action_flags(action, containers, node);
action            851 lib/pacemaker/pcmk_sched_bundle.c                         pcmk__update_action_for_orderings(next->action,
action            772 lib/pacemaker/pcmk_sched_clone.c         pe_action_t *action = (pe_action_t *) gIter->data;
action            777 lib/pacemaker/pcmk_sched_clone.c         } else if (pcmk_is_set(action->flags, pe_action_optional)) {
action            778 lib/pacemaker/pcmk_sched_clone.c             pe_rsc_trace(rsc, "Skipping optional: %s", action->uuid);
action            781 lib/pacemaker/pcmk_sched_clone.c         } else if (!pcmk_any_flags_set(action->flags,
action            783 lib/pacemaker/pcmk_sched_clone.c             pe_rsc_trace(rsc, "Skipping unrunnable: %s", action->uuid);
action            786 lib/pacemaker/pcmk_sched_clone.c         } else if (pcmk__str_eq(RSC_STOP, action->task, pcmk__str_casei)) {
action            787 lib/pacemaker/pcmk_sched_clone.c             pe_rsc_trace(rsc, "Stopping due to: %s", action->uuid);
action            790 lib/pacemaker/pcmk_sched_clone.c         } else if (pcmk__str_eq(RSC_START, action->task, pcmk__str_casei)) {
action            791 lib/pacemaker/pcmk_sched_clone.c             if (!pcmk_is_set(action->flags, pe_action_runnable)) {
action            793 lib/pacemaker/pcmk_sched_clone.c                              action->uuid,
action            794 lib/pacemaker/pcmk_sched_clone.c                              pcmk_is_set(action->flags, pe_action_runnable),
action            795 lib/pacemaker/pcmk_sched_clone.c                              pcmk_is_set(action->flags, pe_action_pseudo));
action            797 lib/pacemaker/pcmk_sched_clone.c                 pe_rsc_trace(rsc, "Starting due to: %s", action->uuid);
action            799 lib/pacemaker/pcmk_sched_clone.c                              action->uuid,
action            800 lib/pacemaker/pcmk_sched_clone.c                              pcmk_is_set(action->flags, pe_action_runnable),
action            801 lib/pacemaker/pcmk_sched_clone.c                              pcmk_is_set(action->flags, pe_action_pseudo));
action           1194 lib/pacemaker/pcmk_sched_clone.c clone_child_action(pe_action_t * action)
action           1197 lib/pacemaker/pcmk_sched_clone.c     pe_resource_t *child = (pe_resource_t *) action->rsc->children->data;
action           1199 lib/pacemaker/pcmk_sched_clone.c     if (pcmk__strcase_any_of(action->task, "notify", "notified", NULL)) {
action           1204 lib/pacemaker/pcmk_sched_clone.c         char *key = action->uuid;
action           1226 lib/pacemaker/pcmk_sched_clone.c         result = get_complex_task(child, action->task, TRUE);
action           1231 lib/pacemaker/pcmk_sched_clone.c #define pe__clear_action_summary_flags(flags, action, flag) do {        \
action           1233 lib/pacemaker/pcmk_sched_clone.c                                      "Action summary", action->rsc->id, \
action           1238 lib/pacemaker/pcmk_sched_clone.c summary_action_flags(pe_action_t * action, GList *children, pe_node_t * node)
action           1243 lib/pacemaker/pcmk_sched_clone.c     enum action_tasks task = clone_child_action(action);
action           1252 lib/pacemaker/pcmk_sched_clone.c         pe_rsc_trace(action->rsc, "Checking for %s in %s on %s (%s)", task_s, child->id,
action           1259 lib/pacemaker/pcmk_sched_clone.c                 pe_rsc_trace(child, "%s is mandatory because of %s", action->uuid,
action           1261 lib/pacemaker/pcmk_sched_clone.c                 pe__clear_action_summary_flags(flags, action, pe_action_optional);
action           1262 lib/pacemaker/pcmk_sched_clone.c                 pe__clear_action_flags(action, pe_action_optional);
action           1271 lib/pacemaker/pcmk_sched_clone.c         pe_rsc_trace(action->rsc, "%s is not runnable because no children are", action->uuid);
action           1272 lib/pacemaker/pcmk_sched_clone.c         pe__clear_action_summary_flags(flags, action, pe_action_runnable);
action           1274 lib/pacemaker/pcmk_sched_clone.c             pe__clear_action_flags(action, pe_action_runnable);
action           1282 lib/pacemaker/pcmk_sched_clone.c clone_action_flags(pe_action_t * action, pe_node_t * node)
action           1284 lib/pacemaker/pcmk_sched_clone.c     return summary_action_flags(action, action->rsc->children, node);
action            756 lib/pacemaker/pcmk_sched_colocation.c         pe_action_t *action = (pe_action_t *) gIter->data;
action            758 lib/pacemaker/pcmk_sched_colocation.c         if (pcmk_is_set(action->flags, pe_action_runnable)
action            759 lib/pacemaker/pcmk_sched_colocation.c             && pcmk__str_eq(action->task, RSC_START, pcmk__str_casei)) {
action            761 lib/pacemaker/pcmk_sched_colocation.c             pe__clear_action_flags(action, pe_action_runnable);
action            762 lib/pacemaker/pcmk_sched_colocation.c             pe_action_set_reason(action, reason_text, false);
action            763 lib/pacemaker/pcmk_sched_colocation.c             pcmk__block_colocated_starts(action, data_set);
action            764 lib/pacemaker/pcmk_sched_colocation.c             pcmk__update_action_for_orderings(action, data_set);
action            778 lib/pacemaker/pcmk_sched_colocation.c pcmk__block_colocated_starts(pe_action_t *action, pe_working_set_t *data_set)
action            783 lib/pacemaker/pcmk_sched_colocation.c     if (!pcmk_is_set(action->flags, pe_action_runnable)
action            784 lib/pacemaker/pcmk_sched_colocation.c         && pcmk__str_eq(action->task, RSC_START, pcmk__str_casei)) {
action            786 lib/pacemaker/pcmk_sched_colocation.c         rsc = uber_parent(action->rsc);
action            815 lib/pacemaker/pcmk_sched_colocation.c             mark_start_blocked(colocate_with->dependent, action->rsc, data_set);
action             65 lib/pacemaker/pcmk_sched_fencing.c         pe_action_t *action = (pe_action_t *) gIter->data;
action             67 lib/pacemaker/pcmk_sched_fencing.c         switch (action->needs) {
action             73 lib/pacemaker/pcmk_sched_fencing.c                 order_actions(stonith_op, action, pe_order_optional);
action             77 lib/pacemaker/pcmk_sched_fencing.c                 if (pcmk__str_eq(action->task, RSC_START, pcmk__str_casei)
action             90 lib/pacemaker/pcmk_sched_fencing.c                     pe_rsc_debug(rsc, "Ordering %s after %s recovery", action->uuid,
action             92 lib/pacemaker/pcmk_sched_fencing.c                     order_actions(stonith_op, action,
action            143 lib/pacemaker/pcmk_sched_fencing.c         pe_action_t *action = (pe_action_t *) gIter->data;
action            146 lib/pacemaker/pcmk_sched_fencing.c         pe__set_action_flags(action, pe_action_pseudo|pe_action_runnable);
action            149 lib/pacemaker/pcmk_sched_fencing.c             pe__set_action_flags(action, pe_action_implied_by_stonith);
action            164 lib/pacemaker/pcmk_sched_fencing.c                 order_actions(stonith_op, action, pe_order_preserve);
action            175 lib/pacemaker/pcmk_sched_fencing.c                      action->uuid, (order_implicit? "after" : "because"),
action            180 lib/pacemaker/pcmk_sched_fencing.c             pcmk__order_notifs_after_fencing(action, rsc, stonith_op);
action            216 lib/pacemaker/pcmk_sched_fencing.c         pe_action_t *action = (pe_action_t *) gIter->data;
action            218 lib/pacemaker/pcmk_sched_fencing.c         if (!(action->node->details->online) || action->node->details->unclean
action            227 lib/pacemaker/pcmk_sched_fencing.c                             action->uuid, target->details->uname);
action            233 lib/pacemaker/pcmk_sched_fencing.c             pe__set_action_flags(action, pe_action_pseudo|pe_action_runnable);
action            239 lib/pacemaker/pcmk_sched_fencing.c                 order_actions(stonith_op, action, pe_order_preserve|pe_order_optional);
action            310 lib/pacemaker/pcmk_sched_fencing.c pcmk__order_vs_unfence(pe_resource_t *rsc, pe_node_t *node, pe_action_t *action,
action            329 lib/pacemaker/pcmk_sched_fencing.c         order_actions(unfence, action, order);
action            334 lib/pacemaker/pcmk_sched_fencing.c                                              rsc->id, action->task);
action            205 lib/pacemaker/pcmk_sched_group.c         pe_action_t *action = (pe_action_t *) gIter->data;
action            207 lib/pacemaker/pcmk_sched_group.c         if (pcmk_is_set(action->flags, pe_action_optional)) {
action            210 lib/pacemaker/pcmk_sched_group.c         if (pcmk__str_eq(RSC_STOP, action->task, pcmk__str_casei)
action            211 lib/pacemaker/pcmk_sched_group.c             && pcmk_is_set(action->flags, pe_action_runnable)) {
action            214 lib/pacemaker/pcmk_sched_group.c             pe_rsc_trace(action->rsc, "Based on %s the group is stopping", action->uuid);
action            216 lib/pacemaker/pcmk_sched_group.c         } else if (pcmk__str_eq(RSC_START, action->task, pcmk__str_casei)
action            217 lib/pacemaker/pcmk_sched_group.c                    && pcmk_is_set(action->flags, pe_action_runnable)) {
action            219 lib/pacemaker/pcmk_sched_group.c             pe_rsc_trace(action->rsc, "Based on %s the group is starting", action->uuid);
action            450 lib/pacemaker/pcmk_sched_group.c group_action_flags(pe_action_t * action, pe_node_t * node)
action            455 lib/pacemaker/pcmk_sched_group.c     for (gIter = action->rsc->children; gIter != NULL; gIter = gIter->next) {
action            457 lib/pacemaker/pcmk_sched_group.c         enum action_tasks task = get_complex_task(child, action->task, TRUE);
action            466 lib/pacemaker/pcmk_sched_group.c                 pe_rsc_trace(action->rsc, "%s is mandatory because of %s", action->uuid,
action            470 lib/pacemaker/pcmk_sched_group.c                 pe__clear_action_flags(action, pe_action_optional);
action            472 lib/pacemaker/pcmk_sched_group.c             if (!pcmk__str_eq(task_s, action->task, pcmk__str_casei)
action            476 lib/pacemaker/pcmk_sched_group.c                 pe_rsc_trace(action->rsc, "%s is not runnable because of %s", action->uuid,
action            480 lib/pacemaker/pcmk_sched_group.c                 pe__clear_action_flags(action, pe_action_runnable);
action            484 lib/pacemaker/pcmk_sched_group.c             pe_rsc_trace(action->rsc, "%s is not runnable because of %s (not found in %s)",
action            485 lib/pacemaker/pcmk_sched_group.c                          action->uuid, task_s, child->id);
action           1743 lib/pacemaker/pcmk_sched_native.c native_action_flags(pe_action_t * action, pe_node_t * node)
action           1745 lib/pacemaker/pcmk_sched_native.c     return action->flags;
action           1749 lib/pacemaker/pcmk_sched_native.c is_primitive_action(pe_action_t *action)
action           1751 lib/pacemaker/pcmk_sched_native.c     return action && action->rsc && (action->rsc->variant == pe_native);
action           1762 lib/pacemaker/pcmk_sched_native.c #define clear_action_flag_because(action, flag, reason) do {                \
action           1763 lib/pacemaker/pcmk_sched_native.c         if (pcmk_is_set((action)->flags, (flag))) {                         \
action           1764 lib/pacemaker/pcmk_sched_native.c             pe__clear_action_flags(action, flag);                           \
action           1765 lib/pacemaker/pcmk_sched_native.c             if ((action)->rsc != (reason)->rsc) {                           \
action           1767 lib/pacemaker/pcmk_sched_native.c                 pe_action_set_reason((action), reason_text,                 \
action           2000 lib/pacemaker/pcmk_sched_native.c         pe_action_t *action = (pe_action_t *) gIter->data;
action           2002 lib/pacemaker/pcmk_sched_native.c         crm_trace("processing action %d for rsc=%s", action->id, rsc->id);
action           2003 lib/pacemaker/pcmk_sched_native.c         pcmk__add_action_to_graph(action, data_set);
action            265 lib/pacemaker/pcmk_sched_notif.c add_notify_data_to_action_meta(notify_data_t *n_data, pe_action_t *action)
action            270 lib/pacemaker/pcmk_sched_notif.c         add_hash_param(action->meta, nvpair->name, nvpair->value);
action            286 lib/pacemaker/pcmk_sched_notif.c new_notify_pseudo_action(pe_resource_t *rsc, const pe_action_t *action,
action            292 lib/pacemaker/pcmk_sched_notif.c                            pcmk__notify_key(rsc->id, notif_type, action->task),
action            294 lib/pacemaker/pcmk_sched_notif.c                            pcmk_is_set(action->flags, pe_action_optional),
action            298 lib/pacemaker/pcmk_sched_notif.c     add_hash_param(notify->meta, "notify_key_operation", action->task);
action            436 lib/pacemaker/pcmk_sched_notif.c                              pe_action_t *action, pe_action_t *complete)
action            447 lib/pacemaker/pcmk_sched_notif.c     n_data->action = task;
action            449 lib/pacemaker/pcmk_sched_notif.c     if (action != NULL) { // Need "pre-" pseudo-actions
action            452 lib/pacemaker/pcmk_sched_notif.c         n_data->pre = new_notify_pseudo_action(rsc, action, RSC_NOTIFY, "pre");
action            455 lib/pacemaker/pcmk_sched_notif.c         add_hash_param(n_data->pre->meta, "notify_operation", n_data->action);
action            458 lib/pacemaker/pcmk_sched_notif.c         n_data->pre_done = new_notify_pseudo_action(rsc, action, RSC_NOTIFIED,
action            463 lib/pacemaker/pcmk_sched_notif.c                        "notify_operation", n_data->action);
action            467 lib/pacemaker/pcmk_sched_notif.c         order_actions(n_data->pre_done, action, pe_order_optional);
action            482 lib/pacemaker/pcmk_sched_notif.c         add_hash_param(n_data->post->meta, "notify_operation", n_data->action);
action            496 lib/pacemaker/pcmk_sched_notif.c                        "notify_operation", n_data->action);
action            504 lib/pacemaker/pcmk_sched_notif.c     if ((action != NULL) && (complete != NULL)) {
action            667 lib/pacemaker/pcmk_sched_notif.c         && pcmk__str_eq(n_data->action, RSC_STOP, pcmk__str_casei)) {
action            674 lib/pacemaker/pcmk_sched_notif.c         && pcmk__str_eq(n_data->action, RSC_START, pcmk__str_none)) {
action            683 lib/pacemaker/pcmk_sched_notif.c         && pcmk__str_eq(n_data->action, RSC_DEMOTE, pcmk__str_none)) {
action            692 lib/pacemaker/pcmk_sched_notif.c         && pcmk__str_eq(n_data->action, RSC_PROMOTE, pcmk__str_none)) {
action            768 lib/pacemaker/pcmk_sched_notif.c find_remote_start(pe_action_t *action)
action            770 lib/pacemaker/pcmk_sched_notif.c     if ((action != NULL) && (action->node != NULL)) {
action            771 lib/pacemaker/pcmk_sched_notif.c         pe_resource_t *remote_rsc = action->node->details->remote_rsc;
action            794 lib/pacemaker/pcmk_sched_notif.c     enum action_tasks task = text2task(n_data->action);
action            825 lib/pacemaker/pcmk_sched_notif.c                              rsc->id, n_data->action);
action            833 lib/pacemaker/pcmk_sched_notif.c                              rsc->id, n_data->action);
action            841 lib/pacemaker/pcmk_sched_notif.c                              rsc->id, n_data->action);
action            852 lib/pacemaker/pcmk_sched_notif.c                  rsc->id, n_data->action);
action             40 lib/pacemaker/pcmk_sched_ordering.c invert_action(const char *action)
action             42 lib/pacemaker/pcmk_sched_ordering.c     if (pcmk__str_eq(action, RSC_START, pcmk__str_casei)) {
action             45 lib/pacemaker/pcmk_sched_ordering.c     } else if (pcmk__str_eq(action, RSC_STOP, pcmk__str_casei)) {
action             48 lib/pacemaker/pcmk_sched_ordering.c     } else if (pcmk__str_eq(action, RSC_PROMOTE, pcmk__str_casei)) {
action             51 lib/pacemaker/pcmk_sched_ordering.c     } else if (pcmk__str_eq(action, RSC_DEMOTE, pcmk__str_casei)) {
action             54 lib/pacemaker/pcmk_sched_ordering.c     } else if (pcmk__str_eq(action, RSC_PROMOTED, pcmk__str_casei)) {
action             57 lib/pacemaker/pcmk_sched_ordering.c     } else if (pcmk__str_eq(action, RSC_DEMOTED, pcmk__str_casei)) {
action             60 lib/pacemaker/pcmk_sched_ordering.c     } else if (pcmk__str_eq(action, RSC_STARTED, pcmk__str_casei)) {
action             63 lib/pacemaker/pcmk_sched_ordering.c     } else if (pcmk__str_eq(action, RSC_STOPPED, pcmk__str_casei)) {
action             66 lib/pacemaker/pcmk_sched_ordering.c     crm_warn("Unknown action '%s' specified in order constraint", action);
action            486 lib/pacemaker/pcmk_sched_ordering.c task_from_action_or_key(pe_action_t *action, const char *key)
action            490 lib/pacemaker/pcmk_sched_ordering.c     if (action != NULL) {
action            491 lib/pacemaker/pcmk_sched_ordering.c         res = strdup(action->task);
action            758 lib/pacemaker/pcmk_sched_ordering.c     const char *action = crm_element_value(set, "action");
action            762 lib/pacemaker/pcmk_sched_ordering.c     if (action == NULL) {
action            763 lib/pacemaker/pcmk_sched_ordering.c         action = RSC_START;
action            776 lib/pacemaker/pcmk_sched_ordering.c     flags = ordering_flags_for_kind(local_kind, action, symmetry);
action            795 lib/pacemaker/pcmk_sched_ordering.c         key = pcmk__op_key(resource->id, action, 0);
action            802 lib/pacemaker/pcmk_sched_ordering.c                 char *then_key = pcmk__op_key(then_rsc->id, action, 0);
action            810 lib/pacemaker/pcmk_sched_ordering.c                 pcmk__order_resource_actions(last, action, resource, action,
action            823 lib/pacemaker/pcmk_sched_ordering.c     action = invert_action(action);
action            825 lib/pacemaker/pcmk_sched_ordering.c     flags = ordering_flags_for_kind(local_kind, action,
action            835 lib/pacemaker/pcmk_sched_ordering.c                 pcmk__order_resource_actions(resource, action, last, action,
action           1220 lib/pacemaker/pcmk_sched_ordering.c ordering_is_invalid(pe_action_t *action, pe_action_wrapper_t *input)
action           1226 lib/pacemaker/pcmk_sched_ordering.c         && (input->action->rsc != NULL)
action           1227 lib/pacemaker/pcmk_sched_ordering.c         && pcmk__rsc_corresponds_to_guest(action->rsc, input->action->node)) {
action           1230 lib/pacemaker/pcmk_sched_ordering.c                  input->action->rsc->id, action->rsc->id);
action           1241 lib/pacemaker/pcmk_sched_ordering.c     if ((input->type == pe_order_load) && action->rsc
action           1242 lib/pacemaker/pcmk_sched_ordering.c         && pcmk__str_eq(action->task, RSC_MIGRATE, pcmk__str_casei)
action           1243 lib/pacemaker/pcmk_sched_ordering.c         && pcmk__graph_has_loop(action, action, input)) {
action           1254 lib/pacemaker/pcmk_sched_ordering.c         pe_action_t *action = (pe_action_t *) iter->data;
action           1257 lib/pacemaker/pcmk_sched_ordering.c         for (GList *input_iter = action->actions_before;
action           1261 lib/pacemaker/pcmk_sched_ordering.c             if (ordering_is_invalid(action, input)) {
action           1281 lib/pacemaker/pcmk_sched_ordering.c         pe_action_t *action = (pe_action_t *) iter->data;
action           1284 lib/pacemaker/pcmk_sched_ordering.c         if ((action->rsc == NULL) || (action->node == NULL)
action           1285 lib/pacemaker/pcmk_sched_ordering.c             || (action->node->details != node->details)
action           1286 lib/pacemaker/pcmk_sched_ordering.c             || !pcmk__str_eq(action->task, RSC_STOP, pcmk__str_casei)) {
action           1292 lib/pacemaker/pcmk_sched_ordering.c         if (pcmk_is_set(action->rsc->flags, pe_rsc_maintenance)) {
action           1293 lib/pacemaker/pcmk_sched_ordering.c             pe_rsc_trace(action->rsc,
action           1296 lib/pacemaker/pcmk_sched_ordering.c                          action->uuid, node->details->uname);
action           1300 lib/pacemaker/pcmk_sched_ordering.c             pe_rsc_trace(action->rsc,
action           1303 lib/pacemaker/pcmk_sched_ordering.c                          action->uuid, node->details->uname);
action           1311 lib/pacemaker/pcmk_sched_ordering.c         if (!pcmk_any_flags_set(action->rsc->flags,
action           1313 lib/pacemaker/pcmk_sched_ordering.c             pe_rsc_trace(action->rsc,
action           1316 lib/pacemaker/pcmk_sched_ordering.c                          action->uuid, node->details->uname);
action           1320 lib/pacemaker/pcmk_sched_ordering.c         pe_rsc_trace(action->rsc, "Ordering %s before %s shutdown",
action           1321 lib/pacemaker/pcmk_sched_ordering.c                      action->uuid, node->details->uname);
action           1322 lib/pacemaker/pcmk_sched_ordering.c         pe__clear_action_flags(action, pe_action_optional);
action           1323 lib/pacemaker/pcmk_sched_ordering.c         pcmk__new_ordering(action->rsc, NULL, action, NULL,
action            292 lib/pacemaker/pcmk_sched_probes.c                 || (after_wrapper->action->rsc == NULL)
action            293 lib/pacemaker/pcmk_sched_probes.c                 || (after_wrapper->action->rsc->variant > pe_group)
action            294 lib/pacemaker/pcmk_sched_probes.c                 || (after->rsc != after_wrapper->action->rsc->parent)) {
action            303 lib/pacemaker/pcmk_sched_probes.c                     || (compatible_rsc != after_wrapper->action->rsc))) {
action            312 lib/pacemaker/pcmk_sched_probes.c                   after_wrapper->action->uuid,
action            313 lib/pacemaker/pcmk_sched_probes.c                   ((after_wrapper->action->node == NULL)? "" : after_wrapper->action->node->details->uname),
action            316 lib/pacemaker/pcmk_sched_probes.c         add_restart_orderings_for_probe(probe, after_wrapper->action, data_set);
action            332 lib/pacemaker/pcmk_sched_probes.c         pe_action_t *action = (pe_action_t *) gIter->data;
action            334 lib/pacemaker/pcmk_sched_probes.c         pe__clear_action_flags(action, pe_action_tracking);
action            369 lib/pacemaker/pcmk_sched_probes.c             add_restart_orderings_for_probe(probe, then->action, data_set);
action            444 lib/pacemaker/pcmk_sched_probes.c             pe_action_t *first = before->action;
action            455 lib/pacemaker/pcmk_sched_probes.c                               first->uuid, before->action->uuid, start->uuid);
action            457 lib/pacemaker/pcmk_sched_probes.c                     CRM_ASSERT(before->action->rsc != NULL);
action            458 lib/pacemaker/pcmk_sched_probes.c                     first_rsc = before->action->rsc;
action            126 lib/pacemaker/pcmk_sched_promotable.c         pe_action_t *action = (pe_action_t *) gIter->data;
action            131 lib/pacemaker/pcmk_sched_promotable.c         } else if (pcmk_is_set(action->flags, pe_action_optional)) {
action            134 lib/pacemaker/pcmk_sched_promotable.c         } else if (pcmk__str_eq(RSC_DEMOTE, action->task, pcmk__str_casei)) {
action            137 lib/pacemaker/pcmk_sched_promotable.c         } else if (pcmk__str_eq(RSC_PROMOTE, action->task, pcmk__str_casei)) {
action            818 lib/pacemaker/pcmk_sched_promotable.c     pe_action_t *action = NULL;
action            848 lib/pacemaker/pcmk_sched_promotable.c     action = pcmk__new_rsc_pseudo_action(rsc, RSC_PROMOTE, !any_promoting,
action            860 lib/pacemaker/pcmk_sched_promotable.c                                                                   action,
action            865 lib/pacemaker/pcmk_sched_promotable.c     action = pcmk__new_rsc_pseudo_action(rsc, RSC_DEMOTE, !any_demoting, true);
action            875 lib/pacemaker/pcmk_sched_promotable.c                                                                  action,
action            161 lib/pacemaker/pcmk_sched_remote.c is_recurring_action(pe_action_t *action)
action            165 lib/pacemaker/pcmk_sched_remote.c     if (pcmk__guint_from_hash(action->meta,
action            178 lib/pacemaker/pcmk_sched_remote.c apply_remote_ordering(pe_action_t *action, pe_working_set_t *data_set)
action            181 lib/pacemaker/pcmk_sched_remote.c     enum action_tasks task = text2task(action->task);
action            182 lib/pacemaker/pcmk_sched_remote.c     enum remote_connection_state state = get_remote_node_state(action->node);
action            186 lib/pacemaker/pcmk_sched_remote.c     if (action->rsc == NULL) {
action            190 lib/pacemaker/pcmk_sched_remote.c     CRM_ASSERT(pe__is_guest_or_remote_node(action->node));
action            192 lib/pacemaker/pcmk_sched_remote.c     remote_rsc = action->node->details->remote_rsc;
action            196 lib/pacemaker/pcmk_sched_remote.c               action->task, action->uuid,
action            200 lib/pacemaker/pcmk_sched_remote.c     if (pcmk__strcase_any_of(action->task, CRMD_ACTION_MIGRATE,
action            219 lib/pacemaker/pcmk_sched_remote.c             order_start_then_action(remote_rsc, action, order_opts, data_set);
action            224 lib/pacemaker/pcmk_sched_remote.c                 order_action_then_stop(action, remote_rsc,
action            234 lib/pacemaker/pcmk_sched_remote.c                 pe_fence_node(data_set, action->node,
action            243 lib/pacemaker/pcmk_sched_remote.c                 order_action_then_stop(action, remote_rsc,
action            250 lib/pacemaker/pcmk_sched_remote.c                 order_start_then_action(remote_rsc, action, pe_order_none,
action            263 lib/pacemaker/pcmk_sched_remote.c                 order_start_then_action(remote_rsc, action, pe_order_none,
action            270 lib/pacemaker/pcmk_sched_remote.c             if (is_recurring_action(action)) {
action            275 lib/pacemaker/pcmk_sched_remote.c                 order_start_then_action(remote_rsc, action,
action            286 lib/pacemaker/pcmk_sched_remote.c                     pe_fence_node(data_set, action->node,
action            296 lib/pacemaker/pcmk_sched_remote.c                     order_action_then_stop(action, remote_rsc,
action            300 lib/pacemaker/pcmk_sched_remote.c                     order_start_then_action(remote_rsc, action, pe_order_none,
action            309 lib/pacemaker/pcmk_sched_remote.c apply_container_ordering(pe_action_t *action, pe_working_set_t *data_set)
action            320 lib/pacemaker/pcmk_sched_remote.c     enum action_tasks task = text2task(action->task);
action            322 lib/pacemaker/pcmk_sched_remote.c     CRM_ASSERT(action->rsc != NULL);
action            323 lib/pacemaker/pcmk_sched_remote.c     CRM_ASSERT(action->node != NULL);
action            324 lib/pacemaker/pcmk_sched_remote.c     CRM_ASSERT(pe__is_guest_or_remote_node(action->node));
action            326 lib/pacemaker/pcmk_sched_remote.c     remote_rsc = action->node->details->remote_rsc;
action            333 lib/pacemaker/pcmk_sched_remote.c         pe_fence_node(data_set, action->node, "container failed", FALSE);
action            337 lib/pacemaker/pcmk_sched_remote.c               action->task, action->uuid,
action            343 lib/pacemaker/pcmk_sched_remote.c     if (pcmk__strcase_any_of(action->task, CRMD_ACTION_MIGRATE,
action            355 lib/pacemaker/pcmk_sched_remote.c             order_start_then_action(container, action, pe_order_implies_then,
action            359 lib/pacemaker/pcmk_sched_remote.c             order_start_then_action(remote_rsc, action, pe_order_none,
action            381 lib/pacemaker/pcmk_sched_remote.c                 order_action_then_stop(action, remote_rsc, pe_order_none,
action            388 lib/pacemaker/pcmk_sched_remote.c             if (is_recurring_action(action)) {
action            394 lib/pacemaker/pcmk_sched_remote.c                     order_start_then_action(remote_rsc, action,
action            398 lib/pacemaker/pcmk_sched_remote.c                 order_start_then_action(remote_rsc, action, pe_order_none,
action            421 lib/pacemaker/pcmk_sched_remote.c         pe_action_t *action = (pe_action_t *) gIter->data;
action            425 lib/pacemaker/pcmk_sched_remote.c         if (action->rsc == NULL) {
action            433 lib/pacemaker/pcmk_sched_remote.c         if (action->rsc->is_remote_node &&
action            434 lib/pacemaker/pcmk_sched_remote.c             pcmk__str_eq(action->task, CRM_OP_CLEAR_FAILCOUNT, pcmk__str_casei)) {
action            436 lib/pacemaker/pcmk_sched_remote.c             pcmk__new_ordering(action->rsc, NULL, action, action->rsc,
action            437 lib/pacemaker/pcmk_sched_remote.c                                pcmk__op_key(action->rsc->id, RSC_START, 0),
action            444 lib/pacemaker/pcmk_sched_remote.c         if (action->node == NULL) {
action            448 lib/pacemaker/pcmk_sched_remote.c         if (!pe__is_guest_or_remote_node(action->node)) {
action            458 lib/pacemaker/pcmk_sched_remote.c         if (pcmk_is_set(action->flags, pe_action_pseudo)) {
action            462 lib/pacemaker/pcmk_sched_remote.c         remote = action->node->details->remote_rsc;
action            473 lib/pacemaker/pcmk_sched_remote.c         if (pcmk__str_eq(action->task, RSC_START, pcmk__str_casei)) {
action            474 lib/pacemaker/pcmk_sched_remote.c             for (GList *item = action->rsc->actions; item != NULL;
action            478 lib/pacemaker/pcmk_sched_remote.c                 if ((rsc_action->node->details != action->node->details)
action            481 lib/pacemaker/pcmk_sched_remote.c                                        action->rsc, NULL, rsc_action,
action            497 lib/pacemaker/pcmk_sched_remote.c             crm_trace("Container ordering for %s", action->uuid);
action            498 lib/pacemaker/pcmk_sched_remote.c             apply_container_ordering(action, data_set);
action            501 lib/pacemaker/pcmk_sched_remote.c             crm_trace("Remote ordering for %s", action->uuid);
action            502 lib/pacemaker/pcmk_sched_remote.c             apply_remote_ordering(action, data_set);
action            555 lib/pacemaker/pcmk_sched_remote.c pcmk__connection_host_for_action(pe_action_t *action)
action            560 lib/pacemaker/pcmk_sched_remote.c     const char *task = action->task;
action            563 lib/pacemaker/pcmk_sched_remote.c         || !pe__is_guest_or_remote_node(action->node)) {
action            567 lib/pacemaker/pcmk_sched_remote.c     CRM_ASSERT(action->node->details->remote_rsc != NULL);
action            569 lib/pacemaker/pcmk_sched_remote.c     began_on = pe__current_node(action->node->details->remote_rsc);
action            570 lib/pacemaker/pcmk_sched_remote.c     ended_on = action->node->details->remote_rsc->allocated_to;
action            571 lib/pacemaker/pcmk_sched_remote.c     if (action->node->details->remote_rsc
action            572 lib/pacemaker/pcmk_sched_remote.c         && (action->node->details->remote_rsc->container == NULL)
action            573 lib/pacemaker/pcmk_sched_remote.c         && action->node->details->remote_rsc->partial_migration_target) {
action            580 lib/pacemaker/pcmk_sched_remote.c                   action->task, (action->rsc? action->rsc->id : "no resource"),
action            589 lib/pacemaker/pcmk_sched_remote.c                   action->task, (action->rsc? action->rsc->id : "no resource"),
action            598 lib/pacemaker/pcmk_sched_remote.c                   action->task, (action->rsc? action->rsc->id : "no resource"),
action            612 lib/pacemaker/pcmk_sched_remote.c         task = g_hash_table_lookup(action->meta, "notify_operation");
action            631 lib/pacemaker/pcmk_sched_remote.c                   action->task, (action->rsc? action->rsc->id : "no resource"),
action            643 lib/pacemaker/pcmk_sched_remote.c               action->task, (action->rsc? action->rsc->id : "no resource"),
action            692 lib/pacemaker/pcmk_sched_remote.c pcmk__add_bundle_meta_to_xml(xmlNode *args_xml, pe_action_t *action)
action            697 lib/pacemaker/pcmk_sched_remote.c     if (!pe__is_guest_node(action->node)) {
action            701 lib/pacemaker/pcmk_sched_remote.c     task = text2task(action->task);
action            703 lib/pacemaker/pcmk_sched_remote.c         task = text2task(g_hash_table_lookup(action->meta, "notify_operation"));
action            712 lib/pacemaker/pcmk_sched_remote.c             host = pe__current_node(action->node->details->remote_rsc->container);
action            721 lib/pacemaker/pcmk_sched_remote.c             host = action->node->details->remote_rsc->container->allocated_to;
action            730 lib/pacemaker/pcmk_sched_remote.c                        (gpointer) g_hash_table_lookup(action->rsc->meta,
action             46 lib/pacemaker/pcmk_simulate.c create_action_name(pe_action_t *action, bool verbose)
action             52 lib/pacemaker/pcmk_simulate.c     const char *task = action->task;
action             54 lib/pacemaker/pcmk_simulate.c     if (action->node != NULL) {
action             55 lib/pacemaker/pcmk_simulate.c         action_host = action->node->details->uname;
action             56 lib/pacemaker/pcmk_simulate.c     } else if (!pcmk_is_set(action->flags, pe_action_pseudo)) {
action             60 lib/pacemaker/pcmk_simulate.c     if (pcmk__str_eq(action->task, RSC_CANCEL, pcmk__str_none)) {
action             62 lib/pacemaker/pcmk_simulate.c         task = action->cancel_task;
action             65 lib/pacemaker/pcmk_simulate.c     if (action->rsc != NULL) {
action             66 lib/pacemaker/pcmk_simulate.c         clone_name = action->rsc->clone_name;
action             73 lib/pacemaker/pcmk_simulate.c         if (pcmk__guint_from_hash(action->meta,
action             79 lib/pacemaker/pcmk_simulate.c         if (pcmk__strcase_any_of(action->task, RSC_NOTIFY, RSC_NOTIFIED,
action             81 lib/pacemaker/pcmk_simulate.c             const char *n_type = g_hash_table_lookup(action->meta,
action             83 lib/pacemaker/pcmk_simulate.c             const char *n_task = g_hash_table_lookup(action->meta,
action            101 lib/pacemaker/pcmk_simulate.c     } else if (pcmk__str_eq(action->task, CRM_OP_FENCE, pcmk__str_casei)) {
action            102 lib/pacemaker/pcmk_simulate.c         const char *op = g_hash_table_lookup(action->meta, "stonith_action");
action            105 lib/pacemaker/pcmk_simulate.c                                         prefix, action->task, op, action_host);
action            107 lib/pacemaker/pcmk_simulate.c     } else if (action->rsc && action_host) {
action            109 lib/pacemaker/pcmk_simulate.c                                         prefix, action->uuid, action_host);
action            113 lib/pacemaker/pcmk_simulate.c                                         prefix, action->task, action_host);
action            116 lib/pacemaker/pcmk_simulate.c         action_name = crm_strdup_printf("%s", action->uuid);
action            120 lib/pacemaker/pcmk_simulate.c         char *with_id = crm_strdup_printf("%s (%d)", action_name, action->id);
action            232 lib/pacemaker/pcmk_simulate.c         pe_action_t *action = (pe_action_t *) gIter->data;
action            236 lib/pacemaker/pcmk_simulate.c         char *action_name = create_action_name(action, verbose);
action            238 lib/pacemaker/pcmk_simulate.c         if (pcmk_is_set(action->flags, pe_action_pseudo)) {
action            242 lib/pacemaker/pcmk_simulate.c         if (pcmk_is_set(action->flags, pe_action_dumped)) {
action            246 lib/pacemaker/pcmk_simulate.c         } else if ((action->rsc != NULL)
action            247 lib/pacemaker/pcmk_simulate.c                    && !pcmk_is_set(action->rsc->flags, pe_rsc_managed)) {
action            254 lib/pacemaker/pcmk_simulate.c         } else if (pcmk_is_set(action->flags, pe_action_optional)) {
action            262 lib/pacemaker/pcmk_simulate.c             CRM_LOG_ASSERT(!pcmk_is_set(action->flags, pe_action_runnable));
action            265 lib/pacemaker/pcmk_simulate.c         pe__set_action_flags(action, pe_action_dumped);
action            273 lib/pacemaker/pcmk_simulate.c         pe_action_t *action = (pe_action_t *) gIter->data;
action            277 lib/pacemaker/pcmk_simulate.c         for (gIter2 = action->actions_before; gIter2 != NULL; gIter2 = gIter2->next) {
action            290 lib/pacemaker/pcmk_simulate.c             } else if (pcmk_is_set(before->action->flags, pe_action_dumped)
action            291 lib/pacemaker/pcmk_simulate.c                        && pcmk_is_set(action->flags, pe_action_dumped)
action            297 lib/pacemaker/pcmk_simulate.c                 before_name = create_action_name(before->action, verbose);
action            298 lib/pacemaker/pcmk_simulate.c                 after_name = create_action_name(action, verbose);
action            467 lib/pacemaker/pcmk_simulate.c simulate_pseudo_action(crm_graph_t *graph, crm_action_t *action)
action            469 lib/pacemaker/pcmk_simulate.c     const char *node = crm_element_value(action->xml, XML_LRM_ATTR_TARGET);
action            470 lib/pacemaker/pcmk_simulate.c     const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK_KEY);
action            472 lib/pacemaker/pcmk_simulate.c     crm__set_graph_action_flags(action, pcmk__graph_action_confirmed);
action            475 lib/pacemaker/pcmk_simulate.c     pcmk__update_graph(graph, action);
action            489 lib/pacemaker/pcmk_simulate.c simulate_resource_action(crm_graph_t *graph, crm_action_t *action)
action            500 lib/pacemaker/pcmk_simulate.c     const char *operation = crm_element_value(action->xml, "operation");
action            501 lib/pacemaker/pcmk_simulate.c     const char *target_rc_s = crm_meta_value(action->params,
action            506 lib/pacemaker/pcmk_simulate.c     xmlNode *action_rsc = first_named_child(action->xml, XML_CIB_TAG_RESOURCE);
action            508 lib/pacemaker/pcmk_simulate.c     char *node = crm_element_value_copy(action->xml, XML_LRM_ATTR_TARGET);
action            510 lib/pacemaker/pcmk_simulate.c     const char *router_node = crm_element_value(action->xml,
action            520 lib/pacemaker/pcmk_simulate.c         crm_log_xml_err(action->xml, "Bad");
action            532 lib/pacemaker/pcmk_simulate.c         crm_log_xml_err(action->xml, "No ID");
action            563 lib/pacemaker/pcmk_simulate.c     uuid = crm_element_value_copy(action->xml, XML_LRM_ATTR_TARGET_UUID);
action            575 lib/pacemaker/pcmk_simulate.c                 action->id, resource);
action            582 lib/pacemaker/pcmk_simulate.c     op = pcmk__event_from_graph_action(cib_resource, action, PCMK_EXEC_DONE,
action            626 lib/pacemaker/pcmk_simulate.c                   action->id, op->rc);
action            627 lib/pacemaker/pcmk_simulate.c         crm__set_graph_action_flags(action, pcmk__graph_action_failed);
action            643 lib/pacemaker/pcmk_simulate.c     crm__set_graph_action_flags(action, pcmk__graph_action_confirmed);
action            644 lib/pacemaker/pcmk_simulate.c     pcmk__update_graph(graph, action);
action            658 lib/pacemaker/pcmk_simulate.c simulate_cluster_action(crm_graph_t *graph, crm_action_t *action)
action            660 lib/pacemaker/pcmk_simulate.c     const char *node = crm_element_value(action->xml, XML_LRM_ATTR_TARGET);
action            661 lib/pacemaker/pcmk_simulate.c     const char *task = crm_element_value(action->xml, XML_LRM_ATTR_TASK);
action            662 lib/pacemaker/pcmk_simulate.c     xmlNode *rsc = first_named_child(action->xml, XML_CIB_TAG_RESOURCE);
action            664 lib/pacemaker/pcmk_simulate.c     crm__set_graph_action_flags(action, pcmk__graph_action_confirmed);
action            666 lib/pacemaker/pcmk_simulate.c     pcmk__update_graph(graph, action);
action            680 lib/pacemaker/pcmk_simulate.c simulate_fencing_action(crm_graph_t *graph, crm_action_t *action)
action            682 lib/pacemaker/pcmk_simulate.c     const char *op = crm_meta_value(action->params, "stonith_action");
action            683 lib/pacemaker/pcmk_simulate.c     char *target = crm_element_value_copy(action->xml, XML_LRM_ATTR_TARGET);
action            715 lib/pacemaker/pcmk_simulate.c     crm__set_graph_action_flags(action, pcmk__graph_action_confirmed);
action            716 lib/pacemaker/pcmk_simulate.c     pcmk__update_graph(graph, action);
action            101 lib/pengine/pe_digest.c                             pe_action_t *action, xmlNode *xml_op,
action            106 lib/pengine/pe_digest.c     pe_rsc_action_details_t *details = pe_rsc_action_details(action);
action            144 lib/pengine/pe_digest.c     pe_action_t *action = NULL;
action            172 lib/pengine/pe_digest.c     action = custom_action(rsc, pcmk__op_key(rsc->id, task, *interval_ms),
action            178 lib/pengine/pe_digest.c     g_hash_table_foreach(action->extra, hash2field, data->params_all);
action            179 lib/pengine/pe_digest.c     g_hash_table_foreach(action->meta, hash2metafield, data->params_all);
action            182 lib/pengine/pe_digest.c     append_all_versioned_params(rsc, node, action, xml_op, data_set);
action            187 lib/pengine/pe_digest.c     pe_free_action(action);
action           2732 lib/pengine/unpack.c     xmlNode *action = find_lrm_op(rsc->id, action_name, node_name, NULL, TRUE,
action           2735 lib/pengine/unpack.c     return pe__call_id(action) > call_id;
action           2997 lib/pengine/unpack.c     pe_action_t *action = NULL;
action           3046 lib/pengine/unpack.c     action = custom_action(rsc, strdup(key), task, NULL, TRUE, FALSE, data_set);
action           3047 lib/pengine/unpack.c     if (cmp_on_fail(*on_fail, action->on_fail) < 0) {
action           3049 lib/pengine/unpack.c                      fail2text(action->on_fail), action->uuid, key);
action           3050 lib/pengine/unpack.c         *on_fail = action->on_fail;
action           3066 lib/pengine/unpack.c         if (action->on_fail == action_fail_block) {
action           3097 lib/pengine/unpack.c                  fail2text(action->on_fail), role2text(action->fail_role));
action           3099 lib/pengine/unpack.c     if (action->fail_role != RSC_ROLE_STARTED && rsc->next_role < action->fail_role) {
action           3100 lib/pengine/unpack.c         pe__set_next_role(rsc, action->fail_role, "failure");
action           3103 lib/pengine/unpack.c     if (action->fail_role == RSC_ROLE_STOPPED) {
action           3129 lib/pengine/unpack.c     pe_free_action(action);
action           3360 lib/pengine/unpack.c order_after_remote_fencing(pe_action_t *action, pe_resource_t *remote_conn,
action           3369 lib/pengine/unpack.c         order_actions(fence, action, pe_order_implies_then);
action           3569 lib/pengine/unpack.c     pe_action_t *action = custom_action(rsc, strdup(key), task, NULL, TRUE, FALSE, data_set);
action           3571 lib/pengine/unpack.c     result = action->on_fail;
action           3572 lib/pengine/unpack.c     pe_free_action(action);
action             28 lib/pengine/utils.c static void unpack_operation(pe_action_t * action, xmlNode * xml_obj, pe_resource_t * container,
action             35 lib/pengine/utils.c pe_rsc_action_details(pe_action_t *action)
action             39 lib/pengine/utils.c     CRM_CHECK(action != NULL, return NULL);
action             41 lib/pengine/utils.c     if (action->action_details == NULL) {
action             42 lib/pengine/utils.c         action->action_details = calloc(1, sizeof(pe_rsc_action_details_t));
action             43 lib/pengine/utils.c         CRM_CHECK(action->action_details != NULL, return NULL);
action             46 lib/pengine/utils.c     details = (pe_rsc_action_details_t *) action->action_details;
action             58 lib/pengine/utils.c pe_free_rsc_action_details(pe_action_t *action)
action             62 lib/pengine/utils.c     if ((action == NULL) || (action->action_details == NULL)) {
action             66 lib/pengine/utils.c     details = (pe_rsc_action_details_t *) action->action_details;
action             75 lib/pengine/utils.c     action->action_details = NULL;
action            414 lib/pengine/utils.c add_singleton(pe_working_set_t *data_set, pe_action_t *action)
action            419 lib/pengine/utils.c     g_hash_table_insert(data_set->singletons, action->uuid, action);
action            447 lib/pengine/utils.c     pe_action_t *action = NULL;
action            459 lib/pengine/utils.c     action = matches->data;
action            461 lib/pengine/utils.c     return action;
action            484 lib/pengine/utils.c     pe_action_t *action = calloc(1, sizeof(pe_action_t));
action            486 lib/pengine/utils.c     CRM_ASSERT(action != NULL);
action            488 lib/pengine/utils.c     action->rsc = rsc;
action            489 lib/pengine/utils.c     action->task = strdup(task); CRM_ASSERT(action->task != NULL);
action            490 lib/pengine/utils.c     action->uuid = key;
action            491 lib/pengine/utils.c     action->extra = pcmk__strkey_table(free, free);
action            492 lib/pengine/utils.c     action->meta = pcmk__strkey_table(free, free);
action            495 lib/pengine/utils.c         action->node = pe__copy_node(node);
action            500 lib/pengine/utils.c         pe__set_action_flags(action, pe_action_dc);
action            503 lib/pengine/utils.c     pe__set_action_flags(action, pe_action_runnable);
action            505 lib/pengine/utils.c         pe__set_action_flags(action, pe_action_optional);
action            507 lib/pengine/utils.c         pe__clear_action_flags(action, pe_action_optional);
action            513 lib/pengine/utils.c         action->op_entry = find_rsc_op_entry_helper(rsc, key, TRUE);
action            515 lib/pengine/utils.c         unpack_operation(action, action->op_entry, rsc->container, data_set,
action            525 lib/pengine/utils.c         action->id = data_set->action_id++;
action            527 lib/pengine/utils.c         data_set->actions = g_list_prepend(data_set->actions, action);
action            529 lib/pengine/utils.c             add_singleton(data_set, action);
action            531 lib/pengine/utils.c             rsc->actions = g_list_prepend(rsc->actions, action);
action            534 lib/pengine/utils.c     return action;
action            545 lib/pengine/utils.c unpack_action_node_attributes(pe_action_t *action, pe_working_set_t *data_set)
action            547 lib/pengine/utils.c     if (!pcmk_is_set(action->flags, pe_action_have_node_attrs)
action            548 lib/pengine/utils.c         && (action->op_entry != NULL)) {
action            551 lib/pengine/utils.c             .node_hash = action->node->details->attrs,
action            559 lib/pengine/utils.c         pe__set_action_flags(action, pe_action_have_node_attrs);
action            560 lib/pengine/utils.c         pe__unpack_dataset_nvpairs(action->op_entry, XML_TAG_ATTR_SETS,
action            561 lib/pengine/utils.c                                    &rule_data, action->extra, NULL,
action            574 lib/pengine/utils.c update_action_optional(pe_action_t *action, gboolean optional)
action            577 lib/pengine/utils.c     if ((action->rsc != NULL) && (action->node != NULL)
action            578 lib/pengine/utils.c         && !pcmk_is_set(action->flags, pe_action_pseudo)
action            579 lib/pengine/utils.c         && !pcmk_is_set(action->rsc->flags, pe_rsc_managed)
action            580 lib/pengine/utils.c         && (g_hash_table_lookup(action->meta,
action            582 lib/pengine/utils.c             pe_rsc_debug(action->rsc, "%s on %s is optional (%s is unmanaged)",
action            583 lib/pengine/utils.c                          action->uuid, action->node->details->uname,
action            584 lib/pengine/utils.c                          action->rsc->id);
action            585 lib/pengine/utils.c             pe__set_action_flags(action, pe_action_optional);
action            590 lib/pengine/utils.c         pe__clear_action_flags(action, pe_action_optional);
action            605 lib/pengine/utils.c update_resource_action_runnable(pe_action_t *action, bool for_graph,
action            608 lib/pengine/utils.c     if (pcmk_is_set(action->flags, pe_action_pseudo)) {
action            612 lib/pengine/utils.c     if (action->node == NULL) {
action            613 lib/pengine/utils.c         pe_rsc_trace(action->rsc, "%s is unrunnable (unallocated)",
action            614 lib/pengine/utils.c                      action->uuid);
action            615 lib/pengine/utils.c         pe__clear_action_flags(action, pe_action_runnable);
action            617 lib/pengine/utils.c     } else if (!pcmk_is_set(action->flags, pe_action_dc)
action            618 lib/pengine/utils.c                && !(action->node->details->online)
action            619 lib/pengine/utils.c                && (!pe__is_guest_node(action->node)
action            620 lib/pengine/utils.c                    || action->node->details->remote_requires_reset)) {
action            621 lib/pengine/utils.c         pe__clear_action_flags(action, pe_action_runnable);
action            624 lib/pengine/utils.c                    action->uuid, action->node->details->uname);
action            625 lib/pengine/utils.c         if (pcmk_is_set(action->rsc->flags, pe_rsc_managed)
action            627 lib/pengine/utils.c             && pcmk__str_eq(action->task, CRMD_ACTION_STOP, pcmk__str_casei)
action            628 lib/pengine/utils.c             && !(action->node->details->unclean)) {
action            629 lib/pengine/utils.c             pe_fence_node(data_set, action->node, "stop is unrunnable", false);
action            632 lib/pengine/utils.c     } else if (!pcmk_is_set(action->flags, pe_action_dc)
action            633 lib/pengine/utils.c                && action->node->details->pending) {
action            634 lib/pengine/utils.c         pe__clear_action_flags(action, pe_action_runnable);
action            637 lib/pengine/utils.c                    action->uuid, action->node->details->uname);
action            639 lib/pengine/utils.c     } else if (action->needs == rsc_req_nothing) {
action            640 lib/pengine/utils.c         pe_action_set_reason(action, NULL, TRUE);
action            641 lib/pengine/utils.c         if (pe__is_guest_node(action->node)
action            642 lib/pengine/utils.c             && !pe_can_fence(data_set, action->node)) {
action            648 lib/pengine/utils.c             pe_rsc_debug(action->rsc, "%s on %s is unrunnable "
action            650 lib/pengine/utils.c                          action->uuid, action->node->details->uname);
action            651 lib/pengine/utils.c             pe__clear_action_flags(action, pe_action_runnable);
action            653 lib/pengine/utils.c             pe_rsc_trace(action->rsc,
action            655 lib/pengine/utils.c                          action->uuid, action->node->details->uname);
action            656 lib/pengine/utils.c             pe__set_action_flags(action, pe_action_runnable);
action            660 lib/pengine/utils.c         switch (effective_quorum_policy(action->rsc, data_set)) {
action            662 lib/pengine/utils.c                 pe_rsc_debug(action->rsc, "%s on %s is unrunnable (no quorum)",
action            663 lib/pengine/utils.c                              action->uuid, action->node->details->uname);
action            664 lib/pengine/utils.c                 pe__clear_action_flags(action, pe_action_runnable);
action            665 lib/pengine/utils.c                 pe_action_set_reason(action, "no quorum", true);
action            669 lib/pengine/utils.c                 if (!action->rsc->fns->active(action->rsc, TRUE)
action            670 lib/pengine/utils.c                     || (action->rsc->next_role > action->rsc->role)) {
action            671 lib/pengine/utils.c                     pe_rsc_debug(action->rsc,
action            673 lib/pengine/utils.c                                  action->uuid, action->node->details->uname);
action            674 lib/pengine/utils.c                     pe__clear_action_flags(action, pe_action_runnable);
action            675 lib/pengine/utils.c                     pe_action_set_reason(action, "quorum freeze", true);
action            681 lib/pengine/utils.c                 pe__set_action_flags(action, pe_action_runnable);
action            695 lib/pengine/utils.c update_resource_flags_for_action(pe_resource_t *rsc, pe_action_t *action)
action            700 lib/pengine/utils.c     if (pcmk__str_eq(action->task, CRMD_ACTION_STOP, pcmk__str_casei)) {
action            703 lib/pengine/utils.c     } else if (pcmk__str_eq(action->task, CRMD_ACTION_START, pcmk__str_casei)) {
action            704 lib/pengine/utils.c         if (pcmk_is_set(action->flags, pe_action_runnable)) {
action            734 lib/pengine/utils.c     pe_action_t *action = NULL;
action            739 lib/pengine/utils.c         action = find_existing_action(key, rsc, on_node, data_set);
action            742 lib/pengine/utils.c     if (action == NULL) {
action            743 lib/pengine/utils.c         action = new_action(key, task, rsc, on_node, optional, save_action,
action            749 lib/pengine/utils.c     update_action_optional(action, optional);
action            752 lib/pengine/utils.c         if (action->node != NULL) {
action            753 lib/pengine/utils.c             unpack_action_node_attributes(action, data_set);
action            756 lib/pengine/utils.c         update_resource_action_runnable(action, save_action, data_set);
action            759 lib/pengine/utils.c             update_resource_flags_for_action(rsc, action);
action            763 lib/pengine/utils.c     return action;
action            773 lib/pengine/utils.c unpack_operation_on_fail(pe_action_t * action)
action            780 lib/pengine/utils.c     const char *value = g_hash_table_lookup(action->meta, XML_OP_ATTR_ON_FAIL);
action            782 lib/pengine/utils.c     if (pcmk__str_eq(action->task, CRMD_ACTION_STOP, pcmk__str_casei)
action            787 lib/pengine/utils.c                          "allowed for stop", action->rsc->id, value);
action            790 lib/pengine/utils.c     } else if (pcmk__str_eq(action->task, CRMD_ACTION_DEMOTE, pcmk__str_casei) && !value) {
action            794 lib/pengine/utils.c         CRM_CHECK(action->rsc != NULL, return NULL);
action            796 lib/pengine/utils.c         for (operation = pcmk__xe_first_child(action->rsc->ops_xml);
action            825 lib/pengine/utils.c     } else if (pcmk__str_eq(action->task, CRM_OP_LRM_DELETE, pcmk__str_casei)) {
action            829 lib/pengine/utils.c         name = crm_element_value(action->op_entry, "name");
action            830 lib/pengine/utils.c         role = crm_element_value(action->op_entry, "role");
action            831 lib/pengine/utils.c         interval_spec = crm_element_value(action->op_entry,
action            841 lib/pengine/utils.c                              "allowed for it", action->rsc->id, name);
action            964 lib/pengine/utils.c pe_get_configured_timeout(pe_resource_t *rsc, const char *action, pe_working_set_t *data_set)
action            982 lib/pengine/utils.c         if (pcmk__str_eq(action, crm_element_value(child, XML_NVPAIR_ATTR_NAME),
action           1064 lib/pengine/utils.c unpack_operation(pe_action_t * action, xmlNode * xml_obj, pe_resource_t * container,
action           1075 lib/pengine/utils.c         .standard = crm_element_value(action->rsc->xml, XML_AGENT_ATTR_CLASS),
action           1076 lib/pengine/utils.c         .provider = crm_element_value(action->rsc->xml, XML_AGENT_ATTR_PROVIDER),
action           1077 lib/pengine/utils.c         .agent = crm_element_value(action->rsc->xml, XML_EXPR_ATTR_TYPE)
action           1081 lib/pengine/utils.c         .op_name = action->task,
action           1094 lib/pengine/utils.c     CRM_CHECK(action && action->rsc, return);
action           1096 lib/pengine/utils.c     is_probe = pcmk_is_probe(action->task, interval_ms);
action           1100 lib/pengine/utils.c                                action->meta, NULL, FALSE, data_set);
action           1104 lib/pengine/utils.c         xmlNode *min_interval_mon = find_min_interval_mon(action->rsc, FALSE);
action           1110 lib/pengine/utils.c                           "monitor's timeout '%s'", action->uuid, value);
action           1111 lib/pengine/utils.c                 g_hash_table_replace(action->meta, strdup(XML_ATTR_TIMEOUT),
action           1122 lib/pengine/utils.c                                    action->meta, NULL, TRUE, data_set);
action           1125 lib/pengine/utils.c         rsc_details = pe_rsc_action_details(action);
action           1144 lib/pengine/utils.c             g_hash_table_replace(action->meta, strdup(prop_name), strdup(prop_value));
action           1148 lib/pengine/utils.c     g_hash_table_remove(action->meta, "id");
action           1152 lib/pengine/utils.c         g_hash_table_replace(action->meta, strdup(XML_LRM_ATTR_INTERVAL),
action           1155 lib/pengine/utils.c         g_hash_table_remove(action->meta, XML_LRM_ATTR_INTERVAL);
action           1174 lib/pengine/utils.c         && (pcmk__str_eq(action->task, RSC_START, pcmk__str_casei)
action           1177 lib/pengine/utils.c         GHashTable *params = pe_rsc_params(action->rsc, action->node, data_set);
action           1183 lib/pengine/utils.c                       "overriding default", action->uuid, value);
action           1184 lib/pengine/utils.c             g_hash_table_replace(action->meta, strdup(XML_ATTR_TIMEOUT),
action           1190 lib/pengine/utils.c     value = g_hash_table_lookup(action->meta, XML_ATTR_TIMEOUT);
action           1192 lib/pengine/utils.c     g_hash_table_replace(action->meta, strdup(XML_ATTR_TIMEOUT),
action           1195 lib/pengine/utils.c     if (!pcmk__strcase_any_of(action->task, RSC_START, RSC_PROMOTE, NULL)) {
action           1196 lib/pengine/utils.c         action->needs = rsc_req_nothing;
action           1199 lib/pengine/utils.c     } else if (pcmk_is_set(action->rsc->flags, pe_rsc_needs_fencing)) {
action           1200 lib/pengine/utils.c         action->needs = rsc_req_stonith;
action           1203 lib/pengine/utils.c     } else if (pcmk_is_set(action->rsc->flags, pe_rsc_needs_quorum)) {
action           1204 lib/pengine/utils.c         action->needs = rsc_req_quorum;
action           1208 lib/pengine/utils.c         action->needs = rsc_req_nothing;
action           1211 lib/pengine/utils.c     pe_rsc_trace(action->rsc, "%s requires %s", action->uuid, value);
action           1213 lib/pengine/utils.c     value = unpack_operation_on_fail(action);
action           1218 lib/pengine/utils.c         action->on_fail = action_fail_block;
action           1219 lib/pengine/utils.c         g_hash_table_insert(action->meta, strdup(XML_OP_ATTR_ON_FAIL), strdup("block"));
action           1223 lib/pengine/utils.c         action->on_fail = action_fail_fence;
action           1229 lib/pengine/utils.c                              "valid when fencing is disabled", action->uuid);
action           1230 lib/pengine/utils.c             action->on_fail = action_fail_stop;
action           1231 lib/pengine/utils.c             action->fail_role = RSC_ROLE_STOPPED;
action           1236 lib/pengine/utils.c         action->on_fail = action_fail_standby;
action           1240 lib/pengine/utils.c         action->on_fail = action_fail_ignore;
action           1244 lib/pengine/utils.c         action->on_fail = action_fail_migrate;
action           1248 lib/pengine/utils.c         action->on_fail = action_fail_stop;
action           1249 lib/pengine/utils.c         action->fail_role = RSC_ROLE_STOPPED;
action           1253 lib/pengine/utils.c         action->on_fail = action_fail_recover;
action           1258 lib/pengine/utils.c             action->on_fail = action_fail_restart_container;
action           1266 lib/pengine/utils.c         action->on_fail = action_fail_demote;
action           1270 lib/pengine/utils.c         pe_err("Resource %s: Unknown failure type (%s)", action->rsc->id, value);
action           1276 lib/pengine/utils.c         action->on_fail = action_fail_restart_container;
action           1287 lib/pengine/utils.c     } else if (((value == NULL) || !pcmk_is_set(action->rsc->flags, pe_rsc_managed))
action           1288 lib/pengine/utils.c                && pe__resource_is_remote_conn(action->rsc, data_set)
action           1289 lib/pengine/utils.c                && !(pcmk__str_eq(action->task, CRMD_ACTION_STATUS, pcmk__str_casei)
action           1291 lib/pengine/utils.c                && !pcmk__str_eq(action->task, CRMD_ACTION_START, pcmk__str_casei)) {
action           1293 lib/pengine/utils.c         if (!pcmk_is_set(action->rsc->flags, pe_rsc_managed)) {
action           1294 lib/pengine/utils.c             action->on_fail = action_fail_stop;
action           1295 lib/pengine/utils.c             action->fail_role = RSC_ROLE_STOPPED;
action           1305 lib/pengine/utils.c             if (action->rsc->remote_reconnect_ms) {
action           1306 lib/pengine/utils.c                 action->fail_role = RSC_ROLE_STOPPED;
action           1308 lib/pengine/utils.c             action->on_fail = action_fail_reset_remote;
action           1311 lib/pengine/utils.c     } else if (value == NULL && pcmk__str_eq(action->task, CRMD_ACTION_STOP, pcmk__str_casei)) {
action           1313 lib/pengine/utils.c             action->on_fail = action_fail_fence;
action           1317 lib/pengine/utils.c             action->on_fail = action_fail_block;
action           1322 lib/pengine/utils.c         action->on_fail = action_fail_recover;
action           1326 lib/pengine/utils.c     pe_rsc_trace(action->rsc, "%s failure handling: %s",
action           1327 lib/pengine/utils.c                  action->uuid, value);
action           1331 lib/pengine/utils.c         value = g_hash_table_lookup(action->meta, "role_after_failure");
action           1337 lib/pengine/utils.c     if (value != NULL && action->fail_role == RSC_ROLE_UNKNOWN) {
action           1338 lib/pengine/utils.c         action->fail_role = text2role(value);
action           1341 lib/pengine/utils.c     if (action->fail_role == RSC_ROLE_UNKNOWN) {
action           1342 lib/pengine/utils.c         if (pcmk__str_eq(action->task, CRMD_ACTION_PROMOTE, pcmk__str_casei)) {
action           1343 lib/pengine/utils.c             action->fail_role = RSC_ROLE_UNPROMOTED;
action           1345 lib/pengine/utils.c             action->fail_role = RSC_ROLE_STARTED;
action           1348 lib/pengine/utils.c     pe_rsc_trace(action->rsc, "%s failure results in: %s",
action           1349 lib/pengine/utils.c                  action->uuid, role2text(action->fail_role));
action           1351 lib/pengine/utils.c     value = g_hash_table_lookup(action->meta, XML_OP_ATTR_START_DELAY);
action           1353 lib/pengine/utils.c         unpack_start_delay(value, action->meta);
action           1357 lib/pengine/utils.c         value = g_hash_table_lookup(action->meta, XML_OP_ATTR_ORIGIN);
action           1360 lib/pengine/utils.c             g_hash_table_replace(action->meta, strdup(XML_OP_ATTR_START_DELAY),
action           1457 lib/pengine/utils.c pe_free_action(pe_action_t * action)
action           1459 lib/pengine/utils.c     if (action == NULL) {
action           1462 lib/pengine/utils.c     g_list_free_full(action->actions_before, free);     /* pe_action_wrapper_t* */
action           1463 lib/pengine/utils.c     g_list_free_full(action->actions_after, free);      /* pe_action_wrapper_t* */
action           1464 lib/pengine/utils.c     if (action->extra) {
action           1465 lib/pengine/utils.c         g_hash_table_destroy(action->extra);
action           1467 lib/pengine/utils.c     if (action->meta) {
action           1468 lib/pengine/utils.c         g_hash_table_destroy(action->meta);
action           1471 lib/pengine/utils.c     if (action->rsc) {
action           1472 lib/pengine/utils.c         pe_free_rsc_action_details(action);
action           1475 lib/pengine/utils.c     free(action->cancel_task);
action           1476 lib/pengine/utils.c     free(action->reason);
action           1477 lib/pengine/utils.c     free(action->task);
action           1478 lib/pengine/utils.c     free(action->uuid);
action           1479 lib/pengine/utils.c     free(action->node);
action           1480 lib/pengine/utils.c     free(action);
action           1493 lib/pengine/utils.c         pe_action_t *action = (pe_action_t *) gIter->data;
action           1495 lib/pengine/utils.c         value = g_hash_table_lookup(action->meta, XML_LRM_ATTR_INTERVAL_MS);
action           1500 lib/pengine/utils.c         } else if (pcmk__str_eq(CRMD_ACTION_CANCEL, action->task, pcmk__str_casei)) {
action           1503 lib/pengine/utils.c             crm_trace("(null) Found: %s", action->uuid);
action           1504 lib/pengine/utils.c             result = g_list_prepend(result, action);
action           1506 lib/pengine/utils.c         } else if (action->node == NULL) {
action           1508 lib/pengine/utils.c         } else if (action->node->details != not_on_node->details) {
action           1509 lib/pengine/utils.c             crm_trace("Found: %s", action->uuid);
action           1510 lib/pengine/utils.c             result = g_list_prepend(result, action);
action           1548 lib/pengine/utils.c         pe_action_t *action = (pe_action_t *) gIter->data;
action           1550 lib/pengine/utils.c         if (uuid != NULL && !pcmk__str_eq(uuid, action->uuid, pcmk__str_casei)) {
action           1553 lib/pengine/utils.c         } else if (task != NULL && !pcmk__str_eq(task, action->task, pcmk__str_casei)) {
action           1557 lib/pengine/utils.c             return action;
action           1559 lib/pengine/utils.c         } else if (action->node == NULL) {
action           1562 lib/pengine/utils.c         } else if (on_node->details == action->node->details) {
action           1563 lib/pengine/utils.c             return action;
action           1579 lib/pengine/utils.c         pe_action_t *action = (pe_action_t *) gIter->data;
action           1581 lib/pengine/utils.c         if (!pcmk__str_eq(key, action->uuid, pcmk__str_casei)) {
action           1586 lib/pengine/utils.c             result = g_list_prepend(result, action);
action           1588 lib/pengine/utils.c         } else if (action->node == NULL) {
action           1592 lib/pengine/utils.c             action->node = pe__copy_node(on_node);
action           1593 lib/pengine/utils.c             result = g_list_prepend(result, action);
action           1595 lib/pengine/utils.c         } else if (on_node->details == action->node->details) {
action           1597 lib/pengine/utils.c             result = g_list_prepend(result, action);
action           1616 lib/pengine/utils.c         pe_action_t *action = (pe_action_t *) gIter->data;
action           1618 lib/pengine/utils.c         if ((action->node != NULL)
action           1619 lib/pengine/utils.c             && pcmk__str_eq(key, action->uuid, pcmk__str_casei)
action           1620 lib/pengine/utils.c             && pcmk__str_eq(on_node->details->id, action->node->details->id,
action           1624 lib/pengine/utils.c             result = g_list_prepend(result, action);
action           1931 lib/pengine/utils.c         if (after->action == rh_action && (after->type & order)) {
action           1937 lib/pengine/utils.c     wrapper->action = rh_action;
action           1944 lib/pengine/utils.c     wrapper->action = lh_action;
action           2326 lib/pengine/utils.c pe__action2reason(pe_action_t *action, enum pe_action_flags flag)
action           2344 lib/pengine/utils.c                              (action->rsc == NULL)? "" : " ",
action           2345 lib/pengine/utils.c                              (action->rsc == NULL)? "" : action->rsc->id,
action           2346 lib/pengine/utils.c                              action->task);
action           2349 lib/pengine/utils.c void pe_action_set_reason(pe_action_t *action, const char *reason, bool overwrite) 
action           2351 lib/pengine/utils.c     if (action->reason != NULL && overwrite) {
action           2352 lib/pengine/utils.c         pe_rsc_trace(action->rsc, "Changing %s reason from '%s' to '%s'",
action           2353 lib/pengine/utils.c                      action->uuid, action->reason, crm_str(reason));
action           2354 lib/pengine/utils.c     } else if (action->reason == NULL) {
action           2355 lib/pengine/utils.c         pe_rsc_trace(action->rsc, "Set %s reason to '%s'",
action           2356 lib/pengine/utils.c                      action->uuid, crm_str(reason));
action           2362 lib/pengine/utils.c     pcmk__str_update(&action->reason, reason);
action            180 lib/services/services.c                           const char *agent, const char *action)
action            206 lib/services/services.c     if (pcmk__str_empty(action)) {
action            218 lib/services/services.c                       const char *agent, const char *action)
action            236 lib/services/services.c         && pcmk__str_eq(action, "monitor", pcmk__str_casei)) {
action            237 lib/services/services.c         action = "status";
action            239 lib/services/services.c     op->action = strdup(action);
action            240 lib/services/services.c     if (op->action == NULL) {
action            256 lib/services/services.c                         const char *action, guint interval_ms, int timeout,
action            286 lib/services/services.c                                   action)) {
action            293 lib/services/services.c     op->id = pcmk__op_key(name, action, interval_ms);
action            296 lib/services/services.c                               action) != pcmk_rc_ok) {
action            298 lib/services/services.c                  action, name, strerror(ENOMEM));
action            328 lib/services/services.c                  action, name, strerror(rc));
action            337 lib/services/services.c                         const char *action, guint interval_ms, int timeout,
action            341 lib/services/services.c                             provider, agent, action, interval_ms, timeout,
action            416 lib/services/services.c     svc_action_t *action = services_action_create_generic(exec, NULL);
action            418 lib/services/services.c     action->id = strdup(id);
action            419 lib/services/services.c     action->standard = strdup(PCMK_RESOURCE_CLASS_ALERT);
action            420 lib/services/services.c     CRM_ASSERT((action->id != NULL) && (action->standard != NULL));
action            422 lib/services/services.c     action->timeout = timeout;
action            423 lib/services/services.c     action->params = params;
action            424 lib/services/services.c     action->sequence = sequence;
action            425 lib/services/services.c     action->cb_data = cb_data;
action            426 lib/services/services.c     return action;
action            465 lib/services/services.c services_alert_async(svc_action_t *action, void (*cb)(svc_action_t *op))
action            467 lib/services/services.c     action->synchronous = false;
action            468 lib/services/services.c     action->opaque->callback = cb;
action            469 lib/services/services.c     return services__execute_file(action) == pcmk_rc_ok;
action            509 lib/services/services.c         crm_trace("Removing timer for call %s to %s", op->action, op->rsc);
action            550 lib/services/services.c services_result2ocf(const char *standard, const char *action, int exit_status)
action            575 lib/services/services.c         return services__lsb2ocf(action, exit_status);
action            620 lib/services/services.c     free(op->action);
action            664 lib/services/services.c services_action_cancel(const char *name, const char *action, guint interval_ms)
action            667 lib/services/services.c     char *id = pcmk__op_key(name, action, interval_ms);
action            732 lib/services/services.c services_action_kick(const char *name, const char *action, guint interval_ms)
action            735 lib/services/services.c     char *id = pcmk__op_key(name, action, interval_ms);
action           1031 lib/services/services.c     if (pcmk__str_eq(op->action, "meta-data", pcmk__str_casei)) {
action           1044 lib/services/services.c               op->rsc, op->action, op->interval_ms, op->opaque->exec, op->rc);
action           1271 lib/services/services.c services__set_result(svc_action_t *action, int agent_status,
action           1274 lib/services/services.c     if (action == NULL) {
action           1278 lib/services/services.c     action->rc = agent_status;
action           1279 lib/services/services.c     action->status = exec_status;
action           1281 lib/services/services.c     if (!pcmk__str_eq(action->opaque->exit_reason, reason,
action           1283 lib/services/services.c         free(action->opaque->exit_reason);
action           1284 lib/services/services.c         action->opaque->exit_reason = (reason == NULL)? NULL : strdup(reason);
action           1300 lib/services/services.c services__format_result(svc_action_t *action, int agent_status,
action           1308 lib/services/services.c     if (action == NULL) {
action           1312 lib/services/services.c     action->rc = agent_status;
action           1313 lib/services/services.c     action->status = exec_status;
action           1321 lib/services/services.c     free(action->opaque->exit_reason);
action           1322 lib/services/services.c     action->opaque->exit_reason = reason;
action           1334 lib/services/services.c services__set_cancelled(svc_action_t *action)
action           1336 lib/services/services.c     if (action != NULL) {
action           1337 lib/services/services.c         action->status = PCMK_EXEC_CANCELLED;
action           1338 lib/services/services.c         free(action->opaque->exit_reason);
action           1339 lib/services/services.c         action->opaque->exit_reason = NULL;
action           1352 lib/services/services.c services__action_kind(svc_action_t *action)
action           1354 lib/services/services.c     if ((action == NULL) || (action->standard == NULL)) {
action           1356 lib/services/services.c     } else if (pcmk__str_eq(action->standard, PCMK_RESOURCE_CLASS_STONITH,
action           1359 lib/services/services.c     } else if (pcmk__str_eq(action->standard, PCMK_RESOURCE_CLASS_ALERT,
action           1376 lib/services/services.c services__exit_reason(svc_action_t *action)
action           1378 lib/services/services.c     return action->opaque->exit_reason;
action           1392 lib/services/services.c services__grab_stdout(svc_action_t *action)
action           1394 lib/services/services.c     char *output = action->stdout_data;
action           1396 lib/services/services.c     action->stdout_data = NULL;
action           1411 lib/services/services.c services__grab_stderr(svc_action_t *action)
action           1413 lib/services/services.c     char *output = action->stderr_data;
action           1415 lib/services/services.c     action->stderr_data = NULL;
action            728 lib/services/services_linux.c         && pcmk__str_eq(op->action, "status", pcmk__str_casei)) {
action            763 lib/services/services_linux.c         && pcmk__str_eq(op->action, "status", pcmk__str_casei)) {
action            798 lib/services/services_linux.c         && pcmk__str_eq(op->action, "status", pcmk__str_casei)) {
action            834 lib/services/services_linux.c         && pcmk__str_eq(op->action, "status", pcmk__str_casei)) {
action            957 lib/services/services_linux.c         if (pcmk__str_eq(op->action, "stop", pcmk__str_casei)) {
action            275 lib/services/services_lsb.c     op->opaque->args[1] = strdup(op->action);
action            292 lib/services/services_lsb.c services__lsb2ocf(const char *action, int exit_status)
action            295 lib/services/services_lsb.c     if (!pcmk__str_any_of(action, "status", "monitor", NULL)) {
action            329 lib/services/services_lsb.c services_action_create(const char *name, const char *action,
action            333 lib/services/services_lsb.c                                    action, interval_ms, timeout, NULL, 0);
action             19 lib/services/services_lsb.h enum ocf_exitcode services__lsb2ocf(const char *action, int exit_status);
action             52 lib/services/services_nagios.c     if (pcmk__str_eq(op->action, "monitor", pcmk__str_casei)
action            149 lib/services/services_ocf.c     op->opaque->args[1] = strdup(op->action);
action             48 lib/services/services_private.h const char *services__action_kind(svc_action_t *action);
action             85 lib/services/services_private.h void services__set_cancelled(svc_action_t *action);
action            311 lib/services/systemd.c         if (pcmk__str_eq(op->action, "stop", pcmk__str_casei)) {
action            325 lib/services/systemd.c              op->action, op->agent, crm_str(op->rsc), error->message);
action            460 lib/services/systemd.c     name = systemd_service_name(arg_name, op == NULL || pcmk__str_eq(op->action, "meta-data", pcmk__str_none));
action            728 lib/services/systemd.c                  "return type was unexpected", op->action, crm_str(op->rsc));
action            739 lib/services/systemd.c                   op->action, crm_str(op->rsc), path);
action            931 lib/services/systemd.c     if (pcmk__str_any_of(op->action, "monitor", "status", NULL)) {
action            954 lib/services/systemd.c     } else if (pcmk__str_eq(op->action, "start", pcmk__str_none)) {
action            958 lib/services/systemd.c     } else if (pcmk__str_eq(op->action, "stop", pcmk__str_none)) {
action            962 lib/services/systemd.c     } else if (pcmk__str_eq(op->action, "restart", pcmk__str_none)) {
action            969 lib/services/systemd.c                                 "for systemd resources", crm_str(op->action));
action            985 lib/services/systemd.c         char *name = systemd_service_name(op->agent, pcmk__str_eq(op->action, "meta-data", pcmk__str_none));
action           1024 lib/services/systemd.c              op->action, op->agent, op->rsc);
action           1027 lib/services/systemd.c                             "did not complete in time", op->action, op->agent);
action           1053 lib/services/systemd.c     if ((op->action == NULL) || (op->agent == NULL)) {
action           1066 lib/services/systemd.c               (op->synchronous? "" : "a"), op->action, op->agent,
action           1069 lib/services/systemd.c     if (pcmk__str_eq(op->action, "meta-data", pcmk__str_casei)) {
action            415 lib/services/upstart.c         if (pcmk__str_eq(op->action, "stop", pcmk__str_casei)) {
action            426 lib/services/upstart.c     } else if (pcmk__str_eq(op->action, "start", pcmk__str_casei)
action            436 lib/services/upstart.c              op->action, op->agent, crm_str(op->rsc), error->message);
action            464 lib/services/upstart.c     } else if (pcmk__str_eq(op->action, "stop", pcmk__str_none)) {
action            472 lib/services/upstart.c                  "return type was unexpected", op->action, crm_str(op->rsc));
action            481 lib/services/upstart.c                   op->action, crm_str(op->rsc), path);
action            518 lib/services/upstart.c     const char *action = op->action;
action            527 lib/services/upstart.c     if ((op->action == NULL) || (op->agent == NULL)) {
action            539 lib/services/upstart.c     if (pcmk__str_eq(op->action, "meta-data", pcmk__str_casei)) {
action            546 lib/services/upstart.c         if (pcmk__str_eq(action, "stop", pcmk__str_none)) {
action            563 lib/services/upstart.c     if (pcmk__strcase_any_of(op->action, "monitor", "status", NULL)) {
action            598 lib/services/upstart.c     } else if (pcmk__str_eq(action, "start", pcmk__str_none)) {
action            599 lib/services/upstart.c         action = "Start";
action            601 lib/services/upstart.c     } else if (pcmk__str_eq(action, "stop", pcmk__str_none)) {
action            602 lib/services/upstart.c         action = "Stop";
action            604 lib/services/upstart.c     } else if (pcmk__str_eq(action, "restart", pcmk__str_none)) {
action            605 lib/services/upstart.c         action = "Restart";
action            618 lib/services/upstart.c     crm_debug("Calling %s for %s on %s", action, crm_str(op->rsc), job);
action            623 lib/services/upstart.c                                        action); // method name
action            664 lib/services/upstart.c     } else if (pcmk__str_eq(op->action, "stop", pcmk__str_none)) {
action            671 lib/services/upstart.c                  op->action);
action            679 lib/services/upstart.c         crm_debug("Call to %s passed: %s", op->action, path);
action            184 maint/gnulib/lib/c-stack.c c_stack_action (_GL_ASYNC_SAFE void (*action) (int))
action            186 maint/gnulib/lib/c-stack.c   segv_action = action ? action : null_action;
action            208 maint/gnulib/lib/c-stack.c c_stack_action (_GL_ASYNC_SAFE void (*action) (_GL_UNUSED int) )
action            100 maint/gnulib/lib/fatal-signal.c           struct sigaction action;
action            102 maint/gnulib/lib/fatal-signal.c           if (sigaction (fatal_signals[i], NULL, &action) >= 0
action            103 maint/gnulib/lib/fatal-signal.c               && get_handler (&action) == SIG_IGN)
action            122 maint/gnulib/lib/fatal-signal.c   volatile action_t action;
action            162 maint/gnulib/lib/fatal-signal.c       action_t action;
action            168 maint/gnulib/lib/fatal-signal.c       action = actions[n].action;
action            170 maint/gnulib/lib/fatal-signal.c       action (sig);
action            188 maint/gnulib/lib/fatal-signal.c   struct sigaction action;
action            190 maint/gnulib/lib/fatal-signal.c   action.sa_handler = &fatal_signal_handler;
action            194 maint/gnulib/lib/fatal-signal.c   action.sa_flags = SA_NODEFER;
action            195 maint/gnulib/lib/fatal-signal.c   sigemptyset (&action.sa_mask);
action            203 maint/gnulib/lib/fatal-signal.c         sigaction (sig, &action, &saved_sigactions[sig]);
action            214 maint/gnulib/lib/fatal-signal.c at_fatal_signal (action_t action)
action            270 maint/gnulib/lib/fatal-signal.c   actions[actions_count].action = action;
action            178 maint/gnulib/lib/fcntl.c static int klibc_fcntl (int fd, int action, /* arg */...);
action            202 maint/gnulib/lib/fcntl.c fcntl (int fd, int action, /* arg */...)
action            210 maint/gnulib/lib/fcntl.c   va_start (arg, action);
action            211 maint/gnulib/lib/fcntl.c   switch (action)
action            259 maint/gnulib/lib/fcntl.c         switch (action)
action            328 maint/gnulib/lib/fcntl.c             result = fcntl (fd, action);
action            424 maint/gnulib/lib/fcntl.c               result = fcntl (fd, action, x);
action            432 maint/gnulib/lib/fcntl.c               result = fcntl (fd, action, p);
action            551 maint/gnulib/lib/fcntl.c klibc_fcntl (int fd, int action, /* arg */...)
action            558 maint/gnulib/lib/fcntl.c   va_start (arg_ptr, action);
action            560 maint/gnulib/lib/fcntl.c   result = fcntl (fd, action, arg);
action            567 maint/gnulib/lib/fcntl.c       switch (action)
action            138 maint/gnulib/lib/fcntl.in.h _GL_FUNCDECL_RPL (fcntl, int, (int fd, int action, ...));
action            139 maint/gnulib/lib/fcntl.in.h _GL_CXXALIAS_RPL (fcntl, int, (int fd, int action, ...));
action            145 maint/gnulib/lib/fcntl.in.h _GL_FUNCDECL_SYS (fcntl, int, (int fd, int action, ...));
action            150 maint/gnulib/lib/fcntl.in.h _GL_CXXALIAS_SYS (fcntl, int, (int fd, int action, ...));
action            237 maint/gnulib/lib/gl_anytree_oset.h                 void (*action) (const void * /*elt*/, void * /*action_data*/),
action            245 maint/gnulib/lib/gl_anytree_oset.h   action (elt, action_data);
action            292 maint/gnulib/lib/gl_array_oset.c                  void (*action) (const void * /*elt*/, void * /*action_data*/),
action            300 maint/gnulib/lib/gl_array_oset.c   action (elt, action_data);
action            158 maint/gnulib/lib/gl_oset.h                            void (*action) (const void *elt, void *action_data),
action            227 maint/gnulib/lib/gl_oset.h                  void (*action) (const void * /*elt*/, void * /*action_data*/),
action            296 maint/gnulib/lib/gl_oset.h                 void (*action) (const void * /*elt*/, void * /*action_data*/),
action            300 maint/gnulib/lib/gl_oset.h          ->update (set, elt, action, action_data);
action            113 maint/gnulib/lib/gl_oset.hh               void (*action) (ELTYPE * /*elt*/, DT * /*action_data*/),
action            117 maint/gnulib/lib/gl_oset.hh                              reinterpret_cast<void (*) (const void *, void *)> (action),
action            212 maint/gnulib/lib/search.in.h                   (const void *vroot, _gl_search_action_fn action)
action            215 maint/gnulib/lib/search.in.h                   (const void *vroot, _gl_search_action_fn action));
action            219 maint/gnulib/lib/search.in.h                   (const void *vroot, _gl_search_action_fn action)
action            223 maint/gnulib/lib/search.in.h                   (const void *vroot, _gl_search_action_fn action));
action             64 maint/gnulib/lib/sigpipe-die.c     struct sigaction action;
action             66 maint/gnulib/lib/sigpipe-die.c     action.sa_handler = sigpipe_die_handler;
action             67 maint/gnulib/lib/sigpipe-die.c     action.sa_flags = 0;
action             68 maint/gnulib/lib/sigpipe-die.c     sigemptyset (&action.sa_mask);
action             69 maint/gnulib/lib/sigpipe-die.c     if (sigaction (SIGPIPE, &action, NULL) >= 0)
action           1174 maint/gnulib/lib/sigsegv.c   struct sigaction action;
action           1177 maint/gnulib/lib/sigsegv.c   action.sa_sigaction = &sigsegv_handler;
action           1179 maint/gnulib/lib/sigsegv.c   action.sa_handler = (void (*) (int)) &sigsegv_handler;
action           1189 maint/gnulib/lib/sigsegv.c   sigemptyset (&action.sa_mask);
action           1191 maint/gnulib/lib/sigsegv.c   sigaddset (&action.sa_mask,SIGHUP);
action           1194 maint/gnulib/lib/sigsegv.c   sigaddset (&action.sa_mask,SIGINT);
action           1197 maint/gnulib/lib/sigsegv.c   sigaddset (&action.sa_mask,SIGQUIT);
action           1200 maint/gnulib/lib/sigsegv.c   sigaddset (&action.sa_mask,SIGPIPE);
action           1203 maint/gnulib/lib/sigsegv.c   sigaddset (&action.sa_mask,SIGALRM);
action           1206 maint/gnulib/lib/sigsegv.c   sigaddset (&action.sa_mask,SIGTERM);
action           1209 maint/gnulib/lib/sigsegv.c   sigaddset (&action.sa_mask,SIGUSR1);
action           1212 maint/gnulib/lib/sigsegv.c   sigaddset (&action.sa_mask,SIGUSR2);
action           1215 maint/gnulib/lib/sigsegv.c   sigaddset (&action.sa_mask,SIGCHLD);
action           1218 maint/gnulib/lib/sigsegv.c   sigaddset (&action.sa_mask,SIGCLD);
action           1221 maint/gnulib/lib/sigsegv.c   sigaddset (&action.sa_mask,SIGURG);
action           1224 maint/gnulib/lib/sigsegv.c   sigaddset (&action.sa_mask,SIGIO);
action           1227 maint/gnulib/lib/sigsegv.c   sigaddset (&action.sa_mask,SIGPOLL);
action           1230 maint/gnulib/lib/sigsegv.c   sigaddset (&action.sa_mask,SIGXCPU);
action           1233 maint/gnulib/lib/sigsegv.c   sigaddset (&action.sa_mask,SIGXFSZ);
action           1236 maint/gnulib/lib/sigsegv.c   sigaddset (&action.sa_mask,SIGVTALRM);
action           1239 maint/gnulib/lib/sigsegv.c   sigaddset (&action.sa_mask,SIGPROF);
action           1242 maint/gnulib/lib/sigsegv.c   sigaddset (&action.sa_mask,SIGPWR);
action           1245 maint/gnulib/lib/sigsegv.c   sigaddset (&action.sa_mask,SIGLOST);
action           1248 maint/gnulib/lib/sigsegv.c   sigaddset (&action.sa_mask,SIGWINCH);
action           1253 maint/gnulib/lib/sigsegv.c   action.sa_flags = SA_SIGINFO;
action           1255 maint/gnulib/lib/sigsegv.c   action.sa_flags = 0;
action           1263 maint/gnulib/lib/sigsegv.c     action.sa_flags |= SA_ONSTACK;
action           1265 maint/gnulib/lib/sigsegv.c   sigaction (sig, &action, (struct sigaction *) NULL);
action             61 maint/gnulib/lib/spawn_faction_addchdir.c       rec->action.chdir_action.path = path_copy;
action             61 maint/gnulib/lib/spawn_faction_addclose.c     rec->action.open_action.fd = fd;
action             61 maint/gnulib/lib/spawn_faction_adddup2.c     rec->action.dup2_action.fd = fd;
action             62 maint/gnulib/lib/spawn_faction_adddup2.c     rec->action.dup2_action.newfd = newfd;
action             60 maint/gnulib/lib/spawn_faction_addfchdir.c     rec->action.fchdir_action.fd = fd;
action             74 maint/gnulib/lib/spawn_faction_addopen.c       rec->action.open_action.fd = fd;
action             75 maint/gnulib/lib/spawn_faction_addopen.c       rec->action.open_action.path = path_copy;
action             76 maint/gnulib/lib/spawn_faction_addopen.c       rec->action.open_action.oflag = oflag;
action             77 maint/gnulib/lib/spawn_faction_addopen.c       rec->action.open_action.mode = mode;
action             45 maint/gnulib/lib/spawn_faction_destroy.c           free (sa->action.open_action.path);
action             48 maint/gnulib/lib/spawn_faction_destroy.c           free (sa->action.chdir_action.path);
action             57 maint/gnulib/lib/spawn_int.h   } action;
action            569 maint/gnulib/lib/spawni.c           struct __spawn_action *action = &file_actions->_actions[cnt];
action            571 maint/gnulib/lib/spawni.c           switch (action->tag)
action            575 maint/gnulib/lib/spawni.c                 int fd = action->action.close_action.fd;
action            583 maint/gnulib/lib/spawni.c                 int newfd = action->action.open_action.fd;
action            584 maint/gnulib/lib/spawni.c                 const char *filename = action->action.open_action.path;
action            585 maint/gnulib/lib/spawni.c                 int flags = action->action.open_action.oflag;
action            586 maint/gnulib/lib/spawni.c                 mode_t mode = action->action.open_action.mode;
action            596 maint/gnulib/lib/spawni.c                 int oldfd = action->action.dup2_action.fd;
action            597 maint/gnulib/lib/spawni.c                 int newfd = action->action.dup2_action.newfd;
action            605 maint/gnulib/lib/spawni.c                 char *newdir = action->action.chdir_action.path;
action            829 maint/gnulib/lib/spawni.c           struct __spawn_action *action = &file_actions->_actions[cnt];
action            831 maint/gnulib/lib/spawni.c           switch (action->tag)
action            834 maint/gnulib/lib/spawni.c               if (close_not_cancel (action->action.close_action.fd) != 0)
action            841 maint/gnulib/lib/spawni.c                 int new_fd = open_not_cancel (action->action.open_action.path,
action            842 maint/gnulib/lib/spawni.c                                               action->action.open_action.oflag
action            844 maint/gnulib/lib/spawni.c                                               action->action.open_action.mode);
action            851 maint/gnulib/lib/spawni.c                 if (new_fd != action->action.open_action.fd)
action            853 maint/gnulib/lib/spawni.c                     if (dup2 (new_fd, action->action.open_action.fd)
action            854 maint/gnulib/lib/spawni.c                         != action->action.open_action.fd)
action            866 maint/gnulib/lib/spawni.c               if (dup2 (action->action.dup2_action.fd,
action            867 maint/gnulib/lib/spawni.c                         action->action.dup2_action.newfd)
action            868 maint/gnulib/lib/spawni.c                   != action->action.dup2_action.newfd)
action            874 maint/gnulib/lib/spawni.c               if (chdir (action->action.chdir_action.path) < 0)
action            880 maint/gnulib/lib/spawni.c               if (fchdir (action->action.fchdir_action.fd) < 0)
action             55 maint/gnulib/lib/supersede.c                   struct supersede_final_action *action)
action             72 maint/gnulib/lib/supersede.c   action->final_rename_temp = temp_filename;
action             73 maint/gnulib/lib/supersede.c   action->final_rename_dest = canon_filename;
action             80 maint/gnulib/lib/supersede.c                 struct supersede_final_action *action)
action            111 maint/gnulib/lib/supersede.c                   action->final_rename_temp = NULL;
action            112 maint/gnulib/lib/supersede.c                   action->final_rename_dest = NULL;
action            125 maint/gnulib/lib/supersede.c                   fd = create_temp_file (canon_filename, flags, mode, action);
action            137 maint/gnulib/lib/supersede.c               action->final_rename_temp = NULL;
action            138 maint/gnulib/lib/supersede.c               action->final_rename_dest = NULL;
action            155 maint/gnulib/lib/supersede.c                       action->final_rename_temp = NULL;
action            156 maint/gnulib/lib/supersede.c                       action->final_rename_dest = NULL;
action            168 maint/gnulib/lib/supersede.c                                                  action);
action            180 maint/gnulib/lib/supersede.c                               action->final_rename_temp = NULL;
action            181 maint/gnulib/lib/supersede.c                               action->final_rename_dest = NULL;
action            197 maint/gnulib/lib/supersede.c               action->final_rename_temp = NULL;
action            198 maint/gnulib/lib/supersede.c               action->final_rename_dest = NULL;
action            216 maint/gnulib/lib/supersede.c                       action->final_rename_temp = NULL;
action            217 maint/gnulib/lib/supersede.c                       action->final_rename_dest = NULL;
action            231 maint/gnulib/lib/supersede.c                   fd = create_temp_file (canon_filename, flags, mode, action);
action            241 maint/gnulib/lib/supersede.c           action->final_rename_temp = NULL;
action            242 maint/gnulib/lib/supersede.c           action->final_rename_dest = NULL;
action            249 maint/gnulib/lib/supersede.c after_close_actions (int ret, const struct supersede_final_action *action)
action            254 maint/gnulib/lib/supersede.c       if (action->final_rename_temp != NULL)
action            257 maint/gnulib/lib/supersede.c           ignore_value (unlink (action->final_rename_temp));
action            258 maint/gnulib/lib/supersede.c           free (action->final_rename_temp);
action            259 maint/gnulib/lib/supersede.c           free (action->final_rename_dest);
action            265 maint/gnulib/lib/supersede.c   if (action->final_rename_temp != NULL)
action            270 maint/gnulib/lib/supersede.c       if (stat (action->final_rename_temp, &temp_statbuf) < 0)
action            275 maint/gnulib/lib/supersede.c           ignore_value (unlink (action->final_rename_temp));
action            276 maint/gnulib/lib/supersede.c           free (action->final_rename_temp);
action            277 maint/gnulib/lib/supersede.c           free (action->final_rename_dest);
action            282 maint/gnulib/lib/supersede.c       if (stat (action->final_rename_dest, &dest_statbuf) >= 0)
action            291 maint/gnulib/lib/supersede.c             ignore_value (utimens (action->final_rename_temp, ts));
action            297 maint/gnulib/lib/supersede.c           ignore_value (chown (action->final_rename_temp,
action            304 maint/gnulib/lib/supersede.c           switch (qcopy_acl (action->final_rename_dest, -1,
action            305 maint/gnulib/lib/supersede.c                              action->final_rename_temp, -1,
action            312 maint/gnulib/lib/supersede.c               ignore_value (unlink (action->final_rename_temp));
action            313 maint/gnulib/lib/supersede.c               free (action->final_rename_temp);
action            314 maint/gnulib/lib/supersede.c               free (action->final_rename_dest);
action            319 maint/gnulib/lib/supersede.c           chmod (action->final_rename_temp, dest_statbuf.st_mode);
action            338 maint/gnulib/lib/supersede.c       if (!MoveFileEx (action->final_rename_temp, action->final_rename_dest,
action            349 maint/gnulib/lib/supersede.c           ignore_value (unlink (action->final_rename_temp));
action            350 maint/gnulib/lib/supersede.c           free (action->final_rename_temp);
action            351 maint/gnulib/lib/supersede.c           free (action->final_rename_dest);
action            356 maint/gnulib/lib/supersede.c       if (rename (action->final_rename_temp, action->final_rename_dest) < 0)
action            359 maint/gnulib/lib/supersede.c           ignore_value (unlink (action->final_rename_temp));
action            360 maint/gnulib/lib/supersede.c           free (action->final_rename_temp);
action            361 maint/gnulib/lib/supersede.c           free (action->final_rename_dest);
action            367 maint/gnulib/lib/supersede.c       unregister_temporary_file (action->final_rename_temp);
action            369 maint/gnulib/lib/supersede.c       free (action->final_rename_temp);
action            370 maint/gnulib/lib/supersede.c       free (action->final_rename_dest);
action            377 maint/gnulib/lib/supersede.c close_supersede (int fd, const struct supersede_final_action *action)
action            381 maint/gnulib/lib/supersede.c       free (action->final_rename_temp);
action            382 maint/gnulib/lib/supersede.c       free (action->final_rename_dest);
action            387 maint/gnulib/lib/supersede.c   if (action->final_rename_temp != NULL)
action            391 maint/gnulib/lib/supersede.c   return after_close_actions (ret, action);
action            397 maint/gnulib/lib/supersede.c                  struct supersede_final_action *action)
action            444 maint/gnulib/lib/supersede.c                            action);
action            453 maint/gnulib/lib/supersede.c       close_supersede (-1, action);
action            460 maint/gnulib/lib/supersede.c fclose_supersede (FILE *stream, const struct supersede_final_action *action)
action            465 maint/gnulib/lib/supersede.c   if (action->final_rename_temp != NULL)
action            469 maint/gnulib/lib/supersede.c   return after_close_actions (ret, action);
action            474 maint/gnulib/lib/supersede.c fwriteerror_supersede (FILE *stream, const struct supersede_final_action *action)
action            479 maint/gnulib/lib/supersede.c   if (action->final_rename_temp != NULL)
action            483 maint/gnulib/lib/supersede.c   return after_close_actions (ret, action);
action             97 maint/gnulib/lib/supersede.h                            struct supersede_final_action *action);
action            103 maint/gnulib/lib/supersede.h                             const struct supersede_final_action *action);
action            138 maint/gnulib/lib/supersede.h                               struct supersede_final_action *action);
action            144 maint/gnulib/lib/supersede.h                              const struct supersede_final_action *action);
action            151 maint/gnulib/lib/supersede.h                                   const struct supersede_final_action *action);
action            597 maint/gnulib/lib/term-style-control.c   struct sigaction action;
action            599 maint/gnulib/lib/term-style-control.c   return (sigaction (sig, NULL, &action) >= 0
action            600 maint/gnulib/lib/term-style-control.c           && get_handler (&action) == SIG_IGN);
action            712 maint/gnulib/lib/term-style-control.c     struct sigaction action;
action            713 maint/gnulib/lib/term-style-control.c     action.sa_handler = SIG_DFL;
action            714 maint/gnulib/lib/term-style-control.c     action.sa_flags = SA_NODEFER;
action            715 maint/gnulib/lib/term-style-control.c     sigemptyset (&action.sa_mask);
action            716 maint/gnulib/lib/term-style-control.c     sigaction (sig, &action, NULL);
action            745 maint/gnulib/lib/term-style-control.c                 struct sigaction action;
action            746 maint/gnulib/lib/term-style-control.c                 action.sa_handler = &stopping_signal_handler;
action            751 maint/gnulib/lib/term-style-control.c                 action.sa_flags = SA_NODEFER;
action            752 maint/gnulib/lib/term-style-control.c                 sigemptyset (&action.sa_mask);
action            753 maint/gnulib/lib/term-style-control.c                 sigaction (sig, &action, NULL);
action            794 maint/gnulib/lib/term-style-control.c       struct sigaction action;
action            795 maint/gnulib/lib/term-style-control.c       action.sa_handler = &continuing_signal_handler;
action            799 maint/gnulib/lib/term-style-control.c       action.sa_flags = SA_NODEFER;
action            800 maint/gnulib/lib/term-style-control.c       sigemptyset (&action.sa_mask);
action            801 maint/gnulib/lib/term-style-control.c       sigaction (sig, &action, NULL);
action            835 maint/gnulib/lib/term-style-control.c                 struct sigaction action;
action            836 maint/gnulib/lib/term-style-control.c                 action.sa_handler = &stopping_signal_handler;
action            840 maint/gnulib/lib/term-style-control.c                 action.sa_flags = SA_NODEFER;
action            841 maint/gnulib/lib/term-style-control.c                 sigemptyset (&action.sa_mask);
action            842 maint/gnulib/lib/term-style-control.c                 sigaction (sig, &action, NULL);
action            620 maint/gnulib/lib/tsearch.c trecurse (const void *vroot, __action_fn_t action, int level)
action            625 maint/gnulib/lib/tsearch.c     (*action) (root, leaf, level);
action            628 maint/gnulib/lib/tsearch.c       (*action) (root, preorder, level);
action            630 maint/gnulib/lib/tsearch.c         trecurse (root->left, action, level + 1);
action            631 maint/gnulib/lib/tsearch.c       (*action) (root, postorder, level);
action            633 maint/gnulib/lib/tsearch.c         trecurse (root->right, action, level + 1);
action            634 maint/gnulib/lib/tsearch.c       (*action) (root, endorder, level);
action            643 maint/gnulib/lib/tsearch.c __twalk (const void *vroot, __action_fn_t action)
action            649 maint/gnulib/lib/tsearch.c   if (root != NULL && action != NULL)
action            650 maint/gnulib/lib/tsearch.c     trecurse (root, action, 0);
action            347 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c     struct sigaction action;
action            348 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c     action.sa_handler = sigint_handler;
action            349 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c     action.sa_flags = SA_RESTART | SA_NODEFER;
action            350 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c     sigemptyset (&action.sa_mask);
action            351 maint/gnulib/tests/test-asyncsafe-linked_list-strong.c     ASSERT (sigaction (MY_SIGNAL, &action, NULL) == 0);
action            469 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c     struct sigaction action;
action            470 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c     action.sa_handler = sigint_handler;
action            471 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c     action.sa_flags = SA_RESTART | SA_NODEFER;
action            472 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c     sigemptyset (&action.sa_mask);
action            473 maint/gnulib/tests/test-asyncsafe-linked_list-weak.c     ASSERT (sigaction (MY_SIGNAL, &action, NULL) == 0);
action             72 maint/gnulib/tests/test-oset-c++.cc   ASSERT (set1.update (A, action, &data) == 1);
action             61 maint/gnulib/tests/test-oset-update.h     ASSERT (gl_oset_update (set1, B, action, &data) == 1);
action             83 maint/gnulib/tests/test-oset-update.h     ASSERT (gl_oset_update (set1, D, action, &data) == 0);
action            105 maint/gnulib/tests/test-oset-update.h     ASSERT (gl_oset_update (set1, A, action, &data) == -1);
action            124 maint/gnulib/tests/test-oset-update.h     ASSERT (gl_oset_update (set1, A, action, &data) == 0);
action             32 maint/gnulib/tests/test-supersede-fopen.h     struct supersede_final_action action;
action             36 maint/gnulib/tests/test-supersede-fopen.h                        &action);
action             43 maint/gnulib/tests/test-supersede-fopen.h     ASSERT (fclose_supersede (fp, &action) == 0);
action             59 maint/gnulib/tests/test-supersede-fopen.h     struct supersede_final_action action;
action             63 maint/gnulib/tests/test-supersede-fopen.h                        &action);
action             81 maint/gnulib/tests/test-supersede-fopen.h     ASSERT (fclose_supersede (fp, &action) == 0);
action            107 maint/gnulib/tests/test-supersede-fopen.h     struct supersede_final_action action;
action            111 maint/gnulib/tests/test-supersede-fopen.h                        &action);
action            115 maint/gnulib/tests/test-supersede-fopen.h     ASSERT (fclose_supersede (fp, &action) == 0);
action            131 maint/gnulib/tests/test-supersede-fopen.h         struct supersede_final_action action;
action            135 maint/gnulib/tests/test-supersede-fopen.h                            &action);
action            153 maint/gnulib/tests/test-supersede-fopen.h         ASSERT (fclose_supersede (fp, &action) == 0);
action            188 maint/gnulib/tests/test-supersede-fopen.h         struct supersede_final_action action;
action            192 maint/gnulib/tests/test-supersede-fopen.h                            &action);
action            196 maint/gnulib/tests/test-supersede-fopen.h         ASSERT (fclose_supersede (fp, &action) == 0);
action            217 maint/gnulib/tests/test-supersede-fopen.h         struct supersede_final_action action;
action            221 maint/gnulib/tests/test-supersede-fopen.h                            &action);
action            228 maint/gnulib/tests/test-supersede-fopen.h         ASSERT (fclose_supersede (fp, &action) == 0);
action            251 maint/gnulib/tests/test-supersede-fopen.h         struct supersede_final_action action;
action            255 maint/gnulib/tests/test-supersede-fopen.h                            &action);
action             32 maint/gnulib/tests/test-supersede-open.h     struct supersede_final_action action;
action             35 maint/gnulib/tests/test-supersede-open.h                              &action);
action             42 maint/gnulib/tests/test-supersede-open.h     ASSERT (close_supersede (fd, &action) == 0);
action             58 maint/gnulib/tests/test-supersede-open.h     struct supersede_final_action action;
action             61 maint/gnulib/tests/test-supersede-open.h                              &action);
action             79 maint/gnulib/tests/test-supersede-open.h     ASSERT (close_supersede (fd, &action) == 0);
action            105 maint/gnulib/tests/test-supersede-open.h     struct supersede_final_action action;
action            108 maint/gnulib/tests/test-supersede-open.h                              &action);
action            112 maint/gnulib/tests/test-supersede-open.h     ASSERT (close_supersede (fd, &action) == 0);
action            128 maint/gnulib/tests/test-supersede-open.h         struct supersede_final_action action;
action            132 maint/gnulib/tests/test-supersede-open.h                           &action);
action            150 maint/gnulib/tests/test-supersede-open.h         ASSERT (close_supersede (fd, &action) == 0);
action            185 maint/gnulib/tests/test-supersede-open.h         struct supersede_final_action action;
action            189 maint/gnulib/tests/test-supersede-open.h                           &action);
action            193 maint/gnulib/tests/test-supersede-open.h         ASSERT (close_supersede (fd, &action) == 0);
action            214 maint/gnulib/tests/test-supersede-open.h         struct supersede_final_action action;
action            218 maint/gnulib/tests/test-supersede-open.h                           &action);
action            225 maint/gnulib/tests/test-supersede-open.h         ASSERT (close_supersede (fd, &action) == 0);
action            248 maint/gnulib/tests/test-supersede-open.h         struct supersede_final_action action;
action            252 maint/gnulib/tests/test-supersede-open.h                           &action);
action            171 maint/gnulib/tests/test-tsearch.c mangle_tree (enum order how, enum action what, void **root, int lag)
action            471 tools/crm_mon_curses.c                                    stonith_action_str(event->action), event->target,
action            483 tools/crm_mon_curses.c                                    stonith_action_str(event->action), event->target,
action            491 tools/crm_mon_curses.c                                    stonith_action_str(event->action), event->target,
action            159 tools/crm_resource_print.c     const char *action = va_arg(args, const char *);
action            172 tools/crm_resource_print.c                   action,
action            186 tools/crm_resource_print.c                  action,
action            204 tools/crm_resource_print.c     const char *action G_GNUC_UNUSED = va_arg(args, const char *);
action            330 tools/crm_resource_print.c     const char *action = va_arg(args, const char *);
action            353 tools/crm_resource_print.c     out->message(out, "agent-status", status, action, rsc_name, class, provider,
action            357 tools/crm_resource_print.c     if (verbose == 0 && pcmk__str_eq(action, "validate-all", pcmk__str_casei)) {
action            389 tools/crm_resource_print.c     const char *action = va_arg(args, const char *);
action            398 tools/crm_resource_print.c                                                      "action", action,
action            426 tools/crm_resource_print.c     out->message(out, "agent-status", status, action, rsc_name, class, provider,
action           1585 tools/crm_resource_runtime.c static inline bool action_is_pending(pe_action_t *action)
action           1587 tools/crm_resource_runtime.c     if (pcmk_any_flags_set(action->flags, pe_action_optional|pe_action_pseudo)
action           1588 tools/crm_resource_runtime.c         || !pcmk_is_set(action->flags, pe_action_runnable)
action           1589 tools/crm_resource_runtime.c         || pcmk__str_eq("notify", action->task, pcmk__str_casei)) {
action           1606 tools/crm_resource_runtime.c     GList *action;
action           1608 tools/crm_resource_runtime.c     for (action = actions; action != NULL; action = action->next) {
action           1609 tools/crm_resource_runtime.c         pe_action_t *a = (pe_action_t *)action->data;
action           1621 tools/crm_resource_runtime.c     GList *action;
action           1624 tools/crm_resource_runtime.c     for (action = actions; action != NULL; action = action->next) {
action           1625 tools/crm_resource_runtime.c         pe_action_t *a = (pe_action_t *) action->data;
action           1726 tools/crm_resource_runtime.c     const char *action = NULL;
action           1729 tools/crm_resource_runtime.c         action = "validate-all";
action           1732 tools/crm_resource_runtime.c         action = "monitor";
action           1736 tools/crm_resource_runtime.c         action = rsc_action+6;
action           1738 tools/crm_resource_runtime.c         action = rsc_action;
action           1741 tools/crm_resource_runtime.c     return action;
action           1818 tools/crm_resource_runtime.c     const char *action = get_action(rsc_action);
action           1831 tools/crm_resource_runtime.c                                           rsc_class, rsc_prov, rsc_type, action,
action           1835 tools/crm_resource_runtime.c                  action, rsc_class, (rsc_prov? ":" : ""),
action           1860 tools/crm_resource_runtime.c         enum ocf_exitcode ocf_code = services_result2ocf(class, action, op->rc);
action            500 tools/crm_ticket.c ticket_warning(gchar *ticket_id, const char *action)
action            509 tools/crm_ticket.c     if (pcmk__str_eq(action, "grant", pcmk__str_casei)) {
action            532 tools/crm_ticket.c                        action, ticket_id, word);
action             42 tools/stonith_admin.c char action = 0;
action            417 tools/stonith_admin.c         action = 'K';
action            422 tools/stonith_admin.c         action = 'I';
action            426 tools/stonith_admin.c         action = 'L';
action            431 tools/stonith_admin.c         action = 'R';
action            436 tools/stonith_admin.c         action = 'Q';
action            441 tools/stonith_admin.c         action = 'D';
action            446 tools/stonith_admin.c         action = 's';
action            451 tools/stonith_admin.c         action = 'L';
action            458 tools/stonith_admin.c         action = 'M';
action            463 tools/stonith_admin.c         action = 'B';
action            470 tools/stonith_admin.c         action = 'F';
action            477 tools/stonith_admin.c         action = 'U';
action            483 tools/stonith_admin.c         action = 'C';
action            489 tools/stonith_admin.c         action = 'h';
action            494 tools/stonith_admin.c         action = 'H';
action            499 tools/stonith_admin.c         action = 'r';
action            504 tools/stonith_admin.c         action = 'd';
action            508 tools/stonith_admin.c     if (action == 0) {
action            541 tools/stonith_admin.c     switch (action) {