host 167 daemons/attrd/attrd_corosync.c attrd_lookup_or_create_value(GHashTable *values, const char *host, host 170 daemons/attrd/attrd_corosync.c attribute_value_t *v = g_hash_table_lookup(values, host); host 175 daemons/attrd/attrd_corosync.c cache_remote_node(host); host 182 daemons/attrd/attrd_corosync.c pcmk__str_update(&v->nodename, host); host 241 daemons/attrd/attrd_corosync.c record_peer_nodeid(attribute_value_t *v, const char *host) host 243 daemons/attrd/attrd_corosync.c crm_node_t *known_peer = crm_get_peer(v->nodeid, host); host 253 daemons/attrd/attrd_corosync.c const char *attr, const char *value, const char *host, host 258 daemons/attrd/attrd_corosync.c v = attrd_lookup_or_create_value(a->values, host, xml); host 261 daemons/attrd/attrd_corosync.c && pcmk__str_eq(host, attrd_cluster->uname, pcmk__str_casei)) { host 264 daemons/attrd/attrd_corosync.c attr, host, v->current, value, peer->uname); host 270 daemons/attrd/attrd_corosync.c attr, host, pcmk__s(v->current, "(unset)"), host 276 daemons/attrd/attrd_corosync.c if (pcmk__str_eq(host, attrd_cluster->uname, pcmk__str_casei) host 300 daemons/attrd/attrd_corosync.c attr, host, peer->uname, value); host 303 daemons/attrd/attrd_corosync.c crm_trace("Unchanged %s[%s] from %s is %s", attr, host, peer->uname, value); host 314 daemons/attrd/attrd_corosync.c record_peer_nodeid(v, host); host 324 daemons/attrd/attrd_corosync.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); host 339 daemons/attrd/attrd_corosync.c if (host == NULL) { host 347 daemons/attrd/attrd_corosync.c while (g_hash_table_iter_next(&vIter, (gpointer *) & host, NULL)) { host 348 daemons/attrd/attrd_corosync.c update_attr_on_host(a, peer, xml, attr, value, host, filter, is_force_write); host 353 daemons/attrd/attrd_corosync.c update_attr_on_host(a, peer, xml, attr, value, host, filter, is_force_write); host 418 daemons/attrd/attrd_corosync.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); host 447 daemons/attrd/attrd_corosync.c attrd_peer_update(peer, xml, host, false); host 499 daemons/attrd/attrd_corosync.c attrd_peer_remove(const char *host, bool uncache, const char *source) host 504 daemons/attrd/attrd_corosync.c CRM_CHECK(host != NULL, return); host 505 daemons/attrd/attrd_corosync.c crm_notice("Removing all %s attributes for peer %s", host, source); host 509 daemons/attrd/attrd_corosync.c if(g_hash_table_remove(a->values, host)) { host 510 daemons/attrd/attrd_corosync.c crm_debug("Removed %s[%s] for peer %s", a->id, host, source); host 515 daemons/attrd/attrd_corosync.c crm_remote_peer_cache_remove(host); host 516 daemons/attrd/attrd_corosync.c reap_crm_member(0, host); host 568 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 161 daemons/attrd/attrd_ipc.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); host 166 daemons/attrd/attrd_ipc.c if (host == NULL) { host 176 daemons/attrd/attrd_ipc.c host = node->uname; host 180 daemons/attrd/attrd_ipc.c host = host_alloc; host 182 daemons/attrd/attrd_ipc.c pcmk__xe_add_node(xml, host, 0); host 186 daemons/attrd/attrd_ipc.c if (host) { host 188 daemons/attrd/attrd_ipc.c pcmk__client_name(request->ipc_client), host); host 249 daemons/attrd/attrd_ipc.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); host 251 daemons/attrd/attrd_ipc.c if (host == NULL) { host 272 daemons/attrd/attrd_ipc.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); host 273 daemons/attrd/attrd_ipc.c v = g_hash_table_lookup(a->values, host); host 77 daemons/attrd/attrd_messages.c const char *host = crm_element_value(request->xml, PCMK__XA_ATTR_NODE_NAME); host 78 daemons/attrd/attrd_messages.c attrd_peer_remove(host, true, request->peer); host 134 daemons/attrd/attrd_messages.c const char *host = crm_element_value(request->xml, PCMK__XA_ATTR_NODE_NAME); host 137 daemons/attrd/attrd_messages.c attrd_peer_update(peer, request->xml, host, false); host 150 daemons/attrd/pacemaker-attrd.h void attrd_peer_update(const crm_node_t *peer, xmlNode *xml, const char *host, host 153 daemons/attrd/pacemaker-attrd.h void attrd_peer_remove(const char *host, bool uncache, const char *source); 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) && based_is_primary) { 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 pcmk__s(host, "the primary instance")); host 530 daemons/based/based_callbacks.c int call_options, const char *host, const char *op, host 551 daemons/based/based_callbacks.c pcmk__s(host, "the primary instance")); host 566 daemons/based/based_callbacks.c } else if (host == NULL) { host 570 daemons/based/based_callbacks.c } else if (pcmk__str_eq(host, cib_our_uname, pcmk__str_casei)) { host 576 daemons/based/based_callbacks.c op, pcmk__client_name(cib_client), host); host 584 daemons/based/based_callbacks.c int call_options, const char *host, const char *op, host 589 daemons/based/based_callbacks.c parse_local_options_v1(cib_client, call_type, call_options, host, host 592 daemons/based/based_callbacks.c parse_local_options_v2(cib_client, call_type, call_options, host, host 603 daemons/based/based_callbacks.c const char *host = NULL; host 649 daemons/based/based_callbacks.c host = crm_element_value(request, F_CIB_HOST); host 650 daemons/based/based_callbacks.c if (host != NULL && pcmk__str_eq(host, cib_our_uname, pcmk__str_casei)) { host 655 daemons/based/based_callbacks.c crm_trace("Processing %s request sent to %s by %s", op, host?host:"everyone", originator); host 659 daemons/based/based_callbacks.c } else if ((host == NULL) && based_is_primary) { host 669 daemons/based/based_callbacks.c } else if (host != NULL) { host 671 daemons/based/based_callbacks.c crm_trace("Ignoring msg for instance on %s", host); host 700 daemons/based/based_callbacks.c const char *host = NULL; host 797 daemons/based/based_callbacks.c host = crm_element_value(request, F_CIB_HOST); host 798 daemons/based/based_callbacks.c if (host != NULL && pcmk__str_eq(host, cib_our_uname, pcmk__str_casei)) { host 803 daemons/based/based_callbacks.c } else if (host != NULL) { host 805 daemons/based/based_callbacks.c crm_trace("Ignoring %s operation for instance on %s", op, host); host 841 daemons/based/based_callbacks.c const char *host = crm_element_value(request, F_CIB_HOST); host 845 daemons/based/based_callbacks.c if (host != NULL) { host 846 daemons/based/based_callbacks.c crm_trace("Forwarding %s op to %s", op, host); host 847 daemons/based/based_callbacks.c send_cluster_message(crm_get_peer(0, host), crm_msg_cib, request, FALSE); host 946 daemons/based/based_callbacks.c const char *host = crm_element_value(request, F_CIB_HOST); host 955 daemons/based/based_callbacks.c if ((host != NULL) && (*host == '\0')) { host 956 daemons/based/based_callbacks.c host = NULL; host 959 daemons/based/based_callbacks.c if (host) { host 960 daemons/based/based_callbacks.c target = host; host 985 daemons/based/based_callbacks.c parse_local_options(cib_client, call_type, call_options, host, op, host 1016 daemons/based/based_callbacks.c pcmk__s(host, (cib_legacy_mode() ? "primary" : "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 136 daemons/based/based_messages.c send_sync_request(const char *host) host 140 daemons/based/based_messages.c crm_info("Requesting re-sync from %s", (host? host : "all peers")); host 147 daemons/based/based_messages.c send_cluster_message(host ? crm_get_peer(0, host) : NULL, crm_msg_cib, sync_me, FALSE); host 155 daemons/based/based_messages.c const char *host = crm_element_value(req, F_ORIG); host 161 daemons/based/based_messages.c crm_trace("Processing \"%s\" event %s from %s", op, seq, host); host 187 daemons/based/based_messages.c host, digest, host 227 daemons/based/based_messages.c const char *host = crm_element_value(req, F_ORIG); host 243 daemons/based/based_messages.c crm_notice("Upgrade request from %s verified", host); host 248 daemons/based/based_messages.c crm_xml_add(up, F_CIB_DELEGATED, host); host 269 daemons/based/based_messages.c crm_node_t *origin = pcmk__search_cluster_node_cache(0, host); host 272 daemons/based/based_messages.c CRM_XS " rc=%d peer=%s", host, pcmk_strerror(rc), rc, host 280 daemons/based/based_messages.c crm_xml_add(up, F_CIB_DELEGATED, host); host 281 daemons/based/based_messages.c crm_xml_add(up, F_CIB_ISREPLY, host); host 288 daemons/based/based_messages.c crm_warn("Could not send CIB upgrade result to %s", host); host 395 daemons/based/based_messages.c const char *host = crm_element_value(request, F_ORIG); host 405 daemons/based/based_messages.c crm_debug("Syncing CIB to %s", all ? "all peers" : host); host 406 daemons/based/based_messages.c if (all == FALSE && host == NULL) { host 417 daemons/based/based_messages.c if (host != NULL) { host 418 daemons/based/based_messages.c crm_xml_add(replace_request, F_CIB_ISREPLY, host); host 435 daemons/based/based_messages.c (all ? NULL : crm_get_peer(0, host), crm_msg_cib, replace_request, FALSE) == FALSE) { host 132 daemons/based/pacemaker-based.h void send_sync_request(const char *host); host 62 daemons/controld/controld_attrd.c update_attrd(const char *host, const char *name, const char *value, host 76 daemons/controld/controld_attrd.c rc = pcmk__attrd_api_update(attrd_api, host, name, value, host 83 daemons/controld/controld_attrd.c host, when(), pcmk_rc_str(rc), rc); host 109 daemons/controld/controld_attrd.c update_attrd_remote_node_removed(const char *host, const char *user_name) host 118 daemons/controld/controld_attrd.c host); host 119 daemons/controld/controld_attrd.c rc = pcmk__attrd_api_purge(attrd_api, host); host 124 daemons/controld/controld_attrd.c host, when(), pcmk_rc_str(rc), rc); host 129 daemons/controld/controld_attrd.c update_attrd_clear_failures(const char *host, const char *rsc, const char *op, host 150 daemons/controld/controld_attrd.c node_type(is_remote_node), host); host 151 daemons/controld/controld_attrd.c rc = pcmk__attrd_api_clear_failures(attrd_api, host, rsc, op, host 157 daemons/controld/controld_attrd.c node_type(is_remote_node), host, when(), pcmk_rc_str(rc), rc); 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 88 daemons/controld/controld_utils.h void update_attrd_remote_node_removed(const char *host, const char *user_name); host 89 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 1210 daemons/fenced/fenced_commands.c dev->id, search->host, host 1221 daemons/fenced/fenced_commands.c crm_trace("%s reported it cannot fence %s", dev->id, search->host); host 1226 daemons/fenced/fenced_commands.c crm_trace("%s reported it can fence %s", dev->id, search->host); host 1233 daemons/fenced/fenced_commands.c dev->id, search->host, result->exit_status); host 1286 daemons/fenced/fenced_commands.c dev->id, search->host, result->exit_status); host 1290 daemons/fenced/fenced_commands.c dev->id, search->host, host 1308 daemons/fenced/fenced_commands.c const char *alias = g_hash_table_lookup(dev->aliases, search->host); host 1311 daemons/fenced/fenced_commands.c alias = search->host; host 2038 daemons/fenced/fenced_commands.c (search->host? search->host : "any node")); host 2041 daemons/fenced/fenced_commands.c free(search->host); host 2139 daemons/fenced/fenced_commands.c target = search->host; host 2239 daemons/fenced/fenced_commands.c get_capable_devices(const char *host, const char *action, int timeout, bool suicide, void *user_data, host 2258 daemons/fenced/fenced_commands.c pcmk__str_update(&search->host, host); host 2274 daemons/fenced/fenced_commands.c (search->host? search->host : "any node")); host 2888 daemons/fenced/fenced_commands.c const char *host = crm_element_value(dev, F_STONITH_TARGET); host 2894 daemons/fenced/fenced_commands.c pcmk__scan_min_int(host, &nodeid, 0); host 2897 daemons/fenced/fenced_commands.c host = node->uname; host 2902 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 892 daemons/fenced/fenced_remote.c find_topology_for_host(const char *host) host 895 daemons/fenced/fenced_remote.c stonith_topology_t *tp = g_hash_table_lookup(topology, host); host 898 daemons/fenced/fenced_remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); host 904 daemons/fenced/fenced_remote.c if (topology_matches(tp, 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 910 daemons/fenced/fenced_remote.c crm_trace("No matches for %s in %d topology entries", host, g_hash_table_size(topology)); host 1357 daemons/fenced/fenced_remote.c peer->host, op->target, peer->ndevices, host 1359 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_SKIP_TARGET) && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { host 1362 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_TARGET_ONLY) && !pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { host 1404 daemons/fenced/fenced_remote.c crm_trace("Found verified peer %s for %s", peer->host, device?device:"<any>"); host 1416 daemons/fenced/fenced_remote.c crm_trace("Found best unverified peer %s", peer->host); host 1426 daemons/fenced/fenced_remote.c crm_trace("%s will fence itself", peer->host); host 1813 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, device, host 1821 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, op->client_name, host 1832 daemons/fenced/fenced_remote.c || (pcmk__str_eq(peer->host, op->target, pcmk__str_casei) host 1856 daemons/fenced/fenced_remote.c send_cluster_message(crm_get_peer(0, peer->host), crm_msg_stonith_ng, remote_op, FALSE); host 1986 daemons/fenced/fenced_remote.c if (skip_target && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { host 2087 daemons/fenced/fenced_remote.c peer->host, device); host 2095 daemons/fenced/fenced_remote.c parse_action_specific(xml, peer->host, device, op_requested_action(op), host 2104 daemons/fenced/fenced_remote.c parse_action_specific(child, peer->host, device, "off", host 2107 daemons/fenced/fenced_remote.c parse_action_specific(child, peer->host, device, "on", host 2125 daemons/fenced/fenced_remote.c add_result(remote_fencing_op_t *op, const char *host, int ndevices, host 2134 daemons/fenced/fenced_remote.c peer->host = strdup(host); host 2177 daemons/fenced/fenced_remote.c const char *host = NULL; host 2206 daemons/fenced/fenced_remote.c host = crm_element_value(msg, F_ORIG); host 2207 daemons/fenced/fenced_remote.c host_is_target = pcmk__str_eq(host, op->target, pcmk__str_casei); host 2210 daemons/fenced/fenced_remote.c op->replies, replies_expected, host, host 2213 daemons/fenced/fenced_remote.c peer = add_result(op, host, ndevices, dev); host 2256 daemons/fenced/fenced_remote.c "Operation is %s", peer->host, host 232 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 110 include/crm/cib/cib_types.h int (*sync_from) (cib_t *cib, const char *host, const char *section, host 141 include/crm/cib/internal.h xmlNode *cib_create_op(int call_id, const char *token, const char *op, const char *host, host 225 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 void pe_foreach_guest_node(const pe_working_set_t *data_set, const pe_node_t *host, host 71 lib/cib/cib_client.c cib_client_query_from(cib_t * cib, const char *host, const char *section, host 75 lib/cib/cib_client.c return cib_internal_op(cib, PCMK__CIB_REQUEST_QUERY, host, section, NULL, host 133 lib/cib/cib_client.c cib_client_sync_from(cib_t * cib, const char *host, const char *section, int call_options) host 136 lib/cib/cib_client.c return cib_internal_op(cib, PCMK__CIB_REQUEST_SYNC_TO_ALL, host, section, 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 792 lib/cib/cib_file.c cib_file_perform_op(cib_t * cib, const char *op, const char *host, const char *section, host 795 lib/cib/cib_file.c return cib_file_perform_op_delegate(cib, op, host, section, data, output_data, call_options, host 800 lib/cib/cib_file.c cib_file_perform_op_delegate(cib_t * cib, const char *op, const char *host, const char *section, host 849 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 648 lib/cib/cib_utils.c cib_internal_op(cib_t * cib, const char *op, const char *host, host 652 lib/cib/cib_utils.c int (*delegate) (cib_t * cib, const char *op, const char *host, host 661 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 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 149 lib/pacemaker/pcmk_graph_logging.c const char *host = crm_element_value(input->xml, XML_LRM_ATTR_TARGET); 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, XML_LRM_ATTR_TARGET); host 172 lib/pacemaker/pcmk_graph_logging.c action->id, desc, (host? " on " : ""), (host? host : ""), host 1932 lib/pacemaker/pcmk_output.c const char *host = va_arg(args, const char *); host 1946 lib/pacemaker/pcmk_output.c if (!pcmk__str_empty(host)) { host 1947 lib/pacemaker/pcmk_output.c pcmk__g_strcat(s, "host=\"", host, "\" ", NULL); host 1967 lib/pacemaker/pcmk_output.c const char *host = va_arg(args, const char *); host 1984 lib/pacemaker/pcmk_output.c if (!pcmk__str_empty(host)) { host 1985 lib/pacemaker/pcmk_output.c crm_xml_add(node, "host", host); host 679 lib/pacemaker/pcmk_sched_remote.c pe_node_t *host = NULL; host 697 lib/pacemaker/pcmk_sched_remote.c host = pe__current_node(action->node->details->remote_rsc->container); host 706 lib/pacemaker/pcmk_sched_remote.c host = action->node->details->remote_rsc->container->allocated_to; host 713 lib/pacemaker/pcmk_sched_remote.c if (host != NULL) { host 719 lib/pacemaker/pcmk_sched_remote.c (gpointer) host->details->uname, host 653 lib/pengine/clone.c pe_node_t *host = gIter->data; host 655 lib/pengine/clone.c pcmk__add_word(&list_text, 1024, host->details->uname); host 669 lib/pengine/clone.c pe_node_t *host = gIter->data; host 671 lib/pengine/clone.c pcmk__add_word(&list_text, 1024, host->details->uname); host 946 lib/pengine/clone.c pe_node_t *host = gIter->data; host 948 lib/pengine/clone.c if (!pcmk__str_in_list(host->details->uname, only_node, host 953 lib/pengine/clone.c pcmk__add_word(&list_text, 1024, host->details->uname); host 969 lib/pengine/clone.c pe_node_t *host = gIter->data; host 971 lib/pengine/clone.c if (!pcmk__str_in_list(host->details->uname, only_node, host 976 lib/pengine/clone.c pcmk__add_word(&list_text, 1024, host->details->uname); host 550 lib/pengine/common.c pe_node_t *host = node->details->remote_rsc->container->running_on->data; host 552 lib/pengine/common.c rsc->id, name, pe__node_name(host)); host 553 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 1469 lib/pengine/unpack.c pe_node_t *host = NULL; host 1483 lib/pengine/unpack.c host = rsc->running_on->data; host 1520 lib/pengine/unpack.c } else if (host && (host->details->online == FALSE) host 1521 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 25 tools/cibadmin.c static char *host = NULL; host 575 tools/cibadmin.c pcmk__str_update(&host, optarg); host 841 tools/cibadmin.c free(host); host 861 tools/cibadmin.c return cib_internal_op(the_cib, cib_action, host, obj_type, input, output, call_options, cib_user); host 57 tools/crm_attribute.c const char *host G_GNUC_UNUSED = va_arg(args, const char *); host 564 tools/crm_attribute.c const char *host = crm_element_value(node, PCMK__XA_ATTR_NODE_NAME); host 573 tools/crm_attribute.c od->out->message(od->out, "attribute", type, attr_id, name, value, host); host 52 tools/crm_resource.h int cli_resource_prefer(pcmk__output_t *out, const char *rsc_id, const char *host, host 55 tools/crm_resource.h int cli_resource_ban(pcmk__output_t *out, const char *rsc_id, const char *host, host 58 tools/crm_resource.h int cli_resource_clear(const char *rsc_id, const char *host, GList *allnodes, host 118 tools/crm_resource.h bool resource_is_running_on(pe_resource_t *rsc, const char *host); host 75 tools/crm_resource_ban.c cli_resource_ban(pcmk__output_t *out, const char *rsc_id, const char *host, host 84 tools/crm_resource_ban.c if(host == NULL) { host 103 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-ban-%s-on-%s", rsc_id, host); host 111 tools/crm_resource_ban.c ID(location), rsc_id, host, rsc_id, host 113 tools/crm_resource_ban.c host, host); host 124 tools/crm_resource_ban.c crm_xml_add(location, XML_CIB_TAG_NODE, host); host 131 tools/crm_resource_ban.c crm_xml_set_id(rule, "cli-ban-%s-on-%s-rule", rsc_id, host); host 135 tools/crm_resource_ban.c crm_xml_set_id(expr, "cli-ban-%s-on-%s-expr", rsc_id, host); host 138 tools/crm_resource_ban.c crm_xml_add(expr, XML_EXPR_ATTR_VALUE, host); host 142 tools/crm_resource_ban.c crm_xml_set_id(expr, "cli-ban-%s-on-%s-lifetime", rsc_id, host); host 158 tools/crm_resource_ban.c cli_resource_prefer(pcmk__output_t *out,const char *rsc_id, const char *host, host 190 tools/crm_resource_ban.c crm_xml_add(location, XML_CIB_TAG_NODE, host); host 204 tools/crm_resource_ban.c crm_xml_add(expr, XML_EXPR_ATTR_VALUE, host); host 243 tools/crm_resource_ban.c resource_clear_node_in_expr(const char *rsc_id, const char *host, cib_t * cib_conn, host 250 tools/crm_resource_ban.c rsc_id, rsc_id, host); host 265 tools/crm_resource_ban.c resource_clear_node_in_location(const char *rsc_id, const char *host, cib_t * cib_conn, host 276 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-ban-%s-on-%s", rsc_id, host); host 282 tools/crm_resource_ban.c crm_xml_add(location, XML_CIB_TAG_NODE, host); host 299 tools/crm_resource_ban.c cli_resource_clear(const char *rsc_id, const char *host, GList *allnodes, cib_t * cib_conn, host 308 tools/crm_resource_ban.c if (host) { host 309 tools/crm_resource_ban.c rc = resource_clear_node_in_expr(rsc_id, host, cib_conn, cib_options); host 316 tools/crm_resource_ban.c rc = resource_clear_node_in_location(rsc_id, host, cib_conn, host 64 tools/crm_resource_print.c const char *host = NULL; host 78 tools/crm_resource_print.c host = node->details->uname; host 84 tools/crm_resource_print.c rprov ? rprov : "NA", rclass, rtype, host ? host : "NA", needs_quorum, rsc->flags, host 1026 tools/crm_resource_runtime.c bool resource_is_running_on(pe_resource_t *rsc, const char *host) host 1037 tools/crm_resource_runtime.c for (hIter = hosts; host != NULL && hIter != NULL; hIter = hIter->next) { host 1040 tools/crm_resource_runtime.c if (pcmk__strcase_any_of(host, node->details->uname, node->details->id, NULL)) { host 1041 tools/crm_resource_runtime.c crm_trace("Resource %s is running on %s\n", rsc->id, host); host 1046 tools/crm_resource_runtime.c if (host != NULL) { host 1047 tools/crm_resource_runtime.c crm_trace("Resource %s is not running on: %s\n", rsc->id, host); host 1050 tools/crm_resource_runtime.c } else if(host == NULL && hosts == NULL) { host 1070 tools/crm_resource_runtime.c get_active_resources(const char *host, GList *rsc_list) host 1084 tools/crm_resource_runtime.c get_active_resources(host, rsc->children)); host 1085 tools/crm_resource_runtime.c } else if (resource_is_running_on(rsc, host)) { host 1351 tools/crm_resource_runtime.c const char *host = node ? node->details->uname : NULL; host 1360 tools/crm_resource_runtime.c running = resource_is_running_on(rsc, host); host 1371 tools/crm_resource_runtime.c running = resource_is_running_on(rsc, host); host 1375 tools/crm_resource_runtime.c if (host) { host 1376 tools/crm_resource_runtime.c out->err(out, "%s is not running on %s and so cannot be restarted", id, host); host 1391 tools/crm_resource_runtime.c if (host) { host 1434 tools/crm_resource_runtime.c restart_target_active = get_active_resources(host, data_set->resources); host 1435 tools/crm_resource_runtime.c current_active = get_active_resources(host, data_set->resources); host 1442 tools/crm_resource_runtime.c rc = cli_resource_ban(out, lookup_id, host, move_lifetime, NULL, cib, host 1477 tools/crm_resource_runtime.c target_active = get_active_resources(host, data_set->resources); host 1508 tools/crm_resource_runtime.c current_active = get_active_resources(host, data_set->resources); host 1528 tools/crm_resource_runtime.c rc = cli_resource_clear(lookup_id, host, NULL, cib, cib_options, true, force); host 1558 tools/crm_resource_runtime.c while (waiting_for_starts(list_delta, rsc, host)) { host 1565 tools/crm_resource_runtime.c for (lpc = 0; (lpc < step_timeout_s) && waiting_for_starts(list_delta, rsc, host); lpc++) { host 1609 tools/crm_resource_runtime.c cli_resource_clear(lookup_id, host, NULL, cib, cib_options, true, force);