state 980 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 332 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 120 daemons/controld/controld_execd_state.c state->rsc_info_cache = pcmk__strkey_table(NULL, free_rsc_info); state 121 daemons/controld/controld_execd_state.c state->deletion_ops = pcmk__strkey_table(free, free_deletion_op); state 122 daemons/controld/controld_execd_state.c state->pending_ops = pcmk__strkey_table(free, free_recurring_op); state 123 daemons/controld/controld_execd_state.c state->resource_history = pcmk__strkey_table(NULL, history_free); state 124 daemons/controld/controld_execd_state.c state->metadata_cache = metadata_cache_new(); state 126 daemons/controld/controld_execd_state.c g_hash_table_insert(lrm_state_table, (char *)state->node_name, state); state 127 daemons/controld/controld_execd_state.c return state; state 766 daemons/controld/controld_execd_state.c node->uname, node->id, node->state); state 193 daemons/controld/controld_fencing.c if (peer->state == NULL) { state 423 daemons/controld/controld_fencing.c if (stonith_api->state != stonith_disconnected) { state 600 daemons/controld/controld_fencing.c if (stonith_api->state != stonith_disconnected) { state 668 daemons/controld/controld_fencing.c if (stonith_api->state != stonith_disconnected) { state 694 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 800 daemons/controld/controld_messages.c crm_xml_add(xml, XML_NODE_IN_CLUSTER, node->state); state 855 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 1229 daemons/controld/controld_remote_ra.c xmlNode *update, *state; state 1237 daemons/controld/controld_remote_ra.c state = create_node_state_update(node, node_update_none, update, state 1239 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 382 daemons/controld/controld_te_callbacks.c process_node_state_diff(xmlNode *state, xmlNode *change, const char *op, state 385 daemons/controld/controld_te_callbacks.c xmlNode *lrm = first_named_child(state, XML_CIB_TAG_LRM); state 387 daemons/controld/controld_te_callbacks.c process_resource_updates(ID(state), lrm, change, op, xpath); state 394 daemons/controld/controld_te_callbacks.c for (xmlNode *state = pcmk__xml_first_child(status); state != NULL; state 395 daemons/controld/controld_te_callbacks.c state = pcmk__xml_next(state)) { state 396 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 45 daemons/execd/pacemaker-execd.c stonith_api->state = stonith_disconnected; state 53 daemons/execd/pacemaker-execd.c if (stonith_api && stonith_api->state == stonith_disconnected) { state 118 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 298 daemons/fenced/fenced_history.c if (stonith__op_state_pending(op->state) state 299 daemons/fenced/fenced_history.c && !stonith__op_state_pending(remote_op->state)) { state 304 daemons/fenced/fenced_history.c op->id, stonith_op_state_str(op->state), state 305 daemons/fenced/fenced_history.c stonith_op_state_str(remote_op->state)); state 315 daemons/fenced/fenced_history.c } else if (!stonith__op_state_pending(op->state) state 316 daemons/fenced/fenced_history.c && stonith__op_state_pending(remote_op->state)) { state 321 daemons/fenced/fenced_history.c op->id, stonith_op_state_str(op->state), state 322 daemons/fenced/fenced_history.c stonith_op_state_str(remote_op->state)); state 349 daemons/fenced/fenced_history.c crm_xml_add_int(entry, F_STONITH_STATE, op->state); state 361 daemons/fenced/fenced_history.c if (stonith__op_state_pending(op->state) && state 365 daemons/fenced/fenced_history.c op->state = st_failed; state 362 daemons/fenced/fenced_remote.c crm_xml_add_int(notify_data, "state", op->state); state 414 daemons/fenced/fenced_remote.c crm_xml_add_int(data, "state", op->state); state 442 daemons/fenced/fenced_remote.c if (other->state == st_duplicate) { state 443 daemons/fenced/fenced_remote.c other->state = op->state; state 455 daemons/fenced/fenced_remote.c stonith_op_state_str(other->state), other->id); state 503 daemons/fenced/fenced_remote.c rc, stonith_op_state_str(op->state), op->id); state 584 daemons/fenced/fenced_remote.c op->state = st_done; state 609 daemons/fenced/fenced_remote.c if (op->state == st_done) { state 629 daemons/fenced/fenced_remote.c op->state = st_failed; state 642 daemons/fenced/fenced_remote.c if (op->state == st_done) { state 645 daemons/fenced/fenced_remote.c } else if (op->state == st_exec) { state 650 daemons/fenced/fenced_remote.c op->id, op->target, stonith_op_state_str(op->state)); state 654 daemons/fenced/fenced_remote.c op->id, op->target, stonith_op_state_str(op->state)); state 894 daemons/fenced/fenced_remote.c if (other->state > st_exec) { state 926 daemons/fenced/fenced_remote.c other->state = st_failed; state 954 daemons/fenced/fenced_remote.c op->state = st_duplicate; state 978 daemons/fenced/fenced_remote.c op->state = st_done; state 1042 daemons/fenced/fenced_remote.c op->state = st_query; state 1106 daemons/fenced/fenced_remote.c if (op->state != st_duplicate) { state 1146 daemons/fenced/fenced_remote.c op->state = st_failed; state 1149 daemons/fenced/fenced_remote.c switch (op->state) { state 1165 daemons/fenced/fenced_remote.c stonith_op_state_str(op->state), op->base_timeout); state 1520 daemons/fenced/fenced_remote.c op->state = st_done; state 1533 daemons/fenced/fenced_remote.c stonith_op_state_str(op->state)); state 1590 daemons/fenced/fenced_remote.c op->state = st_exec; state 1637 daemons/fenced/fenced_remote.c stonith_op_state_str(op->state)); state 1638 daemons/fenced/fenced_remote.c CRM_LOG_ASSERT(op->state < st_done); state 1656 daemons/fenced/fenced_remote.c if (op->state == st_query) { state 1660 daemons/fenced/fenced_remote.c stonith_op_state_str(op->state)); state 1671 daemons/fenced/fenced_remote.c stonith_op_state_str(op->state)); state 1674 daemons/fenced/fenced_remote.c op->state = st_failed; state 1946 daemons/fenced/fenced_remote.c if ((++op->replies >= replies_expected) && (op->state == st_query)) { state 1963 daemons/fenced/fenced_remote.c if (op->state == st_query && all_topology_devices_found(op)) { state 1974 daemons/fenced/fenced_remote.c } else if (op->state == st_query) { state 1994 daemons/fenced/fenced_remote.c } else if (result && (op->state == st_done)) { state 1998 daemons/fenced/fenced_remote.c stonith_op_state_str(op->state)); state 2067 daemons/fenced/fenced_remote.c op->state = st_done; state 2069 daemons/fenced/fenced_remote.c op->state = st_failed; state 2092 daemons/fenced/fenced_remote.c if (op->state == st_done) { state 2115 daemons/fenced/fenced_remote.c op->state = st_failed; state 2123 daemons/fenced/fenced_remote.c op->state = st_done; state 2128 daemons/fenced/fenced_remote.c op->state = st_failed; state 2158 daemons/fenced/fenced_remote.c } else if (rop->state != st_done) { state 128 daemons/fenced/pacemaker-fenced.h enum op_state state; state 135 include/crm/cib/cib_types.h enum cib_state state; state 55 include/crm/cluster.h char *state; // @TODO change to enum state 105 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 209 include/crm/fencing/internal.h stonith__op_state_pending(enum op_state state) state 211 include/crm/fencing/internal.h return state != st_failed && state != st_done; state 26 include/crm/lrmd_internal.h const char *node, uint32_t nodeid, const char *state); state 53 include/crm/pengine/pe_types.h enum rsc_role_e (*state) (const pe_resource_t*, gboolean); state 460 include/crm/pengine/pe_types.h GHashTable *state; state 532 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 446 include/crm/stonith-ng.h const char *stonith_op_state_str(enum op_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 364 lib/cib/cib_client.c new_cib->state = cib_disconnected; state 596 lib/cib/cib_file.c cib->state = cib_connected_command; state 703 lib/cib/cib_file.c cib->state = cib_disconnected; state 743 lib/cib/cib_file.c if (cib->state != cib_disconnected) { state 815 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 271 lib/cib/cib_native.c cib->state = cib_disconnected; state 282 lib/cib/cib_native.c if (cib->state != cib_disconnected) { state 286 lib/cib/cib_native.c if (cib->state == cib_disconnected) { state 320 lib/cib/cib_native.c if (cib->state == cib_disconnected) { state 401 lib/cib/cib_native.c if (op_reply == NULL && cib->state == cib_disconnected) { state 436 lib/cib/cib_native.c cib->state = cib_disconnected; state 466 lib/cib/cib_native.c if (cib->state != cib_disconnected) { state 414 lib/cib/cib_remote.c cib->state = cib_connected_command; state 437 lib/cib/cib_remote.c cib->state = cib_disconnected; state 449 lib/cib/cib_remote.c if (cib->state != cib_disconnected) { state 479 lib/cib/cib_remote.c if (cib->state == cib_disconnected) { state 521 lib/cluster/corosync.c } else if (!pcmk__str_eq(node->state, CRM_NODE_MEMBER, pcmk__str_casei)) { state 523 lib/cluster/corosync.c node->uname, node->state); state 728 lib/cluster/cpg.c if (peer && peer->state && strcmp(peer->state, CRM_NODE_MEMBER)) { state 26 lib/cluster/election.c enum election_result state; state 42 lib/cluster/election.c e->state = election_won; state 69 lib/cluster/election.c return (e == NULL)? election_error : e->state; state 308 lib/cluster/election.c e->state = election_in_progress; state 585 lib/cluster/election.c if (e->state != election_in_progress) { state 589 lib/cluster/election.c return e->state; state 661 lib/cluster/election.c return e->state; state 688 lib/cluster/election.c e->state = election_start; state 689 lib/cluster/election.c return e->state; state 712 lib/cluster/election.c e->state = election_lost; state 713 lib/cluster/election.c return e->state; state 197 lib/cluster/membership.c const char *state = NULL; state 204 lib/cluster/membership.c state = remote_state_from_cib(result); state 214 lib/cluster/membership.c if (state) { state 215 lib/cluster/membership.c pcmk__update_peer_state(__func__, node, state, 0); state 221 lib/cluster/membership.c if (state) { state 222 lib/cluster/membership.c pcmk__update_peer_state(__func__, node, state, 0); state 394 lib/cluster/membership.c free(node->state); state 1010 lib/cluster/membership.c update_peer_state_iter(const char *source, crm_node_t *node, const char *state, state 1017 lib/cluster/membership.c CRM_XS " source=%s", state, source); state 1020 lib/cluster/membership.c is_member = pcmk__str_eq(state, CRM_NODE_MEMBER, pcmk__str_casei); state 1028 lib/cluster/membership.c if (state && !pcmk__str_eq(node->state, state, pcmk__str_casei)) { state 1029 lib/cluster/membership.c char *last = node->state; state 1031 lib/cluster/membership.c node->state = strdup(state); state 1033 lib/cluster/membership.c " nodeid=%u previous=%s source=%s", node->uname, state, state 1058 lib/cluster/membership.c " nodeid=%u source=%s", node->uname, state, node->id, source); state 1080 lib/cluster/membership.c const char *state, uint64_t membership) state 1082 lib/cluster/membership.c return update_peer_state_iter(source, node, state, membership, NULL); state 1101 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 266 lib/fencing/st_client.c stonith->state = stonith_disconnected; state 1142 lib/fencing/st_client.c crm_element_value_int(op, F_STONITH_STATE, &kvp->state); state 1262 lib/fencing/st_client.c stonith->state = stonith_disconnected; state 1473 lib/fencing/st_client.c stonith->state = stonith_connected_command; state 1557 lib/fencing/st_client.c if (stonith->state != stonith_disconnected) { state 1854 lib/fencing/st_client.c if ((stonith->state == stonith_disconnected) || (native->token == NULL)) { state 1944 lib/fencing/st_client.c stonith->state = stonith_disconnected; state 1985 lib/fencing/st_client.c if (stonith->state != stonith_disconnected) { state 1990 lib/fencing/st_client.c if (stonith->state == stonith_disconnected) { state 2120 lib/fencing/st_client.c new_stonith->state = stonith_disconnected; state 2320 lib/fencing/st_client.c if (hp->state != st_done && hp->state != st_failed) { state 2324 lib/fencing/st_client.c } else if (hp->state == st_done) { state 2538 lib/fencing/st_client.c if ((prev_hp->state == st_done) && state 2566 lib/fencing/st_client.c if ((hp->state == st_done) || (hp->state == st_failed)) { state 2612 lib/fencing/st_client.c stonith_op_state_str(enum op_state state) state 2614 lib/fencing/st_client.c switch (state) { state 2641 lib/fencing/st_client.c return history->state != st_failed && history->state != st_done; state 2647 lib/fencing/st_client.c return history->state == GPOINTER_TO_INT(user_data); state 2653 lib/fencing/st_client.c return history->state != GPOINTER_TO_INT(user_data); state 44 lib/fencing/st_output.c if (hp->state != st_failed) { state 76 lib/fencing/st_output.c if (hp->state != st_failed) { state 217 lib/fencing/st_output.c if ((hp->state == st_failed) || (hp->state == st_done)) { state 237 lib/fencing/st_output.c switch(event->state) { state 287 lib/fencing/st_output.c switch (event->state) { state 332 lib/fencing/st_output.c switch (event->state) { state 342 lib/fencing/st_output.c char *state = pcmk__itoa(event->state); state 344 lib/fencing/st_output.c "extended-status", state, state 346 lib/fencing/st_output.c free(state); state 355 lib/fencing/st_output.c if (event->state == st_failed || event->state == st_done) { state 277 lib/lrmd/lrmd_alerts.c const char *node, uint32_t nodeid, const char *state) state 287 lib/lrmd/lrmd_alerts.c params = alert_key2param(params, PCMK__alert_key_desc, state); state 230 lib/pacemaker/pcmk_cluster_queries.c reply->data.ping.state):"query failed", state 209 lib/pacemaker/pcmk_fence.c if (hp->state == st_done) { state 541 lib/pacemaker/pcmk_fence.c if ((hp->state == st_done) || (hp->state == st_failed)) { state 545 lib/pacemaker/pcmk_fence.c (hp->state == np->state) && state 546 lib/pacemaker/pcmk_fence.c ((hp->state == st_done) || state 630 lib/pacemaker/pcmk_output.c const char *state = va_arg(args, const char *); state 635 lib/pacemaker/pcmk_output.c crm_str(state), (!pcmk__str_empty(last_updated))? state 638 lib/pacemaker/pcmk_output.c pcmk__formatted_printf(out, "%s\n", crm_str(state)); state 650 lib/pacemaker/pcmk_output.c const char *state = va_arg(args, const char *); state 654 lib/pacemaker/pcmk_output.c "state", crm_str(state), state 44 lib/pacemaker/pcmk_sched_allocate.c state2text(enum remote_connection_state state) state 46 lib/pacemaker/pcmk_sched_allocate.c switch (state) { state 1887 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 1892 lib/pacemaker/pcmk_sched_allocate.c } else if ((lh_rsc->fns->state(lh_rsc, TRUE) == RSC_ROLE_UNPROMOTED) state 2120 lib/pacemaker/pcmk_sched_allocate.c enum remote_connection_state state = get_remote_node_state(action->node); state 2137 lib/pacemaker/pcmk_sched_allocate.c remote_rsc->id, state2text(state)); state 2151 lib/pacemaker/pcmk_sched_allocate.c if (state == remote_state_failed) { state 2161 lib/pacemaker/pcmk_sched_allocate.c if(state == remote_state_alive) { state 2165 lib/pacemaker/pcmk_sched_allocate.c } else if(state == remote_state_failed) { state 2195 lib/pacemaker/pcmk_sched_allocate.c if(state == remote_state_resting || state == remote_state_unknown) { state 2214 lib/pacemaker/pcmk_sched_allocate.c if(task == monitor_rsc && state == remote_state_failed) { state 2223 lib/pacemaker/pcmk_sched_allocate.c if(cluster_node && state == remote_state_stopped) { state 1050 lib/pacemaker/pcmk_sched_clone.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, current); state 1532 lib/pacemaker/pcmk_sched_graph.c if (input->state == pe_link_dumped) { state 1818 lib/pacemaker/pcmk_sched_graph.c if (input->state == pe_link_dumped) { state 1819 lib/pacemaker/pcmk_sched_graph.c last_input->state = pe_link_dumped; state 1827 lib/pacemaker/pcmk_sched_graph.c input->state = pe_link_not_dumped; state 1897 lib/pacemaker/pcmk_sched_graph.c input->state = pe_link_dumped; state 2148 lib/pacemaker/pcmk_sched_native.c enum rsc_role_e then_rsc_role = then_rsc ? then_rsc->fns->state(then_rsc, TRUE) : 0; state 409 lib/pacemaker/pcmk_sched_notif.c collect_notification_data(pe_resource_t * rsc, gboolean state, gboolean activity, state 423 lib/pacemaker/pcmk_sched_notif.c collect_notification_data(child, state, activity, n_data); state 428 lib/pacemaker/pcmk_sched_notif.c if (state) { state 176 lib/pacemaker/pcmk_sched_promotable.c role = rsc->fns->state(rsc, FALSE); state 199 lib/pacemaker/pcmk_sched_promotable.c if (rsc->fns->state(rsc, TRUE) == RSC_ROLE_PROMOTED) { state 258 lib/pacemaker/pcmk_sched_promotable.c role1 = resource1->fns->state(resource1, TRUE); state 259 lib/pacemaker/pcmk_sched_promotable.c role2 = resource2->fns->state(resource2, TRUE); state 690 lib/pacemaker/pcmk_sched_promotable.c if (child_rsc->fns->state(child_rsc, TRUE) == RSC_ROLE_STARTED) { state 705 lib/pacemaker/pcmk_sched_promotable.c next_role = child_rsc->fns->state(child_rsc, FALSE); state 986 lib/pacemaker/pcmk_sched_promotable.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, FALSE); state 73 lib/pacemaker/pcmk_trans_utils.c transition_status(enum transition_status state) state 75 lib/pacemaker/pcmk_trans_utils.c switch (state) { state 480 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); state 560 lib/pengine/clone.c const char *state = "Stopped"; state 564 lib/pengine/clone.c state = "Stopped (disabled)"; state 597 lib/pengine/clone.c short_print(stopped_list, child_text, state, NULL, options, print_data); state 759 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); state 856 lib/pengine/clone.c const char *state = "Stopped"; state 860 lib/pengine/clone.c state = "Stopped (disabled)"; state 895 lib/pengine/clone.c out->list_item(out, NULL, "%s: [ %s ]", state, stopped_list); state 999 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); state 1092 lib/pengine/clone.c const char *state = "Stopped"; state 1096 lib/pengine/clone.c state = "Stopped (disabled)"; state 1131 lib/pengine/clone.c out->list_item(out, state, "[ %s ]", stopped_list); state 1183 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 908 lib/pengine/unpack.c g_hash_table_replace(ticket->state, strdup(prop_name), strdup(prop_value)); state 911 lib/pengine/unpack.c granted = g_hash_table_lookup(ticket->state, "granted"); state 920 lib/pengine/unpack.c last_granted = g_hash_table_lookup(ticket->state, "last-granted"); state 928 lib/pengine/unpack.c standby = g_hash_table_lookup(ticket->state, "standby"); state 961 lib/pengine/unpack.c unpack_handle_remote_attrs(pe_node_t *this_node, xmlNode *state, pe_working_set_t * data_set) state 967 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)state->name, XML_CIB_TAG_STATE, pcmk__str_none)) { state 976 lib/pengine/unpack.c pcmk__scan_min_int(crm_element_value(state, XML_NODE_IS_MAINTENANCE), state 984 lib/pengine/unpack.c attrs = find_xml_node(state, XML_TAG_TRANSIENT_NODEATTRS, FALSE); state 1030 lib/pengine/unpack.c unpack_transient_attributes(xmlNode *state, pe_node_t *node, state 1034 lib/pengine/unpack.c xmlNode *attrs = find_xml_node(state, XML_TAG_TRANSIENT_NODEATTRS, FALSE); state 1069 lib/pengine/unpack.c unpack_node_state(xmlNode *state, pe_working_set_t *data_set) state 1075 lib/pengine/unpack.c id = crm_element_value(state, XML_ATTR_ID); state 1082 lib/pengine/unpack.c uname = crm_element_value(state, XML_ATTR_UNAME); state 1102 lib/pengine/unpack.c pcmk__scan_min_int(crm_element_value(state, XML_NODE_IS_FENCED), state 1107 lib/pengine/unpack.c unpack_transient_attributes(state, this_node, data_set); state 1117 lib/pengine/unpack.c determine_online_status(state, this_node, data_set); state 1154 lib/pengine/unpack.c for (xmlNode *state = first_named_child(status, XML_CIB_TAG_STATE); state 1155 lib/pengine/unpack.c state != NULL; state = crm_next_same_xml(state)) { state 1157 lib/pengine/unpack.c const char *id = ID(state); state 1158 lib/pengine/unpack.c const char *uname = crm_element_value(state, XML_ATTR_UNAME); state 1231 lib/pengine/unpack.c unpack_handle_remote_attrs(this_node, state, data_set); state 1238 lib/pengine/unpack.c unpack_node_lrm(this_node, state, data_set); state 1251 lib/pengine/unpack.c xmlNode *state = NULL; state 1259 lib/pengine/unpack.c for (state = pcmk__xe_first_child(status); state != NULL; state 1260 lib/pengine/unpack.c state = pcmk__xe_next(state)) { state 1262 lib/pengine/unpack.c if (pcmk__str_eq((const char *)state->name, XML_CIB_TAG_TICKETS, pcmk__str_none)) { state 1263 lib/pengine/unpack.c unpack_tickets_state((xmlNode *) state, data_set); state 1265 lib/pengine/unpack.c } else if (pcmk__str_eq((const char *)state->name, XML_CIB_TAG_STATE, pcmk__str_none)) { state 1266 lib/pengine/unpack.c unpack_node_state(state, data_set); state 1868 lib/pengine/utils.c if (ticket->state) { state 1869 lib/pengine/utils.c g_hash_table_destroy(ticket->state); state 1903 lib/pengine/utils.c ticket->state = pcmk__strkey_table(free, free); state 699 lib/services/systemd.c systemd_unit_check(const char *name, const char *state, void *userdata) state 703 lib/services/systemd.c crm_trace("Resource %s has %s='%s'", op->rsc, name, state); state 705 lib/services/systemd.c if(state == NULL) { state 708 lib/services/systemd.c } else if (g_strcmp0(state, "active") == 0) { state 710 lib/services/systemd.c } else if (g_strcmp0(state, "reloading") == 0) { state 712 lib/services/systemd.c } else if (g_strcmp0(state, "activating") == 0) { state 714 lib/services/systemd.c } else if (g_strcmp0(state, "deactivating") == 0) { state 737 lib/services/systemd.c char *state; state 739 lib/services/systemd.c state = systemd_get_property(unit, "ActiveState", state 744 lib/services/systemd.c systemd_unit_check("ActiveState", state, op); state 745 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 828 tools/crm_mon.c st == NULL || st->state != stonith_disconnected) { state 858 tools/crm_mon.c if (cib->state == cib_connected_query || state 859 tools/crm_mon.c cib->state == cib_connected_command) { state 956 tools/crm_mon.c enum pcmk_pacemakerd_state *state = state 960 tools/crm_mon.c *state = pcmk_pacemakerd_state_invalid; state 982 tools/crm_mon.c *state = reply->data.ping.state; state 992 tools/crm_mon.c enum pcmk_pacemakerd_state state = pcmk_pacemakerd_state_invalid; state 999 tools/crm_mon.c (cib->state == cib_connected_query || state 1000 tools/crm_mon.c cib->state == cib_connected_command)) { state 1019 tools/crm_mon.c pcmk_register_ipc_callback(pacemakerd_api, pacemakerd_event_cb, (void *) &state); state 1031 tools/crm_mon.c switch (state) { state 1056 tools/crm_mon.c switch (state) { state 2012 tools/crm_mon.c xmlNode *state = NULL; state 2015 tools/crm_mon.c for (state = pcmk__xe_first_child(status); state != NULL; state 2016 tools/crm_mon.c state = pcmk__xe_next(state)) { state 2018 tools/crm_mon.c node = crm_element_value(state, XML_ATTR_UNAME); state 2020 tools/crm_mon.c node = ID(state); state 2022 tools/crm_mon.c handle_rsc_op(state, node); state 2026 tools/crm_mon.c xmlNode *state = NULL; state 2028 tools/crm_mon.c for (state = pcmk__xe_first_child(match); state != NULL; state 2029 tools/crm_mon.c state = pcmk__xe_next(state)) { state 2031 tools/crm_mon.c node = crm_element_value(state, XML_ATTR_UNAME); state 2033 tools/crm_mon.c node = ID(state); state 2035 tools/crm_mon.c handle_rsc_op(state, node); state 2297 tools/crm_mon.c if (st->state == stonith_disconnected) { state 2363 tools/crm_mon.c if (st->state == stonith_disconnected) { state 2391 tools/crm_mon.c if (st->state != stonith_disconnected) { state 444 tools/crm_mon_curses.c switch (event->state) { state 234 tools/crm_node.c const char *state = (node->state? node->state : ""); state 238 tools/crm_node.c (unsigned long) node->id, uname, state); state 241 tools/crm_node.c } else if (!strcmp(state, "member")) { state 976 tools/crm_resource.c enum rsc_role_e child_role = child->fns->state(child, TRUE); state 58 tools/crm_resource_runtime.c child->fns->state(child, TRUE) == RSC_ROLE_PROMOTED; state 91 tools/crm_resource_runtime.c ni->promoted = (rsc->fns->state(rsc, TRUE) == RSC_ROLE_PROMOTED); state 1904 tools/crm_resource_runtime.c enum rsc_role_e child_role = child->fns->state(child, TRUE); state 574 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 281 tools/crm_ticket.c *attr_value = g_hash_table_lookup(ticket->state, attr_name);