host 206 daemons/attrd/attrd_corosync.c attrd_lookup_or_create_value(GHashTable *values, const char *host, host 209 daemons/attrd/attrd_corosync.c attribute_value_t *v = g_hash_table_lookup(values, host); host 214 daemons/attrd/attrd_corosync.c cache_remote_node(host); host 221 daemons/attrd/attrd_corosync.c pcmk__str_update(&v->nodename, host); host 282 daemons/attrd/attrd_corosync.c record_peer_nodeid(attribute_value_t *v, const char *host) host 284 daemons/attrd/attrd_corosync.c crm_node_t *known_peer = crm_get_peer(v->nodeid, host); host 294 daemons/attrd/attrd_corosync.c const char *attr, const char *value, const char *host, host 299 daemons/attrd/attrd_corosync.c v = attrd_lookup_or_create_value(a->values, host, xml); host 302 daemons/attrd/attrd_corosync.c && pcmk__str_eq(host, attrd_cluster->uname, pcmk__str_casei)) { host 305 daemons/attrd/attrd_corosync.c attr, host, v->current, value, peer->uname); host 311 daemons/attrd/attrd_corosync.c attr, host, a->set_type ? " in " : "", host 318 daemons/attrd/attrd_corosync.c if (pcmk__str_eq(host, attrd_cluster->uname, pcmk__str_casei) host 342 daemons/attrd/attrd_corosync.c attr, host, peer->uname, value); host 345 daemons/attrd/attrd_corosync.c crm_trace("Unchanged %s[%s] from %s is %s", attr, host, peer->uname, value); host 356 daemons/attrd/attrd_corosync.c record_peer_nodeid(v, host); host 366 daemons/attrd/attrd_corosync.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); host 381 daemons/attrd/attrd_corosync.c if (host == NULL) { host 389 daemons/attrd/attrd_corosync.c while (g_hash_table_iter_next(&vIter, (gpointer *) & host, NULL)) { host 390 daemons/attrd/attrd_corosync.c update_attr_on_host(a, peer, xml, attr, value, host, filter, is_force_write); host 395 daemons/attrd/attrd_corosync.c update_attr_on_host(a, peer, xml, attr, value, host, filter, is_force_write); host 460 daemons/attrd/attrd_corosync.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); host 489 daemons/attrd/attrd_corosync.c attrd_peer_update(peer, xml, host, false); host 541 daemons/attrd/attrd_corosync.c attrd_peer_remove(const char *host, bool uncache, const char *source) host 546 daemons/attrd/attrd_corosync.c CRM_CHECK(host != NULL, return); host 547 daemons/attrd/attrd_corosync.c crm_notice("Removing all %s attributes for peer %s", host, source); host 551 daemons/attrd/attrd_corosync.c if(g_hash_table_remove(a->values, host)) { host 552 daemons/attrd/attrd_corosync.c crm_debug("Removed %s[%s] for peer %s", a->id, host, source); host 557 daemons/attrd/attrd_corosync.c crm_remote_peer_cache_remove(host); host 558 daemons/attrd/attrd_corosync.c reap_crm_member(0, host); host 589 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 159 daemons/attrd/attrd_ipc.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); host 164 daemons/attrd/attrd_ipc.c if (host == NULL) { host 174 daemons/attrd/attrd_ipc.c host = node->uname; host 178 daemons/attrd/attrd_ipc.c host = host_alloc; host 180 daemons/attrd/attrd_ipc.c pcmk__xe_add_node(xml, host, 0); host 184 daemons/attrd/attrd_ipc.c if (host) { host 186 daemons/attrd/attrd_ipc.c pcmk__client_name(request->ipc_client), host); host 247 daemons/attrd/attrd_ipc.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); host 249 daemons/attrd/attrd_ipc.c if (host == NULL) { host 350 daemons/attrd/attrd_ipc.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_NODE_NAME); host 351 daemons/attrd/attrd_ipc.c v = g_hash_table_lookup(a->values, host); host 118 daemons/attrd/attrd_messages.c const char *host = crm_element_value(request->xml, PCMK__XA_ATTR_NODE_NAME); host 119 daemons/attrd/attrd_messages.c attrd_peer_remove(host, true, request->peer); host 175 daemons/attrd/attrd_messages.c const char *host = crm_element_value(request->xml, PCMK__XA_ATTR_NODE_NAME); host 178 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 500 daemons/attrd/attrd_sync.c char *s = strdup((char *) host); host 549 daemons/attrd/attrd_sync.c attrd_handle_confirmation(int callid, const char *host) host 563 daemons/attrd/attrd_sync.c node = g_list_find_custom(action->respondents, host, (GCompareFunc) strcasecmp); host 295 daemons/attrd/attrd_utils.c attrd_remove_peer_protocol_ver(const char *host) host 298 daemons/attrd/attrd_utils.c g_hash_table_remove(peer_protocol_vers, host); host 317 daemons/attrd/attrd_utils.c attrd_update_minimum_protocol_ver(const char *host, const char *value) host 328 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 185 daemons/attrd/pacemaker-attrd.h void attrd_remove_peer_protocol_ver(const char *host); host 186 daemons/attrd/pacemaker-attrd.h void attrd_update_minimum_protocol_ver(const char *host, const char *value); host 203 daemons/attrd/pacemaker-attrd.h void attrd_do_not_expect_from_peer(const char *host); host 207 daemons/attrd/pacemaker-attrd.h void attrd_handle_confirmation(int callid, const char *host); host 304 daemons/based/based_callbacks.c const char *host = crm_element_value(reply, F_ORIG); host 324 daemons/based/based_callbacks.c crm_trace("Ignoring ping reply %s from %s with no digest", seq_s, host); host 327 daemons/based/based_callbacks.c crm_trace("Ignoring out of sequence ping reply %s from %s", seq_s, host); host 330 daemons/based/based_callbacks.c crm_trace("Ignoring ping reply %s from %s: cib updated since", seq_s, host); host 340 daemons/based/based_callbacks.c crm_trace("Processing ping reply %s from %s (%s)", seq_s, host, digest); host 348 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, OUR_NODENAME, 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, OUR_NODENAME, 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 (pcmk__str_eq(host, OUR_NODENAME, 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 793 daemons/based/based_callbacks.c host = crm_element_value(request, F_CIB_HOST); host 794 daemons/based/based_callbacks.c if (pcmk__str_eq(host, OUR_NODENAME, pcmk__str_casei)) { host 799 daemons/based/based_callbacks.c } else if (host != NULL) { host 801 daemons/based/based_callbacks.c crm_trace("Ignoring %s operation for instance on %s", op, host); host 837 daemons/based/based_callbacks.c const char *host = crm_element_value(request, F_CIB_HOST); host 841 daemons/based/based_callbacks.c if (host != NULL) { host 842 daemons/based/based_callbacks.c crm_trace("Forwarding %s op to %s", op, host); host 843 daemons/based/based_callbacks.c send_cluster_message(crm_get_peer(0, host), crm_msg_cib, request, FALSE); host 942 daemons/based/based_callbacks.c const char *host = crm_element_value(request, F_CIB_HOST); host 951 daemons/based/based_callbacks.c if ((host != NULL) && (*host == '\0')) { host 952 daemons/based/based_callbacks.c host = NULL; host 955 daemons/based/based_callbacks.c if (host) { host 956 daemons/based/based_callbacks.c target = host; host 981 daemons/based/based_callbacks.c parse_local_options(cib_client, call_type, call_options, host, op, host 1012 daemons/based/based_callbacks.c pcmk__s(host, (cib_legacy_mode() ? "primary" : "all")), host 45 daemons/based/based_messages.c const char *host = crm_element_value(req, F_ORIG); host 50 daemons/based/based_messages.c crm_info("Peer %s is requesting to shut down", host); host 55 daemons/based/based_messages.c crm_err("Peer %s mistakenly thinks we wanted to shut down", host); host 59 daemons/based/based_messages.c crm_info("Peer %s has acknowledged our shutdown request", host); host 125 daemons/based/based_messages.c send_sync_request(const char *host) host 129 daemons/based/based_messages.c crm_info("Requesting re-sync from %s", (host? host : "all peers")); host 137 daemons/based/based_messages.c send_cluster_message(host ? crm_get_peer(0, host) : NULL, crm_msg_cib, sync_me, FALSE); host 145 daemons/based/based_messages.c const char *host = crm_element_value(req, F_ORIG); host 149 daemons/based/based_messages.c crm_trace("Processing \"%s\" event %s from %s", op, seq, host); host 173 daemons/based/based_messages.c host, digest, host 211 daemons/based/based_messages.c const char *host = crm_element_value(req, F_ORIG); host 227 daemons/based/based_messages.c crm_notice("Upgrade request from %s verified", host); host 232 daemons/based/based_messages.c crm_xml_add(up, F_CIB_DELEGATED, host); host 253 daemons/based/based_messages.c crm_node_t *origin = pcmk__search_cluster_node_cache(0, host); host 256 daemons/based/based_messages.c CRM_XS " rc=%d peer=%s", host, pcmk_strerror(rc), rc, host 264 daemons/based/based_messages.c crm_xml_add(up, F_CIB_DELEGATED, host); host 265 daemons/based/based_messages.c crm_xml_add(up, F_CIB_ISREPLY, host); host 272 daemons/based/based_messages.c crm_warn("Could not send CIB upgrade result to %s", host); host 381 daemons/based/based_messages.c const char *host = crm_element_value(request, F_ORIG); host 391 daemons/based/based_messages.c crm_debug("Syncing CIB to %s", all ? "all peers" : host); host 392 daemons/based/based_messages.c if (all == FALSE && host == NULL) { host 403 daemons/based/based_messages.c if (host != NULL) { host 404 daemons/based/based_messages.c crm_xml_add(replace_request, F_CIB_ISREPLY, host); host 421 daemons/based/based_messages.c (all ? NULL : crm_get_peer(0, host), crm_msg_cib, replace_request, FALSE) == FALSE) { host 124 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 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 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 1869 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, device, host 1877 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, op->client_name, host 1889 daemons/fenced/fenced_remote.c || (pcmk__str_eq(peer->host, op->target, pcmk__str_casei) host 1916 daemons/fenced/fenced_remote.c send_cluster_message(crm_get_peer(0, peer->host), crm_msg_stonith_ng, remote_op, FALSE); host 2046 daemons/fenced/fenced_remote.c if (skip_target && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { host 2147 daemons/fenced/fenced_remote.c peer->host, device); host 2155 daemons/fenced/fenced_remote.c parse_action_specific(xml, peer->host, device, op_requested_action(op), host 2164 daemons/fenced/fenced_remote.c parse_action_specific(child, peer->host, device, "off", host 2167 daemons/fenced/fenced_remote.c parse_action_specific(child, peer->host, device, "on", host 2185 daemons/fenced/fenced_remote.c add_result(remote_fencing_op_t *op, const char *host, int ndevices, host 2194 daemons/fenced/fenced_remote.c peer->host = strdup(host); host 2237 daemons/fenced/fenced_remote.c const char *host = NULL; host 2266 daemons/fenced/fenced_remote.c host = crm_element_value(msg, F_ORIG); host 2267 daemons/fenced/fenced_remote.c host_is_target = pcmk__str_eq(host, op->target, pcmk__str_casei); host 2270 daemons/fenced/fenced_remote.c op->replies, replies_expected, host, host 2273 daemons/fenced/fenced_remote.c peer = add_result(op, host, ndevices, dev); host 2316 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 105 include/crm/cib/cib_types.h int (*query_from) (cib_t *cib, const char *host, const char *section, host 121 include/crm/cib/cib_types.h int (*sync_from) (cib_t *cib, const char *host, const char *section, host 138 include/crm/cib/internal.h xmlNode *cib_create_op(int call_id, const char *op, const char *host, host 209 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 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 128 lib/cib/cib_file.c cib_file_perform_op_delegate(cib_t *cib, const char *op, const char *host, host 178 lib/cib/cib_file.c request = cib_create_op(cib->call_id, op, host, section, data, call_options, host 41 lib/cib/cib_native.c cib_native_perform_op_delegate(cib_t *cib, const char *op, const char *host, host 77 lib/cib/cib_native.c op_msg = cib_create_op(cib->call_id, op, host, section, data, call_options, host 56 lib/cib/cib_remote.c cib_remote_perform_op(cib_t *cib, const char *op, const char *host, host 87 lib/cib/cib_remote.c op_msg = cib_create_op(cib->call_id, op, host, section, data, call_options, host 468 lib/cib/cib_utils.c cib_create_op(int call_id, const char *op, const char *host, host 480 lib/cib/cib_utils.c crm_xml_add(op_msg, F_CIB_HOST, host); host 657 lib/cib/cib_utils.c cib_internal_op(cib_t * cib, const char *op, const char *host, host 661 lib/cib/cib_utils.c int (*delegate) (cib_t * cib, const char *op, const char *host, host 670 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 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 153 lib/pacemaker/pcmk_graph_logging.c const char *host = crm_element_value(input->xml, XML_LRM_ATTR_TARGET); host 159 lib/pacemaker/pcmk_graph_logging.c (host? " on " : ""), (host? host : "")); host 169 lib/pacemaker/pcmk_graph_logging.c const char *host = crm_element_value(action->xml, XML_LRM_ATTR_TARGET); host 176 lib/pacemaker/pcmk_graph_logging.c action->id, desc, (host? " on " : ""), (host? host : ""), host 2064 lib/pacemaker/pcmk_output.c const char *host = va_arg(args, const char *); host 2078 lib/pacemaker/pcmk_output.c if (!pcmk__str_empty(host)) { host 2079 lib/pacemaker/pcmk_output.c pcmk__g_strcat(s, "host=\"", host, "\" ", NULL); host 2099 lib/pacemaker/pcmk_output.c const char *host = va_arg(args, const char *); host 2116 lib/pacemaker/pcmk_output.c if (!pcmk__str_empty(host)) { host 2117 lib/pacemaker/pcmk_output.c crm_xml_add(node, "host", host); host 686 lib/pacemaker/pcmk_sched_remote.c const pe_node_t *host = NULL; host 704 lib/pacemaker/pcmk_sched_remote.c host = pe__current_node(action->node->details->remote_rsc->container); host 713 lib/pacemaker/pcmk_sched_remote.c host = action->node->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 712 lib/pengine/clone.c pe_node_t *host = gIter->data; host 714 lib/pengine/clone.c pcmk__add_word(&list_text, 1024, host->details->uname); host 728 lib/pengine/clone.c pe_node_t *host = gIter->data; host 730 lib/pengine/clone.c pcmk__add_word(&list_text, 1024, host->details->uname); host 1017 lib/pengine/clone.c pe_node_t *host = gIter->data; host 1019 lib/pengine/clone.c if (!pcmk__str_in_list(host->details->uname, only_node, host 1024 lib/pengine/clone.c pcmk__add_word(&list_text, 1024, host->details->uname); host 1040 lib/pengine/clone.c pe_node_t *host = gIter->data; host 1042 lib/pengine/clone.c if (!pcmk__str_in_list(host->details->uname, only_node, host 1047 lib/pengine/clone.c pcmk__add_word(&list_text, 1024, host->details->uname); host 546 lib/pengine/common.c pe_node_t *host = node->details->remote_rsc->container->running_on->data; host 548 lib/pengine/common.c rsc->id, name, pe__node_name(host)); host 549 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 1479 lib/pengine/unpack.c pe_node_t *host = NULL; host 1493 lib/pengine/unpack.c host = rsc->running_on->data; host 1530 lib/pengine/unpack.c } else if (host && (host->details->online == FALSE) host 1531 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 54 tools/crm_resource.h int cli_resource_prefer(pcmk__output_t *out, const char *rsc_id, const char *host, host 57 tools/crm_resource.h int cli_resource_ban(pcmk__output_t *out, const char *rsc_id, const char *host, host 60 tools/crm_resource.h int cli_resource_clear(const char *rsc_id, const char *host, GList *allnodes, host 119 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 159 tools/crm_resource_ban.c cli_resource_prefer(pcmk__output_t *out,const char *rsc_id, const char *host, host 191 tools/crm_resource_ban.c crm_xml_add(location, XML_CIB_TAG_NODE, host); host 205 tools/crm_resource_ban.c crm_xml_add(expr, XML_EXPR_ATTR_VALUE, host); host 245 tools/crm_resource_ban.c resource_clear_node_in_expr(const char *rsc_id, const char *host, cib_t * cib_conn, host 260 tools/crm_resource_ban.c xpath_string = crm_strdup_printf(XPATH_FMT, rsc_id, rsc_id, host); host 275 tools/crm_resource_ban.c resource_clear_node_in_location(const char *rsc_id, const char *host, cib_t * cib_conn, host 286 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-ban-%s-on-%s", rsc_id, host); host 292 tools/crm_resource_ban.c crm_xml_add(location, XML_CIB_TAG_NODE, host); host 309 tools/crm_resource_ban.c cli_resource_clear(const char *rsc_id, const char *host, GList *allnodes, cib_t * cib_conn, host 318 tools/crm_resource_ban.c if (host) { host 319 tools/crm_resource_ban.c rc = resource_clear_node_in_expr(rsc_id, host, cib_conn, cib_options); host 326 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 1085 tools/crm_resource_runtime.c bool resource_is_running_on(pe_resource_t *rsc, const char *host) host 1096 tools/crm_resource_runtime.c for (hIter = hosts; host != NULL && hIter != NULL; hIter = hIter->next) { host 1099 tools/crm_resource_runtime.c if (pcmk__strcase_any_of(host, node->details->uname, node->details->id, NULL)) { host 1100 tools/crm_resource_runtime.c crm_trace("Resource %s is running on %s\n", rsc->id, host); host 1105 tools/crm_resource_runtime.c if (host != NULL) { host 1106 tools/crm_resource_runtime.c crm_trace("Resource %s is not running on: %s\n", rsc->id, host); host 1109 tools/crm_resource_runtime.c } else if(host == NULL && hosts == NULL) { host 1129 tools/crm_resource_runtime.c get_active_resources(const char *host, GList *rsc_list) host 1143 tools/crm_resource_runtime.c get_active_resources(host, rsc->children)); host 1144 tools/crm_resource_runtime.c } else if (resource_is_running_on(rsc, host)) { host 1420 tools/crm_resource_runtime.c const char *host = node ? node->details->uname : NULL; host 1429 tools/crm_resource_runtime.c running = resource_is_running_on(rsc, host); host 1440 tools/crm_resource_runtime.c running = resource_is_running_on(rsc, host); host 1444 tools/crm_resource_runtime.c if (host) { host 1445 tools/crm_resource_runtime.c out->err(out, "%s is not running on %s and so cannot be restarted", id, host); host 1460 tools/crm_resource_runtime.c if (host) { host 1503 tools/crm_resource_runtime.c restart_target_active = get_active_resources(host, data_set->resources); host 1504 tools/crm_resource_runtime.c current_active = get_active_resources(host, data_set->resources); host 1511 tools/crm_resource_runtime.c rc = cli_resource_ban(out, lookup_id, host, move_lifetime, NULL, cib, host 1546 tools/crm_resource_runtime.c target_active = get_active_resources(host, data_set->resources); host 1577 tools/crm_resource_runtime.c current_active = get_active_resources(host, data_set->resources); host 1597 tools/crm_resource_runtime.c rc = cli_resource_clear(lookup_id, host, NULL, cib, cib_options, true, force); host 1627 tools/crm_resource_runtime.c while (waiting_for_starts(list_delta, rsc, host)) { host 1634 tools/crm_resource_runtime.c for (lpc = 0; (lpc < step_timeout_s) && waiting_for_starts(list_delta, rsc, host); lpc++) { host 1678 tools/crm_resource_runtime.c cli_resource_clear(lookup_id, host, NULL, cib, cib_options, true, force);