host 213 daemons/attrd/attrd_corosync.c record_peer_nodeid(attribute_value_t *v, const char *host) host 216 daemons/attrd/attrd_corosync.c pcmk__get_node(v->nodeid, host, NULL, pcmk__node_search_cluster_member); host 233 daemons/attrd/attrd_corosync.c const char *host, bool filter) 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 pcmk__assert(pcmk__cluster_lookup_remote_node(host) != NULL); host 259 daemons/attrd/attrd_corosync.c && pcmk__str_eq(host, attrd_cluster->priv->node_name, host 268 daemons/attrd/attrd_corosync.c attr, host, readable_value(v), value, peer->name); host 274 daemons/attrd/attrd_corosync.c attr, host, a->set_type ? " in " : "", host 281 daemons/attrd/attrd_corosync.c if (pcmk__str_eq(host, attrd_cluster->priv->node_name, pcmk__str_casei) host 311 daemons/attrd/attrd_corosync.c attr, host, peer->name, pcmk__s(value, "unset")); host 315 daemons/attrd/attrd_corosync.c attr, host, peer->name, pcmk__s(value, "unset")); host 326 daemons/attrd/attrd_corosync.c record_peer_nodeid(v, host); host 337 daemons/attrd/attrd_corosync.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_HOST); host 349 daemons/attrd/attrd_corosync.c if (host == NULL) { host 357 daemons/attrd/attrd_corosync.c while (g_hash_table_iter_next(&vIter, (gpointer *) & host, NULL)) { host 358 daemons/attrd/attrd_corosync.c update_attr_on_host(a, peer, xml, attr, value, host, filter); host 363 daemons/attrd/attrd_corosync.c update_attr_on_host(a, peer, xml, attr, value, host, filter); host 437 daemons/attrd/attrd_corosync.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_HOST); host 469 daemons/attrd/attrd_corosync.c attrd_peer_update(peer, xml, host, false); host 522 daemons/attrd/attrd_corosync.c attrd_peer_remove(const char *host, bool uncache, const char *source) host 527 daemons/attrd/attrd_corosync.c CRM_CHECK(host != NULL, return); host 530 daemons/attrd/attrd_corosync.c host, source, (uncache? "and" : "without")); host 534 daemons/attrd/attrd_corosync.c if(g_hash_table_remove(a->values, host)) { host 535 daemons/attrd/attrd_corosync.c crm_debug("Removed %s[%s] for peer %s", a->id, host, source); host 540 daemons/attrd/attrd_corosync.c pcmk__purge_node_from_cache(host, 0); host 580 daemons/attrd/attrd_corosync.c const char *host, bool filter) 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->priv->node_name; 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->name; 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 339 daemons/attrd/attrd_ipc.c const char *host = crm_element_value(xml, PCMK__XA_ATTR_HOST); host 340 daemons/attrd/attrd_ipc.c v = g_hash_table_lookup(a->values, host); host 138 daemons/attrd/attrd_messages.c const char *host = crm_element_value(request->xml, PCMK__XA_ATTR_HOST); host 145 daemons/attrd/attrd_messages.c attrd_peer_remove(host, reap, request->peer); host 190 daemons/attrd/attrd_messages.c const char *host = crm_element_value(request->xml, PCMK__XA_ATTR_HOST); host 195 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 262 daemons/attrd/attrd_utils.c attrd_remove_peer_protocol_ver(const char *host) host 265 daemons/attrd/attrd_utils.c g_hash_table_remove(peer_protocol_vers, host); host 284 daemons/attrd/attrd_utils.c attrd_update_minimum_protocol_ver(const char *host, const char *value) host 296 daemons/attrd/attrd_utils.c g_hash_table_insert(peer_protocol_vers, pcmk__str_copy(host), host 183 daemons/attrd/pacemaker-attrd.h const char *host, bool filter); host 185 daemons/attrd/pacemaker-attrd.h void attrd_peer_remove(const char *host, bool uncache, const char *source); host 218 daemons/attrd/pacemaker-attrd.h void attrd_remove_peer_protocol_ver(const char *host); host 219 daemons/attrd/pacemaker-attrd.h void attrd_update_minimum_protocol_ver(const char *host, const char *value); host 236 daemons/attrd/pacemaker-attrd.h void attrd_do_not_expect_from_peer(const char *host); host 240 daemons/attrd/pacemaker-attrd.h void attrd_handle_confirmation(int callid, const char *host); host 405 daemons/based/based_callbacks.c const char *host = crm_element_value(reply, PCMK__XA_SRC); host 431 daemons/based/based_callbacks.c crm_trace("Ignoring ping reply %s from %s with no digest", seq_s, host); host 434 daemons/based/based_callbacks.c crm_trace("Ignoring out of sequence ping reply %s from %s", seq_s, host); host 437 daemons/based/based_callbacks.c crm_trace("Ignoring ping reply %s from %s: cib updated since", seq_s, host); host 445 daemons/based/based_callbacks.c crm_trace("Processing ping reply %s from %s (%s)", seq_s, host, digest); host 467 daemons/based/based_callbacks.c ping_digest, host, host 489 daemons/based/based_callbacks.c const char *host, const char *op, gboolean *local_notify, host 509 daemons/based/based_callbacks.c if (!pcmk__str_eq(host, OUR_NODENAME, host 514 daemons/based/based_callbacks.c op, host); host 520 daemons/based/based_callbacks.c || !pcmk__str_eq(host, OUR_NODENAME, host 531 daemons/based/based_callbacks.c pcmk__s(host, "all nodes")); host 541 daemons/based/based_callbacks.c ((host != NULL)? "locally " : "un"), host 558 daemons/based/based_callbacks.c const char *host = NULL; host 659 daemons/based/based_callbacks.c host = crm_element_value(request, PCMK__XA_CIB_HOST); host 660 daemons/based/based_callbacks.c if (pcmk__str_eq(host, OUR_NODENAME, pcmk__str_casei)) { host 665 daemons/based/based_callbacks.c } else if (host != NULL) { host 667 daemons/based/based_callbacks.c op, host); host 695 daemons/based/based_callbacks.c const char *host = crm_element_value(request, PCMK__XA_CIB_HOST); host 712 daemons/based/based_callbacks.c pcmk__s(host, "all"), host 719 daemons/based/based_callbacks.c if (host != NULL) { host 720 daemons/based/based_callbacks.c peer = pcmk__get_node(0, host, NULL, pcmk__node_search_cluster_member); host 776 daemons/based/based_callbacks.c const char *host = crm_element_value(request, PCMK__XA_CIB_HOST); host 792 daemons/based/based_callbacks.c if ((host != NULL) && (*host == '\0')) { host 793 daemons/based/based_callbacks.c host = NULL; host 799 daemons/based/based_callbacks.c pcmk__s(host, "all"), reply_to); host 804 daemons/based/based_callbacks.c pcmk__s(host, "all")); host 822 daemons/based/based_callbacks.c parse_local_options(cib_client, operation, 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 118 daemons/based/based_messages.c send_sync_request(const char *host) host 123 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 223 daemons/based/based_messages.c PCMK_XA_VALIDATE_WITH, host); host 235 daemons/based/based_messages.c crm_notice("Upgrade request from %s verified", host); host 240 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 QB_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 413 daemons/based/based_messages.c const char *host = crm_element_value(request, PCMK__XA_SRC); host 420 daemons/based/based_messages.c CRM_CHECK(all || (host != NULL), return -EINVAL); host 422 daemons/based/based_messages.c crm_debug("Syncing CIB to %s", all ? "all peers" : host); host 426 daemons/based/based_messages.c if (host != NULL) { host 427 daemons/based/based_messages.c crm_xml_add(replace_request, PCMK__XA_CIB_ISREPLYTO, host); host 448 daemons/based/based_messages.c peer = pcmk__get_node(0, host, NULL, pcmk__node_search_cluster_member); host 65 daemons/based/based_transaction.c const char *host = crm_element_value(request, PCMK__XA_CIB_HOST); host 71 daemons/based/based_transaction.c || (host != NULL)) { 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, 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 51 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 53 daemons/controld/controld_utils.h void update_attrd_remote_node_removed(const char *host, const char *user_name); host 54 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 1152 daemons/fenced/fenced_commands.c dev->id, search->host, host 1163 daemons/fenced/fenced_commands.c crm_trace("%s reported it cannot fence %s", dev->id, search->host); host 1168 daemons/fenced/fenced_commands.c crm_trace("%s reported it can fence %s", dev->id, search->host); host 1175 daemons/fenced/fenced_commands.c dev->id, search->host, result->exit_status); host 1228 daemons/fenced/fenced_commands.c dev->id, search->host, result->exit_status); host 1232 daemons/fenced/fenced_commands.c dev->id, search->host, host 1250 daemons/fenced/fenced_commands.c const char *alias = g_hash_table_lookup(dev->aliases, search->host); host 1253 daemons/fenced/fenced_commands.c alias = search->host; host 1980 daemons/fenced/fenced_commands.c (search->host? search->host : "any node")); host 1983 daemons/fenced/fenced_commands.c free(search->host); host 2081 daemons/fenced/fenced_commands.c target = search->host; host 2189 daemons/fenced/fenced_commands.c get_capable_devices(const char *host, const char *action, int timeout, host 2204 daemons/fenced/fenced_commands.c search->host = pcmk__str_copy(host); host 2220 daemons/fenced/fenced_commands.c (search->host? search->host : "any node")); host 2857 daemons/fenced/fenced_commands.c const char *host = crm_element_value(dev, PCMK__XA_ST_TARGET); host 2863 daemons/fenced/fenced_commands.c pcmk__scan_min_int(host, &nodeid, 0); host 2868 daemons/fenced/fenced_commands.c host = node->name; host 2873 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 907 daemons/fenced/fenced_remote.c find_topology_for_host(const char *host) host 910 daemons/fenced/fenced_remote.c stonith_topology_t *tp = g_hash_table_lookup(topology, host); host 913 daemons/fenced/fenced_remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); host 919 daemons/fenced/fenced_remote.c if (topology_matches(tp, host)) { host 920 daemons/fenced/fenced_remote.c crm_trace("Found %s for %s in %d entries", tp->target, host, g_hash_table_size(topology)); host 925 daemons/fenced/fenced_remote.c crm_trace("No matches for %s in %d topology entries", host, g_hash_table_size(topology)); host 1402 daemons/fenced/fenced_remote.c peer->host, op->target, peer->ndevices, host 1404 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_SKIP_TARGET) && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { host 1407 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_TARGET_ONLY) && !pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { host 1449 daemons/fenced/fenced_remote.c crm_trace("Found verified peer %s for %s", peer->host, device?device:"<any>"); host 1461 daemons/fenced/fenced_remote.c crm_trace("Found best unverified peer %s", peer->host); host 1471 daemons/fenced/fenced_remote.c crm_trace("%s will fence itself", peer->host); host 1934 daemons/fenced/fenced_remote.c pcmk__get_node(0, peer->host, NULL, host 1959 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, device, host 1967 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, op->client_name, host 2138 daemons/fenced/fenced_remote.c if (skip_target && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { host 2240 daemons/fenced/fenced_remote.c peer->host, device); host 2254 daemons/fenced/fenced_remote.c parse_action_specific(xml, peer->host, device, op_requested_action(op), host 2263 daemons/fenced/fenced_remote.c parse_action_specific(child, peer->host, device, PCMK_ACTION_OFF, host 2268 daemons/fenced/fenced_remote.c parse_action_specific(child, peer->host, device, PCMK_ACTION_ON, host 2286 daemons/fenced/fenced_remote.c add_result(remote_fencing_op_t *op, const char *host, int ndevices, host 2293 daemons/fenced/fenced_remote.c peer->host = pcmk__str_copy(host); host 2336 daemons/fenced/fenced_remote.c const char *host = NULL; host 2365 daemons/fenced/fenced_remote.c host = crm_element_value(msg, PCMK__XA_SRC); host 2366 daemons/fenced/fenced_remote.c host_is_target = pcmk__str_eq(host, op->target, pcmk__str_casei); host 2369 daemons/fenced/fenced_remote.c op->replies, replies_expected, host, host 2372 daemons/fenced/fenced_remote.c peer = add_result(op, host, ndevices, dev); host 2415 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 154 include/crm/cib/cib_types.h int (*query_from) (cib_t *cib, const char *host, const char *section, host 158 include/crm/cib/cib_types.h int (*sync_from) (cib_t *cib, const char *host, const char *section, host 183 include/crm/cib/internal.h int cib__create_op(cib_t *cib, const char *op, const char *host, host 257 include/crm/cib/internal.h int cib_internal_op(cib_t * cib, const char *op, const char *host, host 35 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 248 lib/cib/cib_client.c cib_client_query_from(cib_t * cib, const char *host, const char *section, host 251 lib/cib/cib_client.c return cib_internal_op(cib, PCMK__CIB_REQUEST_QUERY, host, section, NULL, host 290 lib/cib/cib_client.c cib_client_sync_from(cib_t * cib, const char *host, const char *section, int call_options) host 292 lib/cib/cib_client.c return cib_internal_op(cib, PCMK__CIB_REQUEST_SYNC_TO_ALL, host, section, host 287 lib/cib/cib_file.c cib_file_perform_op_delegate(cib_t *cib, const char *op, const char *host, host 326 lib/cib/cib_file.c rc = cib__create_op(cib, op, host, section, data, call_options, user_name, host 37 lib/cib/cib_native.c cib_native_perform_op_delegate(cib_t *cib, const char *op, const char *host, host 68 lib/cib/cib_native.c rc = cib__create_op(cib, op, host, section, data, call_options, user_name, host 55 lib/cib/cib_remote.c cib_remote_perform_op(cib_t *cib, const char *op, const char *host, host 82 lib/cib/cib_remote.c rc = cib__create_op(cib, op, host, section, data, call_options, user_name, host 540 lib/cib/cib_utils.c cib__create_op(cib_t *cib, const char *op, const char *host, host 556 lib/cib/cib_utils.c crm_xml_add(*op_msg, PCMK__XA_CIB_HOST, host); host 586 lib/cib/cib_utils.c const char *host = crm_element_value(request, PCMK__XA_CIB_HOST); host 600 lib/cib/cib_utils.c if (host != NULL) { host 603 lib/cib/cib_utils.c host); host 755 lib/cib/cib_utils.c cib_internal_op(cib_t * cib, const char *op, const char *host, host 759 lib/cib/cib_utils.c int (*delegate)(cib_t *cib, const char *op, const char *host, host 774 lib/cib/cib_utils.c return delegate(cib, op, host, section, data, output_data, call_options, user_name); host 70 lib/cluster/cpg.c pcmk__cpg_host_t host; host 294 lib/cluster/cpg.c ais_dest(const pcmk__cpg_host_t *host) host 296 lib/cluster/cpg.c return (host->size > 0)? host->uname : "<all>"; host 328 lib/cluster/cpg.c msg_type2text(msg->host.type), ais_dest(&(msg->host))); host 340 lib/cluster/cpg.c msg_type2text(msg->host.type), ais_dest(&(msg->host))); host 352 lib/cluster/cpg.c msg_type2text(msg->host.type), ais_dest(&(msg->host))); host 368 lib/cluster/cpg.c msg_type2text(msg->host.type), ais_dest(&(msg->host))); host 376 lib/cluster/cpg.c msg_type2text(msg->host.type), ais_dest(&(msg->host))); host 422 lib/cluster/cpg.c if ((msg->host.id != 0) && (local_nodeid != msg->host.id)) { host 425 lib/cluster/cpg.c sender_id, pid, msg->host.id, local_nodeid); host 428 lib/cluster/cpg.c if ((msg->host.size > 0) host 429 lib/cluster/cpg.c && !pcmk__str_eq(msg->host.uname, local_name, pcmk__str_casei)) { host 433 lib/cluster/cpg.c sender_id, pid, msg->host.uname, local_name); host 948 lib/cluster/cpg.c msg->host.type = dest; host 953 lib/cluster/cpg.c msg->host.size = strlen(node->name); host 954 lib/cluster/cpg.c memset(msg->host.uname, 0, MAX_NAME); host 955 lib/cluster/cpg.c memcpy(msg->host.uname, node->name, msg->host.size); host 960 lib/cluster/cpg.c msg->host.id = node->cluster_layer_id; host 120 lib/common/attrs.c const pcmk_node_t *host = NULL; host 146 lib/common/attrs.c host = container->priv->assigned_node; host 147 lib/common/attrs.c if (host == NULL) { host 158 lib/common/attrs.c host = container->priv->active_nodes->data; host 160 lib/common/attrs.c if (host == NULL) { host 175 lib/common/attrs.c value = g_hash_table_lookup(host->priv->attrs, name); host 178 lib/common/attrs.c pcmk__node_name(host)); host 813 lib/common/remote.c pcmk__connect_remote(const char *host, int port, int timeout, int *timer_id, host 821 lib/common/remote.c const char *server = host; host 825 lib/common/remote.c CRM_CHECK((host != NULL) && (sock_fd != NULL), return EINVAL); host 859 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 2173 lib/pacemaker/pcmk_output.c const char *host = va_arg(args, const char *); host 2214 lib/pacemaker/pcmk_output.c if (!pcmk__str_empty(host)) { host 2215 lib/pacemaker/pcmk_output.c KV_PAIR(PCMK_XA_HOST, host); host 2240 lib/pacemaker/pcmk_output.c const char *host = va_arg(args, const char *); host 2259 lib/pacemaker/pcmk_output.c if (!pcmk__str_empty(host)) { host 2260 lib/pacemaker/pcmk_output.c crm_xml_add(node, PCMK_XA_HOST, host); host 685 lib/pacemaker/pcmk_sched_remote.c const pcmk_node_t *host = NULL; host 706 lib/pacemaker/pcmk_sched_remote.c host = pcmk__current_node(launcher); host 715 lib/pacemaker/pcmk_sched_remote.c host = launcher->priv->assigned_node; host 722 lib/pacemaker/pcmk_sched_remote.c if (host != NULL) { host 731 lib/pacemaker/pcmk_sched_remote.c (gpointer) host->priv->name, host 754 lib/pengine/clone.c pcmk_node_t *host = gIter->data; host 756 lib/pengine/clone.c if (!pcmk__str_in_list(host->priv->name, only_node, host 761 lib/pengine/clone.c pcmk__add_word(&list_text, 1024, host->priv->name); host 777 lib/pengine/clone.c pcmk_node_t *host = gIter->data; host 779 lib/pengine/clone.c if (!pcmk__str_in_list(host->priv->name, only_node, host 784 lib/pengine/clone.c pcmk__add_word(&list_text, 1024, host->priv->name); host 86 lib/pengine/remote.c const pcmk_node_t *host, host 92 lib/pengine/remote.c CRM_CHECK(scheduler && host && host->details && helper, return); host 96 lib/pengine/remote.c for (iter = host->details->running_rsc; iter != NULL; iter = iter->next) { host 1761 lib/pengine/unpack.c pcmk_node_t *host = NULL; host 1779 lib/pengine/unpack.c host = rsc->priv->active_nodes->data; host 1818 lib/pengine/unpack.c } else if (host && (host->details->online == FALSE) host 1819 lib/pengine/unpack.c && host->details->unclean) { 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 140 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 pcmk__xe_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 pcmk__xe_set_id(rule, "cli-ban-%s-on-%s-rule", rsc_id, host); host 111 tools/crm_resource_ban.c pcmk__xe_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 pcmk__xe_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, host 263 tools/crm_resource_ban.c xpath_string = crm_strdup_printf(XPATH_FMT, rsc_id, rsc_id, host); host 279 tools/crm_resource_ban.c resource_clear_node_in_location(const char *rsc_id, const char *host, cib_t * cib_conn, host 290 tools/crm_resource_ban.c pcmk__xe_set_id(location, "cli-ban-%s-on-%s", rsc_id, host); host 296 tools/crm_resource_ban.c crm_xml_add(location, PCMK_XE_NODE, host); host 314 tools/crm_resource_ban.c cli_resource_clear(const char *rsc_id, const char *host, GList *allnodes, cib_t * cib_conn, host 323 tools/crm_resource_ban.c if (host) { host 324 tools/crm_resource_ban.c rc = resource_clear_node_in_expr(rsc_id, host, cib_conn); host 331 tools/crm_resource_ban.c rc = resource_clear_node_in_location(rsc_id, host, cib_conn, host 58 tools/crm_resource_print.c const char *host = NULL; host 72 tools/crm_resource_print.c host = node->priv->name; host 79 tools/crm_resource_print.c rprov ? rprov : "NA", rclass, rtype, host ? host : "NA", needs_quorum, rsc->flags, host 1275 tools/crm_resource_runtime.c bool resource_is_running_on(pcmk_resource_t *rsc, const char *host) host 1286 tools/crm_resource_runtime.c for (hIter = hosts; host != NULL && hIter != NULL; hIter = hIter->next) { host 1289 tools/crm_resource_runtime.c if (pcmk__strcase_any_of(host, node->priv->name, node->priv->id, host 1291 tools/crm_resource_runtime.c crm_trace("Resource %s is running on %s\n", rsc->id, host); host 1296 tools/crm_resource_runtime.c if (host != NULL) { host 1297 tools/crm_resource_runtime.c crm_trace("Resource %s is not running on: %s\n", rsc->id, host); host 1300 tools/crm_resource_runtime.c } else if(host == NULL && hosts == NULL) { host 1320 tools/crm_resource_runtime.c get_active_resources(const char *host, GList *rsc_list) host 1335 tools/crm_resource_runtime.c member_active = get_active_resources(host, rsc->priv->children); host 1337 tools/crm_resource_runtime.c } else if (resource_is_running_on(rsc, host)) { host 1658 tools/crm_resource_runtime.c const char *host = node ? node->priv->name : NULL; host 1667 tools/crm_resource_runtime.c running = resource_is_running_on(rsc, host); host 1680 tools/crm_resource_runtime.c running = resource_is_running_on(rsc, host); host 1684 tools/crm_resource_runtime.c if (host) { host 1685 tools/crm_resource_runtime.c out->err(out, "%s is not running on %s and so cannot be restarted", id, host); host 1705 tools/crm_resource_runtime.c if (host) { host 1748 tools/crm_resource_runtime.c restart_target_active = get_active_resources(host, host 1750 tools/crm_resource_runtime.c current_active = get_active_resources(host, scheduler->priv->resources); host 1757 tools/crm_resource_runtime.c rc = cli_resource_ban(out, lookup_id, host, move_lifetime, cib, host 1802 tools/crm_resource_runtime.c target_active = get_active_resources(host, scheduler->priv->resources); host 1833 tools/crm_resource_runtime.c current_active = get_active_resources(host, host 1855 tools/crm_resource_runtime.c rc = cli_resource_clear(lookup_id, host, NULL, cib, true, force); host 1889 tools/crm_resource_runtime.c while (waiting_for_starts(list_delta, rsc, host)) { host 1897 tools/crm_resource_runtime.c for (lpc = 0; (lpc < step_timeout_s) && waiting_for_starts(list_delta, rsc, host); lpc++) { host 1941 tools/crm_resource_runtime.c cli_resource_clear(lookup_id, host, NULL, cib, true, force);