state 912 attrd/commands.c if (safe_str_eq(peer->state, CRM_NODE_MEMBER)) { state 1491 cib/callbacks.c if (safe_str_neq(peer->state, CRM_NODE_MEMBER)) { state 102 crmd/callbacks.c #define state_text(state) ((state)? (const char *)(state) : "in unknown state") state 130 crmd/callbacks.c node->uname, state_text(node->state)); state 138 crmd/callbacks.c CRM_CHECK(safe_str_neq(data, node->state), return); state 142 crmd/callbacks.c node->uname, state_text(node->state), state_text(data)); state 144 crmd/callbacks.c if (safe_str_eq(CRM_NODE_MEMBER, node->state)) { state 296 crmd/callbacks.c fsa_cib_conn->state = cib_disconnected; state 107 crmd/cib.c if (fsa_cib_conn->state != cib_disconnected && last_resource_update != 0) { state 118 crmd/cib.c if (fsa_cib_conn->state != cib_disconnected) { state 121 crmd/crmd_utils.h # define start_transition(state) do { \ state 122 crmd/crmd_utils.h switch(state) { \ state 494 crmd/fsa_defines.h extern const char *fsa_state2string(enum crmd_fsa_state state); state 426 crmd/heartbeat.c if (safe_str_neq(peer->state, CRM_NODE_MEMBER)) { state 141 crmd/join_dc.c crm_info("Not making an offer to %s: not active (%s)", member->uname, member->state); state 142 crmd/join_dc.c if(member->expected == NULL && safe_str_eq(member->state, CRM_NODE_LOST)) { state 121 crmd/lrm_state.c lrm_state_t *state = NULL; state 128 crmd/lrm_state.c state = calloc(1, sizeof(lrm_state_t)); state 129 crmd/lrm_state.c if (!state) { state 133 crmd/lrm_state.c state->node_name = strdup(node_name); state 135 crmd/lrm_state.c state->rsc_info_cache = g_hash_table_new_full(crm_str_hash, state 138 crmd/lrm_state.c state->deletion_ops = g_hash_table_new_full(crm_str_hash, state 141 crmd/lrm_state.c state->pending_ops = g_hash_table_new_full(crm_str_hash, state 144 crmd/lrm_state.c state->resource_history = g_hash_table_new_full(crm_str_hash, state 147 crmd/lrm_state.c state->metadata_cache = metadata_cache_new(); state 149 crmd/lrm_state.c g_hash_table_insert(lrm_state_table, (char *)state->node_name, state); state 150 crmd/lrm_state.c return state; state 752 crmd/lrm_state.c node->uname, node->id, node->state); state 160 crmd/main.c enum crmd_fsa_state state; state 172 crmd/main.c state = s_crmd_fsa(C_STARTUP); state 174 crmd/main.c if (state == S_PENDING || state == S_STARTING) { state 196 crmd/main.c crm_system_name, fsa_state2string(state)); state 149 crmd/membership.c if (!node->state) { state 170 crmd/membership.c if ((flags & node_update_cluster) && node->state) { state 172 crmd/membership.c safe_str_eq(node->state, CRM_NODE_MEMBER)); state 181 crmd/remote_lrmd_ra.c xmlNode *update, *state; state 212 crmd/remote_lrmd_ra.c state = create_node_state_update(node, node_update_cluster, update, state 219 crmd/remote_lrmd_ra.c crm_xml_add(state, XML_NODE_IS_FENCED, "0"); state 1196 crmd/remote_lrmd_ra.c xmlNode *update, *state; state 1204 crmd/remote_lrmd_ra.c state = create_node_state_update(node, node_update_none, update, state 1206 crmd/remote_lrmd_ra.c crm_xml_add(state, XML_NODE_IS_MAINTENANCE, maintenance?"1":"0"); state 114 crmd/te_actions.c if (peer->state == NULL) { state 312 crmd/te_actions.c xmlNode *state = NULL; state 354 crmd/te_actions.c state = create_xml_node(NULL, XML_CIB_TAG_STATE); state 356 crmd/te_actions.c crm_xml_add(state, XML_ATTR_UUID, target_uuid); state 357 crmd/te_actions.c crm_xml_add(state, XML_ATTR_UNAME, target); state 359 crmd/te_actions.c rsc = create_xml_node(state, XML_CIB_TAG_LRM); state 383 crmd/te_actions.c rc = fsa_cib_conn->cmds->update(fsa_cib_conn, XML_CIB_TAG_STATUS, state, call_options); state 389 crmd/te_actions.c free_xml(state); state 513 crmd/te_callbacks.c xmlNode *state = NULL; state 517 crmd/te_callbacks.c for (state = __xml_first_child(status); state != NULL; state = __xml_next(state)) { state 518 crmd/te_callbacks.c xmlNode *lrm = first_named_child(state, XML_CIB_TAG_LRM); state 520 crmd/te_callbacks.c node = ID(state); state 529 crmd/te_callbacks.c xmlNode *state = NULL; state 531 crmd/te_callbacks.c for (state = __xml_first_child(match); state != NULL; state = __xml_next(state)) { state 532 crmd/te_callbacks.c xmlNode *lrm = first_named_child(state, XML_CIB_TAG_LRM); state 534 crmd/te_callbacks.c node = ID(state); state 185 crmd/te_utils.c stonith_api->state = stonith_disconnected; state 402 crmd/te_utils.c if (stonith_api->state != stonith_disconnected) { state 158 crmd/throttle.c char state = 0; state 163 crmd/throttle.c &pid, comm, &state, state 342 crmd/utils.c fsa_state2string(enum crmd_fsa_state state) state 346 crmd/utils.c switch (state) { state 395 crmd/utils.c crm_err("State %d is unknown", state); state 1016 crmd/utils.c if(full && peer->state == NULL) { state 361 fencing/admin.c if (hp->state == st_done) { state 369 fencing/admin.c if (hp->state == st_failed) { state 375 fencing/admin.c } else if (hp->state == st_done) { state 385 fencing/admin.c hp->client, hp->origin, action_s, hp->target, hp->state, hp->completed); state 113 fencing/internal.h enum op_state state; state 350 fencing/remote.c crm_xml_add_int(notify_data, "state", op->state); state 397 fencing/remote.c crm_xml_add_int(data, "state", op->state); state 424 fencing/remote.c if (other->state == st_duplicate) { state 426 fencing/remote.c other->state = op->state; state 433 fencing/remote.c other->originator, other->state); state 477 fencing/remote.c op->client_name, op->originator, op->id, op->state, pcmk_strerror(rc)); state 548 fencing/remote.c op->state = st_done; state 573 fencing/remote.c if (op->state == st_done) { state 591 fencing/remote.c op->state = st_failed; state 604 fencing/remote.c if (op->state == st_done) { state 606 fencing/remote.c } else if (op->state == st_exec) { state 609 fencing/remote.c crm_debug("Query %s for %s complete: %d", op->id, op->target, op->state); state 612 fencing/remote.c crm_debug("Query %s for %s timed out: %d", op->id, op->target, op->state); state 840 fencing/remote.c if (other->state > st_exec) { state 862 fencing/remote.c other->state = st_failed; state 886 fencing/remote.c op->state = st_duplicate; state 910 fencing/remote.c op->state = st_done; state 997 fencing/remote.c op->state = st_query; state 1075 fencing/remote.c op->state = st_failed; state 1078 fencing/remote.c switch (op->state) { state 1093 fencing/remote.c op->action, op->target, op->id, op->state); state 1430 fencing/remote.c op->state = st_done; state 1441 fencing/remote.c crm_trace("State for %s.%.8s: %s %d", op->target, op->client_name, op->id, op->state); state 1496 fencing/remote.c op->state = st_exec; state 1542 fencing/remote.c op->target, op->action, op->client_name, op->state); state 1543 fencing/remote.c CRM_LOG_ASSERT(op->state < st_done); state 1562 fencing/remote.c if (op->state == st_query) { state 1565 fencing/remote.c op->state); state 1571 fencing/remote.c op->state); state 1574 fencing/remote.c op->state = st_failed; state 1840 fencing/remote.c if ((++op->replies >= replies_expected) && (op->state == st_query)) { state 1857 fencing/remote.c if (op->state == st_query && all_topology_devices_found(op)) { state 1868 fencing/remote.c } else if (op->state == st_query) { state 1887 fencing/remote.c } else if (result && (op->state == st_done)) { state 1889 fencing/remote.c result->host, result->ndevices, op->state); state 1957 fencing/remote.c op->state = st_done; state 1959 fencing/remote.c op->state = st_failed; state 1981 fencing/remote.c if (op->state == st_done) { state 2004 fencing/remote.c op->state = st_failed; state 2012 fencing/remote.c op->state = st_done; state 2017 fencing/remote.c op->state = st_failed; state 2078 fencing/remote.c crm_xml_add_int(entry, F_STONITH_STATE, op->state); state 2103 fencing/remote.c } else if (rop->state != st_done) { state 116 fencing/test.c if (st->state == stonith_disconnected) { state 149 include/crm/cib.h enum cib_state state; state 84 include/crm/cluster.h char *state; state 403 include/crm/cluster/internal.h crm_node_t *crm_update_ccm_node(const oc_ev_membership_t * oc, int offset, const char *state, state 452 include/crm/cluster/internal.h const char *addr, const char *state); state 456 include/crm/cluster/internal.h const char *state, int membership); state 29 include/crm/lrmd_alerts_internal.h const char *node, uint32_t nodeid, const char *state); state 49 include/crm/pengine/complex.h enum rsc_role_e (*state) (const resource_t *, gboolean); state 394 include/crm/pengine/status.h GHashTable *state; state 461 include/crm/pengine/status.h enum pe_link_state state; state 86 include/crm/stonith-ng.h int state; state 364 include/crm/stonith-ng.h enum stonith_state state; state 144 include/crm/transition.h const char *transition_status(enum transition_status state); state 711 lib/ais/plugin.c if (node->last_seen != membership_seq && ais_str_eq(CRM_NODE_LOST, node->state) == FALSE) { state 1161 lib/ais/plugin.c if (ais_str_eq(CRM_NODE_MEMBER, node->state)) { state 1691 lib/ais/plugin.c } else if (ais_str_eq(CRM_NODE_MEMBER, node->state)) { state 1772 lib/ais/plugin.c " addr=%s version=%s", node->id, node->uname ? node->uname : "-unknown-", node->state, state 290 lib/ais/utils.c ais_free(node->state); state 296 lib/ais/utils.c uint32_t procs, const char *uname, const char *state, const char *version) state 308 lib/ais/utils.c node->state = ais_strdup("unknown"); state 351 lib/ais/utils.c if (state != NULL) { state 352 lib/ais/utils.c if (node->state == NULL || ais_str_eq(node->state, state) == FALSE) { state 353 lib/ais/utils.c ais_free(node->state); state 354 lib/ais/utils.c node->state = ais_strdup(state); state 355 lib/ais/utils.c ais_info("Node %u/%s is now: %s", id, node->uname ? node->uname : "unknown", state); state 402 lib/ais/utils.c size += strlen(node->state); state 418 lib/ais/utils.c offset += snprintf(data + offset, size - offset, "state=\"%s\" ", node->state); state 85 lib/ais/utils.h uint32_t procs, const char *uname, const char *state, const char *version); state 366 lib/cib/cib_client.c new_cib->state = cib_disconnected; state 577 lib/cib/cib_file.c cib->state = cib_connected_command; state 685 lib/cib/cib_file.c cib->state = cib_disconnected; state 725 lib/cib/cib_file.c if (cib->state != cib_disconnected) { state 793 lib/cib/cib_file.c if (cib->state == cib_disconnected) { state 170 lib/cib/cib_native.c cib->state = cib_disconnected; state 194 lib/cib/cib_native.c cib->state = cib_connected_command; state 198 lib/cib/cib_native.c cib->state = cib_connected_command; state 202 lib/cib/cib_native.c cib->state = cib_connected_query; state 300 lib/cib/cib_native.c cib->state = cib_disconnected; state 311 lib/cib/cib_native.c if (cib->state != cib_disconnected) { state 315 lib/cib/cib_native.c if (cib->state == cib_disconnected) { state 349 lib/cib/cib_native.c if (cib->state == cib_disconnected) { state 434 lib/cib/cib_native.c if (op_reply == NULL && cib->state == cib_disconnected) { state 469 lib/cib/cib_native.c cib->state = cib_disconnected; state 499 lib/cib/cib_native.c if (cib->state != cib_disconnected) { state 432 lib/cib/cib_remote.c cib->state = cib_connected_command; state 455 lib/cib/cib_remote.c cib->state = cib_disconnected; state 467 lib/cib/cib_remote.c if (cib->state != cib_disconnected) { state 498 lib/cib/cib_remote.c if (cib->state == cib_disconnected) { state 117 lib/cib/cib_utils.c if (cib->state == cib_disconnected) { state 474 lib/cluster/corosync.c } else if (safe_str_neq(node->state, CRM_NODE_MEMBER)) { state 475 lib/cluster/corosync.c crm_trace("%s: state=%s", node->uname, node->state); state 402 lib/cluster/cpg.c if(peer && peer->state && crm_is_peer_active(peer) == FALSE) { state 25 lib/cluster/election.c enum election_result state; state 37 lib/cluster/election.c e->state = election_won; state 59 lib/cluster/election.c return e->state; state 225 lib/cluster/election.c e->state = election_in_progress; state 477 lib/cluster/election.c return e->state; state 490 lib/cluster/election.c e->state = election_start; state 491 lib/cluster/election.c return e->state; state 513 lib/cluster/election.c e->state = election_lost; state 514 lib/cluster/election.c return e->state; state 346 lib/cluster/heartbeat.c } else if (safe_str_neq(node->state, CRM_NODE_MEMBER)) { state 347 lib/cluster/heartbeat.c crm_trace("%s: state=%s", node->uname, node->state); state 365 lib/cluster/heartbeat.c crm_update_ccm_node(const oc_ev_membership_t * oc, int offset, const char *state, uint64_t seq) state 378 lib/cluster/heartbeat.c uuid, oc->m_array[offset].node_uname, NULL, state); state 383 lib/cluster/heartbeat.c if (safe_str_eq(CRM_NODE_MEMBER, state)) { state 257 lib/cluster/legacy.c const char *state = crm_element_value(member, "state"); state 271 lib/cluster/legacy.c crm_update_peer(__FUNCTION__, id, born, seen, votes, procs, uname, uname, addr, state); state 408 lib/cluster/legacy.c } else if(peer->state) { state 939 lib/cluster/legacy.c } else if (safe_str_neq(node->state, CRM_NODE_MEMBER)) { state 940 lib/cluster/legacy.c crm_trace("%s: state=%s", node->uname, node->state); state 193 lib/cluster/membership.c const char *state = NULL; state 200 lib/cluster/membership.c state = remote_state_from_cib(result); state 210 lib/cluster/membership.c if (state) { state 211 lib/cluster/membership.c crm_update_peer_state(__FUNCTION__, node, state, 0); state 217 lib/cluster/membership.c if (state) { state 218 lib/cluster/membership.c crm_update_peer_state(__FUNCTION__, node, state, 0); state 412 lib/cluster/membership.c free(node->state); state 757 lib/cluster/membership.c const char *state) state 781 lib/cluster/membership.c if (crm_update_peer_proc(source, node, children, state) == NULL) { state 786 lib/cluster/membership.c if (state != NULL) { state 787 lib/cluster/membership.c if (crm_update_peer_state(source, node, state, seen) == NULL) { state 817 lib/cluster/membership.c " proc=%.32x", source, node->uname, node->id, node->state, state 1011 lib/cluster/membership.c crm_update_peer_state_iter(const char *source, crm_node_t * node, const char *state, int membership, GHashTableIter *iter) state 1017 lib/cluster/membership.c CRM_XS " source=%s", state, source); state 1020 lib/cluster/membership.c is_member = safe_str_eq(state, CRM_NODE_MEMBER); state 1025 lib/cluster/membership.c if (state && safe_str_neq(node->state, state)) { state 1026 lib/cluster/membership.c char *last = node->state; state 1030 lib/cluster/membership.c node->state = strdup(state); state 1032 lib/cluster/membership.c " nodeid=%u previous=%s source=%s", node->uname, state, state 1056 lib/cluster/membership.c " nodeid=%u source=%s", node->uname, state, node->id, source); state 1077 lib/cluster/membership.c crm_update_peer_state(const char *source, crm_node_t * node, const char *state, int membership) state 1079 lib/cluster/membership.c return crm_update_peer_state_iter(source, node, state, membership, NULL); state 1098 lib/cluster/membership.c if (node->state) { state 196 lib/fencing/st_client.c stonith->state = stonith_disconnected; state 1570 lib/fencing/st_client.c crm_element_value_int(op, F_STONITH_STATE, &kvp->state); state 1728 lib/fencing/st_client.c stonith->state = stonith_disconnected; state 1745 lib/fencing/st_client.c stonith->state = stonith_connected_command; state 1831 lib/fencing/st_client.c if (stonith->state != stonith_disconnected) { state 2242 lib/fencing/st_client.c if (stonith->state == stonith_disconnected) { state 2331 lib/fencing/st_client.c stonith->state = stonith_disconnected; state 2417 lib/fencing/st_client.c if (stonith->state != stonith_disconnected) { state 2422 lib/fencing/st_client.c if (stonith->state == stonith_disconnected) { state 2466 lib/fencing/st_client.c new_stonith->state = stonith_disconnected; state 2638 lib/fencing/st_client.c if (hp->state != st_done && hp->state != st_failed) { state 2642 lib/fencing/st_client.c } else if (hp->state == st_done) { state 258 lib/lrmd/lrmd_alerts.c const char *node, uint32_t nodeid, const char *state) state 268 lib/lrmd/lrmd_alerts.c params = alert_key2param(params, CRM_alert_desc, state); state 463 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); state 539 lib/pengine/clone.c const char *state = "Stopped"; state 543 lib/pengine/clone.c state = "Stopped (disabled)"; state 573 lib/pengine/clone.c short_print(stopped_list, child_text, state, NULL, options, print_data); state 627 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, current); state 225 lib/pengine/group.c enum rsc_role_e role = child_rsc->fns->state(child_rsc, current); state 875 lib/pengine/unpack.c g_hash_table_replace(ticket->state, strdup(prop_name), strdup(prop_value)); state 878 lib/pengine/unpack.c granted = g_hash_table_lookup(ticket->state, "granted"); state 887 lib/pengine/unpack.c last_granted = g_hash_table_lookup(ticket->state, "last-granted"); state 892 lib/pengine/unpack.c standby = g_hash_table_lookup(ticket->state, "standby"); state 987 lib/pengine/unpack.c g_hash_table_replace(ticket->state, state_key, strdup(value)); state 1004 lib/pengine/unpack.c unpack_handle_remote_attrs(node_t *this_node, xmlNode *state, pe_working_set_t * data_set) state 1011 lib/pengine/unpack.c if (crm_str_eq((const char *)state->name, XML_CIB_TAG_STATE, TRUE) == FALSE) { state 1021 lib/pengine/unpack.c crm_atoi(crm_element_value(state, XML_NODE_IS_MAINTENANCE), "0"); state 1028 lib/pengine/unpack.c attrs = find_xml_node(state, XML_TAG_TRANSIENT_NODEATTRS, FALSE); state 1073 lib/pengine/unpack.c for (xmlNode *state = __xml_first_child(status); state != NULL; state = __xml_next_element(state)) { state 1079 lib/pengine/unpack.c if (crm_str_eq((const char *)state->name, XML_CIB_TAG_STATE, TRUE) == FALSE) { state 1083 lib/pengine/unpack.c id = crm_element_value(state, XML_ATTR_ID); state 1084 lib/pengine/unpack.c uname = crm_element_value(state, XML_ATTR_UNAME); state 1127 lib/pengine/unpack.c unpack_handle_remote_attrs(this_node, state, data_set); state 1145 lib/pengine/unpack.c lrm_rsc = find_xml_node(state, XML_CIB_TAG_LRM, FALSE); state 1162 lib/pengine/unpack.c xmlNode *state = NULL; state 1172 lib/pengine/unpack.c for (state = __xml_first_child(status); state != NULL; state = __xml_next_element(state)) { state 1173 lib/pengine/unpack.c if (crm_str_eq((const char *)state->name, XML_CIB_TAG_TICKETS, TRUE)) { state 1174 lib/pengine/unpack.c xmlNode *xml_tickets = state; state 1194 lib/pengine/unpack.c if (crm_str_eq((const char *)state->name, XML_CIB_TAG_STATE, TRUE)) { state 1198 lib/pengine/unpack.c id = crm_element_value(state, XML_ATTR_ID); state 1199 lib/pengine/unpack.c uname = crm_element_value(state, XML_ATTR_UNAME); state 1216 lib/pengine/unpack.c crm_atoi(crm_element_value(state, XML_NODE_IS_FENCED), "0"); state 1227 lib/pengine/unpack.c attrs = find_xml_node(state, XML_TAG_TRANSIENT_NODEATTRS, FALSE); state 1247 lib/pengine/unpack.c determine_online_status(state, this_node, data_set); state 1799 lib/pengine/utils.c if (ticket->state) { state 1800 lib/pengine/utils.c g_hash_table_destroy(ticket->state); state 1835 lib/pengine/utils.c ticket->state = crm_str_table_new(); state 575 lib/services/systemd.c systemd_unit_check(const char *name, const char *state, void *userdata) state 579 lib/services/systemd.c crm_trace("Resource %s has %s='%s'", op->rsc, name, state); state 581 lib/services/systemd.c if(state == NULL) { state 584 lib/services/systemd.c } else if (g_strcmp0(state, "active") == 0) { state 586 lib/services/systemd.c } else if (g_strcmp0(state, "reloading") == 0) { state 588 lib/services/systemd.c } else if (g_strcmp0(state, "activating") == 0) { state 590 lib/services/systemd.c } else if (g_strcmp0(state, "deactivating") == 0) { state 613 lib/services/systemd.c char *state; state 615 lib/services/systemd.c state = systemd_get_property(unit, "ActiveState", state 620 lib/services/systemd.c systemd_unit_check("ActiveState", state, op); state 621 lib/services/systemd.c free(state); state 296 lib/services/upstart.c upstart_job_check(const char *name, const char *state, void *userdata) state 300 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 83 lib/transition/utils.c transition_status(enum transition_status state) state 85 lib/transition/utils.c switch (state) { state 148 lib/transition/utils.c const char *state = "Pending"; state 151 lib/transition/utils.c state = "Failed"; state 154 lib/transition/utils.c state = "Completed"; state 157 lib/transition/utils.c state = "In-flight"; state 160 lib/transition/utils.c state = "Ready"; state 185 lib/transition/utils.c char *desc = crm_strdup_printf("%s %s op %s", state, actiontype2text(action->type), key); state 60 lrmd/main.c stonith_api->state = stonith_disconnected; state 68 lrmd/main.c if (stonith_api && stonith_api->state == stonith_disconnected) { state 577 mcp/pacemaker.c crm_xml_add(xml, "state", node->state); state 1763 pengine/allocate.c if (lh_rsc->fns->state(lh_rsc, TRUE) == RSC_ROLE_STOPPED && safe_str_eq(op_type, RSC_STOP)) { state 1768 pengine/allocate.c } else if (lh_rsc->fns->state(lh_rsc, TRUE) == RSC_ROLE_SLAVE && safe_str_eq(op_type, RSC_DEMOTE)) { state 1994 pengine/allocate.c enum remote_connection_state state = get_remote_node_state(action->node); state 2015 pengine/allocate.c remote_rsc->id, state); state 2030 pengine/allocate.c if (state == remote_state_failed) { state 2043 pengine/allocate.c if(state == remote_state_resting) { state 2049 pengine/allocate.c if(state == remote_state_failed) { state 2068 pengine/allocate.c if(state == remote_state_resting || state == remote_state_unknown) { state 2085 pengine/allocate.c if(task == monitor_rsc && state == remote_state_failed) { state 2094 pengine/allocate.c if(cluster_node && state == remote_state_stopped) { state 956 pengine/clone.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, current); state 1417 pengine/graph.c if (wrapper->state == pe_link_dumped) { state 1420 pengine/graph.c } else if (wrapper->state == pe_link_dup) { state 1445 pengine/graph.c wrapper->state = pe_link_dup; state 1653 pengine/graph.c wrapper->state = pe_link_not_dumped; state 1743 pengine/graph.c wrapper->state = pe_link_dumped; state 173 pengine/master.c role = rsc->fns->state(rsc, FALSE); state 196 pengine/master.c if (rsc->fns->state(rsc, TRUE) == RSC_ROLE_MASTER) { state 244 pengine/master.c role1 = resource1->fns->state(resource1, TRUE); state 245 pengine/master.c role2 = resource2->fns->state(resource2, TRUE); state 699 pengine/master.c if (child_rsc->fns->state(child_rsc, TRUE) == RSC_ROLE_STARTED) { state 713 pengine/master.c next_role = child_rsc->fns->state(child_rsc, FALSE); state 1023 pengine/master.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, FALSE); state 1896 pengine/native.c enum rsc_role_e then_rsc_role = then_rsc ? then_rsc->fns->state(then_rsc, TRUE) : 0; state 436 pengine/notif.c collect_notification_data(resource_t * rsc, gboolean state, gboolean activity, state 450 pengine/notif.c collect_notification_data(child, state, activity, n_data); state 455 pengine/notif.c if (state) { state 28 pengine/notif.h void collect_notification_data(resource_t *rsc, gboolean state, state 443 pengine/ptest.c if (before->state == pe_link_dumped) { state 449 pengine/ptest.c } else if (before->state == pe_link_dup) { state 296 tools/crm_mon.c if (watch_fencing && st->state == stonith_disconnected) { state 305 tools/crm_mon.c if (cib->state != cib_connected_query && cib->state != cib_connected_command) { state 3969 tools/crm_mon.c xmlNode *state = NULL; state 3972 tools/crm_mon.c for (state = __xml_first_child(status); state != NULL; state = __xml_next(state)) { state 3973 tools/crm_mon.c node = crm_element_value(state, XML_ATTR_UNAME); state 3975 tools/crm_mon.c node = ID(state); state 3977 tools/crm_mon.c handle_rsc_op(state, node); state 3981 tools/crm_mon.c xmlNode *state = NULL; state 3983 tools/crm_mon.c for (state = __xml_first_child(match); state != NULL; state = __xml_next(state)) { state 3984 tools/crm_mon.c node = crm_element_value(state, XML_ATTR_UNAME); state 3986 tools/crm_mon.c node = ID(state); state 3988 tools/crm_mon.c handle_rsc_op(state, node); state 253 tools/crm_node.c peer->state = (char*)crm_element_value_copy(node, "state"); state 260 tools/crm_node.c fprintf(stdout, "%u %s %s\n", peer->id, peer->uname, peer->state?peer->state:""); state 263 tools/crm_node.c if(safe_str_eq(peer->state, CRM_NODE_MEMBER)) { state 268 tools/crm_node.c if(safe_str_eq(peer->state, CRM_NODE_MEMBER)) { state 726 tools/crm_node.c fprintf(stdout, "%u %s %s\n", node->id, node->uname, node->state); state 738 tools/crm_node.c if (node->uname && safe_str_eq(node->state, CRM_NODE_MEMBER)) { state 1030 tools/crm_resource.c enum rsc_role_e child_role = child->fns->state(child, TRUE); state 40 tools/crm_resource_runtime.c const char *state = ""; state 42 tools/crm_resource_runtime.c if (!pe_rsc_is_clone(the_rsc) && the_rsc->fns->state(the_rsc, TRUE) == RSC_ROLE_MASTER) { state 43 tools/crm_resource_runtime.c state = "Master"; state 45 tools/crm_resource_runtime.c fprintf(stdout, "resource %s is running on: %s %s\n", rsc, node->details->uname, state); state 1645 tools/crm_resource_runtime.c enum rsc_role_e child_role = child->fns->state(child, TRUE); state 1677 tools/crm_resource_runtime.c } else if(scope_master && rsc->fns->state(rsc, TRUE) != RSC_ROLE_MASTER) { state 347 tools/crm_simulate.c if (before->state == pe_link_dumped) { state 353 tools/crm_simulate.c } else if (before->state == pe_link_dup) { state 102 tools/crm_ticket.c if (details && g_hash_table_size(ticket->state) > 0) { state 110 tools/crm_ticket.c g_hash_table_iter_init(&iter, ticket->state); state 418 tools/crm_ticket.c *attr_value = g_hash_table_lookup(ticket->state, attr_name); state 476 tools/crmadmin.c const char *state = crm_element_value(data, "crmd_state"); state 481 tools/crmadmin.c state, crm_element_value(data, XML_PING_ATTR_STATUS)); state 483 tools/crmadmin.c if (BE_SILENT && state != NULL) { state 484 tools/crmadmin.c fprintf(stderr, "%s\n", state);