state             966 daemons/attrd/attrd_commands.c             if (pcmk__str_eq(peer->state, CRM_NODE_MEMBER, pcmk__str_casei)) {
state              60 daemons/controld/controld_based.c         if (fsa_cib_conn->state != cib_disconnected && last_resource_update != 0) {
state              72 daemons/controld/controld_based.c         if (fsa_cib_conn->state != cib_disconnected) {
state              84 daemons/controld/controld_callbacks.c         return pcmk__str_eq(node->state, CRM_NODE_MEMBER, pcmk__str_casei) ? 1: -1;
state              91 daemons/controld/controld_callbacks.c                && !pcmk__str_eq(node->state, CRM_NODE_MEMBER, pcmk__str_casei)) {
state             100 daemons/controld/controld_callbacks.c #define state_text(state) ((state)? (const char *)(state) : "in unknown state")
state             126 daemons/controld/controld_callbacks.c                      node->uname, state_text(node->state));
state             133 daemons/controld/controld_callbacks.c             CRM_CHECK(!pcmk__str_eq(data, node->state, pcmk__str_casei),
state             138 daemons/controld/controld_callbacks.c                      node->uname, state_text(node->state), state_text(data));
state             140 daemons/controld/controld_callbacks.c             if (pcmk__str_eq(CRM_NODE_MEMBER, node->state, pcmk__str_casei)) {
state             321 daemons/controld/controld_callbacks.c     fsa_cib_conn->state = cib_disconnected;
state             107 daemons/controld/controld_execd_state.c     lrm_state_t *state = NULL;
state             114 daemons/controld/controld_execd_state.c     state = calloc(1, sizeof(lrm_state_t));
state             115 daemons/controld/controld_execd_state.c     if (!state) {
state             119 daemons/controld/controld_execd_state.c     state->node_name = strdup(node_name);
state             121 daemons/controld/controld_execd_state.c     state->rsc_info_cache = g_hash_table_new_full(crm_str_hash,
state             124 daemons/controld/controld_execd_state.c     state->deletion_ops = g_hash_table_new_full(crm_str_hash, g_str_equal, free,
state             127 daemons/controld/controld_execd_state.c     state->pending_ops = g_hash_table_new_full(crm_str_hash, g_str_equal, free,
state             130 daemons/controld/controld_execd_state.c     state->resource_history = g_hash_table_new_full(crm_str_hash,
state             133 daemons/controld/controld_execd_state.c     state->metadata_cache = metadata_cache_new();
state             135 daemons/controld/controld_execd_state.c     g_hash_table_insert(lrm_state_table, (char *)state->node_name, state);
state             136 daemons/controld/controld_execd_state.c     return state;
state             781 daemons/controld/controld_execd_state.c                          node->uname, node->id, node->state);
state             195 daemons/controld/controld_fencing.c     if (peer->state == NULL) {
state             425 daemons/controld/controld_fencing.c         if (stonith_api->state != stonith_disconnected) {
state             601 daemons/controld/controld_fencing.c     if (stonith_api->state != stonith_disconnected) {
state             669 daemons/controld/controld_fencing.c         if (stonith_api->state != stonith_disconnected) {
state             695 daemons/controld/controld_fencing.c     if (stonith_api && (stonith_api->state != stonith_disconnected)) {
state             524 daemons/controld/controld_fsa.h const char *fsa_state2string(enum crmd_fsa_state state);
state             128 daemons/controld/controld_join_dc.c         if(member->expected == NULL && pcmk__str_eq(member->state, CRM_NODE_LOST, pcmk__str_casei)) {
state             133 daemons/controld/controld_membership.c     if (!node->state) {
state             154 daemons/controld/controld_membership.c     if ((flags & node_update_cluster) && node->state) {
state             156 daemons/controld/controld_membership.c                             pcmk__str_eq(node->state, CRM_NODE_MEMBER, pcmk__str_casei));
state             809 daemons/controld/controld_messages.c         crm_xml_add(xml, XML_NODE_IN_CLUSTER, node->state);
state             864 daemons/controld/controld_messages.c         crm_xml_add(reply, XML_NODE_IS_PEER, node->state);
state             179 daemons/controld/controld_remote_ra.c     xmlNode *update, *state;
state             214 daemons/controld/controld_remote_ra.c     state = create_node_state_update(node, node_update_cluster, update,
state             221 daemons/controld/controld_remote_ra.c     crm_xml_add(state, XML_NODE_IS_FENCED, "0");
state            1223 daemons/controld/controld_remote_ra.c     xmlNode *update, *state;
state            1231 daemons/controld/controld_remote_ra.c     state = create_node_state_update(node, node_update_none, update,
state            1233 daemons/controld/controld_remote_ra.c     crm_xml_add(state, XML_NODE_IS_MAINTENANCE, maintenance?"1":"0");
state             182 daemons/controld/controld_te_actions.c     xmlNode *state = NULL;
state             218 daemons/controld/controld_te_actions.c     state = create_xml_node(NULL, XML_CIB_TAG_STATE);
state             220 daemons/controld/controld_te_actions.c     crm_xml_add(state, XML_ATTR_UUID, target_uuid);
state             221 daemons/controld/controld_te_actions.c     crm_xml_add(state, XML_ATTR_UNAME, target);
state             223 daemons/controld/controld_te_actions.c     rsc = create_xml_node(state, XML_CIB_TAG_LRM);
state             256 daemons/controld/controld_te_actions.c     rc = fsa_cib_conn->cmds->update(fsa_cib_conn, XML_CIB_TAG_STATUS, state, call_options);
state             258 daemons/controld/controld_te_actions.c     free_xml(state);
state             400 daemons/controld/controld_te_callbacks.c process_node_state_diff(xmlNode *state, xmlNode *change, const char *op,
state             403 daemons/controld/controld_te_callbacks.c     xmlNode *lrm = first_named_child(state, XML_CIB_TAG_LRM);
state             405 daemons/controld/controld_te_callbacks.c     process_resource_updates(ID(state), lrm, change, op, xpath);
state             412 daemons/controld/controld_te_callbacks.c     for (xmlNode *state = pcmk__xml_first_child(status); state != NULL;
state             413 daemons/controld/controld_te_callbacks.c          state = pcmk__xml_next(state)) {
state             414 daemons/controld/controld_te_callbacks.c         process_node_state_diff(state, change, op, xpath);
state             164 daemons/controld/controld_throttle.c         char state = 0;
state             169 daemons/controld/controld_throttle.c                     &pid, comm, &state,
state             141 daemons/controld/controld_utils.c fsa_state2string(enum crmd_fsa_state state)
state             145 daemons/controld/controld_utils.c     switch (state) {
state             194 daemons/controld/controld_utils.c         crm_err("State %d is unknown", state);
state             758 daemons/controld/controld_utils.c     if(full && peer->state == NULL) {
state             144 daemons/controld/pacemaker-controld.c     enum crmd_fsa_state state;
state             155 daemons/controld/pacemaker-controld.c     state = s_crmd_fsa(C_STARTUP);
state             157 daemons/controld/pacemaker-controld.c     if (state == S_PENDING || state == S_STARTING) {
state             168 daemons/controld/pacemaker-controld.c                 crm_system_name, fsa_state2string(state));
state              49 daemons/execd/pacemaker-execd.c     stonith_api->state = stonith_disconnected;
state              57 daemons/execd/pacemaker-execd.c     if (stonith_api && stonith_api->state == stonith_disconnected) {
state             117 daemons/fenced/cts-fence-helper.c     if (st->state == stonith_disconnected) {
state              73 daemons/fenced/fenced_history.c     if ((op->state == st_failed) || (op->state == st_done)) {
state             142 daemons/fenced/fenced_history.c     gboolean a_pending = ((*a)->state != st_failed) && ((*a)->state != st_done);
state             143 daemons/fenced/fenced_history.c     gboolean b_pending = ((*b)->state != st_failed) && ((*b)->state != st_done);
state             199 daemons/fenced/fenced_history.c             if ((ops[i]->state == st_failed) || (ops[i]->state == st_done)) {
state             231 daemons/fenced/fenced_history.c         int state;
state             251 daemons/fenced/fenced_history.c         crm_element_value_int(xml_op, F_STONITH_STATE, &state);
state             252 daemons/fenced/fenced_history.c         op->state = (enum op_state) state;
state             312 daemons/fenced/fenced_history.c                 crm_xml_add_int(entry, F_STONITH_STATE, op->state);
state             355 daemons/fenced/fenced_history.c         if ((op->state != st_failed) &&
state             356 daemons/fenced/fenced_history.c             (op->state != st_done) &&
state             360 daemons/fenced/fenced_history.c             op->state = st_failed;
state             363 daemons/fenced/fenced_remote.c     crm_xml_add_int(notify_data, "state", op->state);
state             415 daemons/fenced/fenced_remote.c     crm_xml_add_int(data, "state", op->state);
state             443 daemons/fenced/fenced_remote.c         if (other->state == st_duplicate) {
state             444 daemons/fenced/fenced_remote.c             other->state = op->state;
state             453 daemons/fenced/fenced_remote.c                     other->originator, other->state);
state             501 daemons/fenced/fenced_remote.c                 rc, op->state);
state             581 daemons/fenced/fenced_remote.c     op->state = st_done;
state             606 daemons/fenced/fenced_remote.c     if (op->state == st_done) {
state             626 daemons/fenced/fenced_remote.c     op->state = st_failed;
state             639 daemons/fenced/fenced_remote.c     if (op->state == st_done) {
state             642 daemons/fenced/fenced_remote.c     } else if (op->state == st_exec) {
state             647 daemons/fenced/fenced_remote.c                   op->id, op->target, op->state);
state             651 daemons/fenced/fenced_remote.c                   op->id, op->target, op->state);
state             888 daemons/fenced/fenced_remote.c         if (other->state > st_exec) {
state             911 daemons/fenced/fenced_remote.c             other->state = st_failed;
state             937 daemons/fenced/fenced_remote.c         op->state = st_duplicate;
state             961 daemons/fenced/fenced_remote.c     op->state = st_done;
state            1025 daemons/fenced/fenced_remote.c     op->state = st_query;
state            1083 daemons/fenced/fenced_remote.c     if (op->state != st_duplicate) {
state            1123 daemons/fenced/fenced_remote.c         op->state = st_failed;
state            1126 daemons/fenced/fenced_remote.c     switch (op->state) {
state            1141 daemons/fenced/fenced_remote.c                        op->action, op->target, op->id, op->state);
state            1494 daemons/fenced/fenced_remote.c         op->state = st_done;
state            1505 daemons/fenced/fenced_remote.c     crm_trace("State for %s.%.8s: %s %d", op->target, op->client_name, op->id, op->state);
state            1564 daemons/fenced/fenced_remote.c         op->state = st_exec;
state            1611 daemons/fenced/fenced_remote.c                  op->action, op->target, op->client_name, op->state);
state            1612 daemons/fenced/fenced_remote.c         CRM_LOG_ASSERT(op->state < st_done);
state            1631 daemons/fenced/fenced_remote.c         if (op->state == st_query) {
state            1635 daemons/fenced/fenced_remote.c                      op->state);
state            1646 daemons/fenced/fenced_remote.c                      op->state);
state            1649 daemons/fenced/fenced_remote.c         op->state = st_failed;
state            1921 daemons/fenced/fenced_remote.c     if ((++op->replies >= replies_expected) && (op->state == st_query)) {
state            1938 daemons/fenced/fenced_remote.c         if (op->state == st_query && all_topology_devices_found(op)) {
state            1949 daemons/fenced/fenced_remote.c     } else if (op->state == st_query) {
state            1968 daemons/fenced/fenced_remote.c     } else if (result && (op->state == st_done)) {
state            1970 daemons/fenced/fenced_remote.c                  result->host, result->ndevices, op->state);
state            2038 daemons/fenced/fenced_remote.c             op->state = st_done;
state            2040 daemons/fenced/fenced_remote.c             op->state = st_failed;
state            2063 daemons/fenced/fenced_remote.c         if (op->state == st_done) {
state            2086 daemons/fenced/fenced_remote.c                 op->state = st_failed;
state            2094 daemons/fenced/fenced_remote.c         op->state = st_done;
state            2099 daemons/fenced/fenced_remote.c         op->state = st_failed;
state            2132 daemons/fenced/fenced_remote.c         } else if (rop->state != st_done) {
state             126 daemons/fenced/pacemaker-fenced.h     enum op_state state;
state             135 include/crm/cib/cib_types.h     enum cib_state state;
state              59 include/crm/cluster.h     char *state;                // @TODO change to enum
state             347 include/crm/cluster/internal.h                                   const char *state, uint64_t membership);
state              43 include/crm/common/ipc_controld.h     const char *state;
state              70 include/crm/common/ipc_controld.h             const char *state;
state              54 include/crm/common/ipc_pacemakerd.h             enum pcmk_pacemakerd_state state;
state              63 include/crm/common/ipc_pacemakerd.h     pcmk_pacemakerd_api_daemon_state_text2enum(const char *state);
state              65 include/crm/common/ipc_pacemakerd.h     *pcmk_pacemakerd_api_daemon_state_enum2text(enum pcmk_pacemakerd_state state);
state              25 include/crm/lrmd_internal.h                          const char *node, uint32_t nodeid, const char *state);
state              52 include/crm/pengine/pe_types.h     enum rsc_role_e (*state) (const pe_resource_t*, gboolean);
state             442 include/crm/pengine/pe_types.h     GHashTable *state;
state             509 include/crm/pengine/pe_types.h     enum pe_link_state state;
state             104 include/crm/stonith-ng.h     int state;
state             419 include/crm/stonith-ng.h     enum stonith_state state;
state              19 include/pcmki/pcmki_sched_notif.h void collect_notification_data(pe_resource_t *rsc, gboolean state,
state             130 include/pcmki/pcmki_transition.h const char *transition_status(enum transition_status state);
state             357 lib/cib/cib_client.c     new_cib->state = cib_disconnected;
state             594 lib/cib/cib_file.c         cib->state = cib_connected_command;
state             701 lib/cib/cib_file.c     cib->state = cib_disconnected;
state             741 lib/cib/cib_file.c     if (cib->state != cib_disconnected) {
state             818 lib/cib/cib_file.c     if (cib->state == cib_disconnected) {
state             137 lib/cib/cib_native.c     cib->state = cib_disconnected;
state             161 lib/cib/cib_native.c         cib->state = cib_connected_command;
state             165 lib/cib/cib_native.c         cib->state = cib_connected_command;
state             169 lib/cib/cib_native.c         cib->state = cib_connected_query;
state             268 lib/cib/cib_native.c     cib->state = cib_disconnected;
state             279 lib/cib/cib_native.c     if (cib->state != cib_disconnected) {
state             283 lib/cib/cib_native.c     if (cib->state == cib_disconnected) {
state             317 lib/cib/cib_native.c     if (cib->state == cib_disconnected) {
state             398 lib/cib/cib_native.c     if (op_reply == NULL && cib->state == cib_disconnected) {
state             433 lib/cib/cib_native.c         cib->state = cib_disconnected;
state             463 lib/cib/cib_native.c     if (cib->state != cib_disconnected) {
state             437 lib/cib/cib_remote.c         cib->state = cib_connected_command;
state             460 lib/cib/cib_remote.c     cib->state = cib_disconnected;
state             472 lib/cib/cib_remote.c     if (cib->state != cib_disconnected) {
state             502 lib/cib/cib_remote.c     if (cib->state == cib_disconnected) {
state             518 lib/cluster/corosync.c     } else if (!pcmk__str_eq(node->state, CRM_NODE_MEMBER, pcmk__str_casei)) {
state             519 lib/cluster/corosync.c         crm_trace("%s: state=%s", node->uname, node->state);
state             503 lib/cluster/cpg.c         if (peer && peer->state && strcmp(peer->state, CRM_NODE_MEMBER)) {
state              24 lib/cluster/election.c     enum election_result state;
state              39 lib/cluster/election.c     e->state = election_won;
state              61 lib/cluster/election.c         return e->state;
state             302 lib/cluster/election.c     e->state = election_in_progress;
state             579 lib/cluster/election.c         if (e->state != election_in_progress) {
state             583 lib/cluster/election.c             return e->state;
state             655 lib/cluster/election.c         return e->state;
state             682 lib/cluster/election.c             e->state = election_start;
state             683 lib/cluster/election.c             return e->state;
state             706 lib/cluster/election.c     e->state = election_lost;
state             707 lib/cluster/election.c     return e->state;
state             170 lib/cluster/membership.c     const char *state = NULL;
state             177 lib/cluster/membership.c         state = remote_state_from_cib(result);
state             187 lib/cluster/membership.c         if (state) {
state             188 lib/cluster/membership.c             crm_update_peer_state(__func__, node, state, 0);
state             194 lib/cluster/membership.c         if (state) {
state             195 lib/cluster/membership.c             crm_update_peer_state(__func__, node, state, 0);
state             383 lib/cluster/membership.c     free(node->state);
state             910 lib/cluster/membership.c crm_update_peer_state_iter(const char *source, crm_node_t * node, const char *state, uint64_t membership, GHashTableIter *iter)
state             916 lib/cluster/membership.c                       CRM_XS " source=%s", state, source);
state             919 lib/cluster/membership.c     is_member = pcmk__str_eq(state, CRM_NODE_MEMBER, pcmk__str_casei);
state             927 lib/cluster/membership.c     if (state && !pcmk__str_eq(node->state, state, pcmk__str_casei)) {
state             928 lib/cluster/membership.c         char *last = node->state;
state             930 lib/cluster/membership.c         node->state = strdup(state);
state             932 lib/cluster/membership.c                    " nodeid=%u previous=%s source=%s", node->uname, state,
state             957 lib/cluster/membership.c                   " nodeid=%u source=%s", node->uname, state, node->id, source);
state             978 lib/cluster/membership.c crm_update_peer_state(const char *source, crm_node_t * node, const char *state, uint64_t membership)
state             980 lib/cluster/membership.c     return crm_update_peer_state_iter(source, node, state, membership, NULL);
state             999 lib/cluster/membership.c             if (node->state) {
state             106 lib/common/ipc_controld.c     data->data.node_info.state = crm_element_value(msg_data, XML_NODE_IS_PEER);
state             140 lib/common/ipc_controld.c         node_info->state = crm_element_value(node, XML_NODE_IN_CLUSTER);
state              24 lib/common/ipc_pacemakerd.c     enum pcmk_pacemakerd_state state;
state              38 lib/common/ipc_pacemakerd.c pcmk_pacemakerd_api_daemon_state_text2enum(const char *state)
state              42 lib/common/ipc_pacemakerd.c     if (state == NULL) {
state              47 lib/common/ipc_pacemakerd.c         if (pcmk__str_eq(state, pacemakerd_state_str[i], pcmk__str_none)) {
state              56 lib/common/ipc_pacemakerd.c     enum pcmk_pacemakerd_state state)
state              58 lib/common/ipc_pacemakerd.c     if ((state >= pcmk_pacemakerd_state_init) &&
state              59 lib/common/ipc_pacemakerd.c         (state <= pcmk_pacemakerd_state_max)) {
state              60 lib/common/ipc_pacemakerd.c         return pacemakerd_state_str[state];
state              78 lib/common/ipc_pacemakerd.c     private->state = pcmk_pacemakerd_state_invalid;
state             104 lib/common/ipc_pacemakerd.c     private->state = pcmk_pacemakerd_state_invalid;
state             118 lib/common/ipc_pacemakerd.c     private->state = pcmk_pacemakerd_state_invalid;
state             174 lib/common/ipc_pacemakerd.c     reply_data.data.ping.state =
state             265 lib/fencing/st_client.c     stonith->state = stonith_disconnected;
state            1149 lib/fencing/st_client.c             crm_element_value_int(op, F_STONITH_STATE, &kvp->state);
state            1269 lib/fencing/st_client.c     stonith->state = stonith_disconnected;
state            1481 lib/fencing/st_client.c     stonith->state = stonith_connected_command;
state            1565 lib/fencing/st_client.c     if (stonith->state != stonith_disconnected) {
state            1861 lib/fencing/st_client.c     if ((stonith->state == stonith_disconnected) || (native->token == NULL)) {
state            1951 lib/fencing/st_client.c         stonith->state = stonith_disconnected;
state            1992 lib/fencing/st_client.c     if (stonith->state != stonith_disconnected) {
state            1997 lib/fencing/st_client.c     if (stonith->state == stonith_disconnected) {
state            2131 lib/fencing/st_client.c     new_stonith->state = stonith_disconnected;
state            2331 lib/fencing/st_client.c                 if (hp->state != st_done && hp->state != st_failed) {
state            2335 lib/fencing/st_client.c             } else if (hp->state == st_done) {
state            2549 lib/fencing/st_client.c          if ((prev_hp->state == st_done) &&
state            2577 lib/fencing/st_client.c         if ((hp->state == st_done) || (hp->state == st_failed)) {
state            2632 lib/fencing/st_client.c     return history->state != st_failed && history->state != st_done;
state            2638 lib/fencing/st_client.c     return history->state == GPOINTER_TO_INT(user_data);
state            2644 lib/fencing/st_client.c     return history->state != GPOINTER_TO_INT(user_data);
state              43 lib/fencing/st_output.c         if (hp->state != st_failed) {
state              75 lib/fencing/st_output.c         if (hp->state != st_failed) {
state             214 lib/fencing/st_output.c         if ((hp->state == st_failed) || (hp->state == st_done)) {
state             234 lib/fencing/st_output.c     switch(event->state) {
state             284 lib/fencing/st_output.c     switch (event->state) {
state             323 lib/fencing/st_output.c     switch (event->state) {
state             333 lib/fencing/st_output.c             char *state = crm_itoa(event->state);
state             335 lib/fencing/st_output.c             xmlSetProp(node, (pcmkXmlStr) "extended-status", (pcmkXmlStr) state);
state             336 lib/fencing/st_output.c             free(state);
state             350 lib/fencing/st_output.c     if (event->state == st_failed || event->state == st_done) {
state             276 lib/lrmd/lrmd_alerts.c                      const char *node, uint32_t nodeid, const char *state)
state             286 lib/lrmd/lrmd_alerts.c     params = alert_key2param(params, PCMK__alert_key_desc, state);
state             211 lib/pacemaker/pcmk_fence.c         if (hp->state == st_done) {
state              42 lib/pacemaker/pcmk_sched_allocate.c state2text(enum remote_connection_state state)
state              44 lib/pacemaker/pcmk_sched_allocate.c     switch (state) {
state            1876 lib/pacemaker/pcmk_sched_allocate.c         if (lh_rsc->fns->state(lh_rsc, TRUE) == RSC_ROLE_STOPPED && pcmk__str_eq(op_type, RSC_STOP, pcmk__str_casei)) {
state            1881 lib/pacemaker/pcmk_sched_allocate.c         } else if (lh_rsc->fns->state(lh_rsc, TRUE) == RSC_ROLE_SLAVE && pcmk__str_eq(op_type, RSC_DEMOTE, pcmk__str_casei)) {
state            2108 lib/pacemaker/pcmk_sched_allocate.c     enum remote_connection_state state = get_remote_node_state(action->node);
state            2125 lib/pacemaker/pcmk_sched_allocate.c               remote_rsc->id, state2text(state));
state            2139 lib/pacemaker/pcmk_sched_allocate.c             if (state == remote_state_failed) {
state            2149 lib/pacemaker/pcmk_sched_allocate.c             if(state == remote_state_alive) {
state            2153 lib/pacemaker/pcmk_sched_allocate.c             } else if(state == remote_state_failed) {
state            2183 lib/pacemaker/pcmk_sched_allocate.c             if(state == remote_state_resting || state == remote_state_unknown) {
state            2202 lib/pacemaker/pcmk_sched_allocate.c                 if(task == monitor_rsc && state == remote_state_failed) {
state            2211 lib/pacemaker/pcmk_sched_allocate.c                 if(cluster_node && state == remote_state_stopped) {
state             996 lib/pacemaker/pcmk_sched_clone.c     enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, current);
state            1488 lib/pacemaker/pcmk_sched_graph.c     if (input->state == pe_link_dumped) {
state            1774 lib/pacemaker/pcmk_sched_graph.c             if (input->state == pe_link_dumped) {
state            1775 lib/pacemaker/pcmk_sched_graph.c                 last_input->state = pe_link_dumped;
state            1783 lib/pacemaker/pcmk_sched_graph.c             input->state = pe_link_not_dumped;
state            1853 lib/pacemaker/pcmk_sched_graph.c             input->state = pe_link_dumped;
state            2151 lib/pacemaker/pcmk_sched_native.c         enum rsc_role_e then_rsc_role = then_rsc ? then_rsc->fns->state(then_rsc, TRUE) : 0;
state             407 lib/pacemaker/pcmk_sched_notif.c collect_notification_data(pe_resource_t * rsc, gboolean state, gboolean activity,
state             421 lib/pacemaker/pcmk_sched_notif.c             collect_notification_data(child, state, activity, n_data);
state             426 lib/pacemaker/pcmk_sched_notif.c     if (state) {
state             172 lib/pacemaker/pcmk_sched_promotable.c     role = rsc->fns->state(rsc, FALSE);
state             195 lib/pacemaker/pcmk_sched_promotable.c         if (rsc->fns->state(rsc, TRUE) == RSC_ROLE_MASTER) {
state             252 lib/pacemaker/pcmk_sched_promotable.c     role1 = resource1->fns->state(resource1, TRUE);
state             253 lib/pacemaker/pcmk_sched_promotable.c     role2 = resource2->fns->state(resource2, TRUE);
state             694 lib/pacemaker/pcmk_sched_promotable.c         if (child_rsc->fns->state(child_rsc, TRUE) == RSC_ROLE_STARTED) {
state             709 lib/pacemaker/pcmk_sched_promotable.c         next_role = child_rsc->fns->state(child_rsc, FALSE);
state             998 lib/pacemaker/pcmk_sched_promotable.c             enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, FALSE);
state              72 lib/pacemaker/pcmk_trans_utils.c transition_status(enum transition_status state)
state              74 lib/pacemaker/pcmk_trans_utils.c     switch (state) {
state             456 lib/pengine/clone.c                 enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE);
state             532 lib/pengine/clone.c         const char *state = "Stopped";
state             536 lib/pengine/clone.c             state = "Stopped (disabled)";
state             569 lib/pengine/clone.c         short_print(stopped_list, child_text, state, NULL, options, print_data);
state             731 lib/pengine/clone.c                 enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE);
state             825 lib/pengine/clone.c         const char *state = "Stopped";
state             829 lib/pengine/clone.c             state = "Stopped (disabled)";
state             864 lib/pengine/clone.c             out->list_item(out, NULL, " %s: [ %s ]", state, stopped_list);
state             968 lib/pengine/clone.c                 enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE);
state            1060 lib/pengine/clone.c         const char *state = "Stopped";
state            1064 lib/pengine/clone.c             state = "Stopped (disabled)";
state            1099 lib/pengine/clone.c             out->list_item(out, state, "[ %s ]", stopped_list);
state            1151 lib/pengine/clone.c         enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, current);
state             373 lib/pengine/group.c         enum rsc_role_e role = child_rsc->fns->state(child_rsc, current);
state             919 lib/pengine/unpack.c         g_hash_table_replace(ticket->state, strdup(prop_name), strdup(prop_value));
state             922 lib/pengine/unpack.c     granted = g_hash_table_lookup(ticket->state, "granted");
state             931 lib/pengine/unpack.c     last_granted = g_hash_table_lookup(ticket->state, "last-granted");
state             936 lib/pengine/unpack.c     standby = g_hash_table_lookup(ticket->state, "standby");
state             969 lib/pengine/unpack.c unpack_handle_remote_attrs(pe_node_t *this_node, xmlNode *state, pe_working_set_t * data_set) 
state             975 lib/pengine/unpack.c     if (!pcmk__str_eq((const char *)state->name, XML_CIB_TAG_STATE, pcmk__str_none)) {
state             985 lib/pengine/unpack.c         crm_atoi(crm_element_value(state, XML_NODE_IS_MAINTENANCE), "0");
state             992 lib/pengine/unpack.c     attrs = find_xml_node(state, XML_TAG_TRANSIENT_NODEATTRS, FALSE);
state            1038 lib/pengine/unpack.c     for (xmlNode *state = pcmk__xe_first_child(status); state != NULL;
state            1039 lib/pengine/unpack.c          state = pcmk__xe_next(state)) {
state            1046 lib/pengine/unpack.c         if (!pcmk__str_eq((const char *)state->name, XML_CIB_TAG_STATE, pcmk__str_none)) {
state            1050 lib/pengine/unpack.c         id = crm_element_value(state, XML_ATTR_ID);
state            1051 lib/pengine/unpack.c         uname = crm_element_value(state, XML_ATTR_UNAME);
state            1095 lib/pengine/unpack.c                 unpack_handle_remote_attrs(this_node, state, data_set);
state            1117 lib/pengine/unpack.c             lrm_rsc = find_xml_node(state, XML_CIB_TAG_LRM, FALSE);
state            1134 lib/pengine/unpack.c     xmlNode *state = NULL;
state            1144 lib/pengine/unpack.c     for (state = pcmk__xe_first_child(status); state != NULL;
state            1145 lib/pengine/unpack.c          state = pcmk__xe_next(state)) {
state            1147 lib/pengine/unpack.c         if (pcmk__str_eq((const char *)state->name, XML_CIB_TAG_TICKETS, pcmk__str_none)) {
state            1148 lib/pengine/unpack.c             unpack_tickets_state((xmlNode *) state, data_set);
state            1150 lib/pengine/unpack.c         } else if (pcmk__str_eq((const char *)state->name, XML_CIB_TAG_STATE, pcmk__str_none)) {
state            1154 lib/pengine/unpack.c             id = crm_element_value(state, XML_ATTR_ID);
state            1155 lib/pengine/unpack.c             uname = crm_element_value(state, XML_ATTR_UNAME);
state            1173 lib/pengine/unpack.c                     crm_atoi(crm_element_value(state, XML_NODE_IS_FENCED), "0");
state            1184 lib/pengine/unpack.c             attrs = find_xml_node(state, XML_TAG_TRANSIENT_NODEATTRS, FALSE);
state            1204 lib/pengine/unpack.c             determine_online_status(state, this_node, data_set);
state            1949 lib/pengine/utils.c     if (ticket->state) {
state            1950 lib/pengine/utils.c         g_hash_table_destroy(ticket->state);
state            1986 lib/pengine/utils.c         ticket->state = crm_str_table_new();
state             695 lib/services/systemd.c systemd_unit_check(const char *name, const char *state, void *userdata)
state             699 lib/services/systemd.c     crm_trace("Resource %s has %s='%s'", op->rsc, name, state);
state             701 lib/services/systemd.c     if(state == NULL) {
state             704 lib/services/systemd.c     } else if (g_strcmp0(state, "active") == 0) {
state             706 lib/services/systemd.c     } else if (g_strcmp0(state, "reloading") == 0) {
state             708 lib/services/systemd.c     } else if (g_strcmp0(state, "activating") == 0) {
state             710 lib/services/systemd.c     } else if (g_strcmp0(state, "deactivating") == 0) {
state             733 lib/services/systemd.c         char *state;
state             735 lib/services/systemd.c         state = systemd_get_property(unit, "ActiveState",
state             740 lib/services/systemd.c             systemd_unit_check("ActiveState", state, op);
state             741 lib/services/systemd.c             free(state);
state             297 lib/services/upstart.c upstart_job_check(const char *name, const char *state, void *userdata)
state             301 lib/services/upstart.c     if (state && g_strcmp0(state, "running") == 0) {
state             457 lib/services/upstart.c             char *state = pcmk_dbus_get_property(
state             466 lib/services/upstart.c                 upstart_job_check("state", state, op);
state             467 lib/services/upstart.c                 free(state);
state             718 tools/crm_mon.c         if (st->state != stonith_disconnected) {
state             790 tools/crm_mon.c         && (st != NULL) && (st->state == stonith_disconnected)) {
state             807 tools/crm_mon.c     if (cib->state != cib_connected_query && cib->state != cib_connected_command) {
state            1555 tools/crm_mon.c                 if ((hp->state == st_done) || (hp->state == st_failed)) {
state            1559 tools/crm_mon.c                         (hp->state == np->state) &&
state            1560 tools/crm_mon.c                         ((hp->state == st_done) ||
state            1794 tools/crm_mon.c             xmlNode *state = NULL;
state            1797 tools/crm_mon.c             for (state = pcmk__xe_first_child(status); state != NULL;
state            1798 tools/crm_mon.c                  state = pcmk__xe_next(state)) {
state            1800 tools/crm_mon.c                 node = crm_element_value(state, XML_ATTR_UNAME);
state            1802 tools/crm_mon.c                     node = ID(state);
state            1804 tools/crm_mon.c                 handle_rsc_op(state, node);
state            1808 tools/crm_mon.c             xmlNode *state = NULL;
state            1810 tools/crm_mon.c             for (state = pcmk__xe_first_child(match); state != NULL;
state            1811 tools/crm_mon.c                  state = pcmk__xe_next(state)) {
state            1813 tools/crm_mon.c                 node = crm_element_value(state, XML_ATTR_UNAME);
state            1815 tools/crm_mon.c                     node = ID(state);
state            1817 tools/crm_mon.c                 handle_rsc_op(state, node);
state            2057 tools/crm_mon.c     if (st->state == stonith_disconnected) {
state            2106 tools/crm_mon.c     if (st->state == stonith_disconnected) {
state            2125 tools/crm_mon.c         if (st->state != stonith_disconnected) {
state             332 tools/crm_mon_curses.c     switch (event->state) {
state             233 tools/crm_node.c                 const char *state = (node->state? node->state : "");
state             237 tools/crm_node.c                            (unsigned long) node->id, uname, state);
state             240 tools/crm_node.c                 } else if (!strcmp(state, "member")) {
state             926 tools/crm_resource.c             enum rsc_role_e child_role = child->fns->state(child, TRUE);
state              27 tools/crm_resource_runtime.c             const char *state = "";
state              29 tools/crm_resource_runtime.c             if (!pe_rsc_is_clone(the_rsc) && the_rsc->fns->state(the_rsc, TRUE) == RSC_ROLE_MASTER) {
state              30 tools/crm_resource_runtime.c                 state = "Master";
state              32 tools/crm_resource_runtime.c             fprintf(stdout, "resource %s is running on: %s %s\n", rsc, node->details->uname, state);
state            1928 tools/crm_resource_runtime.c             enum rsc_role_e child_role = child->fns->state(child, TRUE);
state             668 tools/crm_simulate.c             if (before->state == pe_link_dumped) {
state              85 tools/crm_ticket.c     if (details && g_hash_table_size(ticket->state) > 0) {
state              93 tools/crm_ticket.c         g_hash_table_iter_init(&iter, ticket->state);
state             278 tools/crm_ticket.c     *attr_value = g_hash_table_lookup(ticket->state, attr_name);
state             312 tools/crmadmin.c                             reply->data.ping.state):"query failed",
state             316 tools/crmadmin.c                     (reply->data.ping.state != pcmk_pacemakerd_state_invalid)) {
state             320 tools/crmadmin.c                             reply->data.ping.state):