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 1132 daemons/fenced/fenced_commands.c crm_trace("%s reported it cannot fence %s", dev->id, search->host); host 1137 daemons/fenced/fenced_commands.c crm_trace("%s reported it can fence %s", dev->id, search->host); host 1144 daemons/fenced/fenced_commands.c dev->id, search->host, rc); host 1186 daemons/fenced/fenced_commands.c dev->id, search->host, rc); host 1199 daemons/fenced/fenced_commands.c const char *alias = g_hash_table_lookup(dev->aliases, search->host); host 1202 daemons/fenced/fenced_commands.c alias = search->host; host 1809 daemons/fenced/fenced_commands.c (search->host? search->host : "any node")); host 1812 daemons/fenced/fenced_commands.c free(search->host); host 1856 daemons/fenced/fenced_commands.c const char *host = search->host; host 1863 daemons/fenced/fenced_commands.c } else if (host == NULL) { host 1875 daemons/fenced/fenced_commands.c if (!localhost_is_eligible(dev, "reboot", host, search->allow_suicide) host 1876 daemons/fenced/fenced_commands.c && !localhost_is_eligible(dev, "off", host, search->allow_suicide) host 1877 daemons/fenced/fenced_commands.c && !localhost_is_eligible(dev, "on", host, FALSE)) { host 1880 daemons/fenced/fenced_commands.c } else if (!localhost_is_eligible(dev, search->action, host, host 1885 daemons/fenced/fenced_commands.c alias = g_hash_table_lookup(dev->aliases, host); host 1887 daemons/fenced/fenced_commands.c alias = host; host 1901 daemons/fenced/fenced_commands.c if (pcmk__str_in_list(host, dev->targets, pcmk__str_casei)) { host 1904 daemons/fenced/fenced_commands.c && g_hash_table_lookup(dev->aliases, host)) { host 1920 daemons/fenced/fenced_commands.c check_type, dev->id, search->host, search->action); host 1942 daemons/fenced/fenced_commands.c check_type, dev->id, search->host, search->action); host 1943 daemons/fenced/fenced_commands.c schedule_internal_command(__func__, dev, "status", search->host, host 1952 daemons/fenced/fenced_commands.c if (pcmk__str_eq(host, alias, pcmk__str_casei)) { host 1954 daemons/fenced/fenced_commands.c dev->id, (can? "" : " not"), search->action, host, host 1958 daemons/fenced/fenced_commands.c dev->id, (can? "" : " not"), search->action, host, alias, host 1977 daemons/fenced/fenced_commands.c get_capable_devices(const char *host, const char *action, int timeout, bool suicide, void *user_data, host 1996 daemons/fenced/fenced_commands.c search->host = host ? strdup(host) : NULL; host 2011 daemons/fenced/fenced_commands.c (search->host? search->host : "any node")); host 2595 daemons/fenced/fenced_commands.c const char *host = crm_element_value(dev, F_STONITH_TARGET); host 2601 daemons/fenced/fenced_commands.c pcmk__scan_min_int(host, &nodeid, 0); host 2604 daemons/fenced/fenced_commands.c host = node->uname; host 2609 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 801 daemons/fenced/fenced_remote.c find_topology_for_host(const char *host) host 804 daemons/fenced/fenced_remote.c stonith_topology_t *tp = g_hash_table_lookup(topology, host); host 807 daemons/fenced/fenced_remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); host 813 daemons/fenced/fenced_remote.c if (topology_matches(tp, host)) { host 814 daemons/fenced/fenced_remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); host 819 daemons/fenced/fenced_remote.c crm_trace("No matches for %s in %d topology entries", host, g_hash_table_size(topology)); host 1233 daemons/fenced/fenced_remote.c peer->host, op->target, peer->ndevices, host 1235 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_SKIP_TARGET) && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { host 1238 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_TARGET_ONLY) && !pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { host 1280 daemons/fenced/fenced_remote.c crm_trace("Found verified peer %s for %s", peer->host, device?device:"<any>"); host 1292 daemons/fenced/fenced_remote.c crm_trace("Found best unverified peer %s", peer->host); host 1302 daemons/fenced/fenced_remote.c crm_trace("%s will fence itself", peer->host); host 1610 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, device, host 1618 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, op->client_name, host 1630 daemons/fenced/fenced_remote.c (pcmk__str_eq(peer->host, op->target, pcmk__str_casei) host 1654 daemons/fenced/fenced_remote.c send_cluster_message(crm_get_peer(0, peer->host), crm_msg_stonith_ng, remote_op, FALSE); host 1773 daemons/fenced/fenced_remote.c if (skip_target && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { host 1872 daemons/fenced/fenced_remote.c result->host, device); host 1877 daemons/fenced/fenced_remote.c parse_action_specific(xml, result->host, device, op_requested_action(op), host 1886 daemons/fenced/fenced_remote.c parse_action_specific(child, result->host, device, "off", host 1889 daemons/fenced/fenced_remote.c parse_action_specific(child, result->host, device, "on", host 1907 daemons/fenced/fenced_remote.c add_result(remote_fencing_op_t *op, const char *host, int ndevices, xmlNode *xml) host 1915 daemons/fenced/fenced_remote.c result->host = strdup(host); host 1958 daemons/fenced/fenced_remote.c const char *host = NULL; host 1987 daemons/fenced/fenced_remote.c host = crm_element_value(msg, F_ORIG); host 1988 daemons/fenced/fenced_remote.c host_is_target = pcmk__str_eq(host, op->target, pcmk__str_casei); host 1991 daemons/fenced/fenced_remote.c op->replies, replies_expected, host, host 1994 daemons/fenced/fenced_remote.c result = add_result(op, host, ndevices, dev); host 2034 daemons/fenced/fenced_remote.c "Operation is %s", result->host, host 225 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 124 include/crm/cib/internal.h xmlNode *cib_create_op(int call_id, const char *token, const char *op, const char *host, host 205 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 791 lib/cib/cib_file.c cib_file_perform_op(cib_t * cib, const char *op, const char *host, const char *section, host 794 lib/cib/cib_file.c return cib_file_perform_op_delegate(cib, op, host, section, data, output_data, call_options, host 799 lib/cib/cib_file.c cib_file_perform_op_delegate(cib_t * cib, const char *op, const char *host, const char *section, host 848 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 308 lib/cib/cib_native.c cib_native_perform_op(cib_t * cib, const char *op, const char *host, const char *section, host 311 lib/cib/cib_native.c return cib_native_perform_op_delegate(cib, op, host, section, host 316 lib/cib/cib_native.c cib_native_perform_op_delegate(cib_t * cib, const char *op, const char *host, const char *section, host 354 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 476 lib/cib/cib_remote.c cib_remote_perform_op(cib_t * cib, const char *op, const char *host, const char *section, host 507 lib/cib/cib_remote.c cib_create_op(cib->call_id, private->callback.token, op, host, section, data, call_options, host 513 lib/cib/cib_utils.c cib_create_op(int call_id, const char *token, const char *op, const char *host, const char *section, host 526 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 300 lib/cluster/cpg.c ais_dest(const pcmk__cpg_host_t *host) host 302 lib/cluster/cpg.c if (host->local) { host 304 lib/cluster/cpg.c } else if (host->size > 0) { host 305 lib/cluster/cpg.c return host->uname; host 372 lib/cluster/cpg.c msg_type2text(msg->host.type), ais_dest(&(msg->host))); host 384 lib/cluster/cpg.c msg_type2text(msg->host.type), ais_dest(&(msg->host))); host 396 lib/cluster/cpg.c msg_type2text(msg->host.type), ais_dest(&(msg->host))); host 412 lib/cluster/cpg.c msg_type2text(msg->host.type), ais_dest(&(msg->host))); host 420 lib/cluster/cpg.c msg_type2text(msg->host.type), ais_dest(&(msg->host))); host 456 lib/cluster/cpg.c } else if (msg->host.id != 0 && (local_nodeid != msg->host.id)) { host 458 lib/cluster/cpg.c crm_trace("Not for us: %u != %u", msg->host.id, local_nodeid); host 460 lib/cluster/cpg.c } else if (msg->host.size != 0 && !pcmk__str_eq(msg->host.uname, local_name, pcmk__str_casei)) { host 462 lib/cluster/cpg.c crm_trace("Not for us: %s != %s", msg->host.uname, local_name); host 537 lib/cluster/cpg.c msg->id, ais_dest(&(msg->host)), msg_type2text(msg->host.type), host 965 lib/cluster/cpg.c msg->host.type = dest; host 966 lib/cluster/cpg.c msg->host.local = local; host 971 lib/cluster/cpg.c msg->host.size = strlen(node->uname); host 972 lib/cluster/cpg.c memset(msg->host.uname, 0, MAX_NAME); host 973 lib/cluster/cpg.c memcpy(msg->host.uname, node->uname, msg->host.size); host 977 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 146 lib/pacemaker/pcmk_graph_logging.c const char *host = crm_element_value(input->xml, XML_LRM_ATTR_TARGET); host 152 lib/pacemaker/pcmk_graph_logging.c (host? " on " : ""), (host? host : "")); host 162 lib/pacemaker/pcmk_graph_logging.c const char *host = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); host 169 lib/pacemaker/pcmk_graph_logging.c action->id, desc, (host? " on " : ""), (host? host : ""), host 694 lib/pacemaker/pcmk_sched_remote.c pe_node_t *host = NULL; host 712 lib/pacemaker/pcmk_sched_remote.c host = pe__current_node(action->node->details->remote_rsc->container); host 721 lib/pacemaker/pcmk_sched_remote.c host = action->node->details->remote_rsc->container->allocated_to; host 728 lib/pacemaker/pcmk_sched_remote.c if (host != NULL) { host 734 lib/pacemaker/pcmk_sched_remote.c (gpointer) host->details->uname, 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(host->details->uname, only_node, host 840 lib/pengine/clone.c pcmk__add_word(&list_text, &list_text_len, host->details->uname); host 857 lib/pengine/clone.c pe_node_t *host = gIter->data; host 859 lib/pengine/clone.c if (!pcmk__str_in_list(host->details->uname, only_node, host 864 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 1450 lib/pengine/unpack.c pe_node_t *host = NULL; host 1464 lib/pengine/unpack.c host = rsc->running_on->data; host 1501 lib/pengine/unpack.c } else if (host && (host->details->online == FALSE) host 1502 lib/pengine/unpack.c && host->details->unclean) { host 33 maint/gnulib/lib/canon-host.c canon_host (const char *host) host 35 maint/gnulib/lib/canon-host.c return canon_host_r (host, &last_cherror); host 61 maint/gnulib/lib/canon-host.c canon_host_r (char const *host, int *cherror) host 69 maint/gnulib/lib/canon-host.c status = getaddrinfo (host, NULL, &hints, &res); host 75 maint/gnulib/lib/canon-host.c retval = strdup (res->ai_canonname ? res->ai_canonname : host); host 25 maint/gnulib/lib/canon-host.h char *canon_host (char const *host) host 27 maint/gnulib/lib/canon-host.h char *canon_host_r (char const *host, int *cherror) host 603 maint/gnulib/lib/getloadavg.c host_t host; host 619 maint/gnulib/lib/getloadavg.c if (processor_set_info (default_set, PROCESSOR_SET_BASIC_INFO, &host, host 1008 maint/gnulib/lib/mountlist.c char *host, *dir; host 1012 maint/gnulib/lib/mountlist.c host = thisent + vmp->vmt_data[VMT_HOSTNAME].vmt_off; host 1014 maint/gnulib/lib/mountlist.c me->me_devname = xmalloc (strlen (host) + strlen (dir) + 2); host 1015 maint/gnulib/lib/mountlist.c strcpy (me->me_devname, host); host 63 maint/gnulib/tests/test-getaddrinfo.c simple (char const *host, char const *service) host 76 maint/gnulib/tests/test-getaddrinfo.c dbgprintf ("Finding %s service %s...\n", host, service); host 85 maint/gnulib/tests/test-getaddrinfo.c res = getaddrinfo (host, service, 0, &ai0); 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 78 tools/crm_resource.h int cli_resource_restart(pcmk__output_t *out, pe_resource_t *rsc, const char *host, host 111 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 57 tools/crm_resource_print.c const char *host = NULL; host 71 tools/crm_resource_print.c host = node->details->uname; host 77 tools/crm_resource_print.c rprov ? rprov : "NA", rclass, rtype, host ? host : "NA", needs_quorum, rsc->flags, host 968 tools/crm_resource_runtime.c bool resource_is_running_on(pe_resource_t *rsc, const char *host) host 979 tools/crm_resource_runtime.c for (hIter = hosts; host != NULL && hIter != NULL; hIter = hIter->next) { host 982 tools/crm_resource_runtime.c if(strcmp(host, node->details->uname) == 0) { host 983 tools/crm_resource_runtime.c crm_trace("Resource %s is running on %s\n", rsc->id, host); host 985 tools/crm_resource_runtime.c } else if(strcmp(host, node->details->id) == 0) { host 986 tools/crm_resource_runtime.c crm_trace("Resource %s is running on %s\n", rsc->id, host); host 991 tools/crm_resource_runtime.c if(host != NULL) { host 992 tools/crm_resource_runtime.c crm_trace("Resource %s is not running on: %s\n", rsc->id, host); host 995 tools/crm_resource_runtime.c } else if(host == NULL && hosts == NULL) { host 1015 tools/crm_resource_runtime.c get_active_resources(const char *host, GList *rsc_list) host 1029 tools/crm_resource_runtime.c get_active_resources(host, rsc->children)); host 1030 tools/crm_resource_runtime.c } else if (resource_is_running_on(rsc, host)) { host 1268 tools/crm_resource_runtime.c cli_resource_restart(pcmk__output_t *out, pe_resource_t *rsc, const char *host, host 1290 tools/crm_resource_runtime.c if (!resource_is_running_on(rsc, host)) { host 1292 tools/crm_resource_runtime.c if(host) { host 1293 tools/crm_resource_runtime.c out->err(out, "%s is not running on %s and so cannot be restarted", id, host); host 1301 tools/crm_resource_runtime.c if ((pe_rsc_is_clone(rsc) || pe_bundle_replicas(rsc)) && host) { host 1339 tools/crm_resource_runtime.c restart_target_active = get_active_resources(host, data_set->resources); host 1340 tools/crm_resource_runtime.c current_active = get_active_resources(host, data_set->resources); host 1347 tools/crm_resource_runtime.c rc = cli_resource_ban(out, rsc_id, host, move_lifetime, NULL, cib, host 1382 tools/crm_resource_runtime.c target_active = get_active_resources(host, data_set->resources); host 1412 tools/crm_resource_runtime.c current_active = get_active_resources(host, data_set->resources); host 1431 tools/crm_resource_runtime.c rc = cli_resource_clear(rsc_id, host, NULL, cib, cib_options, TRUE, force); host 1460 tools/crm_resource_runtime.c while (waiting_for_starts(list_delta, rsc, host)) { host 1467 tools/crm_resource_runtime.c for (lpc = 0; (lpc < step_timeout_s) && waiting_for_starts(list_delta, rsc, host); lpc++) { host 1510 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, host, NULL, cib, cib_options, TRUE, force);