host 58 attrd/commands.c void attrd_peer_update(crm_node_t *peer, xmlNode *xml, const char *host, bool filter); host 60 attrd/commands.c void attrd_peer_remove(const char *host, gboolean uncache, const char *source); host 179 attrd/commands.c const char *host = crm_element_value(xml, F_ATTRD_HOST); host 181 attrd/commands.c if (host) { host 183 attrd/commands.c client_name, host); host 203 attrd/commands.c char *host = crm_element_value_copy(xml, F_ATTRD_HOST); host 230 attrd/commands.c free(host); host 237 attrd/commands.c free(host); host 241 attrd/commands.c if (host == NULL) { host 243 attrd/commands.c host = strdup(attrd_cluster->uname); host 244 attrd/commands.c crm_xml_add(xml, F_ATTRD_HOST, host); host 257 attrd/commands.c v = g_hash_table_lookup(a->values, host); host 274 attrd/commands.c crm_debug("Broadcasting %s[%s] = %s%s", attr, host, value, host 277 attrd/commands.c free(host); host 379 attrd/commands.c static xmlNode *build_query_reply(const char *attr, const char *host) host 399 attrd/commands.c if (safe_str_eq(host, "localhost")) { host 400 attrd/commands.c host = attrd_cluster->uname; host 401 attrd/commands.c crm_trace("Mapped localhost to %s", host); host 405 attrd/commands.c if (host) { host 406 attrd/commands.c v = g_hash_table_lookup(a->values, host); host 412 attrd/commands.c crm_xml_add(host_value, F_ATTRD_HOST, host); host 493 attrd/commands.c const char *host = crm_element_value(xml, F_ATTRD_HOST); host 520 attrd/commands.c attrd_peer_update(peer, xml, host, FALSE); host 533 attrd/commands.c const char *host = crm_element_value(xml, F_ATTRD_HOST); host 562 attrd/commands.c attrd_peer_update(peer, xml, host, FALSE); host 605 attrd/commands.c attrd_peer_update(peer, xml, host, FALSE); host 611 attrd/commands.c attrd_peer_remove(host, TRUE, peer->uname); host 625 attrd/commands.c host = crm_element_value(child, F_ATTRD_HOST); host 626 attrd/commands.c attrd_peer_update(peer, child, host, TRUE); host 667 attrd/commands.c attrd_peer_remove(const char *host, gboolean uncache, const char *source) host 672 attrd/commands.c CRM_CHECK(host != NULL, return); host 673 attrd/commands.c crm_notice("Removing all %s attributes for peer %s", host, source); host 677 attrd/commands.c if(g_hash_table_remove(a->values, host)) { host 678 attrd/commands.c crm_debug("Removed %s[%s] for peer %s", a->id, host, source); host 683 attrd/commands.c crm_remote_peer_cache_remove(host); host 684 attrd/commands.c reap_crm_member(0, host); host 699 attrd/commands.c attrd_lookup_or_create_value(GHashTable *values, const char *host, xmlNode *xml) host 701 attrd/commands.c attribute_value_t *v = g_hash_table_lookup(values, host); host 709 attrd/commands.c crm_node_t *dup = crm_find_peer(0, host); host 712 attrd/commands.c reap_crm_member(0, host); host 716 attrd/commands.c crm_remote_peer_cache_add(host); host 723 attrd/commands.c v->nodename = strdup(host); host 733 attrd/commands.c attrd_peer_update(crm_node_t *peer, xmlNode *xml, const char *host, bool filter) host 806 attrd/commands.c if (host == NULL) { host 812 attrd/commands.c while (g_hash_table_iter_next(&vIter, (gpointer *) & host, NULL)) { host 813 attrd/commands.c attrd_peer_update(peer, xml, host, filter); host 820 attrd/commands.c v = attrd_lookup_or_create_value(a->values, host, xml); host 823 attrd/commands.c && safe_str_eq(host, attrd_cluster->uname)) { host 828 attrd/commands.c attr, host, v->current, value, peer->uname); host 831 attrd/commands.c v = g_hash_table_lookup(a->values, host); host 843 attrd/commands.c attr, host, v->current, value, peer->uname); host 857 attrd/commands.c crm_trace("Unchanged %s[%s] from %s is %s", attr, host, peer->uname, value); host 864 attrd/commands.c crm_node_t *known_peer = crm_get_peer(v->nodeid, host); host 340 attrd/legacy.c const char *host = crm_element_value(xml, F_ATTRD_HOST); host 348 attrd/legacy.c (host? host: "all remote nodes")); host 357 attrd/legacy.c if (host == NULL) { host 361 attrd/legacy.c host); host 367 attrd/legacy.c if (host == NULL) { host 372 attrd/legacy.c host, rsc, rsc, rsc, rsc); host 381 attrd/legacy.c if (host == NULL) { host 387 attrd/legacy.c host, rsc, rsc, rsc, op, interval, host 403 attrd/legacy.c const char *host = crm_element_value(xml, F_ATTRD_HOST); host 406 attrd/legacy.c if (host && safe_str_eq(host, attrd_uname)) { host 411 attrd/legacy.c CRM_CHECK(host != NULL, return); host 412 attrd/legacy.c crm_debug("Removing %s from peer caches for %s", host, from); host 413 attrd/legacy.c crm_remote_peer_cache_remove(host); host 414 attrd/legacy.c reap_crm_member(0, host); host 1005 attrd/legacy.c update_remote_attr(const char *host, const char *name, const char *value, host 1013 attrd/legacy.c name, section, host); host 1016 attrd/legacy.c name, value, section, host); host 1032 attrd/legacy.c host, NULL, NULL, NULL, name, NULL, host 1036 attrd/legacy.c host, NULL, NULL, NULL, name, value, host 1040 attrd/legacy.c attrd_send_attribute_alert(host, 0, name, (value? value : "")); host 1063 attrd/legacy.c const char *host = crm_element_value(msg, F_ATTRD_HOST); host 1065 attrd/legacy.c if (host == NULL) { host 1073 attrd/legacy.c } else if (safe_str_eq(host, attrd_uname)) { host 1078 attrd/legacy.c crm_node_t *peer = crm_find_peer(0, host); host 1087 attrd/legacy.c crm_notice("Relaying request to clear failure to %s", host); host 1102 attrd/legacy.c const char *host = crm_element_value(msg, F_ATTRD_HOST); host 1113 attrd/legacy.c if (host) { host 1114 attrd/legacy.c crm_notice("Broadcasting removal of peer %s", host); host 1129 attrd/legacy.c if (host && is_remote) { host 1141 attrd/legacy.c pattern, host); host 1144 attrd/legacy.c update_remote_attr(host, attr, value, section, user_name); host 1150 attrd/legacy.c if (host != NULL && safe_str_neq(host, attrd_uname)) { host 1151 attrd/legacy.c send_cluster_message(crm_get_peer(0, host), crm_msg_attrd, msg, FALSE); host 66 cib/callbacks.c void send_cib_replace(const xmlNode * sync_request, const char *host); host 351 cib/callbacks.c const char *host = crm_element_value(reply, F_ORIG); host 362 cib/callbacks.c crm_trace("Ignoring ping reply %s from %s with no digest", seq_s, host); host 365 cib/callbacks.c crm_trace("Ignoring out of sequence ping reply %s from %s", seq_s, host); host 368 cib/callbacks.c crm_trace("Ignoring ping reply %s from %s: cib updated since", seq_s, host); host 378 cib/callbacks.c crm_trace("Processing ping reply %s from %s (%s)", seq_s, host, digest); host 386 cib/callbacks.c ping_digest, host, host 520 cib/callbacks.c parse_local_options_v1(crm_client_t * cib_client, int call_type, int call_options, const char *host, host 532 cib/callbacks.c if (host == NULL && (call_options & cib_scope_local)) { host 536 cib/callbacks.c } else if (host == NULL && cib_is_master) { host 540 cib/callbacks.c } else if (safe_str_eq(host, cib_our_uname)) { host 551 cib/callbacks.c op, cib_client->name, host ? host : "the master instance"); host 558 cib/callbacks.c parse_local_options_v2(crm_client_t * cib_client, int call_type, int call_options, const char *host, host 577 cib/callbacks.c op, cib_client->name, host ? host : "the master instance"); host 591 cib/callbacks.c } else if (host == NULL) { host 594 cib/callbacks.c } else if (safe_str_eq(host, cib_our_uname)) { host 598 cib/callbacks.c crm_trace("%s op from %s needs to be forwarded to %s", op, cib_client->name, host); host 605 cib/callbacks.c parse_local_options(crm_client_t * cib_client, int call_type, int call_options, const char *host, host 610 cib/callbacks.c parse_local_options_v1(cib_client, call_type, call_options, host, host 613 cib/callbacks.c parse_local_options_v2(cib_client, call_type, call_options, host, host 624 cib/callbacks.c const char *host = NULL; host 671 cib/callbacks.c host = crm_element_value(request, F_CIB_HOST); host 672 cib/callbacks.c if (host != NULL && safe_str_eq(host, cib_our_uname)) { host 677 cib/callbacks.c crm_trace("Processing %s request sent to %s by %s", op, host?host:"everyone", originator); host 681 cib/callbacks.c } else if (host == NULL && cib_is_master == TRUE) { host 690 cib/callbacks.c } else if (host != NULL) { host 692 cib/callbacks.c crm_trace("Ignoring msg for instance on %s", crm_str(host)); host 700 cib/callbacks.c crm_debug("Processing %s from %s", op, host); host 704 cib/callbacks.c crm_debug("Processing %s reply from %s", op, host); host 721 cib/callbacks.c const char *host = NULL; host 808 cib/callbacks.c host = crm_element_value(request, F_CIB_HOST); host 809 cib/callbacks.c if (host != NULL && safe_str_eq(host, cib_our_uname)) { host 814 cib/callbacks.c } else if (host != NULL) { host 816 cib/callbacks.c crm_trace("Ignoring %s operation for instance on %s", op, crm_str(host)); host 852 cib/callbacks.c const char *host = crm_element_value(request, F_CIB_HOST); host 856 cib/callbacks.c if (host != NULL) { host 857 cib/callbacks.c crm_trace("Forwarding %s op to %s", op, host); host 858 cib/callbacks.c send_cluster_message(crm_get_peer(0, host), crm_msg_cib, request, FALSE); host 950 cib/callbacks.c const char *host = crm_element_value(request, F_CIB_HOST); host 974 cib/callbacks.c if (host != NULL && strlen(host) == 0) { host 975 cib/callbacks.c host = NULL; host 978 cib/callbacks.c if (host) { host 979 cib/callbacks.c target = host; host 1004 cib/callbacks.c parse_local_options(cib_client, call_type, call_options, host, op, host 1023 cib/callbacks.c const char *host = crm_element_value(request, F_CIB_HOST); host 1035 cib/callbacks.c host ? host : cib_legacy_mode() ? "master" : "all", host 73 cib/cibmessages.h void send_sync_request(const char *host); host 73 cib/messages.c const char *host = crm_element_value(req, F_ORIG); host 78 cib/messages.c crm_info("Shutdown REQ from %s", host); host 82 cib/messages.c crm_info("Shutdown ACK from %s", host); host 87 cib/messages.c crm_err("Shutdown ACK from %s - not shutting down", host); host 171 cib/messages.c send_sync_request(const char *host) host 175 cib/messages.c crm_info("Requesting re-sync from %s", (host? host : "all peers")); host 182 cib/messages.c send_cluster_message(host ? crm_get_peer(0, host) : NULL, crm_msg_cib, sync_me, FALSE); host 190 cib/messages.c const char *host = crm_element_value(req, F_ORIG); host 196 cib/messages.c crm_trace("Processing \"%s\" event %s from %s", op, seq, host); host 221 cib/messages.c host, digest, host 256 cib/messages.c const char *host = crm_element_value(req, F_ORIG); host 269 cib/messages.c crm_notice("Upgrade request from %s verified", host); host 274 cib/messages.c crm_xml_add(up, F_CIB_DELEGATED, host); host 502 cib/messages.c const char *host = crm_element_value(request, F_ORIG); host 510 cib/messages.c crm_debug("Syncing CIB to %s", all ? "all peers" : host); host 511 cib/messages.c if (all == FALSE && host == NULL) { host 522 cib/messages.c if (host != NULL) { host 523 cib/messages.c crm_xml_add(replace_request, F_CIB_ISREPLY, host); host 540 cib/messages.c (all ? NULL : crm_get_peer(0, host), crm_msg_cib, replace_request, FALSE) == FALSE) { host 21 crmd/attrd.c log_attrd_error(const char *host, const char *name, const char *value, host 42 crmd/attrd.c display_command, node_type, host, when, pcmk_strerror(rc), rc); host 45 crmd/attrd.c name, value, node_type, host, when, pcmk_strerror(rc), rc); host 55 crmd/attrd.c update_attrd_helper(const char *host, const char *name, const char *value, host 82 crmd/attrd.c rc = attrd_update_delegate(attrd_ipc, command, host, name, value, host 87 crmd/attrd.c rc = attrd_clear_delegate(attrd_ipc, host, name, value, interval, host 105 crmd/attrd.c log_attrd_error(host, name, value, is_remote_node, command, rc); host 110 crmd/attrd.c update_attrd(const char *host, const char *name, const char *value, host 113 crmd/attrd.c update_attrd_helper(host, name, value, NULL, user_name, is_remote_node, host 118 crmd/attrd.c update_attrd_remote_node_removed(const char *host, const char *user_name) host 120 crmd/attrd.c crm_trace("Asking attrd to purge Pacemaker Remote node %s", host); host 121 crmd/attrd.c update_attrd_helper(host, NULL, NULL, NULL, user_name, TRUE, 'C'); host 125 crmd/attrd.c update_attrd_clear_failures(const char *host, const char *rsc, const char *op, host 131 crmd/attrd.c rsc, (is_remote_node? "Pacemaker Remote" : "cluster"), host); host 132 crmd/attrd.c update_attrd_helper(host, rsc, op, interval, NULL, is_remote_node, 0); host 94 crmd/crmd_utils.h void update_attrd(const char *host, const char *name, const char *value, const char *user_name, gboolean is_remote_node); host 95 crmd/crmd_utils.h void update_attrd_remote_node_removed(const char *host, const char *user_name); host 96 crmd/crmd_utils.h void update_attrd_clear_failures(const char *host, const char *rsc, host 1310 crmd/lrm.c const char *host, host 1317 crmd/lrm.c crm_info("Removing resource %s for %s (%s) on %s", id, sys, user ? user : "internal", host); host 1339 crmd/lrm.c id, sys, user ? user : "internal", host, rc); host 57 fencing/commands.c char *host; host 1026 fencing/commands.c crm_trace("Host %s is not known by %s", search->host, dev->id); host 1029 fencing/commands.c crm_trace("Host %s is known by %s", search->host, dev->id); host 1033 fencing/commands.c crm_notice("Unknown result when testing if %s can fence %s: rc=%d", dev->id, search->host, host 1077 fencing/commands.c const char *alias = g_hash_table_lookup(dev->aliases, search->host); host 1080 fencing/commands.c alias = search->host; host 1526 fencing/commands.c search->host ? search->host : "<anyone>"); host 1529 fencing/commands.c free(search->host); host 1572 fencing/commands.c const char *host = search->host; host 1579 fencing/commands.c } else if (host == NULL) { host 1591 fencing/commands.c if (!localhost_is_eligible(dev, "reboot", host, search->allow_suicide) host 1592 fencing/commands.c && !localhost_is_eligible(dev, "off", host, search->allow_suicide) host 1593 fencing/commands.c && !localhost_is_eligible(dev, "on", host, FALSE)) { host 1596 fencing/commands.c } else if (!localhost_is_eligible(dev, search->action, host, host 1601 fencing/commands.c alias = g_hash_table_lookup(dev->aliases, host); host 1603 fencing/commands.c alias = host; host 1617 fencing/commands.c if (string_in_list(dev->targets, host)) { host 1620 fencing/commands.c && g_hash_table_lookup(dev->aliases, host)) { host 1629 fencing/commands.c check_type, dev?dev->id:"N/A", search->host, search->action); host 1644 fencing/commands.c check_type, dev?dev->id:"N/A", search->host, search->action); host 1645 fencing/commands.c schedule_internal_command(__FUNCTION__, dev, "status", search->host, host 1653 fencing/commands.c if (safe_str_eq(host, alias)) { host 1654 fencing/commands.c crm_notice("%s can%s fence (%s) %s: %s", dev->id, can ? "" : " not", search->action, host, check_type); host 1656 fencing/commands.c crm_notice("%s can%s fence (%s) %s (aka. '%s'): %s", dev->id, can ? "" : " not", search->action, host, alias, host 1675 fencing/commands.c get_capable_devices(const char *host, const char *action, int timeout, bool suicide, void *user_data, host 1722 fencing/commands.c search->host = host ? strdup(host) : NULL; host 1737 fencing/commands.c search->host ? search->host : "<anyone>"); host 2290 fencing/commands.c const char *host = crm_element_value(dev, F_STONITH_TARGET); host 2294 fencing/commands.c int nodeid = crm_atoi(host, NULL); host 2298 fencing/commands.c host = nodename; host 2303 fencing/commands.c get_capable_devices(host, cmd->action, cmd->default_timeout, host 188 fencing/internal.h stonith_topology_t *find_topology_for_host(const char *host); host 76 fencing/remote.c char *host; host 107 fencing/remote.c crm_trace("Free'ing query result from %s", query->host); host 109 fencing/remote.c free(query->host); host 207 fencing/remote.c device, peer->host, count_peer_devices(op, peer, FALSE)); host 746 fencing/remote.c find_topology_for_host(const char *host) host 749 fencing/remote.c stonith_topology_t *tp = g_hash_table_lookup(topology, host); host 752 fencing/remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); host 758 fencing/remote.c if (topology_matches(tp, host)) { host 759 fencing/remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); host 764 fencing/remote.c crm_trace("No matches for %s in %d topology entries", host, g_hash_table_size(topology)); host 1139 fencing/remote.c peer->host, op->target, peer->ndevices, peer->tried, options); host 1140 fencing/remote.c if ((options & FIND_PEER_SKIP_TARGET) && safe_str_eq(peer->host, op->target)) { host 1143 fencing/remote.c if ((options & FIND_PEER_TARGET_ONLY) && safe_str_neq(peer->host, op->target)) { host 1185 fencing/remote.c crm_trace("Found verified peer %s for %s", peer->host, device?device:"<any>"); host 1197 fencing/remote.c crm_trace("Found best unverified peer %s", peer->host); host 1207 fencing/remote.c crm_trace("%s will fence itself", peer->host); host 1483 fencing/remote.c crm_info("Requesting that '%s' perform op '%s %s' with '%s' for %s (%ds)", peer->host, host 1491 fencing/remote.c peer->host, op->target, op->action, op->client_name, timeout_one, stonith_watchdog_timeout_ms); host 1509 fencing/remote.c && safe_str_eq(peer->host, op->target) host 1521 fencing/remote.c send_cluster_message(crm_get_peer(0, peer->host), crm_msg_stonith_ng, remote_op, FALSE); host 1636 fencing/remote.c if (skip_target && safe_str_eq(peer->host, op->target)) { host 1735 fencing/remote.c result->host, device); host 1740 fencing/remote.c parse_action_specific(xml, result->host, device, op_requested_action(op), host 1748 fencing/remote.c parse_action_specific(child, result->host, device, "off", host 1751 fencing/remote.c parse_action_specific(child, result->host, device, "on", host 1769 fencing/remote.c add_result(remote_fencing_op_t *op, const char *host, int ndevices, xmlNode *xml) host 1775 fencing/remote.c result->host = strdup(host); host 1817 fencing/remote.c const char *host = NULL; host 1843 fencing/remote.c host = crm_element_value(msg, F_ORIG); host 1844 fencing/remote.c host_is_target = safe_str_eq(host, op->target); host 1847 fencing/remote.c op->replies, replies_expected, host, host 1850 fencing/remote.c result = add_result(op, host, ndevices, dev); host 1889 fencing/remote.c result->host, result->ndevices, op->state); host 29 include/crm/attrd.h int attrd_update_delegate(crm_ipc_t * ipc, char command, const char *host, host 32 include/crm/attrd.h int attrd_clear_delegate(crm_ipc_t *ipc, const char *host, const char *resource, host 108 include/crm/cib.h int (*query_from) (cib_t * cib, const char *host, const char *section, host 117 include/crm/cib.h int (*sync_from) (cib_t * cib, const char *host, const char *section, int call_options); host 130 include/crm/cib/internal.h xmlNode *cib_create_op(int call_id, const char *token, const char *op, const char *host, host 211 include/crm/cib/internal.h int cib_internal_op(cib_t * cib, const char *op, const char *host, host 49 include/crm/cluster/internal.h AIS_Host host; host 197 include/crm/cluster/internal.h ais_dest(const struct crm_ais_host_s *host) host 199 include/crm/cluster/internal.h if (host->local) { host 201 include/crm/cluster/internal.h } else if (host->size > 0) { host 202 include/crm/cluster/internal.h return host->uname; host 264 include/crm/compatibility.h attrd_update(crm_ipc_t * cluster, char command, const char *host, const char *name, host 267 include/crm/compatibility.h return attrd_update_delegate(cluster, command, host, name, value, section, set, dampen, host 272 include/crm/compatibility.h attrd_lazy_update(char command, const char *host, const char *name, host 275 include/crm/compatibility.h return attrd_update_delegate(NULL, command, host, name, value, section, set, dampen, NULL, attrd_opt_none) > 0; host 279 include/crm/compatibility.h attrd_update_no_mainloop(int *connection, char command, const char *host, host 283 include/crm/compatibility.h return attrd_update_delegate(NULL, command, host, name, value, section, set, dampen, NULL, attrd_opt_none) > 0; host 27 include/crm/pengine/remote.h void pe_foreach_guest_node(const pe_working_set_t *data_set, const node_t *host, host 202 include/crm_internal.h int crm_remote_tcp_connect(const char *host, int port); host 203 include/crm_internal.h int crm_remote_tcp_connect_async(const char *host, int port, int timeout, /*ms */ host 881 lib/ais/plugin.c ais_msg->host.id = swab32(ais_msg->host.id); host 882 lib/ais/plugin.c ais_msg->host.pid = swab32(ais_msg->host.pid); host 883 lib/ais/plugin.c ais_msg->host.type = swab32(ais_msg->host.type); host 884 lib/ais/plugin.c ais_msg->host.size = swab32(ais_msg->host.size); host 885 lib/ais/plugin.c ais_msg->host.local = swab32(ais_msg->host.local); host 909 lib/ais/plugin.c if (ais_msg->host.size == 0 || ais_str_eq(ais_msg->host.uname, local_uname)) { host 914 lib/ais/plugin.c ais_msg->id, ais_dest(&(ais_msg->host)), host 915 lib/ais/plugin.c msg_type2text(ais_msg->host.type), host 1006 lib/ais/plugin.c type, mutable->host.local, pcmk_children[type].conn, mutable->host.type, crm_msg_ais, host 1026 lib/ais/plugin.c && mutable->host.local host 1027 lib/ais/plugin.c && pcmk_children[type].conn == NULL && mutable->host.type == crm_msg_ais) { host 1360 lib/ais/plugin.c int dest = msg->host.type; host 1412 lib/ais/plugin.c msg->id, ais_dest(&(msg->host)), msg_type2text(dest), ais_dest(&(msg->sender)), host 1419 lib/ais/plugin.c msg->id, ais_dest(&(msg->host)), msg_type2text(dest), ais_dest(&(msg->sender)), host 1425 lib/ais/plugin.c msg->id, ais_dest(&(msg->host)), msg_type2text(dest), ais_dest(&(msg->sender)), host 1439 lib/ais/plugin.c if (pid == mutable->host.type) { host 1444 lib/ais/plugin.c ais_info("Sent message to %s.%d (rc=%d)", ais_dest(&(mutable->host)), pid, rc); host 1447 lib/ais/plugin.c ais_dest(&(mutable->host)), pid, rc); host 1457 lib/ais/plugin.c int dest = msg->host.type; host 1463 lib/ais/plugin.c mutable->id, ais_dest(&(mutable->host)), msg_type2text(dest), host 1468 lib/ais/plugin.c if (mutable->host.size == 0 || ais_str_eq(local_uname, mutable->host.uname)) { host 1469 lib/ais/plugin.c mutable->host.local = TRUE; host 1479 lib/ais/plugin.c if (mutable->host.local) { host 1550 lib/ais/plugin.c ais_dest(&(mutable->host)), msg_type2text(dest), reason, rc); host 1751 lib/ais/plugin.c msg->id, ais_dest(&(msg->host)), msg_type2text(msg->host.type), host 50 lib/ais/utils.c msg->id, ais_dest(&(msg->host)), msg_type2text(msg->host.type), host 440 lib/ais/utils.c tmp = msg->host.type; host 441 lib/ais/utils.c msg->host.type = msg->sender.type; host 444 lib/ais/utils.c tmp = msg->host.type; host 445 lib/ais/utils.c msg->host.size = msg->sender.type; host 448 lib/ais/utils.c memcpy(tmp_s, msg->host.uname, 256); host 449 lib/ais/utils.c memcpy(msg->host.uname, msg->sender.uname, 256); host 479 lib/ais/utils.c send_plugin_msg(enum crm_ais_msg_types type, const char *host, const char *data) host 504 lib/ais/utils.c ais_msg->host.type = type; host 505 lib/ais/utils.c ais_msg->host.id = 0; host 506 lib/ais/utils.c if (host) { host 507 lib/ais/utils.c ais_msg->host.size = strlen(host); host 508 lib/ais/utils.c memset(ais_msg->host.uname, 0, MAX_NAME); host 509 lib/ais/utils.c memcpy(ais_msg->host.uname, host, ais_msg->host.size); host 513 lib/ais/utils.c ais_msg->host.type = type; host 514 lib/ais/utils.c ais_msg->host.size = 0; host 515 lib/ais/utils.c memset(ais_msg->host.uname, 0, MAX_NAME); host 581 lib/ais/utils.c ais_msg->host.size = 0; host 582 lib/ais/utils.c ais_msg->host.type = type; host 583 lib/ais/utils.c memset(ais_msg->host.uname, 0, MAX_NAME); host 584 lib/ais/utils.c ais_msg->host.id = 0; host 100 lib/ais/utils.h extern int send_plugin_msg(enum crm_ais_msg_types type, const char *host, const char *data); host 79 lib/cib/cib_client.c cib_client_query_from(cib_t * cib, const char *host, const char *section, host 83 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_QUERY, host, section, NULL, output_data, call_options, NULL); host 137 lib/cib/cib_client.c cib_client_sync_from(cib_t * cib, const char *host, const char *section, int call_options) host 140 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_SYNC, host, section, NULL, NULL, call_options, NULL); host 47 lib/cib/cib_file.c int cib_file_perform_op(cib_t * cib, const char *op, const char *host, const char *section, host 50 lib/cib/cib_file.c int cib_file_perform_op_delegate(cib_t * cib, const char *op, const char *host, const char *section, host 765 lib/cib/cib_file.c cib_file_perform_op(cib_t * cib, const char *op, const char *host, const char *section, host 768 lib/cib/cib_file.c return cib_file_perform_op_delegate(cib, op, host, section, data, output_data, call_options, host 773 lib/cib/cib_file.c cib_file_perform_op_delegate(cib_t * cib, const char *op, const char *host, const char *section, host 818 lib/cib/cib_file.c request = cib_create_op(cib->call_id, "dummy-token", op, host, section, data, call_options, user_name); host 42 lib/cib/cib_native.c int cib_native_perform_op(cib_t * cib, const char *op, const char *host, const char *section, host 45 lib/cib/cib_native.c int cib_native_perform_op_delegate(cib_t * cib, const char *op, const char *host, host 328 lib/cib/cib_native.c cib_native_perform_op(cib_t * cib, const char *op, const char *host, const char *section, host 331 lib/cib/cib_native.c return cib_native_perform_op_delegate(cib, op, host, section, host 336 lib/cib/cib_native.c cib_native_perform_op_delegate(cib_t * cib, const char *op, const char *host, const char *section, host 378 lib/cib/cib_native.c cib_create_op(cib->call_id, native->token, op, host, section, data, call_options, host 82 lib/cib/cib_remote.c int cib_remote_perform_op(cib_t * cib, const char *op, const char *host, const char *section, host 485 lib/cib/cib_remote.c cib_remote_perform_op(cib_t * cib, const char *op, const char *host, const char *section, host 521 lib/cib/cib_remote.c cib_create_op(cib->call_id, private->callback.token, op, host, section, data, call_options, host 588 lib/cib/cib_utils.c cib_create_op(int call_id, const char *token, const char *op, const char *host, const char *section, host 601 lib/cib/cib_utils.c crm_xml_add(op_msg, F_CIB_HOST, host); host 835 lib/cib/cib_utils.c cib_internal_op(cib_t * cib, const char *op, const char *host, host 839 lib/cib/cib_utils.c int (*delegate) (cib_t * cib, const char *op, const char *host, host 850 lib/cib/cib_utils.c return delegate(cib, op, host, section, data, output_data, call_options, user_name); host 380 lib/cluster/corosync.c int dest = msg->host.type; host 424 lib/cluster/corosync.c msg->id, ais_dest(&(msg->host)), msg_type2text(dest), host 431 lib/cluster/corosync.c msg->id, ais_dest(&(msg->host)), msg_type2text(dest), ais_dest(&(msg->sender)), host 250 lib/cluster/cpg.c } else if (msg->host.id != 0 && (local_nodeid != msg->host.id)) { host 252 lib/cluster/cpg.c crm_trace("Not for us: %u != %u", msg->host.id, local_nodeid); host 254 lib/cluster/cpg.c } else if (msg->host.size != 0 && safe_str_neq(msg->host.uname, local_name)) { host 256 lib/cluster/cpg.c crm_trace("Not for us: %s != %s", msg->host.uname, local_name); host 353 lib/cluster/cpg.c msg->id, ais_dest(&(msg->host)), msg_type2text(msg->host.type), host 568 lib/cluster/cpg.c msg->host.type = dest; host 569 lib/cluster/cpg.c msg->host.local = local; host 574 lib/cluster/cpg.c msg->host.size = strlen(node->uname); host 575 lib/cluster/cpg.c memset(msg->host.uname, 0, MAX_NAME); host 576 lib/cluster/cpg.c memcpy(msg->host.uname, node->uname, msg->host.size); host 580 lib/cluster/cpg.c msg->host.id = node->id; host 733 lib/cluster/legacy.c int dest = msg->host.type; host 777 lib/cluster/legacy.c msg->id, ais_dest(&(msg->host)), msg_type2text(dest), host 784 lib/cluster/legacy.c msg->id, ais_dest(&(msg->host)), msg_type2text(dest), ais_dest(&(msg->sender)), host 135 lib/common/attrd_client.c attrd_update_delegate(crm_ipc_t *ipc, char command, const char *host, host 143 lib/common/attrd_client.c const char *display_host = (host ? host : "localhost"); host 204 lib/common/attrd_client.c crm_xml_add(update, F_ATTRD_HOST, host); host 236 lib/common/attrd_client.c attrd_clear_delegate(crm_ipc_t *ipc, const char *host, const char *resource, host 244 lib/common/attrd_client.c crm_xml_add(clear_op, F_ATTRD_HOST, host); host 257 lib/common/attrd_client.c (host? host : "all nodes"), pcmk_strerror(rc), rc); host 859 lib/common/remote.c crm_remote_tcp_connect_async(const char *host, int port, int timeout, host 867 lib/common/remote.c const char *server = host; host 898 lib/common/remote.c crm_debug("Got canonical name %s for %s", server, host); host 943 lib/common/remote.c crm_remote_tcp_connect(const char *host, int port) host 945 lib/common/remote.c return crm_remote_tcp_connect_async(host, port, -1, NULL, NULL, NULL); host 501 lib/pengine/clone.c node_t *host = gIter->data; host 503 lib/pengine/clone.c list_text = add_list_element(list_text, host->details->uname); host 515 lib/pengine/clone.c node_t *host = gIter->data; host 517 lib/pengine/clone.c list_text = add_list_element(list_text, host->details->uname); host 467 lib/pengine/common.c pe_node_t *host = node->details->remote_rsc->container->running_on->data; host 468 lib/pengine/common.c pe_rsc_trace(rsc, "%s: Looking for %s on the container host %s", rsc->id, name, host->details->uname); host 469 lib/pengine/common.c return g_hash_table_lookup(host->details->attrs, name); host 114 lib/pengine/remote.c pe_foreach_guest_node(const pe_working_set_t *data_set, const node_t *host, host 119 lib/pengine/remote.c CRM_CHECK(data_set && host && host->details && helper, return); host 123 lib/pengine/remote.c for (iter = host->details->running_rsc; iter != NULL; iter = iter->next) { host 1423 lib/pengine/unpack.c pe_node_t *host = NULL; host 1437 lib/pengine/unpack.c host = rsc->running_on->data; host 1474 lib/pengine/unpack.c } else if (host && (host->details->online == FALSE) host 1475 lib/pengine/unpack.c && host->details->unclean) { host 184 lib/transition/utils.c const char *host = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); host 189 lib/transition/utils.c action->id, desc, host ? host : "N/A", host 199 lib/transition/utils.c const char *host = crm_element_value(input->xml, XML_LRM_ATTR_TARGET); host 202 lib/transition/utils.c if (host == NULL) { host 207 lib/transition/utils.c input->id, actiontype2text(input->type), key, host); host 1223 pengine/graph.c pe_node_t *host = NULL; host 1238 pengine/graph.c host = action->node->details->remote_rsc->container->running_on->data; host 1247 pengine/graph.c host = action->node->details->remote_rsc->container->allocated_to; host 1254 pengine/graph.c if(host) { host 1257 pengine/graph.c hash2metafield((gpointer)PCMK_ENV_PHYSICAL_HOST, (gpointer)host->details->uname, (gpointer)args_xml); host 224 tools/attrd_updater.c send_attrd_query(const char *name, const char *host, xmlNode **reply) host 237 tools/attrd_updater.c crm_xml_add(query, F_ATTRD_HOST, host); host 242 tools/attrd_updater.c crm_debug("Sending query for value of %s on %s", name, (host? host : "all nodes")); host 43 tools/cib_shadow.c const char *host = NULL; host 45 tools/cibadmin.c const char *host = NULL; host 321 tools/cibadmin.c host = strdup(optarg); host 528 tools/cibadmin.c return cib_internal_op(the_cib, cib_action, host, obj_type, input, output, call_options, cib_user); host 51 tools/crm_resource.h int cli_resource_prefer(const char *rsc_id, const char *host, cib_t * cib_conn); host 52 tools/crm_resource.h int cli_resource_ban(const char *rsc_id, const char *host, GListPtr allnodes, cib_t * cib_conn); host 53 tools/crm_resource.h int cli_resource_clear(const char *rsc_id, const char *host, GListPtr allnodes, cib_t * cib_conn); host 79 tools/crm_resource.h int cli_resource_restart(resource_t * rsc, const char *host, int timeout_ms, cib_t * cib); host 61 tools/crm_resource_ban.c cli_resource_ban(const char *rsc_id, const char *host, GListPtr allnodes, cib_t * cib_conn) host 68 tools/crm_resource_ban.c if(host == NULL) { host 86 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-ban-%s-on-%s", rsc_id, host); host 91 tools/crm_resource_ban.c " on %s.", ID(location), rsc_id, host); host 95 tools/crm_resource_ban.c " with cibadmin", rsc_id, scope_master?"being promoted":"running", host); host 97 tools/crm_resource_ban.c " the last node in the cluster", host); host 110 tools/crm_resource_ban.c crm_xml_add(location, XML_CIB_TAG_NODE, host); host 117 tools/crm_resource_ban.c crm_xml_set_id(rule, "cli-ban-%s-on-%s-rule", rsc_id, host); host 121 tools/crm_resource_ban.c crm_xml_set_id(expr, "cli-ban-%s-on-%s-expr", rsc_id, host); host 124 tools/crm_resource_ban.c crm_xml_add(expr, XML_EXPR_ATTR_VALUE, host); host 128 tools/crm_resource_ban.c crm_xml_set_id(expr, "cli-ban-%s-on-%s-lifetime", rsc_id, host); host 143 tools/crm_resource_ban.c cli_resource_prefer(const char *rsc_id, const char *host, cib_t * cib_conn) host 173 tools/crm_resource_ban.c crm_xml_add(location, XML_CIB_TAG_NODE, host); host 187 tools/crm_resource_ban.c crm_xml_add(expr, XML_EXPR_ATTR_VALUE, host); host 205 tools/crm_resource_ban.c cli_resource_clear(const char *rsc_id, const char *host, GListPtr allnodes, cib_t * cib_conn) host 217 tools/crm_resource_ban.c if(host) { host 219 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-ban-%s-on-%s", rsc_id, host); host 234 tools/crm_resource_ban.c if(host && do_force == FALSE) { host 235 tools/crm_resource_ban.c crm_xml_add(location, XML_CIB_TAG_NODE, host); host 66 tools/crm_resource_print.c const char *host = NULL; host 96 tools/crm_resource_print.c host = tmp->details->uname; host 102 tools/crm_resource_print.c rprov ? rprov : "NA", rclass, rtype, host ? host : "NA", needs_quorum, rsc->flags, host 778 tools/crm_resource_runtime.c static bool resource_is_running_on(resource_t *rsc, const char *host) host 789 tools/crm_resource_runtime.c for (hIter = hosts; host != NULL && hIter != NULL; hIter = hIter->next) { host 792 tools/crm_resource_runtime.c if(strcmp(host, node->details->uname) == 0) { host 793 tools/crm_resource_runtime.c crm_trace("Resource %s is running on %s\n", rsc->id, host); host 795 tools/crm_resource_runtime.c } else if(strcmp(host, node->details->id) == 0) { host 796 tools/crm_resource_runtime.c crm_trace("Resource %s is running on %s\n", rsc->id, host); host 801 tools/crm_resource_runtime.c if(host != NULL) { host 802 tools/crm_resource_runtime.c crm_trace("Resource %s is not running on: %s\n", rsc->id, host); host 805 tools/crm_resource_runtime.c } else if(host == NULL && hosts == NULL) { host 826 tools/crm_resource_runtime.c get_active_resources(const char *host, GList *rsc_list) host 840 tools/crm_resource_runtime.c get_active_resources(host, rsc->children)); host 841 tools/crm_resource_runtime.c } else if (resource_is_running_on(rsc, host)) { host 1078 tools/crm_resource_runtime.c cli_resource_restart(resource_t * rsc, const char *host, int timeout_ms, cib_t * cib) host 1098 tools/crm_resource_runtime.c if(resource_is_running_on(rsc, host) == FALSE) { host 1100 tools/crm_resource_runtime.c if(host) { host 1101 tools/crm_resource_runtime.c printf("%s is not running on %s and so cannot be restarted\n", id, host); host 1112 tools/crm_resource_runtime.c if ((pe_rsc_is_clone(rsc) || pe_bundle_replicas(rsc)) && host) { host 1143 tools/crm_resource_runtime.c restart_target_active = get_active_resources(host, data_set.resources); host 1144 tools/crm_resource_runtime.c current_active = get_active_resources(host, data_set.resources); host 1151 tools/crm_resource_runtime.c rc = cli_resource_ban(rsc_id, host, NULL, cib); host 1185 tools/crm_resource_runtime.c target_active = get_active_resources(host, data_set.resources); host 1215 tools/crm_resource_runtime.c current_active = get_active_resources(host, data_set.resources); host 1234 tools/crm_resource_runtime.c rc = cli_resource_clear(rsc_id, host, NULL, cib); host 1267 tools/crm_resource_runtime.c while (waiting_for_starts(list_delta, rsc, host)) { host 1274 tools/crm_resource_runtime.c for (lpc = 0; (lpc < step_timeout_s) && waiting_for_starts(list_delta, rsc, host); lpc++) { host 1317 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, host, NULL, cib);