host 55 daemons/attrd/attrd_commands.c void attrd_peer_update(crm_node_t *peer, xmlNode *xml, const char *host, bool filter); host 57 daemons/attrd/attrd_commands.c void attrd_peer_remove(const char *host, gboolean uncache, const char *source); host 231 daemons/attrd/attrd_commands.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); host 234 daemons/attrd/attrd_commands.c if (host == NULL) { host 244 daemons/attrd/attrd_commands.c host = node->uname; host 248 daemons/attrd/attrd_commands.c host = host_alloc; host 250 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NODE_NAME, host); host 254 daemons/attrd/attrd_commands.c if (host) { host 256 daemons/attrd/attrd_commands.c pcmk__client_name(client), host); host 277 daemons/attrd/attrd_commands.c char *host = crm_element_value_copy(xml, PCMK__XA_ATTR_NODE_NAME); host 304 daemons/attrd/attrd_commands.c free(host); host 311 daemons/attrd/attrd_commands.c free(host); host 315 daemons/attrd/attrd_commands.c if (host == NULL) { host 317 daemons/attrd/attrd_commands.c host = strdup(attrd_cluster->uname); host 318 daemons/attrd/attrd_commands.c crm_xml_add(xml, PCMK__XA_ATTR_NODE_NAME, host); host 331 daemons/attrd/attrd_commands.c v = g_hash_table_lookup(a->values, host); host 343 daemons/attrd/attrd_commands.c crm_debug("Broadcasting %s[%s]=%s%s", attr, host, value, host 346 daemons/attrd/attrd_commands.c free(host); host 436 daemons/attrd/attrd_commands.c static xmlNode *build_query_reply(const char *attr, const char *host) host 456 daemons/attrd/attrd_commands.c if (pcmk__str_eq(host, "localhost", pcmk__str_casei)) { host 457 daemons/attrd/attrd_commands.c host = attrd_cluster->uname; host 458 daemons/attrd/attrd_commands.c crm_trace("Mapped localhost to %s", host); host 462 daemons/attrd/attrd_commands.c if (host) { host 463 daemons/attrd/attrd_commands.c v = g_hash_table_lookup(a->values, host); host 469 daemons/attrd/attrd_commands.c crm_xml_add(host_value, PCMK__XA_ATTR_NODE_NAME, host); host 556 daemons/attrd/attrd_commands.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); host 583 daemons/attrd/attrd_commands.c attrd_peer_update(peer, xml, host, FALSE); host 650 daemons/attrd/attrd_commands.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); host 670 daemons/attrd/attrd_commands.c attrd_peer_update(peer, xml, host, FALSE); host 676 daemons/attrd/attrd_commands.c attrd_peer_remove(host, TRUE, peer->uname); host 730 daemons/attrd/attrd_commands.c attrd_peer_remove(const char *host, gboolean uncache, const char *source) host 735 daemons/attrd/attrd_commands.c CRM_CHECK(host != NULL, return); host 736 daemons/attrd/attrd_commands.c crm_notice("Removing all %s attributes for peer %s", host, source); host 740 daemons/attrd/attrd_commands.c if(g_hash_table_remove(a->values, host)) { host 741 daemons/attrd/attrd_commands.c crm_debug("Removed %s[%s] for peer %s", a->id, host, source); host 746 daemons/attrd/attrd_commands.c crm_remote_peer_cache_remove(host); host 747 daemons/attrd/attrd_commands.c reap_crm_member(0, host); host 762 daemons/attrd/attrd_commands.c attrd_lookup_or_create_value(GHashTable *values, const char *host, xmlNode *xml) host 764 daemons/attrd/attrd_commands.c attribute_value_t *v = g_hash_table_lookup(values, host); host 769 daemons/attrd/attrd_commands.c cache_remote_node(host); host 776 daemons/attrd/attrd_commands.c v->nodename = strdup(host); host 843 daemons/attrd/attrd_commands.c attrd_peer_update(crm_node_t *peer, xmlNode *xml, const char *host, bool filter) host 918 daemons/attrd/attrd_commands.c if (host == NULL) { host 924 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&vIter, (gpointer *) & host, NULL)) { host 925 daemons/attrd/attrd_commands.c attrd_peer_update(peer, xml, host, filter); host 932 daemons/attrd/attrd_commands.c v = attrd_lookup_or_create_value(a->values, host, xml); host 935 daemons/attrd/attrd_commands.c && pcmk__str_eq(host, attrd_cluster->uname, pcmk__str_casei)) { host 938 daemons/attrd/attrd_commands.c attr, host, v->current, value, peer->uname); host 943 daemons/attrd/attrd_commands.c attr, host, v->current? v->current : "(unset)", value? value : "(unset)", peer->uname); host 948 daemons/attrd/attrd_commands.c if (pcmk__str_eq(host, attrd_cluster->uname, pcmk__str_casei) host 971 daemons/attrd/attrd_commands.c crm_trace("Unchanged %s[%s] from %s is %s(Set the forced write flag)", attr, host, peer->uname, value); host 974 daemons/attrd/attrd_commands.c crm_trace("Unchanged %s[%s] from %s is %s", attr, host, peer->uname, value); host 986 daemons/attrd/attrd_commands.c crm_node_t *known_peer = crm_get_peer(v->nodeid, host); host 52 daemons/based/based_callbacks.c void send_cib_replace(const xmlNode * sync_request, const char *host); host 306 daemons/based/based_callbacks.c const char *host = crm_element_value(reply, F_ORIG); host 326 daemons/based/based_callbacks.c crm_trace("Ignoring ping reply %s from %s with no digest", seq_s, host); host 329 daemons/based/based_callbacks.c crm_trace("Ignoring out of sequence ping reply %s from %s", seq_s, host); host 332 daemons/based/based_callbacks.c crm_trace("Ignoring ping reply %s from %s: cib updated since", seq_s, host); host 342 daemons/based/based_callbacks.c crm_trace("Processing ping reply %s from %s (%s)", seq_s, host, digest); host 350 daemons/based/based_callbacks.c ping_digest, host, host 487 daemons/based/based_callbacks.c int call_options, const char *host, const char *op, host 499 daemons/based/based_callbacks.c if (host == NULL && (call_options & cib_scope_local)) { host 504 daemons/based/based_callbacks.c } else if (host == NULL && cib_is_master) { host 509 daemons/based/based_callbacks.c } else if (pcmk__str_eq(host, cib_our_uname, pcmk__str_casei)) { host 522 daemons/based/based_callbacks.c (host? host : "the master instance")); host 530 daemons/based/based_callbacks.c int call_options, const char *host, const char *op, host 550 daemons/based/based_callbacks.c (host? host : "the master instance")); host 565 daemons/based/based_callbacks.c } else if (host == NULL) { host 569 daemons/based/based_callbacks.c } else if (pcmk__str_eq(host, cib_our_uname, pcmk__str_casei)) { host 575 daemons/based/based_callbacks.c op, pcmk__client_name(cib_client), host); host 583 daemons/based/based_callbacks.c int call_options, const char *host, const char *op, host 588 daemons/based/based_callbacks.c parse_local_options_v1(cib_client, call_type, call_options, host, host 591 daemons/based/based_callbacks.c parse_local_options_v2(cib_client, call_type, call_options, host, host 602 daemons/based/based_callbacks.c const char *host = NULL; host 649 daemons/based/based_callbacks.c host = crm_element_value(request, F_CIB_HOST); host 650 daemons/based/based_callbacks.c if (host != NULL && pcmk__str_eq(host, cib_our_uname, pcmk__str_casei)) { host 655 daemons/based/based_callbacks.c crm_trace("Processing %s request sent to %s by %s", op, host?host:"everyone", originator); host 659 daemons/based/based_callbacks.c } else if (host == NULL && cib_is_master == TRUE) { host 668 daemons/based/based_callbacks.c } else if (host != NULL) { host 670 daemons/based/based_callbacks.c crm_trace("Ignoring msg for instance on %s", crm_str(host)); host 699 daemons/based/based_callbacks.c const char *host = NULL; host 795 daemons/based/based_callbacks.c host = crm_element_value(request, F_CIB_HOST); host 796 daemons/based/based_callbacks.c if (host != NULL && pcmk__str_eq(host, cib_our_uname, pcmk__str_casei)) { host 801 daemons/based/based_callbacks.c } else if (host != NULL) { host 803 daemons/based/based_callbacks.c crm_trace("Ignoring %s operation for instance on %s", op, crm_str(host)); host 839 daemons/based/based_callbacks.c const char *host = crm_element_value(request, F_CIB_HOST); host 843 daemons/based/based_callbacks.c if (host != NULL) { host 844 daemons/based/based_callbacks.c crm_trace("Forwarding %s op to %s", op, host); host 845 daemons/based/based_callbacks.c send_cluster_message(crm_get_peer(0, host), crm_msg_cib, request, FALSE); host 945 daemons/based/based_callbacks.c const char *host = crm_element_value(request, F_CIB_HOST); host 954 daemons/based/based_callbacks.c if ((host != NULL) && (*host == '\0')) { host 955 daemons/based/based_callbacks.c host = NULL; host 958 daemons/based/based_callbacks.c if (host) { host 959 daemons/based/based_callbacks.c target = host; host 984 daemons/based/based_callbacks.c parse_local_options(cib_client, call_type, call_options, host, op, host 1015 daemons/based/based_callbacks.c host ? host : cib_legacy_mode() ? "master" : "all", host 56 daemons/based/based_messages.c const char *host = crm_element_value(req, F_ORIG); host 61 daemons/based/based_messages.c crm_info("Peer %s is requesting to shut down", host); host 66 daemons/based/based_messages.c crm_err("Peer %s mistakenly thinks we wanted to shut down", host); host 70 daemons/based/based_messages.c crm_info("Peer %s has acknowledged our shutdown request", host); host 139 daemons/based/based_messages.c send_sync_request(const char *host) host 143 daemons/based/based_messages.c crm_info("Requesting re-sync from %s", (host? host : "all peers")); host 150 daemons/based/based_messages.c send_cluster_message(host ? crm_get_peer(0, host) : NULL, crm_msg_cib, sync_me, FALSE); host 158 daemons/based/based_messages.c const char *host = crm_element_value(req, F_ORIG); host 164 daemons/based/based_messages.c crm_trace("Processing \"%s\" event %s from %s", op, seq, host); host 190 daemons/based/based_messages.c host, digest, host 230 daemons/based/based_messages.c const char *host = crm_element_value(req, F_ORIG); host 246 daemons/based/based_messages.c crm_notice("Upgrade request from %s verified", host); host 251 daemons/based/based_messages.c crm_xml_add(up, F_CIB_DELEGATED, host); host 272 daemons/based/based_messages.c crm_node_t *origin = pcmk__search_cluster_node_cache(0, host); host 275 daemons/based/based_messages.c CRM_XS " rc=%d peer=%s", host, pcmk_strerror(rc), rc, host 283 daemons/based/based_messages.c crm_xml_add(up, F_CIB_DELEGATED, host); host 284 daemons/based/based_messages.c crm_xml_add(up, F_CIB_ISREPLY, host); host 291 daemons/based/based_messages.c crm_warn("Could not send CIB upgrade result to %s", host); host 496 daemons/based/based_messages.c const char *host = crm_element_value(request, F_ORIG); host 504 daemons/based/based_messages.c crm_debug("Syncing CIB to %s", all ? "all peers" : host); host 505 daemons/based/based_messages.c if (all == FALSE && host == NULL) { host 516 daemons/based/based_messages.c if (host != NULL) { host 517 daemons/based/based_messages.c crm_xml_add(replace_request, F_CIB_ISREPLY, host); host 534 daemons/based/based_messages.c (all ? NULL : crm_get_peer(0, host), crm_msg_cib, replace_request, FALSE) == FALSE) { host 134 daemons/based/pacemaker-based.h void send_sync_request(const char *host); host 32 daemons/controld/controld_attrd.c log_attrd_error(const char *host, const char *name, const char *value, host 43 daemons/controld/controld_attrd.c host, when, pcmk_rc_str(rc), rc); host 49 daemons/controld/controld_attrd.c node_type, host, when, pcmk_rc_str(rc), rc); host 59 daemons/controld/controld_attrd.c CRM_XS " rc=%d", name, value, node_type, host, when, host 79 daemons/controld/controld_attrd.c update_attrd_helper(const char *host, const char *name, const char *value, host 112 daemons/controld/controld_attrd.c rc = pcmk__node_attr_request(attrd_ipc, command, host, name, host 119 daemons/controld/controld_attrd.c rc = pcmk__node_attr_request_clear(attrd_ipc, host, name, host 148 daemons/controld/controld_attrd.c log_attrd_error(host, name, value, is_remote_node, command, rc); host 153 daemons/controld/controld_attrd.c update_attrd(const char *host, const char *name, const char *value, host 156 daemons/controld/controld_attrd.c update_attrd_helper(host, name, value, NULL, user_name, is_remote_node, host 161 daemons/controld/controld_attrd.c update_attrd_remote_node_removed(const char *host, const char *user_name) host 164 daemons/controld/controld_attrd.c host); host 165 daemons/controld/controld_attrd.c update_attrd_helper(host, NULL, NULL, NULL, user_name, TRUE, 'C'); host 169 daemons/controld/controld_attrd.c update_attrd_clear_failures(const char *host, const char *rsc, const char *op, host 184 daemons/controld/controld_attrd.c interval_desc, op_desc, rsc, node_type, host); host 185 daemons/controld/controld_attrd.c update_attrd_helper(host, rsc, op, interval_spec, NULL, is_remote_node, 0); host 86 daemons/controld/controld_utils.h void update_attrd(const char *host, const char *name, const char *value, const char *user_name, gboolean is_remote_node); host 87 daemons/controld/controld_utils.h void update_attrd_remote_node_removed(const char *host, const char *user_name); host 88 daemons/controld/controld_utils.h void update_attrd_clear_failures(const char *host, const char *rsc, host 44 daemons/fenced/fenced_commands.c char *host; host 1089 daemons/fenced/fenced_commands.c crm_trace("Host %s is not known by %s", search->host, dev->id); host 1092 daemons/fenced/fenced_commands.c crm_trace("Host %s is known by %s", search->host, dev->id); host 1096 daemons/fenced/fenced_commands.c crm_notice("Unknown result when testing if %s can fence %s: rc=%d", dev->id, search->host, host 1142 daemons/fenced/fenced_commands.c const char *alias = g_hash_table_lookup(dev->aliases, search->host); host 1145 daemons/fenced/fenced_commands.c alias = search->host; host 1653 daemons/fenced/fenced_commands.c (search->host? search->host : "any node")); host 1656 daemons/fenced/fenced_commands.c free(search->host); host 1700 daemons/fenced/fenced_commands.c const char *host = search->host; host 1707 daemons/fenced/fenced_commands.c } else if (host == NULL) { host 1719 daemons/fenced/fenced_commands.c if (!localhost_is_eligible(dev, "reboot", host, search->allow_suicide) host 1720 daemons/fenced/fenced_commands.c && !localhost_is_eligible(dev, "off", host, search->allow_suicide) host 1721 daemons/fenced/fenced_commands.c && !localhost_is_eligible(dev, "on", host, FALSE)) { host 1724 daemons/fenced/fenced_commands.c } else if (!localhost_is_eligible(dev, search->action, host, host 1729 daemons/fenced/fenced_commands.c alias = g_hash_table_lookup(dev->aliases, host); host 1731 daemons/fenced/fenced_commands.c alias = host; host 1745 daemons/fenced/fenced_commands.c if (string_in_list(dev->targets, host)) { host 1748 daemons/fenced/fenced_commands.c && g_hash_table_lookup(dev->aliases, host)) { host 1757 daemons/fenced/fenced_commands.c check_type, dev->id, search->host, search->action); host 1772 daemons/fenced/fenced_commands.c check_type, dev->id, search->host, search->action); host 1773 daemons/fenced/fenced_commands.c schedule_internal_command(__func__, dev, "status", search->host, host 1782 daemons/fenced/fenced_commands.c if (pcmk__str_eq(host, alias, pcmk__str_casei)) { host 1784 daemons/fenced/fenced_commands.c dev->id, (can? "" : " not"), search->action, host, host 1788 daemons/fenced/fenced_commands.c dev->id, (can? "" : " not"), search->action, host, alias, host 1807 daemons/fenced/fenced_commands.c get_capable_devices(const char *host, const char *action, int timeout, bool suicide, void *user_data, host 1856 daemons/fenced/fenced_commands.c search->host = host ? strdup(host) : NULL; host 1871 daemons/fenced/fenced_commands.c (search->host? search->host : "any node")); host 2417 daemons/fenced/fenced_commands.c const char *host = crm_element_value(dev, F_STONITH_TARGET); host 2423 daemons/fenced/fenced_commands.c pcmk__scan_min_int(host, &nodeid, 0); host 2426 daemons/fenced/fenced_commands.c host = node->uname; host 2431 daemons/fenced/fenced_commands.c get_capable_devices(host, cmd->action, cmd->default_timeout, host 68 daemons/fenced/fenced_remote.c char *host; host 100 daemons/fenced/fenced_remote.c crm_trace("Free'ing query result from %s", query->host); host 102 daemons/fenced/fenced_remote.c free(query->host); host 209 daemons/fenced/fenced_remote.c device, peer->host, count_peer_devices(op, peer, FALSE)); host 788 daemons/fenced/fenced_remote.c find_topology_for_host(const char *host) host 791 daemons/fenced/fenced_remote.c stonith_topology_t *tp = g_hash_table_lookup(topology, host); host 794 daemons/fenced/fenced_remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); host 800 daemons/fenced/fenced_remote.c if (topology_matches(tp, host)) { host 801 daemons/fenced/fenced_remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); host 806 daemons/fenced/fenced_remote.c crm_trace("No matches for %s in %d topology entries", host, g_hash_table_size(topology)); host 1220 daemons/fenced/fenced_remote.c peer->host, op->target, peer->ndevices, host 1222 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_SKIP_TARGET) && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { host 1225 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_TARGET_ONLY) && !pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { host 1267 daemons/fenced/fenced_remote.c crm_trace("Found verified peer %s for %s", peer->host, device?device:"<any>"); host 1279 daemons/fenced/fenced_remote.c crm_trace("Found best unverified peer %s", peer->host); host 1289 daemons/fenced/fenced_remote.c crm_trace("%s will fence itself", peer->host); host 1578 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, device, host 1586 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, op->client_name, host 1603 daemons/fenced/fenced_remote.c && pcmk__str_eq(peer->host, op->target, pcmk__str_casei) host 1615 daemons/fenced/fenced_remote.c send_cluster_message(crm_get_peer(0, peer->host), crm_msg_stonith_ng, remote_op, FALSE); host 1735 daemons/fenced/fenced_remote.c if (skip_target && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { host 1834 daemons/fenced/fenced_remote.c result->host, device); host 1839 daemons/fenced/fenced_remote.c parse_action_specific(xml, result->host, device, op_requested_action(op), host 1848 daemons/fenced/fenced_remote.c parse_action_specific(child, result->host, device, "off", host 1851 daemons/fenced/fenced_remote.c parse_action_specific(child, result->host, device, "on", host 1869 daemons/fenced/fenced_remote.c add_result(remote_fencing_op_t *op, const char *host, int ndevices, xmlNode *xml) host 1877 daemons/fenced/fenced_remote.c result->host = strdup(host); host 1920 daemons/fenced/fenced_remote.c const char *host = NULL; host 1949 daemons/fenced/fenced_remote.c host = crm_element_value(msg, F_ORIG); host 1950 daemons/fenced/fenced_remote.c host_is_target = pcmk__str_eq(host, op->target, pcmk__str_casei); host 1953 daemons/fenced/fenced_remote.c op->replies, replies_expected, host, host 1956 daemons/fenced/fenced_remote.c result = add_result(op, host, ndevices, dev); host 1996 daemons/fenced/fenced_remote.c "Operation is %s", result->host, host 229 daemons/fenced/pacemaker-fenced.h stonith_topology_t *find_topology_for_host(const char *host); host 94 include/crm/cib/cib_types.h int (*query_from) (cib_t *cib, const char *host, const char *section, host 101 include/crm/cib/cib_types.h int (*sync_from) (cib_t *cib, const char *host, const char *section, host 125 include/crm/cib/internal.h xmlNode *cib_create_op(int call_id, const char *token, const char *op, const char *host, host 206 include/crm/cib/internal.h int cib_internal_op(cib_t * cib, const char *op, const char *host, host 32 include/crm/common/attrd_internal.h int pcmk__node_attr_request(crm_ipc_t * ipc, char command, const char *host, host 38 include/crm/common/attrd_internal.h int pcmk__node_attr_request_clear(crm_ipc_t *ipc, const char *host, host 21 include/crm/common/remote_internal.h int pcmk__connect_remote(const char *host, int port, int timeout_ms, host 30 include/crm/pengine/remote_internal.h void pe_foreach_guest_node(const pe_working_set_t *data_set, const pe_node_t *host, host 70 lib/cib/cib_client.c cib_client_query_from(cib_t * cib, const char *host, const char *section, host 74 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_QUERY, host, section, NULL, output_data, call_options, NULL); host 128 lib/cib/cib_client.c cib_client_sync_from(cib_t * cib, const char *host, const char *section, int call_options) host 131 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_SYNC, host, section, NULL, NULL, call_options, NULL); host 60 lib/cib/cib_file.c int cib_file_perform_op(cib_t * cib, const char *op, const char *host, const char *section, host 63 lib/cib/cib_file.c int cib_file_perform_op_delegate(cib_t * cib, const char *op, const char *host, const char *section, host 783 lib/cib/cib_file.c cib_file_perform_op(cib_t * cib, const char *op, const char *host, const char *section, host 786 lib/cib/cib_file.c return cib_file_perform_op_delegate(cib, op, host, section, data, output_data, call_options, host 791 lib/cib/cib_file.c cib_file_perform_op_delegate(cib_t * cib, const char *op, const char *host, const char *section, host 840 lib/cib/cib_file.c request = cib_create_op(cib->call_id, "dummy-token", op, host, section, data, call_options, user_name); host 41 lib/cib/cib_native.c int cib_native_perform_op(cib_t * cib, const char *op, const char *host, const char *section, host 44 lib/cib/cib_native.c int cib_native_perform_op_delegate(cib_t * cib, const char *op, const char *host, host 299 lib/cib/cib_native.c cib_native_perform_op(cib_t * cib, const char *op, const char *host, const char *section, host 302 lib/cib/cib_native.c return cib_native_perform_op_delegate(cib, op, host, section, host 307 lib/cib/cib_native.c cib_native_perform_op_delegate(cib_t * cib, const char *op, const char *host, const char *section, host 345 lib/cib/cib_native.c cib_create_op(cib->call_id, native->token, op, host, section, data, call_options, host 73 lib/cib/cib_remote.c int cib_remote_perform_op(cib_t * cib, const char *op, const char *host, const char *section, host 467 lib/cib/cib_remote.c cib_remote_perform_op(cib_t * cib, const char *op, const char *host, const char *section, host 498 lib/cib/cib_remote.c cib_create_op(cib->call_id, private->callback.token, op, host, section, data, call_options, host 514 lib/cib/cib_utils.c cib_create_op(int call_id, const char *token, const char *op, const char *host, const char *section, host 527 lib/cib/cib_utils.c crm_xml_add(op_msg, F_CIB_HOST, host); host 719 lib/cib/cib_utils.c cib_internal_op(cib_t * cib, const char *op, const char *host, host 723 lib/cib/cib_utils.c int (*delegate) (cib_t * cib, const char *op, const char *host, host 732 lib/cib/cib_utils.c return delegate(cib, op, host, section, data, output_data, call_options, user_name); host 62 lib/cluster/cpg.c pcmk__cpg_host_t host; host 303 lib/cluster/cpg.c ais_dest(const pcmk__cpg_host_t *host) host 305 lib/cluster/cpg.c if (host->local) { host 307 lib/cluster/cpg.c } else if (host->size > 0) { host 308 lib/cluster/cpg.c return host->uname; host 375 lib/cluster/cpg.c msg_type2text(msg->host.type), ais_dest(&(msg->host))); host 387 lib/cluster/cpg.c msg_type2text(msg->host.type), ais_dest(&(msg->host))); host 399 lib/cluster/cpg.c msg_type2text(msg->host.type), ais_dest(&(msg->host))); host 415 lib/cluster/cpg.c msg_type2text(msg->host.type), ais_dest(&(msg->host))); host 423 lib/cluster/cpg.c msg_type2text(msg->host.type), ais_dest(&(msg->host))); host 459 lib/cluster/cpg.c } else if (msg->host.id != 0 && (local_nodeid != msg->host.id)) { host 461 lib/cluster/cpg.c crm_trace("Not for us: %u != %u", msg->host.id, local_nodeid); host 463 lib/cluster/cpg.c } else if (msg->host.size != 0 && !pcmk__str_eq(msg->host.uname, local_name, pcmk__str_casei)) { host 465 lib/cluster/cpg.c crm_trace("Not for us: %s != %s", msg->host.uname, local_name); host 540 lib/cluster/cpg.c msg->id, ais_dest(&(msg->host)), msg_type2text(msg->host.type), host 951 lib/cluster/cpg.c msg->host.type = dest; host 952 lib/cluster/cpg.c msg->host.local = local; host 957 lib/cluster/cpg.c msg->host.size = strlen(node->uname); host 958 lib/cluster/cpg.c memset(msg->host.uname, 0, MAX_NAME); host 959 lib/cluster/cpg.c memcpy(msg->host.uname, node->uname, msg->host.size); host 963 lib/cluster/cpg.c msg->host.id = node->id; host 133 lib/common/attrd_client.c pcmk__node_attr_request(crm_ipc_t *ipc, char command, const char *host, host 141 lib/common/attrd_client.c const char *display_host = (host ? host : "localhost"); host 202 lib/common/attrd_client.c crm_xml_add(update, PCMK__XA_ATTR_NODE_NAME, host); host 239 lib/common/attrd_client.c pcmk__node_attr_request_clear(crm_ipc_t *ipc, const char *host, host 250 lib/common/attrd_client.c crm_xml_add(clear_op, PCMK__XA_ATTR_NODE_NAME, host); host 269 lib/common/attrd_client.c (host? host : "all nodes"), pcmk_rc_str(rc), rc); host 1063 lib/common/remote.c pcmk__connect_remote(const char *host, int port, int timeout, int *timer_id, host 1071 lib/common/remote.c const char *server = host; host 1075 lib/common/remote.c CRM_CHECK((host != NULL) && (sock_fd != NULL), return EINVAL); host 1106 lib/common/remote.c crm_debug("Got canonical name %s for %s", server, host); host 1318 lib/pacemaker/pcmk_sched_graph.c pe_node_t *host = NULL; host 1332 lib/pacemaker/pcmk_sched_graph.c host = pe__current_node(action->node->details->remote_rsc->container); host 1339 lib/pacemaker/pcmk_sched_graph.c host = action->node->details->remote_rsc->container->allocated_to; host 1345 lib/pacemaker/pcmk_sched_graph.c if(host) { host 1349 lib/pacemaker/pcmk_sched_graph.c (gpointer)host->details->uname, host 185 lib/pacemaker/pcmk_trans_utils.c const char *host = crm_element_value(input->xml, XML_LRM_ATTR_TARGET); host 191 lib/pacemaker/pcmk_trans_utils.c (host? " on " : ""), (host? host : "")); host 201 lib/pacemaker/pcmk_trans_utils.c const char *host = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); host 208 lib/pacemaker/pcmk_trans_utils.c action->id, desc, (host? " on " : ""), (host? host : ""), host 550 lib/pengine/clone.c pe_node_t *host = gIter->data; host 552 lib/pengine/clone.c pcmk__add_word(&list_text, &list_text_len, host->details->uname); host 566 lib/pengine/clone.c pe_node_t *host = gIter->data; host 568 lib/pengine/clone.c pcmk__add_word(&list_text, &list_text_len, host->details->uname); host 833 lib/pengine/clone.c pe_node_t *host = gIter->data; host 835 lib/pengine/clone.c if (!pcmk__str_in_list(only_node, host->details->uname, pcmk__str_casei)) { host 839 lib/pengine/clone.c pcmk__add_word(&list_text, &list_text_len, host->details->uname); host 856 lib/pengine/clone.c pe_node_t *host = gIter->data; host 858 lib/pengine/clone.c if (!pcmk__str_in_list(only_node, host->details->uname, pcmk__str_casei)) { host 862 lib/pengine/clone.c pcmk__add_word(&list_text, &list_text_len, host->details->uname); host 624 lib/pengine/common.c pe_node_t *host = node->details->remote_rsc->container->running_on->data; host 625 lib/pengine/common.c pe_rsc_trace(rsc, "%s: Looking for %s on the container host %s", rsc->id, name, host->details->uname); host 626 lib/pengine/common.c return g_hash_table_lookup(host->details->attrs, name); host 120 lib/pengine/remote.c pe_foreach_guest_node(const pe_working_set_t *data_set, const pe_node_t *host, host 125 lib/pengine/remote.c CRM_CHECK(data_set && host && host->details && helper, return); host 129 lib/pengine/remote.c for (iter = host->details->running_rsc; iter != NULL; iter = iter->next) { host 1456 lib/pengine/unpack.c pe_node_t *host = NULL; host 1470 lib/pengine/unpack.c host = rsc->running_on->data; host 1507 lib/pengine/unpack.c } else if (host && (host->details->online == FALSE) host 1508 lib/pengine/unpack.c && host->details->unclean) { host 296 tools/attrd_updater.c send_attrd_query(const char *name, const char *host, xmlNode **reply) host 309 tools/attrd_updater.c crm_xml_add(query, PCMK__XA_ATTR_NODE_NAME, host); host 314 tools/attrd_updater.c crm_debug("Sending query for value of %s on %s", name, (host? host : "all nodes")); host 23 tools/cibadmin.c static const char *host = NULL; host 517 tools/cibadmin.c host = strdup(optarg); host 726 tools/cibadmin.c return cib_internal_op(the_cib, cib_action, host, obj_type, input, output, call_options, cib_user); host 46 tools/crm_resource.h int cli_resource_prefer(pcmk__output_t *out, const char *rsc_id, const char *host, host 49 tools/crm_resource.h int cli_resource_ban(pcmk__output_t *out, const char *rsc_id, const char *host, host 52 tools/crm_resource.h int cli_resource_clear(const char *rsc_id, const char *host, GList *allnodes, host 79 tools/crm_resource.h int cli_resource_restart(pcmk__output_t *out, pe_resource_t *rsc, const char *host, host 112 tools/crm_resource.h bool resource_is_running_on(pe_resource_t *rsc, const char *host); host 77 tools/crm_resource_ban.c cli_resource_ban(pcmk__output_t *out, const char *rsc_id, const char *host, host 86 tools/crm_resource_ban.c if(host == NULL) { host 105 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-ban-%s-on-%s", rsc_id, host); host 113 tools/crm_resource_ban.c ID(location), rsc_id, host, rsc_id, host 115 tools/crm_resource_ban.c host, host); host 126 tools/crm_resource_ban.c crm_xml_add(location, XML_CIB_TAG_NODE, host); host 133 tools/crm_resource_ban.c crm_xml_set_id(rule, "cli-ban-%s-on-%s-rule", rsc_id, host); host 137 tools/crm_resource_ban.c crm_xml_set_id(expr, "cli-ban-%s-on-%s-expr", rsc_id, host); host 140 tools/crm_resource_ban.c crm_xml_add(expr, XML_EXPR_ATTR_VALUE, host); host 144 tools/crm_resource_ban.c crm_xml_set_id(expr, "cli-ban-%s-on-%s-lifetime", rsc_id, host); host 160 tools/crm_resource_ban.c cli_resource_prefer(pcmk__output_t *out,const char *rsc_id, const char *host, host 192 tools/crm_resource_ban.c crm_xml_add(location, XML_CIB_TAG_NODE, host); host 206 tools/crm_resource_ban.c crm_xml_add(expr, XML_EXPR_ATTR_VALUE, host); host 245 tools/crm_resource_ban.c resource_clear_node_in_expr(const char *rsc_id, const char *host, cib_t * cib_conn, host 252 tools/crm_resource_ban.c rsc_id, rsc_id, host); host 267 tools/crm_resource_ban.c resource_clear_node_in_location(const char *rsc_id, const char *host, cib_t * cib_conn, host 278 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-ban-%s-on-%s", rsc_id, host); host 284 tools/crm_resource_ban.c crm_xml_add(location, XML_CIB_TAG_NODE, host); host 301 tools/crm_resource_ban.c cli_resource_clear(const char *rsc_id, const char *host, GList *allnodes, cib_t * cib_conn, host 310 tools/crm_resource_ban.c if (host) { host 311 tools/crm_resource_ban.c rc = resource_clear_node_in_expr(rsc_id, host, cib_conn, cib_options); host 318 tools/crm_resource_ban.c rc = resource_clear_node_in_location(rsc_id, host, cib_conn, host 58 tools/crm_resource_print.c const char *host = NULL; host 72 tools/crm_resource_print.c host = node->details->uname; host 78 tools/crm_resource_print.c rprov ? rprov : "NA", rclass, rtype, host ? host : "NA", needs_quorum, rsc->flags, host 966 tools/crm_resource_runtime.c bool resource_is_running_on(pe_resource_t *rsc, const char *host) host 977 tools/crm_resource_runtime.c for (hIter = hosts; host != NULL && hIter != NULL; hIter = hIter->next) { host 980 tools/crm_resource_runtime.c if(strcmp(host, node->details->uname) == 0) { host 981 tools/crm_resource_runtime.c crm_trace("Resource %s is running on %s\n", rsc->id, host); host 983 tools/crm_resource_runtime.c } else if(strcmp(host, node->details->id) == 0) { host 984 tools/crm_resource_runtime.c crm_trace("Resource %s is running on %s\n", rsc->id, host); host 989 tools/crm_resource_runtime.c if(host != NULL) { host 990 tools/crm_resource_runtime.c crm_trace("Resource %s is not running on: %s\n", rsc->id, host); host 993 tools/crm_resource_runtime.c } else if(host == NULL && hosts == NULL) { host 1013 tools/crm_resource_runtime.c get_active_resources(const char *host, GList *rsc_list) host 1027 tools/crm_resource_runtime.c get_active_resources(host, rsc->children)); host 1028 tools/crm_resource_runtime.c } else if (resource_is_running_on(rsc, host)) { host 1266 tools/crm_resource_runtime.c cli_resource_restart(pcmk__output_t *out, pe_resource_t *rsc, const char *host, host 1288 tools/crm_resource_runtime.c if (!resource_is_running_on(rsc, host)) { host 1290 tools/crm_resource_runtime.c if(host) { host 1291 tools/crm_resource_runtime.c out->err(out, "%s is not running on %s and so cannot be restarted", id, host); host 1299 tools/crm_resource_runtime.c if ((pe_rsc_is_clone(rsc) || pe_bundle_replicas(rsc)) && host) { host 1337 tools/crm_resource_runtime.c restart_target_active = get_active_resources(host, data_set->resources); host 1338 tools/crm_resource_runtime.c current_active = get_active_resources(host, data_set->resources); host 1345 tools/crm_resource_runtime.c rc = cli_resource_ban(out, rsc_id, host, move_lifetime, NULL, cib, host 1380 tools/crm_resource_runtime.c target_active = get_active_resources(host, data_set->resources); host 1410 tools/crm_resource_runtime.c current_active = get_active_resources(host, data_set->resources); host 1429 tools/crm_resource_runtime.c rc = cli_resource_clear(rsc_id, host, NULL, cib, cib_options, TRUE, force); host 1458 tools/crm_resource_runtime.c while (waiting_for_starts(list_delta, rsc, host)) { host 1465 tools/crm_resource_runtime.c for (lpc = 0; (lpc < step_timeout_s) && waiting_for_starts(list_delta, rsc, host); lpc++) { host 1508 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, host, NULL, cib, cib_options, TRUE, force);