peer 55 daemons/attrd/attrd_commands.c void attrd_peer_update(crm_node_t *peer, xmlNode *xml, const char *host, bool filter); peer 56 daemons/attrd/attrd_commands.c void attrd_peer_sync(crm_node_t *peer, xmlNode *xml); peer 59 daemons/attrd/attrd_commands.c static void broadcast_unseen_local_values(crm_node_t *peer, xmlNode *xml); peer 553 daemons/attrd/attrd_commands.c attrd_peer_clear_failure(crm_node_t *peer, xmlNode *xml) peer 583 daemons/attrd/attrd_commands.c attrd_peer_update(peer, xml, host, FALSE); peer 598 daemons/attrd/attrd_commands.c process_peer_sync_response(crm_node_t *peer, bool peer_won, xmlNode *xml) peer 601 daemons/attrd/attrd_commands.c peer->uname); peer 613 daemons/attrd/attrd_commands.c attrd_peer_update(peer, child, peer 622 daemons/attrd/attrd_commands.c broadcast_unseen_local_values(peer, xml); peer 646 daemons/attrd/attrd_commands.c attrd_peer_message(crm_node_t *peer, xmlNode *xml) peer 654 daemons/attrd/attrd_commands.c attrd_handle_election_op(peer, xml); peer 666 daemons/attrd/attrd_commands.c peer_won = attrd_check_for_new_writer(peer, xml); peer 670 daemons/attrd/attrd_commands.c attrd_peer_update(peer, xml, host, FALSE); peer 673 daemons/attrd/attrd_commands.c attrd_peer_sync(peer, xml); peer 676 daemons/attrd/attrd_commands.c attrd_peer_remove(host, TRUE, peer->uname); peer 682 daemons/attrd/attrd_commands.c attrd_peer_clear_failure(peer, xml); peer 685 daemons/attrd/attrd_commands.c && !pcmk__str_eq(peer->uname, attrd_cluster->uname, pcmk__str_casei)) { peer 686 daemons/attrd/attrd_commands.c process_peer_sync_response(peer, peer_won, xml); peer 696 daemons/attrd/attrd_commands.c attrd_peer_sync(crm_node_t *peer, xmlNode *xml) peer 711 daemons/attrd/attrd_commands.c crm_debug("Syncing %s[%s] = %s to %s", a->id, v->nodename, v->current, peer?peer->uname:"everyone"); peer 716 daemons/attrd/attrd_commands.c crm_debug("Syncing values to %s", peer?peer->uname:"everyone"); peer 717 daemons/attrd/attrd_commands.c send_attrd_message(peer, sync); peer 784 daemons/attrd/attrd_commands.c broadcast_unseen_local_values(crm_node_t *peer, xmlNode *xml) peer 841 daemons/attrd/attrd_commands.c attrd_peer_update(crm_node_t *peer, xmlNode *xml, const char *host, bool filter) peer 923 daemons/attrd/attrd_commands.c attrd_peer_update(peer, xml, host, filter); peer 936 daemons/attrd/attrd_commands.c attr, host, v->current, value, peer->uname); peer 941 daemons/attrd/attrd_commands.c attr, host, v->current? v->current : "(unset)", value? value : "(unset)", peer->uname); peer 968 daemons/attrd/attrd_commands.c crm_trace("Unchanged %s[%s] from %s is %s(Set the forced write flag)", attr, host, peer->uname, value); peer 971 daemons/attrd/attrd_commands.c crm_trace("Unchanged %s[%s] from %s is %s", attr, host, peer->uname, value); peer 1019 daemons/attrd/attrd_commands.c attrd_peer_change_cb(enum crm_status_type kind, crm_node_t *peer, const void *data) peer 1022 daemons/attrd/attrd_commands.c bool is_remote = pcmk_is_set(peer->flags, crm_remote_node); peer 1028 daemons/attrd/attrd_commands.c peer->uname, state_text(peer->state)); peer 1032 daemons/attrd/attrd_commands.c if (!pcmk_is_set(peer->processes, crm_get_cluster_proc())) { peer 1036 daemons/attrd/attrd_commands.c peer->uname, (gone? "no longer" : "now")); peer 1042 daemons/attrd/attrd_commands.c peer->uname, state_text(peer->state), state_text(data)); peer 1043 daemons/attrd/attrd_commands.c if (pcmk__str_eq(peer->state, CRM_NODE_MEMBER, pcmk__str_casei)) { peer 1048 daemons/attrd/attrd_commands.c && !pcmk_is_set(peer->flags, crm_remote_node)) { peer 1049 daemons/attrd/attrd_commands.c attrd_peer_sync(peer, NULL); peer 1053 daemons/attrd/attrd_commands.c attrd_peer_remove(peer->uname, FALSE, "loss"); peer 1061 daemons/attrd/attrd_commands.c attrd_remove_voter(peer); peer 1065 daemons/attrd/attrd_commands.c cache_remote_node(peer->uname); peer 1074 daemons/attrd/attrd_commands.c const char *peer = NULL; peer 1114 daemons/attrd/attrd_commands.c while (g_hash_table_iter_next(&iter, (gpointer *) & peer, (gpointer *) & v)) { peer 1115 daemons/attrd/attrd_commands.c do_crm_log(level, "* %s[%s]=%s", a->id, peer, v->requested); peer 1311 daemons/attrd/attrd_commands.c crm_node_t *peer = crm_get_peer_full(v->nodeid, v->nodename, CRM_GET_PEER_ANY); peer 1314 daemons/attrd/attrd_commands.c if (peer == NULL) { peer 1321 daemons/attrd/attrd_commands.c if (peer->id && (v->nodeid == 0)) { peer 1322 daemons/attrd/attrd_commands.c crm_trace("Learned ID %u for node %s", peer->id, v->nodename); peer 1323 daemons/attrd/attrd_commands.c v->nodeid = peer->id; peer 1333 daemons/attrd/attrd_commands.c if (peer->uuid == NULL) { peer 1344 daemons/attrd/attrd_commands.c peer->uname, peer->uuid, peer->id, v->nodeid); peer 1345 daemons/attrd/attrd_commands.c build_update_element(xml_top, a, peer->uuid, v->current); peer 52 daemons/attrd/attrd_elections.c attrd_handle_election_op(const crm_node_t *peer, xmlNode *xml) peer 57 daemons/attrd/attrd_elections.c crm_xml_add(xml, F_CRM_HOST_FROM, peer->uname); peer 84 daemons/attrd/attrd_elections.c pcmk__str_update(&peer_writer, peer->uname); peer 95 daemons/attrd/attrd_elections.c crm_info("Ignoring election op from %s due to error", peer->uname); peer 101 daemons/attrd/attrd_elections.c attrd_check_for_new_writer(const crm_node_t *peer, const xmlNode *xml) peer 108 daemons/attrd/attrd_elections.c && !pcmk__str_eq(peer->uname, attrd_cluster->uname, pcmk__str_casei)) { peer 110 daemons/attrd/attrd_elections.c peer->uname); peer 113 daemons/attrd/attrd_elections.c } else if (!pcmk__str_eq(peer->uname, peer_writer, pcmk__str_casei)) { peer 115 daemons/attrd/attrd_elections.c peer->uname, (peer_writer? peer_writer : "unset")); peer 116 daemons/attrd/attrd_elections.c pcmk__str_update(&peer_writer, peer->uname); peer 131 daemons/attrd/attrd_elections.c attrd_remove_voter(const crm_node_t *peer) peer 133 daemons/attrd/attrd_elections.c election_remove(writer, peer->uname); peer 134 daemons/attrd/attrd_elections.c if (peer_writer && pcmk__str_eq(peer->uname, peer_writer, pcmk__str_casei)) { peer 137 daemons/attrd/attrd_elections.c crm_notice("Lost attribute writer %s", peer->uname); peer 157 daemons/attrd/attrd_elections.c crm_debug("Checking election status upon loss of voter %s", peer->uname); peer 61 daemons/attrd/pacemaker-attrd.c crm_node_t *peer = crm_get_peer(nodeid, from); peer 63 daemons/attrd/pacemaker-attrd.c attrd_peer_message(peer, xml); peer 79 daemons/attrd/pacemaker-attrd.h void attrd_handle_election_op(const crm_node_t *peer, xmlNode *xml); peer 80 daemons/attrd/pacemaker-attrd.h bool attrd_check_for_new_writer(const crm_node_t *peer, const xmlNode *xml); peer 82 daemons/attrd/pacemaker-attrd.h void attrd_remove_voter(const crm_node_t *peer); peer 136 daemons/attrd/pacemaker-attrd.h void attrd_peer_change_cb(enum crm_status_type type, crm_node_t *peer, const void *data); peer 40 daemons/controld/controld_corosync.c crm_node_t *peer = NULL; peer 52 daemons/controld/controld_corosync.c peer = crm_get_peer(0, from); peer 53 daemons/controld/controld_corosync.c if (!pcmk_is_set(peer->processes, crm_proc_cpg)) { peer 58 daemons/controld/controld_corosync.c peer->uname, peer->id); peer 59 daemons/controld/controld_corosync.c crm_update_peer_proc(__func__, peer, crm_proc_cpg, peer 125 daemons/controld/controld_corosync.c crm_node_t *peer = pcmk__search_cluster_node_cache(0, fsa_our_dc); peer 127 daemons/controld/controld_corosync.c if (peer != NULL) { peer 129 daemons/controld/controld_corosync.c if (left_list[i].nodeid == peer->id) { peer 820 daemons/controld/controld_execd.c crm_node_t *peer = NULL; peer 822 daemons/controld/controld_execd.c peer = crm_get_peer_full(0, lrm_state->node_name, CRM_GET_PEER_ANY); peer 823 daemons/controld/controld_execd.c CRM_CHECK(peer != NULL, return NULL); peer 825 daemons/controld/controld_execd.c xml_state = create_node_state_update(peer, update_flags, NULL, peer 832 daemons/controld/controld_execd.c crm_xml_add(xml_data, XML_ATTR_ID, peer->uuid); peer 2099 daemons/controld/controld_execd.c crm_node_t *peer = NULL; peer 2110 daemons/controld/controld_execd.c peer = crm_get_peer(0, fsa_our_uname); peer 2111 daemons/controld/controld_execd.c update = create_node_state_update(peer, node_update_none, NULL, peer 175 daemons/controld/controld_fencing.c crm_node_t *peer = NULL; peer 190 daemons/controld/controld_fencing.c peer = crm_get_peer_full(0, target, CRM_GET_PEER_ANY); peer 192 daemons/controld/controld_fencing.c CRM_CHECK(peer != NULL, return); peer 194 daemons/controld/controld_fencing.c if (peer->state == NULL) { peer 202 daemons/controld/controld_fencing.c if (peer->uuid == NULL) { peer 204 daemons/controld/controld_fencing.c peer->uuid = strdup(uuid); peer 207 daemons/controld/controld_fencing.c crmd_peer_down(peer, TRUE); peer 210 daemons/controld/controld_fencing.c node_state = create_node_state_update(peer, flags, NULL, __func__); peer 213 daemons/controld/controld_fencing.c if (peer->flags & crm_remote_node) { peer 233 daemons/controld/controld_fencing.c controld_delete_node_state(peer->uname, controld_section_all, peer 545 daemons/controld/controld_fencing.c crm_node_t *peer = pcmk__search_known_node_cache(0, event->target, peer 549 daemons/controld/controld_fencing.c if (peer == NULL) { peer 553 daemons/controld/controld_fencing.c uuid = crm_peer_uuid(peer); peer 580 daemons/controld/controld_fencing.c && !pcmk_is_set(peer->flags, crm_remote_node)) { peer 601 daemons/controld/controld_fencing.c if (pcmk_is_set(peer->flags, crm_remote_node)) { peer 605 daemons/controld/controld_fencing.c crmd_peer_down(peer, TRUE); peer 74 daemons/controld/controld_join_dc.c crm_node_t *peer = NULL; peer 79 daemons/controld/controld_join_dc.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &peer)) { peer 80 daemons/controld/controld_join_dc.c crm_update_peer_join(__func__, peer, crm_join_none); peer 543 daemons/controld/controld_join_dc.c crm_node_t *peer = NULL; peer 567 daemons/controld/controld_join_dc.c peer = crm_get_peer(0, join_from); peer 568 daemons/controld/controld_join_dc.c if (peer->join != crm_join_finalized) { peer 571 daemons/controld/controld_join_dc.c join_id, join_from, crm_join_phase_str(peer->join), peer 580 daemons/controld/controld_join_dc.c crm_update_peer_join(__func__, peer, crm_join_nack); peer 584 daemons/controld/controld_join_dc.c crm_update_peer_join(__func__, peer, crm_join_confirmed); peer 753 daemons/controld/controld_join_dc.c crm_node_t *peer; peer 757 daemons/controld/controld_join_dc.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &peer)) { peer 758 daemons/controld/controld_join_dc.c if(peer->join == phase) { peer 767 daemons/controld/controld_join_dc.c crm_node_t *peer; peer 771 daemons/controld/controld_join_dc.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &peer)) { peer 772 daemons/controld/controld_join_dc.c do_crm_log(level, "join-%d: %s=%s", current_join_id, peer->uname, peer 773 daemons/controld/controld_join_dc.c crm_join_phase_str(peer->join)); peer 144 daemons/controld/controld_te_actions.c crm_node_t *peer = crm_get_peer(0, router_node); peer 146 daemons/controld/controld_te_actions.c pcmk__update_peer_expected(__func__, peer, CRMD_JOINSTATE_DOWN); peer 422 daemons/controld/controld_te_actions.c struct te_peer_s *peer = p; peer 424 daemons/controld/controld_te_actions.c free(peer->name); peer 425 daemons/controld/controld_te_actions.c free(peer); peer 431 daemons/controld/controld_te_actions.c struct te_peer_s *peer = NULL; peer 438 daemons/controld/controld_te_actions.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & peer)) { peer 439 daemons/controld/controld_te_actions.c peer->jobs = 0; peer 440 daemons/controld/controld_te_actions.c peer->migrate_jobs = 0; peer 748 daemons/controld/controld_utils.c void crmd_peer_down(crm_node_t *peer, bool full) peer 750 daemons/controld/controld_utils.c if(full && peer->state == NULL) { peer 751 daemons/controld/controld_utils.c pcmk__update_peer_state(__func__, peer, CRM_NODE_LOST, 0); peer 752 daemons/controld/controld_utils.c crm_update_peer_proc(__func__, peer, crm_proc_none, NULL); peer 754 daemons/controld/controld_utils.c crm_update_peer_join(__func__, peer, crm_join_none); peer 755 daemons/controld/controld_utils.c pcmk__update_peer_expected(__func__, peer, CRMD_JOINSTATE_DOWN); peer 95 daemons/controld/controld_utils.h void crmd_peer_down(crm_node_t *peer, bool full); peer 2830 daemons/fenced/fenced_commands.c bool fencing_peer_active(crm_node_t *peer) peer 2832 daemons/fenced/fenced_commands.c if (peer == NULL) { peer 2834 daemons/fenced/fenced_commands.c } else if (peer->uname == NULL) { peer 2836 daemons/fenced/fenced_commands.c } else if (pcmk_is_set(peer->processes, crm_get_cluster_proc())) { peer 3044 daemons/fenced/fenced_commands.c if (request->peer != NULL) { peer 3071 daemons/fenced/fenced_commands.c pcmk__str_update(&query->remote_peer, request->peer); peer 3139 daemons/fenced/fenced_commands.c if ((request->peer != NULL) || stand_alone) { peer 3182 daemons/fenced/fenced_commands.c request->peer, action, target, peer 3239 daemons/fenced/fenced_commands.c stonith_fence_history(request->xml, &data, request->peer, peer 3415 daemons/fenced/fenced_commands.c request->peer, request->ipc_client); peer 3495 daemons/fenced/fenced_commands.c .peer = remote_peer, peer 83 daemons/fenced/fenced_remote.c peer_device_info_t *peer); peer 99 daemons/fenced/fenced_remote.c peer_device_info_t *peer = data; peer 101 daemons/fenced/fenced_remote.c g_hash_table_destroy(peer->devices); peer 102 daemons/fenced/fenced_remote.c free(peer->host); peer 103 daemons/fenced/fenced_remote.c free(peer); peer 154 daemons/fenced/fenced_remote.c const peer_device_info_t *peer, gboolean verified_only) peer 161 daemons/fenced/fenced_remote.c if (peer) { peer 162 daemons/fenced/fenced_remote.c g_hash_table_foreach(peer->devices, count_peer_device, &data); peer 178 daemons/fenced/fenced_remote.c find_peer_device(const remote_fencing_op_t *op, const peer_device_info_t *peer, peer 181 daemons/fenced/fenced_remote.c device_properties_t *props = g_hash_table_lookup(peer->devices, device); peer 199 daemons/fenced/fenced_remote.c grab_peer_device(const remote_fencing_op_t *op, peer_device_info_t *peer, peer 202 daemons/fenced/fenced_remote.c device_properties_t *props = find_peer_device(op, peer, device); peer 209 daemons/fenced/fenced_remote.c device, peer->host, count_peer_devices(op, peer, FALSE)); peer 1113 daemons/fenced/fenced_remote.c create_remote_stonith_op(const char *client, xmlNode * request, gboolean peer) peer 1124 daemons/fenced/fenced_remote.c if (peer && dev) { peer 1144 daemons/fenced/fenced_remote.c if (peer && dev) { peer 1189 daemons/fenced/fenced_remote.c (peer && dev)? "Recorded" : "Generated", op->id, op->action, peer 1338 daemons/fenced/fenced_remote.c peer_device_info_t *peer = iter->data; peer 1341 daemons/fenced/fenced_remote.c peer->host, op->target, peer->ndevices, peer 1342 daemons/fenced/fenced_remote.c pcmk__plural_s(peer->ndevices), peer->tried, options); peer 1343 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_SKIP_TARGET) && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { peer 1346 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_TARGET_ONLY) && !pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { peer 1352 daemons/fenced/fenced_remote.c if (grab_peer_device(op, peer, device, verified_devices_only)) { peer 1353 daemons/fenced/fenced_remote.c return peer; peer 1356 daemons/fenced/fenced_remote.c } else if ((peer->tried == FALSE) peer 1357 daemons/fenced/fenced_remote.c && count_peer_devices(op, peer, verified_devices_only)) { peer 1361 daemons/fenced/fenced_remote.c return peer; peer 1372 daemons/fenced/fenced_remote.c peer_device_info_t *peer = NULL; peer 1386 daemons/fenced/fenced_remote.c peer = find_best_peer(device, op, FIND_PEER_SKIP_TARGET|FIND_PEER_VERIFIED_ONLY); peer 1387 daemons/fenced/fenced_remote.c if (peer) { peer 1388 daemons/fenced/fenced_remote.c crm_trace("Found verified peer %s for %s", peer->host, device?device:"<any>"); peer 1389 daemons/fenced/fenced_remote.c return peer; peer 1398 daemons/fenced/fenced_remote.c peer = find_best_peer(device, op, FIND_PEER_SKIP_TARGET); peer 1399 daemons/fenced/fenced_remote.c if (peer) { peer 1400 daemons/fenced/fenced_remote.c crm_trace("Found best unverified peer %s", peer->host); peer 1401 daemons/fenced/fenced_remote.c return peer; peer 1408 daemons/fenced/fenced_remote.c peer = find_best_peer(device, op, FIND_PEER_TARGET_ONLY); peer 1409 daemons/fenced/fenced_remote.c if (peer) { peer 1410 daemons/fenced/fenced_remote.c crm_trace("%s will fence itself", peer->host); peer 1411 daemons/fenced/fenced_remote.c return peer; peer 1429 daemons/fenced/fenced_remote.c const peer_device_info_t *peer, const char *device) peer 1433 daemons/fenced/fenced_remote.c if (!peer || !device) { peer 1437 daemons/fenced/fenced_remote.c props = g_hash_table_lookup(peer->devices, device); peer 1449 daemons/fenced/fenced_remote.c const peer_device_info_t *peer; peer 1471 daemons/fenced/fenced_remote.c timeout->peer, device_id); peer 1476 daemons/fenced/fenced_remote.c get_peer_timeout(const remote_fencing_op_t *op, const peer_device_info_t *peer) peer 1481 daemons/fenced/fenced_remote.c timeout.peer = peer; peer 1484 daemons/fenced/fenced_remote.c g_hash_table_foreach(peer->devices, add_device_timeout, &timeout); peer 1514 daemons/fenced/fenced_remote.c const peer_device_info_t *peer = iter->data; peer 1516 daemons/fenced/fenced_remote.c if (find_peer_device(op, peer, device_list->data)) { peer 1517 daemons/fenced/fenced_remote.c total_timeout += get_device_timeout(op, peer, peer 1676 daemons/fenced/fenced_remote.c request_peer_fencing(remote_fencing_op_t *op, peer_device_info_t *peer) peer 1687 daemons/fenced/fenced_remote.c if ((peer == NULL) && !pcmk_is_set(op->call_options, st_opt_topology)) { peer 1688 daemons/fenced/fenced_remote.c peer = stonith_choose_peer(op); peer 1692 daemons/fenced/fenced_remote.c op->total_timeout = TIMEOUT_MULTIPLY_FACTOR * get_op_total_timeout(op, peer); peer 1709 daemons/fenced/fenced_remote.c peer = stonith_choose_peer(op); peer 1712 daemons/fenced/fenced_remote.c timeout = get_device_timeout(op, peer, device); peer 1715 daemons/fenced/fenced_remote.c if (peer) { peer 1731 daemons/fenced/fenced_remote.c get_device_timeout(op, peer, device); peer 1734 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, device, peer 1739 daemons/fenced/fenced_remote.c timeout_one = TIMEOUT_MULTIPLY_FACTOR * get_peer_timeout(op, peer); peer 1742 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, op->client_name, peer 1754 daemons/fenced/fenced_remote.c (pcmk__str_eq(peer->host, op->target, pcmk__str_casei) peer 1778 daemons/fenced/fenced_remote.c send_cluster_message(crm_get_peer(0, peer->host), crm_msg_stonith_ng, remote_op, FALSE); peer 1779 daemons/fenced/fenced_remote.c peer->tried = TRUE; peer 1904 daemons/fenced/fenced_remote.c peer_device_info_t *peer = iter->data; peer 1906 daemons/fenced/fenced_remote.c if (skip_target && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { peer 1909 daemons/fenced/fenced_remote.c match = find_peer_device(op, peer, device->data); peer 1932 daemons/fenced/fenced_remote.c parse_action_specific(xmlNode *xml, const char *peer, const char *device, peer 1941 daemons/fenced/fenced_remote.c peer, device, action, props->custom_action_timeout[phase]); peer 1948 daemons/fenced/fenced_remote.c peer, device, props->delay_max[phase], action); peer 1955 daemons/fenced/fenced_remote.c peer, device, props->delay_base[phase], action); peer 1965 daemons/fenced/fenced_remote.c peer, device, action); peer 1976 daemons/fenced/fenced_remote.c peer, action, device); peer 1991 daemons/fenced/fenced_remote.c peer_device_info_t *peer, const char *device) peer 1999 daemons/fenced/fenced_remote.c g_hash_table_insert(peer->devices, strdup(device), props); peer 2005 daemons/fenced/fenced_remote.c peer->host, device); peer 2010 daemons/fenced/fenced_remote.c parse_action_specific(xml, peer->host, device, op_requested_action(op), peer 2019 daemons/fenced/fenced_remote.c parse_action_specific(child, peer->host, device, "off", peer 2022 daemons/fenced/fenced_remote.c parse_action_specific(child, peer->host, device, "on", peer 2042 daemons/fenced/fenced_remote.c peer_device_info_t *peer = calloc(1, sizeof(peer_device_info_t)); peer 2047 daemons/fenced/fenced_remote.c CRM_CHECK(peer != NULL, return NULL); peer 2048 daemons/fenced/fenced_remote.c peer->host = strdup(host); peer 2049 daemons/fenced/fenced_remote.c peer->devices = pcmk__strkey_table(free, free); peer 2057 daemons/fenced/fenced_remote.c add_device_properties(child, op, peer, device); peer 2061 daemons/fenced/fenced_remote.c peer->ndevices = g_hash_table_size(peer->devices); peer 2062 daemons/fenced/fenced_remote.c CRM_CHECK(ndevices == peer->ndevices, peer 2064 daemons/fenced/fenced_remote.c ndevices, pcmk__plural_s(ndevices), peer->ndevices)); peer 2066 daemons/fenced/fenced_remote.c op->query_results = g_list_insert_sorted(op->query_results, peer, sort_peers); peer 2067 daemons/fenced/fenced_remote.c return peer; peer 2093 daemons/fenced/fenced_remote.c peer_device_info_t *peer = NULL; peer 2127 daemons/fenced/fenced_remote.c peer = add_result(op, host, ndevices, dev); peer 2139 daemons/fenced/fenced_remote.c request_peer_fencing(op, peer); peer 2148 daemons/fenced/fenced_remote.c int nverified = count_peer_devices(op, peer, TRUE); peer 2152 daemons/fenced/fenced_remote.c if ((peer != NULL) && !host_is_target && nverified) { peer 2156 daemons/fenced/fenced_remote.c request_peer_fencing(op, peer); peer 2167 daemons/fenced/fenced_remote.c } else if ((peer != NULL) && (op->state == st_done)) { peer 2169 daemons/fenced/fenced_remote.c "Operation is %s", peer->host, peer 2170 daemons/fenced/fenced_remote.c peer->ndevices, pcmk__plural_s(peer->ndevices), peer 259 daemons/fenced/pacemaker-fenced.h void *create_remote_stonith_op(const char *client, xmlNode * request, gboolean peer); peer 266 daemons/fenced/pacemaker-fenced.h bool fencing_peer_active(crm_node_t *peer); peer 113 include/crm/cluster/internal.h crm_node_t *crm_update_peer_proc(const char *source, crm_node_t * peer, peer 41 include/crm/common/messages_internal.h const char *peer; // Peer name (NULL if not via cluster) peer 94 include/crm/common/messages_internal.h } else if ((request != NULL) && (request->peer != NULL)) { peer 115 include/crm/common/messages_internal.h } else if ((request != NULL) && (request->peer != NULL)) { peer 116 include/crm/common/messages_internal.h return request->peer; peer 207 lib/cib/cib_ops.c const char *peer = crm_element_value(req, F_ORIG); peer 217 lib/cib/cib_ops.c crm_err("Digest mis-match on replace from %s: %s vs. %s (expected)", peer, peer 222 lib/cib/cib_ops.c crm_info("Digest matched on replace from %s: %s", peer, digest); peer 253 lib/cib/cib_ops.c replace_updates, peer, admin_epoch, epoch, updates, reason); peer 258 lib/cib/cib_ops.c replace_admin_epoch, replace_epoch, replace_updates, peer); peer 38 lib/cluster/cluster.c crm_peer_uuid(crm_node_t *peer) peer 43 lib/cluster/cluster.c if (peer == NULL) { peer 46 lib/cluster/cluster.c if (peer->uuid != NULL) { peer 47 lib/cluster/cluster.c return peer->uuid; peer 53 lib/cluster/cluster.c uuid = pcmk__corosync_uuid(peer); peer 63 lib/cluster/cluster.c peer->uuid = uuid; peer 64 lib/cluster/cluster.c return peer->uuid; peer 453 lib/cluster/corosync.c crm_node_t *peer = NULL; peer 483 lib/cluster/corosync.c peer = crm_get_peer(cluster->nodeid, cluster->uname); peer 484 lib/cluster/corosync.c cluster->uuid = pcmk__corosync_uuid(peer); peer 468 lib/cluster/cpg.c crm_node_t *peer = crm_get_peer(nodeid, NULL); peer 470 lib/cluster/cpg.c if (peer == NULL) { peer 473 lib/cluster/cpg.c } else if (peer->uname == NULL) { peer 478 lib/cluster/cpg.c msg->sender.size = strlen(peer->uname); peer 480 lib/cluster/cpg.c memcpy(msg->sender.uname, peer->uname, msg->sender.size); peer 602 lib/cluster/cpg.c peer_name(crm_node_t *peer) peer 604 lib/cluster/cpg.c if (peer == NULL) { peer 606 lib/cluster/cpg.c } else if (peer->uname == NULL) { peer 609 lib/cluster/cpg.c return peer->uname; peer 630 lib/cluster/cpg.c crm_node_t *peer = pcmk__search_cluster_node_cache(cpg_peer->nodeid, peer 646 lib/cluster/cpg.c if (peer != NULL) { peer 654 lib/cluster/cpg.c cpg_group_name, event_counter, peer_name(peer), peer 657 lib/cluster/cpg.c if (peer != NULL) { peer 658 lib/cluster/cpg.c crm_update_peer_proc(__func__, peer, crm_proc_cpg, peer 668 lib/cluster/cpg.c cpg_group_name, event_counter, peer_name(peer), peer 723 lib/cluster/cpg.c crm_node_t *peer = crm_get_peer(member_list[i].nodeid, NULL); peer 733 lib/cluster/cpg.c groupName->value, counter, peer_name(peer), peer 739 lib/cluster/cpg.c peer = crm_update_peer_proc(__func__, peer, crm_proc_cpg, peer 742 lib/cluster/cpg.c if (peer && peer->state && strcmp(peer->state, CRM_NODE_MEMBER)) { peer 752 lib/cluster/cpg.c if (peer->when_lost == 0) { peer 754 lib/cluster/cpg.c peer->when_lost = now; peer 756 lib/cluster/cpg.c } else if (now > (peer->when_lost + 60)) { peer 760 lib/cluster/cpg.c pcmk__update_peer_state(__func__, peer, CRM_NODE_MEMBER, 0); peer 791 lib/cluster/cpg.c crm_node_t *peer = NULL; peer 876 lib/cluster/cpg.c peer = crm_get_peer(id, NULL); peer 877 lib/cluster/cpg.c crm_update_peer_proc(__func__, peer, crm_proc_cpg, ONLINESTATUS); peer 31 lib/cluster/crmcluster_private.h char *pcmk__corosync_uuid(crm_node_t *peer); peer 502 lib/cluster/election.c send_no_vote(crm_node_t *peer, struct vote *vote) peer 512 lib/cluster/election.c send_cluster_message(peer, crm_msg_crmd, novote, TRUE); peer 69 lib/cluster/membership.c #define set_peer_flags(peer, flags_to_set) do { \ peer 70 lib/cluster/membership.c (peer)->flags = pcmk__set_flags_as(__func__, __LINE__, LOG_TRACE, \ peer 71 lib/cluster/membership.c "Peer", (peer)->uname, \ peer 72 lib/cluster/membership.c (peer)->flags, (flags_to_set), \ peer 76 lib/cluster/membership.c #define clear_peer_flags(peer, flags_to_clear) do { \ peer 77 lib/cluster/membership.c (peer)->flags = pcmk__clear_flags_as(__func__, __LINE__, \ peer 79 lib/cluster/membership.c "Peer", (peer)->uname, \ peer 80 lib/cluster/membership.c (peer)->flags, (flags_to_clear), \