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 pcmk__str_update(&v->nodename, host); host 841 daemons/attrd/attrd_commands.c attrd_peer_update(crm_node_t *peer, xmlNode *xml, const char *host, bool filter) host 916 daemons/attrd/attrd_commands.c if (host == NULL) { host 922 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&vIter, (gpointer *) & host, NULL)) { host 923 daemons/attrd/attrd_commands.c attrd_peer_update(peer, xml, host, filter); host 930 daemons/attrd/attrd_commands.c v = attrd_lookup_or_create_value(a->values, host, xml); host 933 daemons/attrd/attrd_commands.c && pcmk__str_eq(host, attrd_cluster->uname, pcmk__str_casei)) { host 936 daemons/attrd/attrd_commands.c attr, host, v->current, value, peer->uname); host 941 daemons/attrd/attrd_commands.c attr, host, v->current? v->current : "(unset)", value? value : "(unset)", peer->uname); host 945 daemons/attrd/attrd_commands.c if (pcmk__str_eq(host, attrd_cluster->uname, pcmk__str_casei) host 968 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 971 daemons/attrd/attrd_commands.c crm_trace("Unchanged %s[%s] from %s is %s", attr, host, peer->uname, value); host 983 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 648 daemons/based/based_callbacks.c host = crm_element_value(request, F_CIB_HOST); host 649 daemons/based/based_callbacks.c if (host != NULL && pcmk__str_eq(host, cib_our_uname, pcmk__str_casei)) { host 654 daemons/based/based_callbacks.c crm_trace("Processing %s request sent to %s by %s", op, host?host:"everyone", originator); host 658 daemons/based/based_callbacks.c } else if (host == NULL && cib_is_master == TRUE) { host 667 daemons/based/based_callbacks.c } else if (host != NULL) { host 669 daemons/based/based_callbacks.c crm_trace("Ignoring msg for instance on %s", crm_str(host)); host 698 daemons/based/based_callbacks.c const char *host = NULL; host 793 daemons/based/based_callbacks.c host = crm_element_value(request, F_CIB_HOST); host 794 daemons/based/based_callbacks.c if (host != NULL && pcmk__str_eq(host, cib_our_uname, pcmk__str_casei)) { host 799 daemons/based/based_callbacks.c } else if (host != NULL) { host 801 daemons/based/based_callbacks.c crm_trace("Ignoring %s operation for instance on %s", op, crm_str(host)); host 837 daemons/based/based_callbacks.c const char *host = crm_element_value(request, F_CIB_HOST); host 841 daemons/based/based_callbacks.c if (host != NULL) { host 842 daemons/based/based_callbacks.c crm_trace("Forwarding %s op to %s", op, host); host 843 daemons/based/based_callbacks.c send_cluster_message(crm_get_peer(0, host), crm_msg_cib, request, FALSE); host 942 daemons/based/based_callbacks.c const char *host = crm_element_value(request, F_CIB_HOST); host 951 daemons/based/based_callbacks.c if ((host != NULL) && (*host == '\0')) { host 952 daemons/based/based_callbacks.c host = NULL; host 955 daemons/based/based_callbacks.c if (host) { host 956 daemons/based/based_callbacks.c target = host; host 981 daemons/based/based_callbacks.c parse_local_options(cib_client, call_type, call_options, host, op, host 1012 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 506 daemons/based/based_messages.c crm_debug("Syncing CIB to %s", all ? "all peers" : host); host 507 daemons/based/based_messages.c if (all == FALSE && host == NULL) { host 518 daemons/based/based_messages.c if (host != NULL) { host 519 daemons/based/based_messages.c crm_xml_add(replace_request, F_CIB_ISREPLY, host); host 536 daemons/based/based_messages.c (all ? NULL : crm_get_peer(0, host), crm_msg_cib, replace_request, FALSE) == FALSE) { host 133 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 46 daemons/fenced/fenced_commands.c char *host; host 1142 daemons/fenced/fenced_commands.c dev->id, search->host, host 1153 daemons/fenced/fenced_commands.c crm_trace("%s reported it cannot fence %s", dev->id, search->host); host 1158 daemons/fenced/fenced_commands.c crm_trace("%s reported it can fence %s", dev->id, search->host); host 1165 daemons/fenced/fenced_commands.c dev->id, search->host, result->exit_status); host 1218 daemons/fenced/fenced_commands.c dev->id, search->host, result->exit_status); host 1222 daemons/fenced/fenced_commands.c dev->id, search->host, host 1240 daemons/fenced/fenced_commands.c const char *alias = g_hash_table_lookup(dev->aliases, search->host); host 1243 daemons/fenced/fenced_commands.c alias = search->host; host 1927 daemons/fenced/fenced_commands.c (search->host? search->host : "any node")); host 1930 daemons/fenced/fenced_commands.c free(search->host); host 1974 daemons/fenced/fenced_commands.c const char *host = search->host; host 1981 daemons/fenced/fenced_commands.c } else if (host == NULL) { host 1993 daemons/fenced/fenced_commands.c if (!localhost_is_eligible(dev, "reboot", host, search->allow_suicide) host 1994 daemons/fenced/fenced_commands.c && !localhost_is_eligible(dev, "off", host, search->allow_suicide) host 1995 daemons/fenced/fenced_commands.c && !localhost_is_eligible(dev, "on", host, FALSE)) { host 1998 daemons/fenced/fenced_commands.c } else if (!localhost_is_eligible(dev, search->action, host, host 2003 daemons/fenced/fenced_commands.c alias = g_hash_table_lookup(dev->aliases, host); host 2005 daemons/fenced/fenced_commands.c alias = host; host 2019 daemons/fenced/fenced_commands.c if (pcmk__str_in_list(host, dev->targets, pcmk__str_casei)) { host 2022 daemons/fenced/fenced_commands.c && g_hash_table_lookup(dev->aliases, host)) { host 2038 daemons/fenced/fenced_commands.c check_type, dev->id, search->host, search->action); host 2060 daemons/fenced/fenced_commands.c check_type, dev->id, search->host, search->action); host 2061 daemons/fenced/fenced_commands.c schedule_internal_command(__func__, dev, "status", search->host, host 2070 daemons/fenced/fenced_commands.c if (pcmk__str_eq(host, alias, pcmk__str_casei)) { host 2072 daemons/fenced/fenced_commands.c dev->id, (can? "" : " not"), search->action, host, host 2076 daemons/fenced/fenced_commands.c dev->id, (can? "" : " not"), search->action, host, alias, host 2095 daemons/fenced/fenced_commands.c get_capable_devices(const char *host, const char *action, int timeout, bool suicide, void *user_data, host 2114 daemons/fenced/fenced_commands.c pcmk__str_update(&search->host, host); host 2129 daemons/fenced/fenced_commands.c (search->host? search->host : "any node")); host 2716 daemons/fenced/fenced_commands.c const char *host = crm_element_value(dev, F_STONITH_TARGET); host 2722 daemons/fenced/fenced_commands.c pcmk__scan_min_int(host, &nodeid, 0); host 2725 daemons/fenced/fenced_commands.c host = node->uname; host 2730 daemons/fenced/fenced_commands.c get_capable_devices(host, cmd->action, cmd->default_timeout, host 68 daemons/fenced/fenced_remote.c char *host; host 102 daemons/fenced/fenced_remote.c free(peer->host); host 209 daemons/fenced/fenced_remote.c device, peer->host, count_peer_devices(op, peer, FALSE)); host 879 daemons/fenced/fenced_remote.c find_topology_for_host(const char *host) host 882 daemons/fenced/fenced_remote.c stonith_topology_t *tp = g_hash_table_lookup(topology, host); host 885 daemons/fenced/fenced_remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); host 891 daemons/fenced/fenced_remote.c if (topology_matches(tp, host)) { host 892 daemons/fenced/fenced_remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); host 897 daemons/fenced/fenced_remote.c crm_trace("No matches for %s in %d topology entries", host, g_hash_table_size(topology)); host 1341 daemons/fenced/fenced_remote.c peer->host, op->target, peer->ndevices, host 1343 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_SKIP_TARGET) && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { host 1346 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_TARGET_ONLY) && !pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { host 1388 daemons/fenced/fenced_remote.c crm_trace("Found verified peer %s for %s", peer->host, device?device:"<any>"); host 1400 daemons/fenced/fenced_remote.c crm_trace("Found best unverified peer %s", peer->host); host 1410 daemons/fenced/fenced_remote.c crm_trace("%s will fence itself", peer->host); host 1734 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, device, host 1742 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, op->client_name, host 1754 daemons/fenced/fenced_remote.c (pcmk__str_eq(peer->host, op->target, pcmk__str_casei) host 1778 daemons/fenced/fenced_remote.c send_cluster_message(crm_get_peer(0, peer->host), crm_msg_stonith_ng, remote_op, FALSE); host 1906 daemons/fenced/fenced_remote.c if (skip_target && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { host 2005 daemons/fenced/fenced_remote.c peer->host, device); host 2010 daemons/fenced/fenced_remote.c parse_action_specific(xml, peer->host, device, op_requested_action(op), host 2019 daemons/fenced/fenced_remote.c parse_action_specific(child, peer->host, device, "off", host 2022 daemons/fenced/fenced_remote.c parse_action_specific(child, peer->host, device, "on", host 2040 daemons/fenced/fenced_remote.c add_result(remote_fencing_op_t *op, const char *host, int ndevices, xmlNode *xml) host 2048 daemons/fenced/fenced_remote.c peer->host = strdup(host); host 2091 daemons/fenced/fenced_remote.c const char *host = NULL; host 2120 daemons/fenced/fenced_remote.c host = crm_element_value(msg, F_ORIG); host 2121 daemons/fenced/fenced_remote.c host_is_target = pcmk__str_eq(host, op->target, pcmk__str_casei); host 2124 daemons/fenced/fenced_remote.c op->replies, replies_expected, host, host 2127 daemons/fenced/fenced_remote.c peer = add_result(op, host, ndevices, dev); host 2169 daemons/fenced/fenced_remote.c "Operation is %s", peer->host, host 230 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 133 include/crm/cib/internal.h xmlNode *cib_create_op(int call_id, const char *token, const char *op, const char *host, host 214 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 71 lib/cib/cib_remote.c int cib_remote_perform_op(cib_t * cib, const char *op, const char *host, const char *section, host 466 lib/cib/cib_remote.c cib_remote_perform_op(cib_t * cib, const char *op, const char *host, const char *section, host 497 lib/cib/cib_remote.c cib_create_op(cib->call_id, private->callback.token, op, host, section, data, call_options, host 437 lib/cib/cib_utils.c cib_create_op(int call_id, const char *token, const char *op, const char *host, const char *section, host 450 lib/cib/cib_utils.c crm_xml_add(op_msg, F_CIB_HOST, host); host 645 lib/cib/cib_utils.c cib_internal_op(cib_t * cib, const char *op, const char *host, host 649 lib/cib/cib_utils.c int (*delegate) (cib_t * cib, const char *op, const char *host, host 658 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 1808 lib/pacemaker/pcmk_output.c char *host = va_arg(args, char *); host 1822 lib/pacemaker/pcmk_output.c if (!pcmk__str_empty(host)) { host 1823 lib/pacemaker/pcmk_output.c g_string_append_printf(s, "host=\"%s\" ", host); host 1842 lib/pacemaker/pcmk_output.c char *host = va_arg(args, char *); host 1859 lib/pacemaker/pcmk_output.c if (!pcmk__str_empty(host)) { host 1860 lib/pacemaker/pcmk_output.c crm_xml_add(node, "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 601 lib/pengine/clone.c pe_node_t *host = gIter->data; host 603 lib/pengine/clone.c pcmk__add_word(&list_text, &list_text_len, host->details->uname); host 617 lib/pengine/clone.c pe_node_t *host = gIter->data; host 619 lib/pengine/clone.c pcmk__add_word(&list_text, &list_text_len, host->details->uname); host 887 lib/pengine/clone.c pe_node_t *host = gIter->data; host 889 lib/pengine/clone.c if (!pcmk__str_in_list(host->details->uname, only_node, host 894 lib/pengine/clone.c pcmk__add_word(&list_text, &list_text_len, host->details->uname); host 911 lib/pengine/clone.c pe_node_t *host = gIter->data; host 913 lib/pengine/clone.c if (!pcmk__str_in_list(host->details->uname, only_node, host 918 lib/pengine/clone.c pcmk__add_word(&list_text, &list_text_len, host->details->uname); host 549 lib/pengine/common.c pe_node_t *host = node->details->remote_rsc->container->running_on->data; host 550 lib/pengine/common.c pe_rsc_trace(rsc, "%s: Looking for %s on the container host %s", rsc->id, name, host->details->uname); host 551 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 1457 lib/pengine/unpack.c pe_node_t *host = NULL; host 1471 lib/pengine/unpack.c host = rsc->running_on->data; host 1508 lib/pengine/unpack.c } else if (host && (host->details->online == FALSE) host 1509 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 292 tools/attrd_updater.c send_attrd_query(const char *name, const char *host, xmlNode **reply) host 305 tools/attrd_updater.c crm_xml_add(query, PCMK__XA_ATTR_NODE_NAME, host); host 310 tools/attrd_updater.c crm_debug("Sending query for value of %s on %s", name, (host? host : "all nodes")); host 25 tools/cibadmin.c static char *host = NULL; host 575 tools/cibadmin.c pcmk__str_update(&host, optarg); host 838 tools/cibadmin.c free(host); host 858 tools/cibadmin.c return cib_internal_op(the_cib, cib_action, host, obj_type, input, output, call_options, cib_user); host 55 tools/crm_attribute.c char *host G_GNUC_UNUSED = va_arg(args, char *); 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 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 61 tools/crm_resource_print.c const char *host = NULL; host 75 tools/crm_resource_print.c host = node->details->uname; host 81 tools/crm_resource_print.c rprov ? rprov : "NA", rclass, rtype, host ? host : "NA", needs_quorum, rsc->flags, host 971 tools/crm_resource_runtime.c bool resource_is_running_on(pe_resource_t *rsc, const char *host) host 982 tools/crm_resource_runtime.c for (hIter = hosts; host != NULL && hIter != NULL; hIter = hIter->next) { host 985 tools/crm_resource_runtime.c if (pcmk__strcase_any_of(host, node->details->uname, node->details->id, NULL)) { 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 1296 tools/crm_resource_runtime.c const char *host = node ? node->details->uname : NULL; host 1305 tools/crm_resource_runtime.c running = resource_is_running_on(rsc, host); host 1316 tools/crm_resource_runtime.c running = resource_is_running_on(rsc, host); host 1320 tools/crm_resource_runtime.c if (host) { host 1321 tools/crm_resource_runtime.c out->err(out, "%s is not running on %s and so cannot be restarted", id, host); host 1336 tools/crm_resource_runtime.c if (host) { host 1379 tools/crm_resource_runtime.c restart_target_active = get_active_resources(host, data_set->resources); host 1380 tools/crm_resource_runtime.c current_active = get_active_resources(host, data_set->resources); host 1387 tools/crm_resource_runtime.c rc = cli_resource_ban(out, lookup_id, host, move_lifetime, NULL, cib, host 1422 tools/crm_resource_runtime.c target_active = get_active_resources(host, data_set->resources); host 1453 tools/crm_resource_runtime.c current_active = get_active_resources(host, data_set->resources); host 1473 tools/crm_resource_runtime.c rc = cli_resource_clear(lookup_id, host, NULL, cib, cib_options, true, force); host 1503 tools/crm_resource_runtime.c while (waiting_for_starts(list_delta, rsc, host)) { host 1510 tools/crm_resource_runtime.c for (lpc = 0; (lpc < step_timeout_s) && waiting_for_starts(list_delta, rsc, host); lpc++) { host 1554 tools/crm_resource_runtime.c cli_resource_clear(lookup_id, host, NULL, cib, cib_options, true, force);