host 204 daemons/attrd/attrd_corosync.c attrd_lookup_or_create_value(GHashTable *values, const char *host, host 207 daemons/attrd/attrd_corosync.c attribute_value_t *v = g_hash_table_lookup(values, host); host 212 daemons/attrd/attrd_corosync.c cache_remote_node(host); host 219 daemons/attrd/attrd_corosync.c pcmk__str_update(&v->nodename, host); host 280 daemons/attrd/attrd_corosync.c record_peer_nodeid(attribute_value_t *v, const char *host) host 282 daemons/attrd/attrd_corosync.c crm_node_t *known_peer = crm_get_peer(v->nodeid, host); host 292 daemons/attrd/attrd_corosync.c const char *attr, const char *value, const char *host, host 297 daemons/attrd/attrd_corosync.c v = attrd_lookup_or_create_value(a->values, host, xml); host 300 daemons/attrd/attrd_corosync.c && pcmk__str_eq(host, attrd_cluster->uname, pcmk__str_casei)) { host 303 daemons/attrd/attrd_corosync.c attr, host, v->current, value, peer->uname); host 309 daemons/attrd/attrd_corosync.c attr, host, a->set_type ? " in " : "", host 316 daemons/attrd/attrd_corosync.c if (pcmk__str_eq(host, attrd_cluster->uname, pcmk__str_casei) host 340 daemons/attrd/attrd_corosync.c attr, host, peer->uname, value); host 343 daemons/attrd/attrd_corosync.c crm_trace("Unchanged %s[%s] from %s is %s", attr, host, peer->uname, value); host 354 daemons/attrd/attrd_corosync.c record_peer_nodeid(v, host); host 364 daemons/attrd/attrd_corosync.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); host 379 daemons/attrd/attrd_corosync.c if (host == NULL) { host 387 daemons/attrd/attrd_corosync.c while (g_hash_table_iter_next(&vIter, (gpointer *) & host, NULL)) { host 388 daemons/attrd/attrd_corosync.c update_attr_on_host(a, peer, xml, attr, value, host, filter, is_force_write); host 393 daemons/attrd/attrd_corosync.c update_attr_on_host(a, peer, xml, attr, value, host, filter, is_force_write); host 458 daemons/attrd/attrd_corosync.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); host 485 daemons/attrd/attrd_corosync.c attrd_peer_update(peer, xml, host, false); host 537 daemons/attrd/attrd_corosync.c attrd_peer_remove(const char *host, bool uncache, const char *source) host 542 daemons/attrd/attrd_corosync.c CRM_CHECK(host != NULL, return); host 543 daemons/attrd/attrd_corosync.c crm_notice("Removing all %s attributes for peer %s", host, source); host 547 daemons/attrd/attrd_corosync.c if(g_hash_table_remove(a->values, host)) { host 548 daemons/attrd/attrd_corosync.c crm_debug("Removed %s[%s] for peer %s", a->id, host, source); host 553 daemons/attrd/attrd_corosync.c crm_remote_peer_cache_remove(host); host 554 daemons/attrd/attrd_corosync.c reap_crm_member(0, host); host 585 daemons/attrd/attrd_corosync.c attrd_peer_update(const crm_node_t *peer, xmlNode *xml, const char *host, host 41 daemons/attrd/attrd_ipc.c static xmlNode *build_query_reply(const char *attr, const char *host) host 62 daemons/attrd/attrd_ipc.c if (pcmk__str_eq(host, "localhost", pcmk__str_casei)) { host 63 daemons/attrd/attrd_ipc.c host = attrd_cluster->uname; host 64 daemons/attrd/attrd_ipc.c crm_trace("Mapped localhost to %s", host); host 68 daemons/attrd/attrd_ipc.c if (host) { host 69 daemons/attrd/attrd_ipc.c v = g_hash_table_lookup(a->values, host); host 75 daemons/attrd/attrd_ipc.c pcmk__xe_add_node(host_value, host, 0); host 155 daemons/attrd/attrd_ipc.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); host 160 daemons/attrd/attrd_ipc.c if (host == NULL) { host 171 daemons/attrd/attrd_ipc.c host = node->uname; host 175 daemons/attrd/attrd_ipc.c host = host_alloc; host 177 daemons/attrd/attrd_ipc.c pcmk__xe_add_node(xml, host, 0); host 181 daemons/attrd/attrd_ipc.c if (host) { host 183 daemons/attrd/attrd_ipc.c pcmk__client_name(request->ipc_client), host); host 244 daemons/attrd/attrd_ipc.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); host 246 daemons/attrd/attrd_ipc.c if (host == NULL) { host 347 daemons/attrd/attrd_ipc.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); host 348 daemons/attrd/attrd_ipc.c v = g_hash_table_lookup(a->values, host); host 150 daemons/attrd/attrd_messages.c const char *host = crm_element_value(request->xml, PCMK__XA_ATTR_NODE_NAME); host 151 daemons/attrd/attrd_messages.c attrd_peer_remove(host, true, request->peer); host 207 daemons/attrd/attrd_messages.c const char *host = crm_element_value(request->xml, PCMK__XA_ATTR_NODE_NAME); host 210 daemons/attrd/attrd_messages.c attrd_peer_update(peer, request->xml, host, false); host 405 daemons/attrd/attrd_sync.c attrd_do_not_expect_from_peer(const char *host) host 415 daemons/attrd/attrd_sync.c crm_trace("Removing peer %s from expected confirmations", host); host 419 daemons/attrd/attrd_sync.c attrd_handle_confirmation(callid, host); host 481 daemons/attrd/attrd_sync.c gpointer host, ver; host 500 daemons/attrd/attrd_sync.c while (g_hash_table_iter_next(&iter, &host, &ver)) { host 502 daemons/attrd/attrd_sync.c char *s = strdup((char *) host); host 551 daemons/attrd/attrd_sync.c attrd_handle_confirmation(int callid, const char *host) host 565 daemons/attrd/attrd_sync.c node = g_list_find_custom(action->respondents, host, (GCompareFunc) strcasecmp); host 258 daemons/attrd/attrd_utils.c attrd_remove_peer_protocol_ver(const char *host) host 261 daemons/attrd/attrd_utils.c g_hash_table_remove(peer_protocol_vers, host); host 280 daemons/attrd/attrd_utils.c attrd_update_minimum_protocol_ver(const char *host, const char *value) host 291 daemons/attrd/attrd_utils.c char *host_name = strdup(host); host 157 daemons/attrd/pacemaker-attrd.h void attrd_peer_update(const crm_node_t *peer, xmlNode *xml, const char *host, host 160 daemons/attrd/pacemaker-attrd.h void attrd_peer_remove(const char *host, bool uncache, const char *source); host 190 daemons/attrd/pacemaker-attrd.h void attrd_remove_peer_protocol_ver(const char *host); host 191 daemons/attrd/pacemaker-attrd.h void attrd_update_minimum_protocol_ver(const char *host, const char *value); host 208 daemons/attrd/pacemaker-attrd.h void attrd_do_not_expect_from_peer(const char *host); host 212 daemons/attrd/pacemaker-attrd.h void attrd_handle_confirmation(int callid, const char *host); host 421 daemons/based/based_callbacks.c const char *host = crm_element_value(reply, F_ORIG); host 441 daemons/based/based_callbacks.c crm_trace("Ignoring ping reply %s from %s with no digest", seq_s, host); host 444 daemons/based/based_callbacks.c crm_trace("Ignoring out of sequence ping reply %s from %s", seq_s, host); host 447 daemons/based/based_callbacks.c crm_trace("Ignoring ping reply %s from %s: cib updated since", seq_s, host); host 457 daemons/based/based_callbacks.c crm_trace("Processing ping reply %s from %s (%s)", seq_s, host, digest); host 465 daemons/based/based_callbacks.c ping_digest, host, host 534 daemons/based/based_callbacks.c const char *host, const char *op, gboolean *local_notify, host 546 daemons/based/based_callbacks.c if (host == NULL && (call_options & cib_scope_local)) { host 551 daemons/based/based_callbacks.c } else if ((host == NULL) && based_is_primary) { host 556 daemons/based/based_callbacks.c } else if (pcmk__str_eq(host, OUR_NODENAME, pcmk__str_casei)) { host 569 daemons/based/based_callbacks.c pcmk__s(host, "the primary instance")); host 578 daemons/based/based_callbacks.c const char *host, const char *op, gboolean *local_notify, host 598 daemons/based/based_callbacks.c if (!pcmk__str_eq(host, OUR_NODENAME, host 603 daemons/based/based_callbacks.c op, host); host 609 daemons/based/based_callbacks.c || !pcmk__str_eq(host, OUR_NODENAME, host 620 daemons/based/based_callbacks.c pcmk__s(host, "all nodes")); host 630 daemons/based/based_callbacks.c ((host != NULL)? "locally " : "un"), host 638 daemons/based/based_callbacks.c const char *host, const char *op, gboolean *local_notify, host 643 daemons/based/based_callbacks.c parse_local_options_v1(cib_client, operation, call_options, host, host 647 daemons/based/based_callbacks.c parse_local_options_v2(cib_client, operation, call_options, host, host 659 daemons/based/based_callbacks.c const char *host = NULL; host 706 daemons/based/based_callbacks.c host = crm_element_value(request, F_CIB_HOST); host 707 daemons/based/based_callbacks.c if (pcmk__str_eq(host, OUR_NODENAME, pcmk__str_casei)) { host 712 daemons/based/based_callbacks.c crm_trace("Processing %s request sent to %s by %s", op, host?host:"everyone", originator); host 716 daemons/based/based_callbacks.c } else if ((host == NULL) && based_is_primary) { host 726 daemons/based/based_callbacks.c } else if (host != NULL) { host 728 daemons/based/based_callbacks.c crm_trace("Ignoring msg for instance on %s", host); host 757 daemons/based/based_callbacks.c const char *host = NULL; host 857 daemons/based/based_callbacks.c host = crm_element_value(request, F_CIB_HOST); host 858 daemons/based/based_callbacks.c if (pcmk__str_eq(host, OUR_NODENAME, pcmk__str_casei)) { host 863 daemons/based/based_callbacks.c } else if (host != NULL) { host 865 daemons/based/based_callbacks.c op, host); host 909 daemons/based/based_callbacks.c const char *host = crm_element_value(request, F_CIB_HOST); host 924 daemons/based/based_callbacks.c pcmk__s(host, (cib_legacy_mode()? "primary" : "all")), host 931 daemons/based/based_callbacks.c send_cluster_message(((host != NULL)? crm_get_peer(0, host) : NULL), host 1025 daemons/based/based_callbacks.c const char *host = crm_element_value(request, F_CIB_HOST); host 1037 daemons/based/based_callbacks.c if ((host != NULL) && (*host == '\0')) { host 1038 daemons/based/based_callbacks.c host = NULL; host 1042 daemons/based/based_callbacks.c if (host) { host 1043 daemons/based/based_callbacks.c target = host; host 1075 daemons/based/based_callbacks.c parse_local_options(cib_client, operation, call_options, host, op, host 48 daemons/based/based_messages.c const char *host = crm_element_value(req, F_ORIG); host 53 daemons/based/based_messages.c crm_info("Peer %s is requesting to shut down", host); host 58 daemons/based/based_messages.c crm_err("Peer %s mistakenly thinks we wanted to shut down", host); host 62 daemons/based/based_messages.c crm_info("Peer %s has acknowledged our shutdown request", host); host 118 daemons/based/based_messages.c send_sync_request(const char *host) host 122 daemons/based/based_messages.c crm_info("Requesting re-sync from %s", (host? host : "all peers")); host 130 daemons/based/based_messages.c send_cluster_message(host ? crm_get_peer(0, host) : NULL, crm_msg_cib, sync_me, FALSE); host 138 daemons/based/based_messages.c const char *host = crm_element_value(req, F_ORIG); host 142 daemons/based/based_messages.c crm_trace("Processing \"%s\" event %s from %s", op, seq, host); host 166 daemons/based/based_messages.c host, digest, host 204 daemons/based/based_messages.c const char *host = crm_element_value(req, F_ORIG); host 220 daemons/based/based_messages.c crm_notice("Upgrade request from %s verified", host); host 225 daemons/based/based_messages.c crm_xml_add(up, F_CIB_DELEGATED, host); host 246 daemons/based/based_messages.c crm_node_t *origin = pcmk__search_cluster_node_cache(0, host, NULL); host 249 daemons/based/based_messages.c CRM_XS " rc=%d peer=%s", host, pcmk_strerror(rc), rc, host 257 daemons/based/based_messages.c crm_xml_add(up, F_CIB_DELEGATED, host); host 258 daemons/based/based_messages.c crm_xml_add(up, F_CIB_ISREPLY, host); host 265 daemons/based/based_messages.c crm_warn("Could not send CIB upgrade result to %s", host); host 417 daemons/based/based_messages.c const char *host = crm_element_value(request, F_ORIG); host 423 daemons/based/based_messages.c CRM_CHECK(all || (host != NULL), return -EINVAL); host 425 daemons/based/based_messages.c crm_debug("Syncing CIB to %s", all ? "all peers" : host); host 429 daemons/based/based_messages.c if (host != NULL) { host 430 daemons/based/based_messages.c crm_xml_add(replace_request, F_CIB_ISREPLY, host); host 447 daemons/based/based_messages.c (all ? NULL : crm_get_peer(0, host), crm_msg_cib, replace_request, FALSE) == FALSE) { host 68 daemons/based/based_transaction.c const char *host = crm_element_value(request, F_CIB_HOST); host 74 daemons/based/based_transaction.c || (host != NULL)) { host 125 daemons/based/pacemaker-based.h void send_sync_request(const char *host); host 63 daemons/controld/controld_attrd.c update_attrd(const char *host, const char *name, const char *value, host 77 daemons/controld/controld_attrd.c rc = pcmk__attrd_api_update(attrd_api, host, name, value, host 84 daemons/controld/controld_attrd.c host, when(), pcmk_rc_str(rc), rc); host 110 daemons/controld/controld_attrd.c update_attrd_remote_node_removed(const char *host, const char *user_name) host 119 daemons/controld/controld_attrd.c host); host 120 daemons/controld/controld_attrd.c rc = pcmk__attrd_api_purge(attrd_api, host); host 125 daemons/controld/controld_attrd.c host, when(), pcmk_rc_str(rc), rc); host 130 daemons/controld/controld_attrd.c update_attrd_clear_failures(const char *host, const char *rsc, const char *op, host 151 daemons/controld/controld_attrd.c node_type(is_remote_node), host); host 152 daemons/controld/controld_attrd.c rc = pcmk__attrd_api_clear_failures(attrd_api, host, rsc, op, host 158 daemons/controld/controld_attrd.c node_type(is_remote_node), host, when(), pcmk_rc_str(rc), rc); host 45 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 47 daemons/controld/controld_utils.h void update_attrd_remote_node_removed(const char *host, const char *user_name); host 48 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 1208 daemons/fenced/fenced_commands.c dev->id, search->host, host 1219 daemons/fenced/fenced_commands.c crm_trace("%s reported it cannot fence %s", dev->id, search->host); host 1224 daemons/fenced/fenced_commands.c crm_trace("%s reported it can fence %s", dev->id, search->host); host 1231 daemons/fenced/fenced_commands.c dev->id, search->host, result->exit_status); host 1284 daemons/fenced/fenced_commands.c dev->id, search->host, result->exit_status); host 1288 daemons/fenced/fenced_commands.c dev->id, search->host, host 1306 daemons/fenced/fenced_commands.c const char *alias = g_hash_table_lookup(dev->aliases, search->host); host 1309 daemons/fenced/fenced_commands.c alias = search->host; host 2036 daemons/fenced/fenced_commands.c (search->host? search->host : "any node")); host 2039 daemons/fenced/fenced_commands.c free(search->host); host 2137 daemons/fenced/fenced_commands.c target = search->host; host 2238 daemons/fenced/fenced_commands.c get_capable_devices(const char *host, const char *action, int timeout, bool suicide, void *user_data, host 2257 daemons/fenced/fenced_commands.c pcmk__str_update(&search->host, host); host 2273 daemons/fenced/fenced_commands.c (search->host? search->host : "any node")); host 2914 daemons/fenced/fenced_commands.c const char *host = crm_element_value(dev, F_STONITH_TARGET); host 2920 daemons/fenced/fenced_commands.c pcmk__scan_min_int(host, &nodeid, 0); host 2923 daemons/fenced/fenced_commands.c host = node->uname; host 2928 daemons/fenced/fenced_commands.c get_capable_devices(host, cmd->action, cmd->default_timeout, host 70 daemons/fenced/fenced_remote.c char *host; host 104 daemons/fenced/fenced_remote.c free(peer->host); host 219 daemons/fenced/fenced_remote.c device, peer->host, count_peer_devices(op, peer, FALSE, st_device_supports_none)); host 899 daemons/fenced/fenced_remote.c find_topology_for_host(const char *host) host 902 daemons/fenced/fenced_remote.c stonith_topology_t *tp = g_hash_table_lookup(topology, host); host 905 daemons/fenced/fenced_remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); host 911 daemons/fenced/fenced_remote.c if (topology_matches(tp, host)) { host 912 daemons/fenced/fenced_remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); host 917 daemons/fenced/fenced_remote.c crm_trace("No matches for %s in %d topology entries", host, g_hash_table_size(topology)); host 1365 daemons/fenced/fenced_remote.c peer->host, op->target, peer->ndevices, host 1367 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_SKIP_TARGET) && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { host 1370 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_TARGET_ONLY) && !pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { host 1412 daemons/fenced/fenced_remote.c crm_trace("Found verified peer %s for %s", peer->host, device?device:"<any>"); host 1424 daemons/fenced/fenced_remote.c crm_trace("Found best unverified peer %s", peer->host); host 1434 daemons/fenced/fenced_remote.c crm_trace("%s will fence itself", peer->host); host 1872 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, device, host 1880 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, op->client_name, host 1892 daemons/fenced/fenced_remote.c || (pcmk__str_eq(peer->host, op->target, pcmk__str_casei) host 1919 daemons/fenced/fenced_remote.c send_cluster_message(crm_get_peer(0, peer->host), crm_msg_stonith_ng, remote_op, FALSE); host 2049 daemons/fenced/fenced_remote.c if (skip_target && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { host 2150 daemons/fenced/fenced_remote.c peer->host, device); host 2158 daemons/fenced/fenced_remote.c parse_action_specific(xml, peer->host, device, op_requested_action(op), host 2167 daemons/fenced/fenced_remote.c parse_action_specific(child, peer->host, device, PCMK_ACTION_OFF, host 2170 daemons/fenced/fenced_remote.c parse_action_specific(child, peer->host, device, PCMK_ACTION_ON, host 2188 daemons/fenced/fenced_remote.c add_result(remote_fencing_op_t *op, const char *host, int ndevices, host 2197 daemons/fenced/fenced_remote.c peer->host = strdup(host); host 2240 daemons/fenced/fenced_remote.c const char *host = NULL; host 2269 daemons/fenced/fenced_remote.c host = crm_element_value(msg, F_ORIG); host 2270 daemons/fenced/fenced_remote.c host_is_target = pcmk__str_eq(host, op->target, pcmk__str_casei); host 2273 daemons/fenced/fenced_remote.c op->replies, replies_expected, host, host 2276 daemons/fenced/fenced_remote.c peer = add_result(op, host, ndevices, dev); host 2319 daemons/fenced/fenced_remote.c "Operation is %s", peer->host, host 242 daemons/fenced/pacemaker-fenced.h stonith_topology_t *find_topology_for_host(const char *host); host 158 include/crm/cib/cib_types.h int (*query_from) (cib_t *cib, const char *host, const char *section, host 174 include/crm/cib/cib_types.h int (*sync_from) (cib_t *cib, const char *host, const char *section, host 213 include/crm/cib/internal.h int cib__create_op(cib_t *cib, const char *op, const char *host, host 289 include/crm/cib/internal.h int cib_internal_op(cib_t * cib, const char *op, 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 const pcmk_node_t *host, host 274 lib/cib/cib_client.c cib_client_query_from(cib_t * cib, const char *host, const char *section, host 278 lib/cib/cib_client.c return cib_internal_op(cib, PCMK__CIB_REQUEST_QUERY, host, section, NULL, host 336 lib/cib/cib_client.c cib_client_sync_from(cib_t * cib, const char *host, const char *section, int call_options) host 339 lib/cib/cib_client.c return cib_internal_op(cib, PCMK__CIB_REQUEST_SYNC_TO_ALL, host, section, host 286 lib/cib/cib_file.c cib_file_perform_op_delegate(cib_t *cib, const char *op, const char *host, host 325 lib/cib/cib_file.c rc = cib__create_op(cib, op, host, section, data, call_options, user_name, host 41 lib/cib/cib_native.c cib_native_perform_op_delegate(cib_t *cib, const char *op, const char *host, host 72 lib/cib/cib_native.c rc = cib__create_op(cib, op, host, section, data, call_options, user_name, host 56 lib/cib/cib_remote.c cib_remote_perform_op(cib_t *cib, const char *op, const char *host, host 83 lib/cib/cib_remote.c rc = cib__create_op(cib, op, host, section, data, call_options, user_name, host 673 lib/cib/cib_utils.c cib__create_op(cib_t *cib, const char *op, const char *host, host 693 lib/cib/cib_utils.c crm_xml_add(*op_msg, F_CIB_HOST, host); host 725 lib/cib/cib_utils.c const char *host = crm_element_value(request, F_CIB_HOST); host 739 lib/cib/cib_utils.c if (host != NULL) { host 742 lib/cib/cib_utils.c host); host 943 lib/cib/cib_utils.c cib_internal_op(cib_t * cib, const char *op, const char *host, host 947 lib/cib/cib_utils.c int (*delegate) (cib_t * cib, const char *op, const char *host, host 956 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 967 lib/cluster/cpg.c msg->host.type = dest; host 968 lib/cluster/cpg.c msg->host.local = local; host 973 lib/cluster/cpg.c msg->host.size = strlen(node->uname); host 974 lib/cluster/cpg.c memset(msg->host.uname, 0, MAX_NAME); host 975 lib/cluster/cpg.c memcpy(msg->host.uname, node->uname, msg->host.size); host 979 lib/cluster/cpg.c msg->host.id = node->id; host 1068 lib/common/remote.c pcmk__connect_remote(const char *host, int port, int timeout, int *timer_id, host 1076 lib/common/remote.c const char *server = host; host 1080 lib/common/remote.c CRM_CHECK((host != NULL) && (sock_fd != NULL), return EINVAL); host 1114 lib/common/remote.c crm_debug("Got canonical name %s for %s", server, host); host 150 lib/pacemaker/pcmk_graph_logging.c const char *host = crm_element_value(input->xml, XML_LRM_ATTR_TARGET); host 156 lib/pacemaker/pcmk_graph_logging.c (host? " on " : ""), (host? host : "")); host 166 lib/pacemaker/pcmk_graph_logging.c const char *host = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); host 173 lib/pacemaker/pcmk_graph_logging.c action->id, desc, (host? " on " : ""), (host? host : ""), host 2138 lib/pacemaker/pcmk_output.c const char *host = va_arg(args, const char *); host 2152 lib/pacemaker/pcmk_output.c if (!pcmk__str_empty(host)) { host 2153 lib/pacemaker/pcmk_output.c pcmk__g_strcat(s, "host=\"", host, "\" ", NULL); host 2173 lib/pacemaker/pcmk_output.c const char *host = va_arg(args, const char *); host 2190 lib/pacemaker/pcmk_output.c if (!pcmk__str_empty(host)) { host 2191 lib/pacemaker/pcmk_output.c crm_xml_add(node, "host", host); host 686 lib/pacemaker/pcmk_sched_remote.c const pcmk_node_t *host = NULL; host 704 lib/pacemaker/pcmk_sched_remote.c host = pe__current_node(guest->details->remote_rsc->container); host 713 lib/pacemaker/pcmk_sched_remote.c host = guest->details->remote_rsc->container->allocated_to; host 720 lib/pacemaker/pcmk_sched_remote.c if (host != NULL) { host 726 lib/pacemaker/pcmk_sched_remote.c (gpointer) host->details->uname, host 717 lib/pengine/clone.c pcmk_node_t *host = gIter->data; host 719 lib/pengine/clone.c pcmk__add_word(&list_text, 1024, host->details->uname); host 733 lib/pengine/clone.c pcmk_node_t *host = gIter->data; host 735 lib/pengine/clone.c pcmk__add_word(&list_text, 1024, host->details->uname); host 1028 lib/pengine/clone.c pcmk_node_t *host = gIter->data; host 1030 lib/pengine/clone.c if (!pcmk__str_in_list(host->details->uname, only_node, host 1035 lib/pengine/clone.c pcmk__add_word(&list_text, 1024, host->details->uname); host 1051 lib/pengine/clone.c pcmk_node_t *host = gIter->data; host 1053 lib/pengine/clone.c if (!pcmk__str_in_list(host->details->uname, only_node, host 1058 lib/pengine/clone.c pcmk__add_word(&list_text, 1024, host->details->uname); host 561 lib/pengine/common.c const pcmk_node_t *host = NULL; host 581 lib/pengine/common.c host = container->allocated_to; host 582 lib/pengine/common.c if (host == NULL) { host 591 lib/pengine/common.c host = container->running_on->data; host 593 lib/pengine/common.c if (host == NULL) { host 604 lib/pengine/common.c if (host != NULL) { host 605 lib/pengine/common.c const char *value = g_hash_table_lookup(host->details->attrs, name); host 609 lib/pengine/common.c rsc->id, name, node_type_s, pe__node_name(host), host 121 lib/pengine/remote.c const pcmk_node_t *host, host 127 lib/pengine/remote.c CRM_CHECK(scheduler && host && host->details && helper, return); host 131 lib/pengine/remote.c for (iter = host->details->running_rsc; iter != NULL; iter = iter->next) { host 1681 lib/pengine/unpack.c pcmk_node_t *host = NULL; host 1695 lib/pengine/unpack.c host = rsc->running_on->data; host 1735 lib/pengine/unpack.c } else if (host && (host->details->online == FALSE) host 1736 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 57 tools/crm_attribute.c const char *host G_GNUC_UNUSED = va_arg(args, const char *); host 512 tools/crm_attribute.c const char *host = crm_element_value(node, PCMK__XA_ATTR_NODE_NAME); host 521 tools/crm_attribute.c od->out->message(od->out, "attribute", type, attr_id, name, value, host); host 56 tools/crm_resource.h int cli_resource_prefer(pcmk__output_t *out, const char *rsc_id, const char *host, host 59 tools/crm_resource.h int cli_resource_ban(pcmk__output_t *out, const char *rsc_id, const char *host, host 62 tools/crm_resource.h int cli_resource_clear(const char *rsc_id, const char *host, GList *allnodes, host 126 tools/crm_resource.h bool resource_is_running_on(pcmk_resource_t *rsc, const char *host); host 61 tools/crm_resource_ban.c cli_resource_ban(pcmk__output_t *out, const char *rsc_id, const char *host, host 78 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-ban-%s-on-%s", rsc_id, host); host 86 tools/crm_resource_ban.c ID(location), rsc_id, host, rsc_id, host 88 tools/crm_resource_ban.c host, host); host 99 tools/crm_resource_ban.c crm_xml_add(location, XML_CIB_TAG_NODE, host); host 106 tools/crm_resource_ban.c crm_xml_set_id(rule, "cli-ban-%s-on-%s-rule", rsc_id, host); host 110 tools/crm_resource_ban.c crm_xml_set_id(expr, "cli-ban-%s-on-%s-expr", rsc_id, host); host 113 tools/crm_resource_ban.c crm_xml_add(expr, XML_EXPR_ATTR_VALUE, host); host 117 tools/crm_resource_ban.c crm_xml_set_id(expr, "cli-ban-%s-on-%s-lifetime", rsc_id, host); host 131 tools/crm_resource_ban.c int banrc = cli_resource_ban(out, rsc_id, host, move_lifetime, host 144 tools/crm_resource_ban.c cli_resource_prefer(pcmk__output_t *out,const char *rsc_id, const char *host, host 176 tools/crm_resource_ban.c crm_xml_add(location, XML_CIB_TAG_NODE, host); host 190 tools/crm_resource_ban.c crm_xml_add(expr, XML_EXPR_ATTR_VALUE, host); host 208 tools/crm_resource_ban.c int preferrc = cli_resource_prefer(out, rsc_id, host, move_lifetime, host 240 tools/crm_resource_ban.c resource_clear_node_in_expr(const char *rsc_id, const char *host, cib_t * cib_conn, host 255 tools/crm_resource_ban.c xpath_string = crm_strdup_printf(XPATH_FMT, rsc_id, rsc_id, host); host 270 tools/crm_resource_ban.c resource_clear_node_in_location(const char *rsc_id, const char *host, cib_t * cib_conn, host 281 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-ban-%s-on-%s", rsc_id, host); host 287 tools/crm_resource_ban.c crm_xml_add(location, XML_CIB_TAG_NODE, host); host 304 tools/crm_resource_ban.c cli_resource_clear(const char *rsc_id, const char *host, GList *allnodes, cib_t * cib_conn, host 313 tools/crm_resource_ban.c if (host) { host 314 tools/crm_resource_ban.c rc = resource_clear_node_in_expr(rsc_id, host, cib_conn, cib_options); host 321 tools/crm_resource_ban.c rc = resource_clear_node_in_location(rsc_id, host, cib_conn, host 65 tools/crm_resource_print.c const char *host = NULL; host 79 tools/crm_resource_print.c host = node->details->uname; host 85 tools/crm_resource_print.c rprov ? rprov : "NA", rclass, rtype, host ? host : "NA", needs_quorum, rsc->flags, host 1097 tools/crm_resource_runtime.c bool resource_is_running_on(pcmk_resource_t *rsc, const char *host) host 1108 tools/crm_resource_runtime.c for (hIter = hosts; host != NULL && hIter != NULL; hIter = hIter->next) { host 1111 tools/crm_resource_runtime.c if (pcmk__strcase_any_of(host, node->details->uname, node->details->id, NULL)) { host 1112 tools/crm_resource_runtime.c crm_trace("Resource %s is running on %s\n", rsc->id, host); host 1117 tools/crm_resource_runtime.c if (host != NULL) { host 1118 tools/crm_resource_runtime.c crm_trace("Resource %s is not running on: %s\n", rsc->id, host); host 1121 tools/crm_resource_runtime.c } else if(host == NULL && hosts == NULL) { host 1141 tools/crm_resource_runtime.c get_active_resources(const char *host, GList *rsc_list) host 1155 tools/crm_resource_runtime.c get_active_resources(host, rsc->children)); host 1156 tools/crm_resource_runtime.c } else if (resource_is_running_on(rsc, host)) { host 1466 tools/crm_resource_runtime.c const char *host = node ? node->details->uname : NULL; host 1475 tools/crm_resource_runtime.c running = resource_is_running_on(rsc, host); host 1488 tools/crm_resource_runtime.c running = resource_is_running_on(rsc, host); host 1492 tools/crm_resource_runtime.c if (host) { host 1493 tools/crm_resource_runtime.c out->err(out, "%s is not running on %s and so cannot be restarted", id, host); host 1513 tools/crm_resource_runtime.c if (host) { host 1556 tools/crm_resource_runtime.c restart_target_active = get_active_resources(host, scheduler->resources); host 1557 tools/crm_resource_runtime.c current_active = get_active_resources(host, scheduler->resources); host 1564 tools/crm_resource_runtime.c rc = cli_resource_ban(out, lookup_id, host, move_lifetime, cib, host 1599 tools/crm_resource_runtime.c target_active = get_active_resources(host, scheduler->resources); host 1630 tools/crm_resource_runtime.c current_active = get_active_resources(host, scheduler->resources); host 1651 tools/crm_resource_runtime.c rc = cli_resource_clear(lookup_id, host, NULL, cib, cib_options, true, force); host 1681 tools/crm_resource_runtime.c while (waiting_for_starts(list_delta, rsc, host)) { host 1689 tools/crm_resource_runtime.c for (lpc = 0; (lpc < step_timeout_s) && waiting_for_starts(list_delta, rsc, host); lpc++) { host 1732 tools/crm_resource_runtime.c cli_resource_clear(lookup_id, host, NULL, cib, cib_options, true, force);