host 214 daemons/attrd/attrd_corosync.c record_peer_nodeid(attribute_value_t *v, const char *host) host 216 daemons/attrd/attrd_corosync.c crm_node_t *known_peer = pcmk__get_node(v->nodeid, host, NULL, host 232 daemons/attrd/attrd_corosync.c const char *attr, const char *value, const char *host, host 240 daemons/attrd/attrd_corosync.c v = g_hash_table_lookup(a->values, host); host 244 daemons/attrd/attrd_corosync.c v->nodename = pcmk__str_copy(host); host 252 daemons/attrd/attrd_corosync.c CRM_ASSERT(pcmk__cluster_lookup_remote_node(host) != NULL); host 258 daemons/attrd/attrd_corosync.c if (changed && filter && pcmk__str_eq(host, attrd_cluster->uname, host 267 daemons/attrd/attrd_corosync.c attr, host, readable_value(v), value, peer->uname); host 273 daemons/attrd/attrd_corosync.c attr, host, a->set_type ? " in " : "", host 280 daemons/attrd/attrd_corosync.c if (pcmk__str_eq(host, attrd_cluster->uname, pcmk__str_casei) host 310 daemons/attrd/attrd_corosync.c attr, host, peer->uname, pcmk__s(value, "unset")); host 314 daemons/attrd/attrd_corosync.c attr, host, peer->uname, pcmk__s(value, "unset")); host 325 daemons/attrd/attrd_corosync.c record_peer_nodeid(v, host); host 335 daemons/attrd/attrd_corosync.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_HOST); host 347 daemons/attrd/attrd_corosync.c if (host == NULL) { host 355 daemons/attrd/attrd_corosync.c while (g_hash_table_iter_next(&vIter, (gpointer *) & host, NULL)) { host 356 daemons/attrd/attrd_corosync.c update_attr_on_host(a, peer, xml, attr, value, host, filter); host 361 daemons/attrd/attrd_corosync.c update_attr_on_host(a, peer, xml, attr, value, host, filter); host 435 daemons/attrd/attrd_corosync.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_HOST); host 466 daemons/attrd/attrd_corosync.c attrd_peer_update(peer, xml, host, false); host 518 daemons/attrd/attrd_corosync.c attrd_peer_remove(const char *host, bool uncache, const char *source) host 523 daemons/attrd/attrd_corosync.c CRM_CHECK(host != NULL, return); host 526 daemons/attrd/attrd_corosync.c host, source, (uncache? "and" : "without")); host 530 daemons/attrd/attrd_corosync.c if(g_hash_table_remove(a->values, host)) { host 531 daemons/attrd/attrd_corosync.c crm_debug("Removed %s[%s] for peer %s", a->id, host, source); host 536 daemons/attrd/attrd_corosync.c pcmk__purge_node_from_cache(host, 0); host 575 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 59 daemons/attrd/attrd_ipc.c if (pcmk__str_eq(host, "localhost", pcmk__str_casei)) { host 60 daemons/attrd/attrd_ipc.c host = attrd_cluster->uname; host 61 daemons/attrd/attrd_ipc.c crm_trace("Mapped localhost to %s", host); host 65 daemons/attrd/attrd_ipc.c if (host) { host 66 daemons/attrd/attrd_ipc.c v = g_hash_table_lookup(a->values, host); host 68 daemons/attrd/attrd_ipc.c pcmk__xe_add_node(host_value, host, 0); host 145 daemons/attrd/attrd_ipc.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_HOST); host 150 daemons/attrd/attrd_ipc.c if (host == NULL) { host 162 daemons/attrd/attrd_ipc.c host = node->uname; host 166 daemons/attrd/attrd_ipc.c host = host_alloc; host 168 daemons/attrd/attrd_ipc.c pcmk__xe_add_node(xml, host, 0); host 172 daemons/attrd/attrd_ipc.c if (host) { host 174 daemons/attrd/attrd_ipc.c pcmk__client_name(request->ipc_client), host); host 235 daemons/attrd/attrd_ipc.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_HOST); host 237 daemons/attrd/attrd_ipc.c if (host == NULL) { host 338 daemons/attrd/attrd_ipc.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_HOST); host 339 daemons/attrd/attrd_ipc.c v = g_hash_table_lookup(a->values, host); host 152 daemons/attrd/attrd_messages.c const char *host = crm_element_value(request->xml, PCMK__XA_ATTR_HOST); host 159 daemons/attrd/attrd_messages.c attrd_peer_remove(host, reap, request->peer); host 202 daemons/attrd/attrd_messages.c const char *host = crm_element_value(request->xml, PCMK__XA_ATTR_HOST); host 206 daemons/attrd/attrd_messages.c attrd_peer_update(peer, request->xml, host, false); host 403 daemons/attrd/attrd_sync.c attrd_do_not_expect_from_peer(const char *host) host 413 daemons/attrd/attrd_sync.c crm_trace("Removing peer %s from expected confirmations", host); host 417 daemons/attrd/attrd_sync.c attrd_handle_confirmation(callid, host); host 479 daemons/attrd/attrd_sync.c gpointer host, ver; host 498 daemons/attrd/attrd_sync.c while (g_hash_table_iter_next(&iter, &host, &ver)) { host 501 daemons/attrd/attrd_sync.c pcmk__str_copy((char *) host)); host 543 daemons/attrd/attrd_sync.c attrd_handle_confirmation(int callid, const char *host) host 557 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 292 daemons/attrd/attrd_utils.c g_hash_table_insert(peer_protocol_vers, pcmk__str_copy(host), host 187 daemons/attrd/pacemaker-attrd.h void attrd_peer_update(const crm_node_t *peer, xmlNode *xml, const char *host, host 190 daemons/attrd/pacemaker-attrd.h void attrd_peer_remove(const char *host, bool uncache, const char *source); host 222 daemons/attrd/pacemaker-attrd.h void attrd_remove_peer_protocol_ver(const char *host); host 223 daemons/attrd/pacemaker-attrd.h void attrd_update_minimum_protocol_ver(const char *host, const char *value); host 240 daemons/attrd/pacemaker-attrd.h void attrd_do_not_expect_from_peer(const char *host); host 244 daemons/attrd/pacemaker-attrd.h void attrd_handle_confirmation(int callid, const char *host); host 418 daemons/based/based_callbacks.c const char *host = crm_element_value(reply, PCMK__XA_SRC); 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 479 daemons/based/based_callbacks.c ping_digest, host, host 549 daemons/based/based_callbacks.c const char *host, const char *op, gboolean *local_notify, host 561 daemons/based/based_callbacks.c if (host == NULL && (call_options & cib_scope_local)) { host 566 daemons/based/based_callbacks.c } else if ((host == NULL) && based_is_primary) { host 571 daemons/based/based_callbacks.c } else if (pcmk__str_eq(host, OUR_NODENAME, pcmk__str_casei)) { host 584 daemons/based/based_callbacks.c pcmk__s(host, "the primary instance")); host 593 daemons/based/based_callbacks.c const char *host, const char *op, gboolean *local_notify, host 613 daemons/based/based_callbacks.c if (!pcmk__str_eq(host, OUR_NODENAME, host 618 daemons/based/based_callbacks.c op, host); host 624 daemons/based/based_callbacks.c || !pcmk__str_eq(host, OUR_NODENAME, host 635 daemons/based/based_callbacks.c pcmk__s(host, "all nodes")); host 645 daemons/based/based_callbacks.c ((host != NULL)? "locally " : "un"), host 653 daemons/based/based_callbacks.c const char *host, const char *op, gboolean *local_notify, host 658 daemons/based/based_callbacks.c parse_local_options_v1(cib_client, operation, call_options, host, host 662 daemons/based/based_callbacks.c parse_local_options_v2(cib_client, operation, call_options, host, host 674 daemons/based/based_callbacks.c const char *host = NULL; host 721 daemons/based/based_callbacks.c host = crm_element_value(request, PCMK__XA_CIB_HOST); host 722 daemons/based/based_callbacks.c if (pcmk__str_eq(host, OUR_NODENAME, pcmk__str_casei)) { host 727 daemons/based/based_callbacks.c crm_trace("Processing %s request sent to %s by %s", op, host?host:"everyone", originator); host 731 daemons/based/based_callbacks.c } else if ((host == NULL) && based_is_primary) { host 741 daemons/based/based_callbacks.c } else if (host != NULL) { host 743 daemons/based/based_callbacks.c crm_trace("Ignoring msg for instance on %s", host); host 772 daemons/based/based_callbacks.c const char *host = NULL; host 874 daemons/based/based_callbacks.c host = crm_element_value(request, PCMK__XA_CIB_HOST); host 875 daemons/based/based_callbacks.c if (pcmk__str_eq(host, OUR_NODENAME, pcmk__str_casei)) { host 880 daemons/based/based_callbacks.c } else if (host != NULL) { host 882 daemons/based/based_callbacks.c op, host); host 928 daemons/based/based_callbacks.c const char *host = crm_element_value(request, PCMK__XA_CIB_HOST); host 945 daemons/based/based_callbacks.c pcmk__s(host, (cib_legacy_mode()? "primary" : "all")), host 952 daemons/based/based_callbacks.c if (host != NULL) { host 953 daemons/based/based_callbacks.c peer = pcmk__get_node(0, host, NULL, pcmk__node_search_cluster_member); host 1056 daemons/based/based_callbacks.c const char *host = crm_element_value(request, PCMK__XA_CIB_HOST); host 1069 daemons/based/based_callbacks.c if ((host != NULL) && (*host == '\0')) { host 1070 daemons/based/based_callbacks.c host = NULL; host 1074 daemons/based/based_callbacks.c if (host) { host 1075 daemons/based/based_callbacks.c target = host; host 1107 daemons/based/based_callbacks.c parse_local_options(cib_client, operation, call_options, host, op, host 47 daemons/based/based_messages.c const char *host = crm_element_value(req, PCMK__XA_SRC); host 52 daemons/based/based_messages.c crm_info("Peer %s is requesting to shut down", host); host 57 daemons/based/based_messages.c crm_err("Peer %s mistakenly thinks we wanted to shut down", host); host 61 daemons/based/based_messages.c crm_info("Peer %s has acknowledged our shutdown request", host); host 117 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 if (host != NULL) { host 131 daemons/based/based_messages.c peer = pcmk__get_node(0, host, NULL, pcmk__node_search_cluster_member); host 141 daemons/based/based_messages.c const char *host = crm_element_value(req, PCMK__XA_SRC); host 147 daemons/based/based_messages.c crm_trace("Processing \"%s\" event %s from %s", op, seq, host); host 175 daemons/based/based_messages.c host, digest, host 211 daemons/based/based_messages.c const char *host = crm_element_value(req, PCMK__XA_SRC); host 229 daemons/based/based_messages.c crm_notice("Upgrade request from %s verified", host); host 234 daemons/based/based_messages.c crm_xml_add(up, PCMK__XA_CIB_DELEGATED_FROM, host); host 257 daemons/based/based_messages.c origin = pcmk__search_node_caches(0, host, host 261 daemons/based/based_messages.c CRM_XS " rc=%d peer=%s", host, pcmk_strerror(rc), rc, host 269 daemons/based/based_messages.c crm_xml_add(up, PCMK__XA_CIB_DELEGATED_FROM, host); host 270 daemons/based/based_messages.c crm_xml_add(up, PCMK__XA_CIB_ISREPLYTO, host); host 276 daemons/based/based_messages.c crm_warn("Could not send CIB upgrade result to %s", host); host 422 daemons/based/based_messages.c const char *host = crm_element_value(request, PCMK__XA_SRC); host 429 daemons/based/based_messages.c CRM_CHECK(all || (host != NULL), return -EINVAL); host 431 daemons/based/based_messages.c crm_debug("Syncing CIB to %s", all ? "all peers" : host); host 435 daemons/based/based_messages.c if (host != NULL) { host 436 daemons/based/based_messages.c crm_xml_add(replace_request, PCMK__XA_CIB_ISREPLYTO, host); host 457 daemons/based/based_messages.c peer = pcmk__get_node(0, host, NULL, pcmk__node_search_cluster_member); host 64 daemons/based/based_transaction.c const char *host = crm_element_value(request, PCMK__XA_CIB_HOST); host 70 daemons/based/based_transaction.c || (host != NULL)) { host 129 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, true); 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 144 daemons/controld/controld_attrd.c rc = pcmk__attrd_api_clear_failures(attrd_api, host, rsc, op, host 155 daemons/controld/controld_attrd.c pcmk__s(rsc, "all resources"), node_type(is_remote_node), host, 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 45 daemons/fenced/fenced_commands.c char *host; host 1217 daemons/fenced/fenced_commands.c dev->id, search->host, host 1228 daemons/fenced/fenced_commands.c crm_trace("%s reported it cannot fence %s", dev->id, search->host); host 1233 daemons/fenced/fenced_commands.c crm_trace("%s reported it can fence %s", dev->id, search->host); host 1240 daemons/fenced/fenced_commands.c dev->id, search->host, result->exit_status); host 1293 daemons/fenced/fenced_commands.c dev->id, search->host, result->exit_status); host 1297 daemons/fenced/fenced_commands.c dev->id, search->host, host 1315 daemons/fenced/fenced_commands.c const char *alias = g_hash_table_lookup(dev->aliases, search->host); host 1318 daemons/fenced/fenced_commands.c alias = search->host; host 2044 daemons/fenced/fenced_commands.c (search->host? search->host : "any node")); host 2047 daemons/fenced/fenced_commands.c free(search->host); host 2145 daemons/fenced/fenced_commands.c target = search->host; host 2253 daemons/fenced/fenced_commands.c get_capable_devices(const char *host, const char *action, int timeout, bool suicide, void *user_data, host 2266 daemons/fenced/fenced_commands.c search->host = pcmk__str_copy(host); host 2282 daemons/fenced/fenced_commands.c (search->host? search->host : "any node")); host 2934 daemons/fenced/fenced_commands.c const char *host = crm_element_value(dev, PCMK__XA_ST_TARGET); host 2940 daemons/fenced/fenced_commands.c pcmk__scan_min_int(host, &nodeid, 0); host 2945 daemons/fenced/fenced_commands.c host = node->uname; host 2950 daemons/fenced/fenced_commands.c get_capable_devices(host, cmd->action, cmd->default_timeout, host 69 daemons/fenced/fenced_remote.c char *host; host 103 daemons/fenced/fenced_remote.c free(peer->host); host 218 daemons/fenced/fenced_remote.c device, peer->host, count_peer_devices(op, peer, FALSE, st_device_supports_none)); host 906 daemons/fenced/fenced_remote.c find_topology_for_host(const char *host) host 909 daemons/fenced/fenced_remote.c stonith_topology_t *tp = g_hash_table_lookup(topology, 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 918 daemons/fenced/fenced_remote.c if (topology_matches(tp, host)) { host 919 daemons/fenced/fenced_remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); host 924 daemons/fenced/fenced_remote.c crm_trace("No matches for %s in %d topology entries", host, g_hash_table_size(topology)); host 1396 daemons/fenced/fenced_remote.c peer->host, op->target, peer->ndevices, host 1398 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_SKIP_TARGET) && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { host 1401 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_TARGET_ONLY) && !pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { host 1443 daemons/fenced/fenced_remote.c crm_trace("Found verified peer %s for %s", peer->host, device?device:"<any>"); host 1455 daemons/fenced/fenced_remote.c crm_trace("Found best unverified peer %s", peer->host); host 1465 daemons/fenced/fenced_remote.c crm_trace("%s will fence itself", peer->host); host 1927 daemons/fenced/fenced_remote.c pcmk__get_node(0, peer->host, NULL, host 1952 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, device, host 1960 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, op->client_name, host 2131 daemons/fenced/fenced_remote.c if (skip_target && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { host 2233 daemons/fenced/fenced_remote.c peer->host, device); host 2241 daemons/fenced/fenced_remote.c parse_action_specific(xml, peer->host, device, op_requested_action(op), host 2250 daemons/fenced/fenced_remote.c parse_action_specific(child, peer->host, device, PCMK_ACTION_OFF, host 2255 daemons/fenced/fenced_remote.c parse_action_specific(child, peer->host, device, PCMK_ACTION_ON, host 2273 daemons/fenced/fenced_remote.c add_result(remote_fencing_op_t *op, const char *host, int ndevices, host 2280 daemons/fenced/fenced_remote.c peer->host = pcmk__str_copy(host); host 2323 daemons/fenced/fenced_remote.c const char *host = NULL; host 2352 daemons/fenced/fenced_remote.c host = crm_element_value(msg, PCMK__XA_SRC); host 2353 daemons/fenced/fenced_remote.c host_is_target = pcmk__str_eq(host, op->target, pcmk__str_casei); host 2356 daemons/fenced/fenced_remote.c op->replies, replies_expected, host, host 2359 daemons/fenced/fenced_remote.c peer = add_result(op, host, ndevices, dev); host 2402 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 201 include/crm/cib/cib_types.h int (*query_from) (cib_t *cib, const char *host, const char *section, host 217 include/crm/cib/cib_types.h int (*sync_from) (cib_t *cib, const char *host, const char *section, host 178 include/crm/cib/internal.h int cib__create_op(cib_t *cib, const char *op, const char *host, host 254 include/crm/cib/internal.h int cib_internal_op(cib_t * cib, const char *op, const char *host, host 26 include/crm/common/remote_internal.h int pcmk__connect_remote(const char *host, int port, int timeout_ms, host 25 include/crm/pengine/remote_internal.h const pcmk_node_t *host, host 273 lib/cib/cib_client.c cib_client_query_from(cib_t * cib, const char *host, const char *section, host 277 lib/cib/cib_client.c return cib_internal_op(cib, PCMK__CIB_REQUEST_QUERY, host, section, NULL, host 335 lib/cib/cib_client.c cib_client_sync_from(cib_t * cib, const char *host, const char *section, int call_options) host 338 lib/cib/cib_client.c return cib_internal_op(cib, PCMK__CIB_REQUEST_SYNC_TO_ALL, host, section, host 288 lib/cib/cib_file.c cib_file_perform_op_delegate(cib_t *cib, const char *op, const char *host, host 327 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 57 lib/cib/cib_remote.c cib_remote_perform_op(cib_t *cib, const char *op, const char *host, host 84 lib/cib/cib_remote.c rc = cib__create_op(cib, op, host, section, data, call_options, user_name, host 660 lib/cib/cib_utils.c cib__create_op(cib_t *cib, const char *op, const char *host, host 676 lib/cib/cib_utils.c crm_xml_add(*op_msg, PCMK__XA_CIB_HOST, host); host 710 lib/cib/cib_utils.c const char *host = crm_element_value(request, PCMK__XA_CIB_HOST); host 724 lib/cib/cib_utils.c if (host != NULL) { host 727 lib/cib/cib_utils.c host); host 883 lib/cib/cib_utils.c cib_internal_op(cib_t * cib, const char *op, const char *host, host 887 lib/cib/cib_utils.c int (*delegate) (cib_t * cib, const char *op, const char *host, host 896 lib/cib/cib_utils.c return delegate(cib, op, host, section, data, output_data, call_options, user_name); host 65 lib/cluster/cpg.c pcmk__cpg_host_t host; host 289 lib/cluster/cpg.c ais_dest(const pcmk__cpg_host_t *host) host 291 lib/cluster/cpg.c if (host->local) { host 293 lib/cluster/cpg.c } else if (host->size > 0) { host 294 lib/cluster/cpg.c return host->uname; host 361 lib/cluster/cpg.c msg_type2text(msg->host.type), ais_dest(&(msg->host))); host 373 lib/cluster/cpg.c msg_type2text(msg->host.type), ais_dest(&(msg->host))); host 385 lib/cluster/cpg.c msg_type2text(msg->host.type), ais_dest(&(msg->host))); host 401 lib/cluster/cpg.c msg_type2text(msg->host.type), ais_dest(&(msg->host))); host 409 lib/cluster/cpg.c msg_type2text(msg->host.type), ais_dest(&(msg->host))); host 449 lib/cluster/cpg.c if ((msg->host.id != 0) && (local_nodeid != msg->host.id)) { host 451 lib/cluster/cpg.c msg->host.id, local_nodeid); host 454 lib/cluster/cpg.c if ((msg->host.size > 0) host 455 lib/cluster/cpg.c && !pcmk__str_eq(msg->host.uname, local_name, pcmk__str_casei)) { host 457 lib/cluster/cpg.c crm_trace("Not for us: %s != %s", msg->host.uname, local_name); host 534 lib/cluster/cpg.c msg->id, ais_dest(&(msg->host)), msg_type2text(msg->host.type), host 996 lib/cluster/cpg.c msg->host.type = dest; host 997 lib/cluster/cpg.c msg->host.local = local; host 1002 lib/cluster/cpg.c msg->host.size = strlen(node->uname); host 1003 lib/cluster/cpg.c memset(msg->host.uname, 0, MAX_NAME); host 1004 lib/cluster/cpg.c memcpy(msg->host.uname, node->uname, msg->host.size); host 1009 lib/cluster/cpg.c msg->host.id = node->id; host 123 lib/common/attrs.c const pcmk_node_t *host = NULL; host 149 lib/common/attrs.c host = container->allocated_to; host 150 lib/common/attrs.c if (host == NULL) { host 161 lib/common/attrs.c host = container->running_on->data; host 163 lib/common/attrs.c if (host == NULL) { host 178 lib/common/attrs.c value = g_hash_table_lookup(host->details->attrs, name); host 181 lib/common/attrs.c pcmk__node_name(host)); host 1079 lib/common/remote.c pcmk__connect_remote(const char *host, int port, int timeout, int *timer_id, host 1087 lib/common/remote.c const char *server = host; host 1091 lib/common/remote.c CRM_CHECK((host != NULL) && (sock_fd != NULL), return EINVAL); host 1125 lib/common/remote.c crm_debug("Got canonical name %s for %s", server, host); host 149 lib/pacemaker/pcmk_graph_logging.c const char *host = crm_element_value(input->xml, PCMK__META_ON_NODE); host 155 lib/pacemaker/pcmk_graph_logging.c (host? " on " : ""), (host? host : "")); host 165 lib/pacemaker/pcmk_graph_logging.c const char *host = crm_element_value(action->xml, PCMK__META_ON_NODE); host 172 lib/pacemaker/pcmk_graph_logging.c action->id, desc, (host? " on " : ""), (host? host : ""), host 2148 lib/pacemaker/pcmk_output.c const char *host = va_arg(args, const char *); host 2189 lib/pacemaker/pcmk_output.c if (!pcmk__str_empty(host)) { host 2190 lib/pacemaker/pcmk_output.c KV_PAIR(PCMK_XA_HOST, host); host 2215 lib/pacemaker/pcmk_output.c const char *host = va_arg(args, const char *); host 2234 lib/pacemaker/pcmk_output.c if (!pcmk__str_empty(host)) { host 2235 lib/pacemaker/pcmk_output.c crm_xml_add(node, PCMK_XA_HOST, host); host 688 lib/pacemaker/pcmk_sched_remote.c const pcmk_node_t *host = NULL; host 707 lib/pacemaker/pcmk_sched_remote.c host = pcmk__current_node(guest->details->remote_rsc->container); host 716 lib/pacemaker/pcmk_sched_remote.c host = guest->details->remote_rsc->container->allocated_to; host 723 lib/pacemaker/pcmk_sched_remote.c if (host != NULL) { host 732 lib/pacemaker/pcmk_sched_remote.c (gpointer) host->details->uname, host 748 lib/pengine/clone.c pcmk_node_t *host = gIter->data; host 750 lib/pengine/clone.c pcmk__add_word(&list_text, 1024, host->details->uname); host 764 lib/pengine/clone.c pcmk_node_t *host = gIter->data; host 766 lib/pengine/clone.c pcmk__add_word(&list_text, 1024, host->details->uname); host 1067 lib/pengine/clone.c pcmk_node_t *host = gIter->data; host 1069 lib/pengine/clone.c if (!pcmk__str_in_list(host->details->uname, only_node, host 1074 lib/pengine/clone.c pcmk__add_word(&list_text, 1024, host->details->uname); host 1090 lib/pengine/clone.c pcmk_node_t *host = gIter->data; host 1092 lib/pengine/clone.c if (!pcmk__str_in_list(host->details->uname, only_node, host 1097 lib/pengine/clone.c pcmk__add_word(&list_text, 1024, host->details->uname); host 84 lib/pengine/remote.c const pcmk_node_t *host, host 90 lib/pengine/remote.c CRM_CHECK(scheduler && host && host->details && helper, return); host 94 lib/pengine/remote.c for (iter = host->details->running_rsc; iter != NULL; iter = iter->next) { host 1771 lib/pengine/unpack.c pcmk_node_t *host = NULL; host 1785 lib/pengine/unpack.c host = rsc->running_on->data; host 1825 lib/pengine/unpack.c } else if (host && (host->details->online == FALSE) host 1826 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 65 tools/crm_resource.h int cli_resource_prefer(pcmk__output_t *out, const char *rsc_id, const char *host, host 68 tools/crm_resource.h int cli_resource_ban(pcmk__output_t *out, const char *rsc_id, const char *host, host 71 tools/crm_resource.h int cli_resource_clear(const char *rsc_id, const char *host, GList *allnodes, host 136 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 88 tools/crm_resource_ban.c pcmk__xe_id(location), rsc_id, host, rsc_id, host 89 tools/crm_resource_ban.c (promoted_role_only? "being promoted" : "running"), host, host); host 100 tools/crm_resource_ban.c crm_xml_add(location, PCMK_XE_NODE, host); host 107 tools/crm_resource_ban.c crm_xml_set_id(rule, "cli-ban-%s-on-%s-rule", rsc_id, host); host 111 tools/crm_resource_ban.c crm_xml_set_id(expr, "cli-ban-%s-on-%s-expr", rsc_id, host); host 114 tools/crm_resource_ban.c crm_xml_add(expr, PCMK_XA_VALUE, host); host 118 tools/crm_resource_ban.c crm_xml_set_id(expr, "cli-ban-%s-on-%s-lifetime", rsc_id, host); host 135 tools/crm_resource_ban.c int banrc = cli_resource_ban(out, rsc_id, host, move_lifetime, host 148 tools/crm_resource_ban.c cli_resource_prefer(pcmk__output_t *out,const char *rsc_id, const char *host, host 180 tools/crm_resource_ban.c crm_xml_add(location, PCMK_XE_NODE, host); host 194 tools/crm_resource_ban.c crm_xml_add(expr, PCMK_XA_VALUE, host); host 215 tools/crm_resource_ban.c int preferrc = cli_resource_prefer(out, rsc_id, host, move_lifetime, host 248 tools/crm_resource_ban.c resource_clear_node_in_expr(const char *rsc_id, const char *host, cib_t * cib_conn, host 263 tools/crm_resource_ban.c xpath_string = crm_strdup_printf(XPATH_FMT, rsc_id, rsc_id, host); host 278 tools/crm_resource_ban.c resource_clear_node_in_location(const char *rsc_id, const char *host, cib_t * cib_conn, host 289 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-ban-%s-on-%s", rsc_id, host); host 295 tools/crm_resource_ban.c crm_xml_add(location, PCMK_XE_NODE, host); host 313 tools/crm_resource_ban.c cli_resource_clear(const char *rsc_id, const char *host, GList *allnodes, cib_t * cib_conn, host 322 tools/crm_resource_ban.c if (host) { host 323 tools/crm_resource_ban.c rc = resource_clear_node_in_expr(rsc_id, host, cib_conn, cib_options); host 330 tools/crm_resource_ban.c rc = resource_clear_node_in_location(rsc_id, host, cib_conn, host 68 tools/crm_resource_print.c const char *host = NULL; host 82 tools/crm_resource_print.c host = node->details->uname; host 88 tools/crm_resource_print.c rprov ? rprov : "NA", rclass, rtype, host ? host : "NA", needs_quorum, rsc->flags, host 1198 tools/crm_resource_runtime.c bool resource_is_running_on(pcmk_resource_t *rsc, const char *host) host 1209 tools/crm_resource_runtime.c for (hIter = hosts; host != NULL && hIter != NULL; hIter = hIter->next) { host 1212 tools/crm_resource_runtime.c if (pcmk__strcase_any_of(host, node->details->uname, node->details->id, NULL)) { host 1213 tools/crm_resource_runtime.c crm_trace("Resource %s is running on %s\n", rsc->id, host); host 1218 tools/crm_resource_runtime.c if (host != NULL) { host 1219 tools/crm_resource_runtime.c crm_trace("Resource %s is not running on: %s\n", rsc->id, host); host 1222 tools/crm_resource_runtime.c } else if(host == NULL && hosts == NULL) { host 1242 tools/crm_resource_runtime.c get_active_resources(const char *host, GList *rsc_list) host 1256 tools/crm_resource_runtime.c get_active_resources(host, rsc->children)); host 1257 tools/crm_resource_runtime.c } else if (resource_is_running_on(rsc, host)) { host 1565 tools/crm_resource_runtime.c const char *host = node ? node->details->uname : NULL; host 1574 tools/crm_resource_runtime.c running = resource_is_running_on(rsc, host); host 1587 tools/crm_resource_runtime.c running = resource_is_running_on(rsc, host); host 1591 tools/crm_resource_runtime.c if (host) { host 1592 tools/crm_resource_runtime.c out->err(out, "%s is not running on %s and so cannot be restarted", id, host); host 1612 tools/crm_resource_runtime.c if (host) { host 1655 tools/crm_resource_runtime.c restart_target_active = get_active_resources(host, scheduler->resources); host 1656 tools/crm_resource_runtime.c current_active = get_active_resources(host, scheduler->resources); host 1663 tools/crm_resource_runtime.c rc = cli_resource_ban(out, lookup_id, host, move_lifetime, cib, host 1709 tools/crm_resource_runtime.c target_active = get_active_resources(host, scheduler->resources); host 1740 tools/crm_resource_runtime.c current_active = get_active_resources(host, scheduler->resources); host 1761 tools/crm_resource_runtime.c rc = cli_resource_clear(lookup_id, host, NULL, cib, cib_options, true, force); host 1794 tools/crm_resource_runtime.c while (waiting_for_starts(list_delta, rsc, host)) { host 1802 tools/crm_resource_runtime.c for (lpc = 0; (lpc < step_timeout_s) && waiting_for_starts(list_delta, rsc, host); lpc++) { host 1845 tools/crm_resource_runtime.c cli_resource_clear(lookup_id, host, NULL, cib, cib_options, true, force);