uname 290 daemons/attrd/attrd_cib.c peer->uname, peer->uuid, peer->id, v->nodeid); uname 50 daemons/attrd/attrd_corosync.c .peer = peer->uname, uname 122 daemons/attrd/attrd_corosync.c attribute_value_t *v = g_hash_table_lookup(a->values, attrd_cluster->uname); uname 199 daemons/attrd/attrd_corosync.c peer->uname, state_text(peer->state)); uname 207 daemons/attrd/attrd_corosync.c peer->uname, (gone? "no longer" : "now")); uname 213 daemons/attrd/attrd_corosync.c peer->uname, state_text(peer->state), state_text(data)); uname 224 daemons/attrd/attrd_corosync.c attrd_peer_remove(peer->uname, false, "loss"); uname 236 daemons/attrd/attrd_corosync.c cache_remote_node(peer->uname); uname 245 daemons/attrd/attrd_corosync.c crm_trace("Learned %s has node id %s", known_peer->uname, known_peer->uuid); uname 261 daemons/attrd/attrd_corosync.c && pcmk__str_eq(host, attrd_cluster->uname, pcmk__str_casei)) { uname 264 daemons/attrd/attrd_corosync.c attr, host, v->current, value, peer->uname); uname 271 daemons/attrd/attrd_corosync.c pcmk__s(value, "(unset)"), peer->uname, uname 276 daemons/attrd/attrd_corosync.c if (pcmk__str_eq(host, attrd_cluster->uname, pcmk__str_casei) uname 300 daemons/attrd/attrd_corosync.c attr, host, peer->uname, value); uname 303 daemons/attrd/attrd_corosync.c crm_trace("Unchanged %s[%s] from %s is %s", attr, host, peer->uname, value); uname 377 daemons/attrd/attrd_corosync.c if (!(v->seen) && pcmk__str_eq(v->nodename, attrd_cluster->uname, uname 465 daemons/attrd/attrd_corosync.c peer->uname); uname 536 daemons/attrd/attrd_corosync.c crm_debug("Syncing %s[%s] = %s to %s", a->id, v->nodename, v->current, peer?peer->uname:"everyone"); uname 541 daemons/attrd/attrd_corosync.c crm_debug("Syncing values to %s", peer?peer->uname:"everyone"); uname 36 daemons/attrd/attrd_elections.c writer = election_init(T_ATTRD, attrd_cluster->uname, 120000, uname 70 daemons/attrd/attrd_elections.c crm_xml_add(xml, F_CRM_HOST_FROM, peer->uname); uname 97 daemons/attrd/attrd_elections.c pcmk__str_update(&peer_writer, peer->uname); uname 108 daemons/attrd/attrd_elections.c crm_info("Ignoring election op from %s due to error", peer->uname); uname 121 daemons/attrd/attrd_elections.c && !pcmk__str_eq(peer->uname, attrd_cluster->uname, pcmk__str_casei)) { uname 123 daemons/attrd/attrd_elections.c peer->uname); uname 126 daemons/attrd/attrd_elections.c } else if (!pcmk__str_eq(peer->uname, peer_writer, pcmk__str_casei)) { uname 128 daemons/attrd/attrd_elections.c peer->uname, (peer_writer? peer_writer : "unset")); uname 129 daemons/attrd/attrd_elections.c pcmk__str_update(&peer_writer, peer->uname); uname 140 daemons/attrd/attrd_elections.c pcmk__str_update(&peer_writer, attrd_cluster->uname); uname 146 daemons/attrd/attrd_elections.c election_remove(writer, peer->uname); uname 147 daemons/attrd/attrd_elections.c if (peer_writer && pcmk__str_eq(peer->uname, peer_writer, pcmk__str_casei)) { uname 150 daemons/attrd/attrd_elections.c crm_notice("Lost attribute writer %s", peer->uname); uname 170 daemons/attrd/attrd_elections.c crm_debug("Checking election status upon loss of voter %s", peer->uname); uname 63 daemons/attrd/attrd_ipc.c host = attrd_cluster->uname; uname 174 daemons/attrd/attrd_ipc.c if (node && node->uname) { uname 176 daemons/attrd/attrd_ipc.c host = node->uname; uname 253 daemons/attrd/attrd_ipc.c pcmk__xe_add_node(xml, attrd_cluster->uname, attrd_cluster->nodeid); uname 120 daemons/attrd/attrd_messages.c if (!pcmk__str_eq(peer->uname, attrd_cluster->uname, pcmk__str_casei)) { uname 239 daemons/attrd/attrd_messages.c pcmk__xe_add_node(attrd_op, attrd_cluster->uname, attrd_cluster->nodeid); uname 242 daemons/attrd/attrd_messages.c ATTRD_PROTOCOL_VERSION, attrd_cluster->uname); uname 103 daemons/attrd/pacemaker-attrd.c char *xpath = crm_strdup_printf(XPATH_TRANSIENT, attrd_cluster->uname); uname 273 daemons/based/based_messages.c (origin? origin->uname : "lost")); uname 289 daemons/based/pacemaker-based.c node->uname); uname 334 daemons/based/pacemaker-based.c cib_our_uname = crm_cluster.uname; uname 48 daemons/controld/controld_alerts.c node->uname, node->id, node->state); uname 245 daemons/controld/controld_based.c controld_delete_node_state(const char *uname, enum controld_section_e section, uname 251 daemons/controld/controld_based.c CRM_CHECK(uname != NULL, return); uname 254 daemons/controld/controld_based.c xpath = crm_strdup_printf(XPATH_NODE_LRM, uname); uname 255 daemons/controld/controld_based.c desc = crm_strdup_printf("resource history for node %s", uname); uname 258 daemons/controld/controld_based.c xpath = crm_strdup_printf(XPATH_NODE_LRM_UNLOCKED, uname, uname); uname 260 daemons/controld/controld_based.c "locks) for node %s", uname); uname 263 daemons/controld/controld_based.c xpath = crm_strdup_printf(XPATH_NODE_ATTRS, uname); uname 264 daemons/controld/controld_based.c desc = crm_strdup_printf("transient attributes for node %s", uname); uname 267 daemons/controld/controld_based.c xpath = crm_strdup_printf(XPATH_NODE_ALL, uname); uname 268 daemons/controld/controld_based.c desc = crm_strdup_printf("all state for node %s", uname); uname 272 daemons/controld/controld_based.c uname, uname, uname); uname 274 daemons/controld/controld_based.c "for node %s", uname); uname 135 daemons/controld/controld_callbacks.c if (node->uname == NULL) { uname 144 daemons/controld/controld_callbacks.c node->uname, state_text(node->state)); uname 156 daemons/controld/controld_callbacks.c node->uname, state_text(node->state), state_text(data)); uname 161 daemons/controld/controld_callbacks.c remove_stonith_cleanup(node->uname); uname 164 daemons/controld/controld_callbacks.c controld_remove_voter(node->uname); uname 176 daemons/controld/controld_callbacks.c node->uname, (appeared? "now" : "no longer"), uname 191 daemons/controld/controld_callbacks.c controld_remove_voter(node->uname); uname 203 daemons/controld/controld_callbacks.c if (pcmk__str_eq(node->uname, fsa_our_uname, pcmk__str_casei) && !appeared) { uname 208 daemons/controld/controld_callbacks.c } else if (pcmk__str_eq(node->uname, fsa_our_dc, pcmk__str_casei) && crm_is_peer_active(node) == FALSE) { uname 222 daemons/controld/controld_callbacks.c controld_delete_node_state(node->uname, uname 235 daemons/controld/controld_callbacks.c controld_delete_node_state(node->uname, uname 263 daemons/controld/controld_callbacks.c (pcmk_is_set(down->flags, pcmk__graph_action_confirmed)? "after" : "before"), node->uname); uname 275 daemons/controld/controld_callbacks.c task, node->uname, down->id); uname 278 daemons/controld/controld_callbacks.c task, node->uname, down->id); uname 285 daemons/controld/controld_callbacks.c node->uname, uname 294 daemons/controld/controld_callbacks.c "current DC", node->uname); uname 297 daemons/controld/controld_callbacks.c node->uname); uname 309 daemons/controld/controld_callbacks.c node->uname); uname 328 daemons/controld/controld_callbacks.c crm_debug("Node state update not yet possible for %s", node->uname); uname 72 daemons/controld/controld_control.c controld_election_init(cluster->uname); uname 73 daemons/controld/controld_control.c fsa_our_uname = cluster->uname; uname 58 daemons/controld/controld_corosync.c peer->uname, peer->id); uname 35 daemons/controld/controld_election.c controld_election_init(const char *uname) uname 37 daemons/controld/controld_election.c fsa_election = election_init("DC", uname, 60000 /*60s*/, election_win_cb); uname 41 daemons/controld/controld_election.c controld_remove_voter(const char *uname) uname 43 daemons/controld/controld_election.c election_remove(fsa_election, uname); uname 45 daemons/controld/controld_election.c if (pcmk__str_eq(uname, fsa_our_dc, pcmk__str_casei)) { uname 235 daemons/controld/controld_fencing.c controld_delete_node_state(peer->uname, controld_section_all, uname 52 daemons/controld/controld_join_dc.c node->uname, current_join_id, crm_join_phase_str(last), uname 59 daemons/controld/controld_join_dc.c node->uname, current_join_id, crm_join_phase_str(phase), uname 65 daemons/controld/controld_join_dc.c current_join_id, node->uname, crm_join_phase_str(last), uname 127 daemons/controld/controld_join_dc.c (member->uname? member->uname : "with unknown name")); uname 143 daemons/controld/controld_join_dc.c if (member->uname == NULL) { uname 157 daemons/controld/controld_join_dc.c current_join_id, member->uname, uname 164 daemons/controld/controld_join_dc.c offer = create_dc_message(CRM_OP_JOIN_OFFER, member->uname); uname 169 daemons/controld/controld_join_dc.c crm_info("Sending join-%d offer to %s", current_join_id, member->uname); uname 623 daemons/controld/controld_join_dc.c const char *join_to = join_node->uname; uname 772 daemons/controld/controld_join_dc.c do_crm_log(level, "join-%d: %s=%s", current_join_id, peer->uname, uname 39 daemons/controld/controld_membership.c if(node && node->uname) { uname 40 daemons/controld/controld_membership.c if (pcmk__str_eq(fsa_our_uname, node->uname, pcmk__str_casei)) { uname 44 daemons/controld/controld_membership.c } else if (AM_I_DC == FALSE && pcmk__str_eq(node->uname, fsa_our_dc, pcmk__str_casei)) { uname 45 daemons/controld/controld_membership.c crm_warn("Our DC node (%s) left the cluster", node->uname); uname 134 daemons/controld/controld_membership.c crm_info("Node update for %s cancelled: no state, not seen yet", node->uname); uname 147 daemons/controld/controld_membership.c crm_info("Node update for %s cancelled: no id", node->uname); uname 152 daemons/controld/controld_membership.c crm_xml_add(node_state, XML_ATTR_UNAME, node->uname); uname 245 daemons/controld/controld_membership.c && node->uname uname 246 daemons/controld/controld_membership.c && pcmk__str_eq(node->uname, node_uname, pcmk__str_casei)) { uname 318 daemons/controld/controld_membership.c if ((node->uuid != NULL) && (node->uname != NULL)) { uname 319 daemons/controld/controld_membership.c crm_trace("Creating node entry for %s/%s", node->uname, node->uuid); uname 329 daemons/controld/controld_membership.c crm_xml_add(new_node, XML_ATTR_UNAME, node->uname); uname 335 daemons/controld/controld_membership.c "[@" XML_ATTR_UNAME "='", node->uname, "']" uname 465 daemons/controld/controld_messages.c ref, (node_to->uname? node_to->uname : "peer")); uname 586 daemons/controld/controld_messages.c const char *uname = NULL; uname 608 daemons/controld/controld_messages.c uname = crm_element_value(xml_op, XML_LRM_ATTR_TARGET); uname 610 daemons/controld/controld_messages.c if ((rsc == NULL) || (uname == NULL)) { uname 622 daemons/controld/controld_messages.c update_attrd_clear_failures(uname, rsc, op, interval_spec, is_remote_node); uname 625 daemons/controld/controld_messages.c lrm_clear_last_failure(rsc, uname, op, interval_ms); uname 804 daemons/controld/controld_messages.c crm_xml_add(xml, XML_ATTR_UNAME, node->uname); uname 860 daemons/controld/controld_messages.c crm_xml_add(reply_data, XML_ATTR_UNAME, node->uname); uname 59 daemons/controld/controld_te_actions.c if (pcmk__str_eq(fsa_our_uname, node->uname, pcmk__str_casei)) { uname 63 daemons/controld/controld_te_actions.c cmd = create_request(task, pseudo->xml, node->uname, uname 379 daemons/controld/controld_te_events.c const char *uname = NULL; uname 499 daemons/controld/controld_te_events.c uname = crm_element_value(event, XML_LRM_ATTR_TARGET); uname 500 daemons/controld/controld_te_events.c if (uname == NULL) { uname 501 daemons/controld/controld_te_events.c uname = "unknown node"; uname 507 daemons/controld/controld_te_events.c transition_num, action_num, id, uname, uname 514 daemons/controld/controld_te_events.c transition_num, action_num, id, uname, uname 522 daemons/controld/controld_te_events.c transition_num, action_num, id, uname, uname 528 daemons/controld/controld_te_events.c transition_num, action_num, id, uname, uname 536 daemons/controld/controld_te_events.c transition_num, action_num, id, uname, uname 303 daemons/controld/controld_te_utils.c const char *uname = crm_peer_uname(ID(reason)); uname 308 daemons/controld/controld_te_utils.c kind, op, (uname? uname : ID(reason)), abort_text, uname 111 daemons/controld/controld_utils.h void controld_delete_node_state(const char *uname, uname 32 daemons/controld/pacemaker-controld.h void controld_election_init(const char *uname); uname 33 daemons/controld/pacemaker-controld.h void controld_remove_voter(const char *uname); uname 2897 daemons/fenced/fenced_commands.c host = node->uname; uname 3007 daemons/fenced/fenced_commands.c } else if (peer->uname == NULL) { uname 3044 daemons/fenced/fenced_commands.c && !pcmk__str_eq(entry->uname, target, pcmk__str_casei)) { uname 3046 daemons/fenced/fenced_commands.c entry->uname); uname 3047 daemons/fenced/fenced_commands.c return entry->uname; uname 474 daemons/fenced/fenced_history.c target = node->uname; uname 1220 daemons/fenced/fenced_remote.c if (node && node->uname) { uname 1222 daemons/fenced/fenced_remote.c op->target = strdup(node->uname); uname 603 daemons/fenced/pacemaker-fenced.c if (node && strcmp(node->details->uname, stonith_our_uname) == 0) { uname 1697 daemons/fenced/pacemaker-fenced.c stonith_our_uname = strdup(cluster->uname); uname 1735 daemons/fenced/pacemaker-fenced.c free(cluster->uname); uname 51 include/crm/cib/util.h int query_node_uuid(cib_t * the_cib, const char *uname, char **uuid, int *is_remote_node); uname 53 include/crm/cib/util.h int query_node_uname(cib_t * the_cib, const char *uuid, char **uname); uname 53 include/crm/cluster.h char *uname; // Node name as known to cluster uname 79 include/crm/cluster.h char *uname; uname 134 include/crm/cluster.h crm_node_t *crm_get_peer_full(unsigned int id, const char *uname, int flags); uname 137 include/crm/cluster.h crm_node_t *crm_get_peer(unsigned int id, const char *uname); uname 27 include/crm/cluster/compat.h int crm_terminate_member(int nodeid, const char *uname, void *unused); uname 30 include/crm/cluster/compat.h int crm_terminate_member_no_mainloop(int nodeid, const char *uname, uname 69 include/crm/cluster/election_internal.h election_t *election_init(const char *name, const char *uname, guint period_ms, GSourceFunc cb); uname 76 include/crm/cluster/election_internal.h void election_remove(election_t *e, const char *uname); uname 125 include/crm/cluster/internal.h crm_node_t *pcmk__search_node_caches(unsigned int id, const char *uname, uname 127 include/crm/cluster/internal.h crm_node_t *pcmk__search_cluster_node_cache(unsigned int id, const char *uname); uname 130 include/crm/cluster/internal.h crm_node_t *pcmk__search_known_node_cache(unsigned int id, const char *uname, uname 43 include/crm/common/ipc_controld.h const char *uname; uname 70 include/crm/common/ipc_controld.h const char *uname; uname 557 include/crm/pengine/internal.h pe_node_t *pe_create_node(const char *id, const char *uname, const char *type, uname 659 include/crm/pengine/internal.h } else if (node->details->uname != NULL) { uname 660 include/crm/pengine/internal.h return node->details->uname; uname 216 include/crm/pengine/pe_types.h const char *uname; uname 32 include/crm/pengine/remote_internal.h xmlNode *pe_create_remote_xml(xmlNode *parent, const char *uname, uname 40 include/crm/pengine/status.h pe_node_t *pe_find_node(GList *node_list, const char *uname); uname 42 include/crm/pengine/status.h pe_node_t *pe_find_node_any(GList *node_list, const char *id, const char *uname); uname 584 include/crm/stonith-ng.h int stonith_api_kick(uint32_t nodeid, const char *uname, int timeout, bool off); uname 585 include/crm/stonith-ng.h time_t stonith_api_time(uint32_t nodeid, const char *uname, bool in_progress); uname 629 include/crm/stonith-ng.h typedef int (*st_api_kick_fn) (int nodeid, const char *uname, int timeout, bool off); uname 630 include/crm/stonith-ng.h typedef time_t (*st_api_time_fn) (int nodeid, const char *uname, bool in_progress); uname 621 lib/cib/cib_attrs.c query_node_uuid(cib_t * the_cib, const char *uname, char **uuid, int *is_remote_node) uname 628 lib/cib/cib_attrs.c CRM_ASSERT(uname != NULL); uname 630 lib/cib/cib_attrs.c host_lowercase = g_ascii_strdown(uname, -1); uname 654 lib/cib/cib_attrs.c uname, pcmk_strerror(rc)); uname 656 lib/cib/cib_attrs.c crm_info("Mapped node name '%s' to UUID %s", uname, (uuid? *uuid : "")); uname 662 lib/cib/cib_attrs.c query_node_uname(cib_t * the_cib, const char *uuid, char **uname) uname 670 lib/cib/cib_attrs.c CRM_ASSERT(uname != NULL); uname 686 lib/cib/cib_attrs.c *uname = NULL; uname 697 lib/cib/cib_attrs.c *uname = strdup(child_name); uname 237 lib/cluster/cluster.c if (node->uname != NULL) { uname 238 lib/cluster/cluster.c return node->uname; uname 258 lib/cluster/cluster.c node->uname, node->id, uuid); uname 260 lib/cluster/cluster.c return node->uname; uname 61 lib/cluster/corosync.c crm_info("Node %s is not yet known by Corosync", node->uname); uname 313 lib/cluster/corosync.c if (node->uname == NULL) { uname 476 lib/cluster/corosync.c cluster->uname = get_node_name(0); uname 477 lib/cluster/corosync.c if (cluster->uname == NULL) { uname 483 lib/cluster/corosync.c peer = crm_get_peer(cluster->nodeid, cluster->uname); uname 539 lib/cluster/corosync.c node->uname, node->state); uname 544 lib/cluster/corosync.c node->uname, node->processes); uname 631 lib/cluster/corosync.c if(node && node->uname && strcasecmp(node->uname, name) == 0) { uname 52 lib/cluster/cpg.c char uname[MAX_NAME]; uname 305 lib/cluster/cpg.c return host->uname; uname 460 lib/cluster/cpg.c } else if (msg->host.size != 0 && !pcmk__str_eq(msg->host.uname, local_name, pcmk__str_casei)) { uname 462 lib/cluster/cpg.c crm_trace("Not for us: %s != %s", msg->host.uname, local_name); uname 473 lib/cluster/cpg.c } else if (peer->uname == NULL) { uname 478 lib/cluster/cpg.c msg->sender.size = strlen(peer->uname); uname 479 lib/cluster/cpg.c memset(msg->sender.uname, 0, MAX_NAME); uname 480 lib/cluster/cpg.c memcpy(msg->sender.uname, peer->uname, msg->sender.size); uname 493 lib/cluster/cpg.c *from = msg->sender.uname; uname 529 lib/cluster/cpg.c crm_get_peer(msg->sender.id, msg->sender.uname); uname 606 lib/cluster/cpg.c } else if (peer->uname == NULL) { uname 609 lib/cluster/cpg.c return peer->uname; uname 969 lib/cluster/cpg.c if (node->uname) { uname 970 lib/cluster/cpg.c target = strdup(node->uname); uname 971 lib/cluster/cpg.c msg->host.size = strlen(node->uname); uname 972 lib/cluster/cpg.c memset(msg->host.uname, 0, MAX_NAME); uname 973 lib/cluster/cpg.c memcpy(msg->host.uname, node->uname, msg->host.size); uname 986 lib/cluster/cpg.c memset(msg->sender.uname, 0, MAX_NAME); uname 988 lib/cluster/cpg.c memcpy(msg->sender.uname, local_name, msg->sender.size); uname 29 lib/cluster/election.c char *uname; // Local node's name uname 89 lib/cluster/election.c election_init(const char *name, const char *uname, guint period_ms, GSourceFunc cb) uname 95 lib/cluster/election.c CRM_CHECK(uname != NULL, return NULL); uname 103 lib/cluster/election.c e->uname = strdup(uname); uname 104 lib/cluster/election.c if (e->uname == NULL) { uname 129 lib/cluster/election.c election_remove(election_t *e, const char *uname) uname 131 lib/cluster/election.c if ((e != NULL) && (uname != NULL) && (e->voted != NULL)) { uname 132 lib/cluster/election.c crm_trace("Discarding %s (no-)vote from lost peer %s", e->name, uname); uname 133 lib/cluster/election.c g_hash_table_remove(e->voted, uname); uname 171 lib/cluster/election.c free(e->uname); uname 300 lib/cluster/election.c our_node = crm_get_peer(0, e->uname); uname 375 lib/cluster/election.c crm_warn("* expected vote: %s", node->uname); uname 549 lib/cluster/election.c our_node = crm_get_peer(0, e->uname); uname 575 lib/cluster/election.c || pcmk__str_eq(vote.from, e->uname, pcmk__str_none)) { uname 614 lib/cluster/election.c } else if (strcasecmp(e->uname, vote.from) > 0) { uname 71 lib/cluster/membership.c "Peer", (peer)->uname, \ uname 79 lib/cluster/membership.c "Peer", (peer)->uname, \ uname 84 lib/cluster/membership.c static void update_peer_uname(crm_node_t *node, const char *uname); uname 313 lib/cluster/membership.c } else if (search->id == 0 && !pcmk__str_eq(node->uname, search->uname, pcmk__str_casei)) { uname 318 lib/cluster/membership.c (node->uname? node->uname : "unknown"), node->id); uname 344 lib/cluster/membership.c pcmk__str_update(&search.uname, name); uname 349 lib/cluster/membership.c (search.uname? " and/or uname=" : ""), uname 350 lib/cluster/membership.c (search.uname? search.uname : "")); uname 354 lib/cluster/membership.c search.id, (search.uname? " and/or uname=" : ""), uname 355 lib/cluster/membership.c (search.uname? search.uname : "")); uname 358 lib/cluster/membership.c free(search.uname); uname 389 lib/cluster/membership.c crm_trace("Destroying entry for node %u: %s", node->id, node->uname); uname 391 lib/cluster/membership.c free(node->uname); uname 483 lib/cluster/membership.c do_crm_log(level, "%s: Node %u/%s = %p - %s", caller, node->id, node->uname, node, id); uname 504 lib/cluster/membership.c pcmk__search_node_caches(unsigned int id, const char *uname, uint32_t flags) uname 508 lib/cluster/membership.c CRM_ASSERT(id > 0 || uname != NULL); uname 512 lib/cluster/membership.c if ((uname != NULL) && pcmk_is_set(flags, CRM_GET_PEER_REMOTE)) { uname 513 lib/cluster/membership.c node = g_hash_table_lookup(crm_remote_peer_cache, uname); uname 517 lib/cluster/membership.c node = pcmk__search_cluster_node_cache(id, uname); uname 532 lib/cluster/membership.c crm_get_peer_full(unsigned int id, const char *uname, int flags) uname 536 lib/cluster/membership.c CRM_ASSERT(id > 0 || uname != NULL); uname 541 lib/cluster/membership.c node = g_hash_table_lookup(crm_remote_peer_cache, uname); uname 545 lib/cluster/membership.c node = crm_get_peer(id, uname); uname 560 lib/cluster/membership.c pcmk__search_cluster_node_cache(unsigned int id, const char *uname) uname 567 lib/cluster/membership.c CRM_ASSERT(id > 0 || uname != NULL); uname 571 lib/cluster/membership.c if (uname != NULL) { uname 574 lib/cluster/membership.c if(node->uname && strcasecmp(node->uname, uname) == 0) { uname 575 lib/cluster/membership.c crm_trace("Name match: %s = %p", node->uname, node); uname 596 lib/cluster/membership.c crm_trace("Consistent: %p for %u/%s", by_id, id, uname); uname 599 lib/cluster/membership.c crm_trace("Only one: %p for %u/%s", by_name, id, uname); uname 604 lib/cluster/membership.c id, by_name->id, uname); uname 612 lib/cluster/membership.c crm_trace("Only one: %p for %u/%s", by_id, id, uname); uname 614 lib/cluster/membership.c if(uname && by_id->uname) { uname 617 lib/cluster/membership.c uname, by_id->uname, id, uname); uname 620 lib/cluster/membership.c } else if(uname && by_id->uname) { uname 621 lib/cluster/membership.c if(pcmk__str_eq(uname, by_id->uname, pcmk__str_casei)) { uname 622 lib/cluster/membership.c crm_notice("Node '%s' has changed its ID from %u to %u", by_id->uname, by_name->id, by_id->id); uname 626 lib/cluster/membership.c crm_warn("Node '%s' and '%s' share the same cluster nodeid: %u %s", by_id->uname, by_name->uname, id, uname); uname 633 lib/cluster/membership.c crm_warn("Node %u and %u share the same name: '%s'", by_id->id, by_name->id, uname); uname 659 lib/cluster/membership.c if (node->id == 0 || node->uname == NULL) { uname 671 lib/cluster/membership.c && existing_node->uname != NULL uname 672 lib/cluster/membership.c && strcasecmp(existing_node->uname, node->uname) == 0) { uname 679 lib/cluster/membership.c existing_node->id, existing_node->uname, node->id); uname 700 lib/cluster/membership.c crm_get_peer(unsigned int id, const char *uname) uname 705 lib/cluster/membership.c CRM_ASSERT(id > 0 || uname != NULL); uname 709 lib/cluster/membership.c node = pcmk__search_cluster_node_cache(id, uname); uname 713 lib/cluster/membership.c if ((node == NULL || node->uname == NULL) && (uname == NULL)) { uname 718 lib/cluster/membership.c uname = uname_lookup; uname 719 lib/cluster/membership.c crm_trace("Inferred a name of '%s' for node %u", uname, id); uname 723 lib/cluster/membership.c node = pcmk__search_cluster_node_cache(id, uname); uname 735 lib/cluster/membership.c uniqueid, node, uname, id, 1 + g_hash_table_size(crm_peer_cache)); uname 739 lib/cluster/membership.c if(id > 0 && uname && (node->id == 0 || node->uname == NULL)) { uname 740 lib/cluster/membership.c crm_info("Node %u is now known as %s", id, uname); uname 747 lib/cluster/membership.c if (uname && (node->uname == NULL)) { uname 748 lib/cluster/membership.c update_peer_uname(node, uname); uname 758 lib/cluster/membership.c crm_info("Cannot obtain a UUID for node %u/%s", id, node->uname); uname 779 lib/cluster/membership.c update_peer_uname(crm_node_t *node, const char *uname) uname 781 lib/cluster/membership.c CRM_CHECK(uname != NULL, uname 784 lib/cluster/membership.c crm_err("Bug: can't update node name to %s without node", uname); uname 787 lib/cluster/membership.c if (pcmk__str_eq(uname, node->uname, pcmk__str_casei)) { uname 788 lib/cluster/membership.c crm_debug("Node uname '%s' did not change", uname); uname 792 lib/cluster/membership.c for (const char *c = uname; *c; ++c) { uname 795 lib/cluster/membership.c uname); uname 800 lib/cluster/membership.c pcmk__str_update(&node->uname, uname); uname 897 lib/cluster/membership.c node->uname, node->processes, uname 905 lib/cluster/membership.c node->uname, node->processes, uname 912 lib/cluster/membership.c crm_info("%s: Node %s[%u] - all processes are now offline", source, node->uname, uname 915 lib/cluster/membership.c crm_info("%s: Node %s[%u] - %s is now %s", source, node->uname, node->id, uname 944 lib/cluster/membership.c crm_trace("%s: Node %s[%u] - %s is unchanged (%s)", source, node->uname, node->id, uname 980 lib/cluster/membership.c crm_info("%s: Node %s[%u] - expected state is now %s (was %s)", source, node->uname, node->id, uname 984 lib/cluster/membership.c crm_trace("%s: Node %s[%u] - expected state is unchanged (%s)", source, node->uname, uname 1029 lib/cluster/membership.c " nodeid=%u previous=%s source=%s", node->uname, state, uname 1043 lib/cluster/membership.c crm_notice("Purged 1 peer with id=%u and/or uname=%s from the membership cache", node->id, node->uname); uname 1047 lib/cluster/membership.c reap_crm_member(node->id, node->uname); uname 1054 lib/cluster/membership.c " nodeid=%u source=%s", node->uname, state, node->id, source); uname 1108 lib/cluster/membership.c node->uname, node->id); uname 1115 lib/cluster/membership.c find_known_node(const char *id, const char *uname) uname 1122 lib/cluster/membership.c if (uname) { uname 1125 lib/cluster/membership.c if (node->uname && strcasecmp(node->uname, uname) == 0) { uname 1126 lib/cluster/membership.c crm_trace("Name match: %s = %p", node->uname, node); uname 1147 lib/cluster/membership.c crm_trace("Consistent: %p for %s/%s", by_id, id, uname); uname 1150 lib/cluster/membership.c crm_trace("Only one: %p for %s/%s", by_name, id, uname); uname 1160 lib/cluster/membership.c crm_trace("Only one: %p for %s/%s", by_id, id, uname); uname 1162 lib/cluster/membership.c if (uname) { uname 1166 lib/cluster/membership.c } else if (uname && by_id->uname uname 1167 lib/cluster/membership.c && pcmk__str_eq(uname, by_id->uname, pcmk__str_casei)) { uname 1185 lib/cluster/membership.c uname? " with name " : "", uname 1186 lib/cluster/membership.c uname? uname : ""); uname 1196 lib/cluster/membership.c const char *uname = crm_element_value(xml_node, XML_ATTR_UNAME); uname 1199 lib/cluster/membership.c CRM_CHECK(id != NULL && uname !=NULL, return); uname 1200 lib/cluster/membership.c node = find_known_node(id, uname); uname 1208 lib/cluster/membership.c node->uname = strdup(uname); uname 1209 lib/cluster/membership.c CRM_ASSERT(node->uname != NULL); uname 1217 lib/cluster/membership.c pcmk__str_update(&node->uname, uname); uname 1257 lib/cluster/membership.c pcmk__search_known_node_cache(unsigned int id, const char *uname, uname 1263 lib/cluster/membership.c CRM_ASSERT(id > 0 || uname != NULL); uname 1265 lib/cluster/membership.c node = pcmk__search_node_caches(id, uname, flags); uname 1275 lib/cluster/membership.c node = find_known_node(id_str, uname); uname 1288 lib/cluster/membership.c crm_terminate_member(int nodeid, const char *uname, void *unused) uname 1290 lib/cluster/membership.c return stonith_api_kick(nodeid, uname, 120, TRUE); uname 1294 lib/cluster/membership.c crm_terminate_member_no_mainloop(int nodeid, const char *uname, int *connection) uname 1296 lib/cluster/membership.c return stonith_api_kick(nodeid, uname, 120, TRUE); uname 103 lib/common/ipc_controld.c data->data.node_info.uname = crm_element_value(msg_data, XML_ATTR_UNAME); uname 137 lib/common/ipc_controld.c node_info->uname = crm_element_value(node, XML_ATTR_UNAME); uname 811 lib/common/logging.c if (uname(memset(&res, 0, sizeof(res))) == 0 && *res.nodename != '\0') { uname 539 lib/common/utils.c return (uname(&hostinfo) < 0)? NULL : strdup(hostinfo.nodename); uname 1959 lib/fencing/st_client.c stonith_api_kick(uint32_t nodeid, const char *uname, int timeout, bool off) uname 1968 lib/fencing/st_client.c action, nodeid, uname); uname 1975 lib/fencing/st_client.c action, nodeid, uname, pcmk_strerror(rc), rc); uname 1977 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); uname 1982 lib/fencing/st_client.c if ((uname == NULL) && (nodeid > 0)) { uname 1990 lib/fencing/st_client.c action, nodeid, uname, pcmk_strerror(rc), rc); uname 1992 lib/fencing/st_client.c api_log(LOG_NOTICE, "Node %u/%s kicked: %s", nodeid, uname, action); uname 2001 lib/fencing/st_client.c stonith_api_time(uint32_t nodeid, const char *uname, bool in_progress) uname 2010 lib/fencing/st_client.c "API initialization failed", nodeid, uname); uname 2022 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); uname 2025 lib/fencing/st_client.c if ((uname == NULL) && (nodeid > 0)) { uname 2050 lib/fencing/st_client.c api_log(LOG_INFO, "Found %d entries for %u/%s: %d in progress, %d completed", entries, nodeid, uname, progress, completed); uname 2052 lib/fencing/st_client.c api_log(LOG_ERR, "Could not retrieve fence history for %u/%s: %s (%d)", nodeid, uname, pcmk_strerror(rc), rc); uname 2059 lib/fencing/st_client.c api_log(LOG_INFO, "Node %u/%s last kicked at: %ld", nodeid, uname, (long int)when); uname 36 lib/pacemaker/pcmk_graph_producer.c (((a)->node == NULL)? "no node" : (a)->node->details->uname) uname 225 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(xml, XML_LRM_ATTR_TARGET, action->node->details->uname); uname 228 lib/pacemaker/pcmk_graph_producer.c crm_xml_add(xml, XML_LRM_ATTR_ROUTER_NODE, router_node->details->uname); uname 451 lib/pacemaker/pcmk_graph_producer.c strdup(action->node->details->uname)); uname 670 lib/pacemaker/pcmk_graph_producer.c (allocated? allocated->details->uname : "<none>"), uname 671 lib/pacemaker/pcmk_graph_producer.c (input_node? input_node->details->uname : "<none>")); uname 682 lib/pacemaker/pcmk_graph_producer.c (action->node? action->node->details->uname : "<none>"), uname 683 lib/pacemaker/pcmk_graph_producer.c (input_node? input_node->details->uname : "<none>")); uname 769 lib/pacemaker/pcmk_graph_producer.c input->action->node? input->action->node->details->uname : "", uname 771 lib/pacemaker/pcmk_graph_producer.c action->node? action->node->details->uname : "", uname 784 lib/pacemaker/pcmk_graph_producer.c action->node? action->node->details->uname : "", uname 786 lib/pacemaker/pcmk_graph_producer.c init_action->node? init_action->node->details->uname : ""); uname 795 lib/pacemaker/pcmk_graph_producer.c action->node? action->node->details->uname : "", uname 797 lib/pacemaker/pcmk_graph_producer.c input->action->node? input->action->node->details->uname : "", uname 800 lib/pacemaker/pcmk_graph_producer.c init_action->node? init_action->node->details->uname : ""); uname 819 lib/pacemaker/pcmk_graph_producer.c input->action->node? input->action->node->details->uname : "", uname 821 lib/pacemaker/pcmk_graph_producer.c action->node? action->node->details->uname : "", uname 901 lib/pacemaker/pcmk_graph_producer.c ((action->node == NULL)? "" : action->node->details->uname)); uname 87 lib/pacemaker/pcmk_output.c "node", node->details->uname, uname 279 lib/pacemaker/pcmk_output.c "dest", destination->details->uname, uname 284 lib/pacemaker/pcmk_output.c crm_xml_add(xml, "node", destination->details->uname); uname 290 lib/pacemaker/pcmk_output.c "node", origin->details->uname, uname 295 lib/pacemaker/pcmk_output.c crm_xml_add(xml, "node", origin->details->uname); uname 301 lib/pacemaker/pcmk_output.c "source", origin->details->uname, uname 306 lib/pacemaker/pcmk_output.c crm_xml_add(xml, "source", origin->details->uname); uname 311 lib/pacemaker/pcmk_output.c "source", origin->details->uname, uname 312 lib/pacemaker/pcmk_output.c "dest", destination->details->uname, uname 319 lib/pacemaker/pcmk_output.c "source", origin->details->uname, uname 320 lib/pacemaker/pcmk_output.c "dest", destination->details->uname, uname 328 lib/pacemaker/pcmk_output.c "source", origin->details->uname, uname 335 lib/pacemaker/pcmk_output.c "source", origin->details->uname, uname 337 lib/pacemaker/pcmk_output.c "dest", destination->details->uname, uname 899 lib/pacemaker/pcmk_output.c if ((node != NULL) && (node->details->uname != NULL)) { uname 900 lib/pacemaker/pcmk_output.c node_desc = node->details->uname; uname 958 lib/pacemaker/pcmk_output.c "node", pcmk__s(node->details->uname, ""), uname 42 lib/pacemaker/pcmk_resource.c xpath = crm_strdup_printf(XPATH_OP_HISTORY, node->details->uname, rsc->id); uname 490 lib/pacemaker/pcmk_sched_actions.c (((a)->node == NULL)? "no node" : (a)->node->details->uname) uname 966 lib/pacemaker/pcmk_sched_actions.c node_uname = action->node->details->uname; uname 1059 lib/pacemaker/pcmk_sched_actions.c node->details->uname); uname 1565 lib/pacemaker/pcmk_sched_actions.c (node == NULL)? "inactive" : node->details->uname); uname 1917 lib/pacemaker/pcmk_sched_actions.c xpath = crm_strdup_printf(XPATH_NODE_HISTORY, node->details->uname); uname 85 lib/pacemaker/pcmk_sched_clone.c rsc->id, (prefer? prefer->details->uname: "none"), uname 1188 lib/pacemaker/pcmk_sched_colocation.c best_node = node->details->uname; uname 32 lib/pacemaker/pcmk_sched_migration.c source->details->uname); uname 35 lib/pacemaker/pcmk_sched_migration.c target->details->uname); uname 223 lib/pacemaker/pcmk_sched_nodes.c return strcmp(node1->details->uname, node2->details->uname); uname 460 lib/pacemaker/pcmk_sched_primitive.c (assign_to? assign_to->details->uname : "no node"), reason); uname 1453 lib/pacemaker/pcmk_sched_primitive.c if (strcmp(node->details->uname, rsc->lock_node->details->uname) != 0) { uname 111 lib/pacemaker/pcmk_sched_probes.c guest_rsc->allocated_to->details->uname) == NULL)); uname 812 lib/pacemaker/pcmk_sched_probes.c node->details->uname), uname 497 lib/pacemaker/pcmk_sched_recurring.c && pcmk__str_eq(stop_node->details->uname, node->details->uname, uname 568 lib/pacemaker/pcmk_sched_remote.c (ended_on? ended_on->details->uname : "none"), uname 577 lib/pacemaker/pcmk_sched_remote.c (began_on? began_on->details->uname : "none"), uname 586 lib/pacemaker/pcmk_sched_remote.c (began_on? began_on->details->uname : "none"), uname 619 lib/pacemaker/pcmk_sched_remote.c (began_on? began_on->details->uname : "none"), uname 631 lib/pacemaker/pcmk_sched_remote.c (ended_on? ended_on->details->uname : "none"), uname 719 lib/pacemaker/pcmk_sched_remote.c (gpointer) host->details->uname, uname 400 lib/pacemaker/pcmk_sched_utilization.c node->details->uname); uname 53 lib/pacemaker/pcmk_simulate.c action_host = action->node->details->uname; uname 437 lib/pengine/bundle.c disallow_node(pe_resource_t *rsc, const char *uname) uname 439 lib/pengine/bundle.c gpointer match = g_hash_table_lookup(rsc->allowed_nodes, uname); uname 446 lib/pengine/bundle.c g_list_foreach(rsc->children, (GFunc) disallow_node, (gpointer) uname); uname 460 lib/pengine/bundle.c const char *uname = NULL; uname 500 lib/pengine/bundle.c uname = ID(xml_remote); uname 506 lib/pengine/bundle.c node = pe_find_node(parent->cluster->nodes, uname); uname 508 lib/pengine/bundle.c node = pe_create_node(uname, uname, "remote", "-INFINITY", uname 533 lib/pengine/bundle.c (gpointer) uname); uname 741 lib/pengine/bundle.c crm_xml_add(xml, field, node->details->uname); uname 744 lib/pengine/bundle.c return node->details->uname; uname 655 lib/pengine/clone.c pcmk__add_word(&list_text, 1024, host->details->uname); uname 671 lib/pengine/clone.c pcmk__add_word(&list_text, 1024, host->details->uname); uname 726 lib/pengine/clone.c if (pe_find_node(rsc->running_on, node->details->uname) == NULL) { uname 727 lib/pengine/clone.c pcmk__add_word(&stopped_list, 1024, node->details->uname); uname 948 lib/pengine/clone.c if (!pcmk__str_in_list(host->details->uname, only_node, uname 953 lib/pengine/clone.c pcmk__add_word(&list_text, 1024, host->details->uname); uname 971 lib/pengine/clone.c if (!pcmk__str_in_list(host->details->uname, only_node, uname 976 lib/pengine/clone.c pcmk__add_word(&list_text, 1024, host->details->uname); uname 1030 lib/pengine/clone.c if (pe_find_node(rsc->running_on, node->details->uname) == NULL && uname 1031 lib/pengine/clone.c pcmk__str_in_list(node->details->uname, only_node, uname 1033 lib/pengine/clone.c xmlNode *probe_op = pe__failed_probe_for_rsc(rsc, node->details->uname); uname 1047 lib/pengine/clone.c g_hash_table_insert(stopped, strdup(node->details->uname), uname 1050 lib/pengine/clone.c g_hash_table_insert(stopped, strdup(node->details->uname), uname 444 lib/pengine/complex.c if ((node != NULL) && (node->details->uname != NULL)) { uname 445 lib/pengine/complex.c node_name = node->details->uname; uname 131 lib/pengine/failcounts.c node->details->uname, xml_name, uname 500 lib/pengine/native.c pcmk__s(node->details->uname, ""), node->details->id, uname 600 lib/pengine/native.c xmlNode *probe_op = pe__failed_probe_for_rsc(rsc, node ? node->details->uname : NULL); uname 669 lib/pengine/native.c have_nodes = add_output_node(outstr, n->details->uname, have_nodes); uname 950 lib/pengine/native.c lock_node_name = rsc->lock_node->details->uname; uname 978 lib/pengine/native.c "name", node->details->uname, uname 1171 lib/pengine/native.c node_table = g_hash_table_lookup(active_table, node->details->uname); uname 1174 lib/pengine/native.c g_hash_table_insert(active_table, strdup(node->details->uname), node_table); uname 1091 lib/pengine/pe_actions.c op_key = crm_strdup_printf("%s-%s-%s", CRM_OP_FENCE, node->details->uname, op); uname 1097 lib/pengine/pe_actions.c add_hash_param(stonith_op->meta, XML_LRM_ATTR_TARGET, node->details->uname); uname 128 lib/pengine/pe_notif.c if (node->details->uname == NULL) { uname 134 lib/pengine/pe_notif.c pcmk__add_word(all_node_names, 1024, node->details->uname); uname 142 lib/pengine/pe_notif.c if (node->details->uname == NULL) { uname 146 lib/pengine/pe_notif.c pcmk__add_word(host_node_names, 1024, node->details->uname); uname 215 lib/pengine/pe_notif.c if ((node_names != NULL) && (entry->node->details->uname != NULL)) { uname 216 lib/pengine/pe_notif.c pcmk__add_word(node_names, 1024, entry->node->details->uname); uname 988 lib/pengine/pe_notif.c add_notify_env(n_data, "notify_stop_uname", stop->node->details->uname); uname 498 lib/pengine/pe_output.c CRM_ASSERT((node != NULL) && (node->details != NULL) && (node->details->uname != NULL)); uname 506 lib/pengine/pe_output.c node_host = host_node->details->uname; uname 514 lib/pengine/pe_output.c if (print_detail && !pcmk__str_eq(node->details->uname, node->details->id, pcmk__str_casei)) { uname 519 lib/pengine/pe_output.c name_len = strlen(node->details->uname) + 1; uname 530 lib/pengine/pe_output.c strcpy(node_name, node->details->uname); uname 637 lib/pengine/pe_output.c "node", pe_node->details->uname, uname 894 lib/pengine/pe_output.c "name", dc->details->uname, uname 1764 lib/pengine/pe_output.c "name", node->details->uname, uname 1802 lib/pengine/pe_output.c "name", node->details->uname, uname 2037 lib/pengine/pe_output.c if (!pcmk__str_in_list(node->details->uname, only_node, pcmk__str_star_matches|pcmk__str_casei)) { uname 2095 lib/pengine/pe_output.c "node", node->details->uname, uname 2202 lib/pengine/pe_output.c if (!pcmk__str_in_list(node->details->uname, only_node, uname 2238 lib/pengine/pe_output.c if (!pcmk__str_in_list(node->details->uname, only_node, uname 2333 lib/pengine/pe_output.c if (!pcmk__str_in_list(node->details->uname, only_node, uname 2373 lib/pengine/pe_output.c if (!pcmk__str_in_list(node->details->uname, only_node, uname 2395 lib/pengine/pe_output.c const char *uname = va_arg(args, const char *); uname 2400 lib/pengine/pe_output.c prefix, rsc->id, uname, score); uname 2402 lib/pengine/pe_output.c out->list_item(out, NULL, "%s: %s = %s", prefix, uname, score); uname 2414 lib/pengine/pe_output.c const char *uname = va_arg(args, const char *); uname 2419 lib/pengine/pe_output.c "node", uname, uname 2508 lib/pengine/pe_output.c chosen? chosen->details->uname : "none", uname 2527 lib/pengine/pe_output.c crm_xml_add(node, "node", chosen->details->uname); uname 2830 lib/pengine/pe_output.c "node", node->details->uname, uname 156 lib/pengine/remote.c pe_create_remote_xml(xmlNode *parent, const char *uname, uname 167 lib/pengine/remote.c crm_xml_add(remote, XML_ATTR_ID, uname); uname 174 lib/pengine/remote.c crm_xml_set_id(xml_sub, "%s-%s", uname, XML_TAG_META_SETS); uname 192 lib/pengine/remote.c crm_xml_set_id(xml_sub, "%s-%s", uname, XML_TAG_ATTR_SETS); uname 204 lib/pengine/remote.c crm_create_op_xml(xml_sub, uname, "monitor", "30s", "30s"); uname 206 lib/pengine/remote.c crm_create_op_xml(xml_sub, uname, "start", "0", start_timeout); uname 683 lib/pengine/rules.c const char *uname = NULL; uname 729 lib/pengine/rules.c uname = g_hash_table_lookup(rule_data->node_hash, CRM_ATTR_UNAME); uname 733 lib/pengine/rules.c ID(expr), accept ? "passed" : "failed", uname ? uname : "all nodes"); uname 415 lib/pengine/status.c pe_find_node_any(GList *nodes, const char *id, const char *uname) uname 422 lib/pengine/status.c crm_trace("Looking up %s via its uname instead", uname); uname 423 lib/pengine/status.c return pe_find_node(nodes, uname); uname 443 lib/pengine/status.c pe_find_node(GList *nodes, const char *uname) uname 450 lib/pengine/status.c if (node && pcmk__str_eq(node->details->uname, uname, pcmk__str_casei)) { uname 77 lib/pengine/tags.c retval = g_list_append(retval, strdup(node->details->uname)); uname 31 lib/pengine/tests/status/pe_find_node_any_test.c a->details->uname = "cluster1"; uname 34 lib/pengine/tests/status/pe_find_node_any_test.c b->details->uname = "cluster2"; uname 29 lib/pengine/tests/status/pe_find_node_test.c a->details->uname = "cluster1"; uname 31 lib/pengine/tests/status/pe_find_node_test.c b->details->uname = "cluster2"; uname 26 lib/pengine/tests/utils/pe__cmp_node_name_test.c node1.details->uname = "node10"; uname 27 lib/pengine/tests/utils/pe__cmp_node_name_test.c node2.details->uname = "node10"; uname 37 lib/pengine/tests/utils/pe__cmp_node_name_test.c node1.details->uname = "node9"; uname 38 lib/pengine/tests/utils/pe__cmp_node_name_test.c node2.details->uname = "node10"; uname 47 lib/pengine/tests/utils/pe__cmp_node_name_test.c node1.details->uname = "node10"; uname 48 lib/pengine/tests/utils/pe__cmp_node_name_test.c node2.details->uname = "node9"; uname 381 lib/pengine/unpack.c pe_create_node(const char *id, const char *uname, const char *type, uname 386 lib/pengine/unpack.c if (pe_find_node(data_set->nodes, uname) != NULL) { uname 387 lib/pengine/unpack.c pcmk__config_warn("More than one node entry has name '%s'", uname); uname 404 lib/pengine/unpack.c crm_trace("Creating node for entry %s/%s", uname, id); uname 406 lib/pengine/unpack.c new_node->details->uname = uname; uname 426 lib/pengine/unpack.c "assuming 'ping'", pcmk__s(uname, "without name"), uname 432 lib/pengine/unpack.c pcmk__s(uname, "unnamed node")); uname 543 lib/pengine/unpack.c const char *uname = NULL; uname 563 lib/pengine/unpack.c uname = crm_element_value(xml_obj, XML_ATTR_UNAME); uname 566 lib/pengine/unpack.c crm_trace("Processing node %s/%s", uname, id); uname 573 lib/pengine/unpack.c new_node = pe_create_node(id, uname, type, score, data_set); uname 1076 lib/pengine/unpack.c const char *uname = NULL; uname 1086 lib/pengine/unpack.c uname = crm_element_value(state, XML_ATTR_UNAME); uname 1087 lib/pengine/unpack.c if (uname == NULL) { uname 1093 lib/pengine/unpack.c this_node = pe_find_node_any(data_set->nodes, id, uname); uname 1096 lib/pengine/unpack.c "it is no longer in the configuration", uname); uname 1162 lib/pengine/unpack.c const char *uname = crm_element_value(state, XML_ATTR_UNAME); uname 1165 lib/pengine/unpack.c if ((id == NULL) || (uname == NULL)) { uname 1172 lib/pengine/unpack.c this_node = pe_find_node_any(data_set->nodes, id, uname); uname 2849 lib/pengine/unpack.c CRM_CHECK(source && target && !strcmp(source, node->details->uname), return); uname 2962 lib/pengine/unpack.c CRM_CHECK(source && target && !strcmp(source, node->details->uname), return); uname 3014 lib/pengine/unpack.c CRM_CHECK(source && target && !strcmp(target, node->details->uname), return); uname 3060 lib/pengine/unpack.c const char *uname = crm_element_value(xIter, XML_ATTR_UNAME); uname 3062 lib/pengine/unpack.c if(pcmk__str_eq(op_key, key, pcmk__str_casei) && pcmk__str_eq(uname, node->details->uname, pcmk__str_casei)) { uname 3070 lib/pengine/unpack.c crm_xml_add(op, XML_ATTR_UNAME, node->details->uname); uname 4033 lib/pengine/unpack.c crm_xml_add(xml_op, XML_ATTR_UNAME, node->details->uname); uname 4149 lib/pengine/unpack.c crm_xml_add(xml_op, XML_ATTR_UNAME, node->details->uname); uname 4205 lib/pengine/unpack.c strdup(CRM_ATTR_UNAME), strdup(node->details->uname)); uname 4327 lib/pengine/unpack.c const char *uname = crm_element_value(node_state, XML_ATTR_UNAME); uname 4329 lib/pengine/unpack.c if (node != NULL && !pcmk__str_eq(uname, node, pcmk__str_casei)) { uname 4333 lib/pengine/unpack.c this_node = pe_find_node(data_set->nodes, uname); uname 4368 lib/pengine/unpack.c intermediate = extract_operations(uname, rsc_id, lrm_rsc, active_filter); uname 197 lib/pengine/utils.c return pcmk__numeric_strcasecmp(node1->details->uname, uname 198 lib/pengine/utils.c node2->details->uname); uname 222 lib/pengine/utils.c out->message(out, "node-weight", rsc, comment, node->details->uname, uname 758 lib/pengine/utils.c if (pcmk__str_in_list(node->details->uname, node_list, uname 96 maint/gnulib/lib/fsusage.c statvfs_works_cache = (uname (&name) == 0 uname 176 maint/gnulib/lib/get-rusage-data.c if (uname (&buf) == 0 uname 47 maint/gnulib/lib/gethostname.c if (uname (&uts) == -1) uname 92 maint/gnulib/lib/sys_utsname.in.h extern int uname (struct utsname *buf) _GL_ARG_NONNULL ((1)); uname 95 maint/gnulib/lib/sys_utsname.in.h # undef uname uname 97 maint/gnulib/lib/sys_utsname.in.h _GL_WARN_ON_USE (uname, "uname is unportable - " uname 24 maint/gnulib/tests/test-uname.c SIGNATURE_CHECK (uname, int, (struct utsname *)); uname 43 maint/gnulib/tests/test-uname.c ASSERT (uname (&buf) >= 0); uname 307 tools/crm_attribute.c if (reply->data.node_info.uname == NULL) { uname 314 tools/crm_attribute.c pcmk__str_update(&options.dest_uname, reply->data.node_info.uname); uname 141 tools/crm_node.c return pcmk__numeric_strcasecmp((node_a->uname? node_a->uname : ""), uname 142 tools/crm_node.c (node_b->uname? node_b->uname : "")); uname 199 tools/crm_node.c if (reply->data.node_info.uname == NULL) { uname 204 tools/crm_node.c printf("%s\n", reply->data.node_info.uname); uname 234 tools/crm_node.c const char *uname = (node->uname? node->uname : ""); uname 239 tools/crm_node.c (unsigned long) node->id, uname, state); uname 243 tools/crm_node.c printf("%s ", uname); uname 967 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, NULL, uname 986 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, NULL, uname 1064 tools/crm_resource.c rc = cli_resource_clear(options.rsc_id, dest->details->uname, NULL, uname 1294 tools/crm_resource.c router_node = node->details->uname; uname 1985 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, node->details->uname, uname 89 tools/crm_resource_ban.c rc = cli_resource_ban(out, rsc_id, target->details->uname, move_lifetime, uname 330 tools/crm_resource_ban.c rc = cli_resource_clear(rsc_id, target->details->uname, NULL, uname 78 tools/crm_resource_print.c host = node->details->uname; uname 610 tools/crm_resource_print.c const char *host_uname = (node == NULL)? NULL : node->details->uname; uname 645 tools/crm_resource_print.c const char* host_uname = node->details->uname; uname 692 tools/crm_resource_print.c const char *host_uname = (node == NULL)? NULL : node->details->uname; uname 728 tools/crm_resource_print.c const char* host_uname = node->details->uname; uname 29 tools/crm_resource_runtime.c ni->node_name = node->details->uname; uname 63 tools/crm_resource_runtime.c ni->node_name = node->details->uname; uname 529 tools/crm_resource_runtime.c router_node = node->details->uname; uname 687 tools/crm_resource_runtime.c rc = pcmk__attrd_api_clear_failures(NULL, node->details->uname, rsc_name, uname 748 tools/crm_resource_runtime.c rc = cli_resource_delete(controld_api, node->details->uname, rsc, uname 853 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, node->details->uname, NULL, uname 909 tools/crm_resource_runtime.c checks->lock_node = checks->rsc->lock_node->details->uname; uname 1040 tools/crm_resource_runtime.c if (pcmk__strcase_any_of(host, node->details->uname, node->details->id, NULL)) { uname 1351 tools/crm_resource_runtime.c const char *host = node ? node->details->uname : NULL; uname 2073 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, dest->details->uname, data_set->nodes, cib, uname 2077 tools/crm_resource_runtime.c rc = cli_resource_prefer(out, rsc_id, dest->details->uname, move_lifetime, uname 2090 tools/crm_resource_runtime.c (void)cli_resource_ban(out, rsc_id, current->details->uname, move_lifetime,