peer 245 daemons/attrd/attrd_cib.c const char *peer = NULL; peer 285 daemons/attrd/attrd_cib.c while (g_hash_table_iter_next(&iter, (gpointer *) & peer, (gpointer *) & v)) { peer 288 daemons/attrd/attrd_cib.c a->id, peer, pcmk__s(v->requested, "(unset)")); peer 292 daemons/attrd/attrd_cib.c a->id, peer, pcmk__s(v->requested, "(unset)")); peer 549 daemons/attrd/attrd_cib.c crm_node_t *peer = pcmk__get_node(v->nodeid, v->nodename, NULL, peer 552 daemons/attrd/attrd_cib.c uuid = peer->uuid; peer 555 daemons/attrd/attrd_cib.c if ((peer->id != 0) && (v->nodeid == 0)) { peer 556 daemons/attrd/attrd_cib.c crm_trace("Learned ID %u for node %s", peer->id, v->nodename); peer 557 daemons/attrd/attrd_cib.c v->nodeid = peer->id; peer 40 daemons/attrd/attrd_corosync.c attrd_peer_message(crm_node_t *peer, xmlNode *xml) peer 45 daemons/attrd/attrd_corosync.c attrd_handle_election_op(peer, xml); peer 61 daemons/attrd/attrd_corosync.c .peer = peer->uname, peer 92 daemons/attrd/attrd_corosync.c crm_debug("Sending %s a confirmation", peer->uname); peer 93 daemons/attrd/attrd_corosync.c attrd_send_message(peer, reply, false); peer 165 daemons/attrd/attrd_corosync.c attrd_peer_change_cb(enum crm_status_type kind, crm_node_t *peer, const void *data) peer 168 daemons/attrd/attrd_corosync.c bool is_remote = pcmk_is_set(peer->flags, crm_remote_node); peer 174 daemons/attrd/attrd_corosync.c peer->uname, state_text(peer->state)); peer 178 daemons/attrd/attrd_corosync.c if (!pcmk_is_set(peer->processes, crm_get_cluster_proc())) { peer 182 daemons/attrd/attrd_corosync.c peer->uname, (gone? "no longer" : "now")); peer 188 daemons/attrd/attrd_corosync.c peer->uname, state_text(peer->state), state_text(data)); peer 189 daemons/attrd/attrd_corosync.c if (pcmk__str_eq(peer->state, CRM_NODE_MEMBER, pcmk__str_casei)) { peer 194 daemons/attrd/attrd_corosync.c && !pcmk_is_set(peer->flags, crm_remote_node)) { peer 195 daemons/attrd/attrd_corosync.c attrd_peer_sync(peer); peer 199 daemons/attrd/attrd_corosync.c attrd_peer_remove(peer->uname, false, "loss"); peer 207 daemons/attrd/attrd_corosync.c attrd_remove_voter(peer); peer 208 daemons/attrd/attrd_corosync.c attrd_remove_peer_protocol_ver(peer->uname); peer 209 daemons/attrd/attrd_corosync.c attrd_do_not_expect_from_peer(peer->uname); peer 231 daemons/attrd/attrd_corosync.c update_attr_on_host(attribute_t *a, const crm_node_t *peer, const xmlNode *xml, peer 267 daemons/attrd/attrd_corosync.c attr, host, readable_value(v), value, peer->uname); peer 275 daemons/attrd/attrd_corosync.c pcmk__s(value, "(unset)"), peer->uname, peer 310 daemons/attrd/attrd_corosync.c attr, host, peer->uname, pcmk__s(value, "unset")); peer 314 daemons/attrd/attrd_corosync.c attr, host, peer->uname, pcmk__s(value, "unset")); peer 330 daemons/attrd/attrd_corosync.c attrd_peer_update_one(const crm_node_t *peer, xmlNode *xml, bool filter) peer 356 daemons/attrd/attrd_corosync.c update_attr_on_host(a, peer, xml, attr, value, host, filter); peer 361 daemons/attrd/attrd_corosync.c update_attr_on_host(a, peer, xml, attr, value, host, filter); peer 368 daemons/attrd/attrd_corosync.c attrd_update_minimum_protocol_ver(peer->uname, value); peer 444 daemons/attrd/attrd_corosync.c crm_node_t *peer = pcmk__get_node(0, request->peer, NULL, peer 466 daemons/attrd/attrd_corosync.c attrd_peer_update(peer, xml, host, false); peer 481 daemons/attrd/attrd_corosync.c attrd_peer_sync_response(const crm_node_t *peer, bool peer_won, xmlNode *xml) peer 484 daemons/attrd/attrd_corosync.c peer->uname); peer 497 daemons/attrd/attrd_corosync.c attrd_peer_update(peer, child, peer 547 daemons/attrd/attrd_corosync.c attrd_peer_sync(crm_node_t *peer) peer 564 daemons/attrd/attrd_corosync.c readable_peer(peer)); peer 569 daemons/attrd/attrd_corosync.c crm_debug("Syncing values to %s", readable_peer(peer)); peer 570 daemons/attrd/attrd_corosync.c attrd_send_message(peer, sync, false); peer 575 daemons/attrd/attrd_corosync.c attrd_peer_update(const crm_node_t *peer, xmlNode *xml, const char *host, peer 580 daemons/attrd/attrd_corosync.c CRM_CHECK((peer != NULL) && (xml != NULL), return); peer 586 daemons/attrd/attrd_corosync.c attrd_peer_update_one(peer, child, filter); peer 594 daemons/attrd/attrd_corosync.c attrd_peer_update_one(peer, xml, filter); peer 67 daemons/attrd/attrd_elections.c attrd_handle_election_op(const crm_node_t *peer, xmlNode *xml) peer 72 daemons/attrd/attrd_elections.c crm_xml_add(xml, PCMK__XA_SRC, peer->uname); peer 99 daemons/attrd/attrd_elections.c pcmk__str_update(&peer_writer, peer->uname); peer 110 daemons/attrd/attrd_elections.c crm_info("Ignoring election op from %s due to error", peer->uname); peer 116 daemons/attrd/attrd_elections.c attrd_check_for_new_writer(const crm_node_t *peer, const xmlNode *xml) peer 123 daemons/attrd/attrd_elections.c && !pcmk__str_eq(peer->uname, attrd_cluster->uname, pcmk__str_casei)) { peer 125 daemons/attrd/attrd_elections.c peer->uname); peer 128 daemons/attrd/attrd_elections.c } else if (!pcmk__str_eq(peer->uname, peer_writer, pcmk__str_casei)) { peer 130 daemons/attrd/attrd_elections.c peer->uname, (peer_writer? peer_writer : "unset")); peer 131 daemons/attrd/attrd_elections.c pcmk__str_update(&peer_writer, peer->uname); peer 146 daemons/attrd/attrd_elections.c attrd_remove_voter(const crm_node_t *peer) peer 148 daemons/attrd/attrd_elections.c election_remove(writer, peer->uname); peer 149 daemons/attrd/attrd_elections.c if (peer_writer && pcmk__str_eq(peer->uname, peer_writer, pcmk__str_casei)) { peer 152 daemons/attrd/attrd_elections.c crm_notice("Lost attribute writer %s", peer->uname); peer 172 daemons/attrd/attrd_elections.c crm_debug("Checking election status upon loss of voter %s", peer->uname); peer 578 daemons/attrd/attrd_ipc.c .peer = NULL, peer 68 daemons/attrd/attrd_messages.c if (request->peer != NULL) { peer 104 daemons/attrd/attrd_messages.c if (request->peer != NULL) { peer 107 daemons/attrd/attrd_messages.c crm_debug("Received confirmation from %s", request->peer); peer 114 daemons/attrd/attrd_messages.c attrd_handle_confirmation(callid, request->peer); peer 127 daemons/attrd/attrd_messages.c if (request->peer != NULL) { peer 141 daemons/attrd/attrd_messages.c if (request->peer != NULL) { peer 151 daemons/attrd/attrd_messages.c if (request->peer != NULL) { peer 159 daemons/attrd/attrd_messages.c attrd_peer_remove(host, reap, request->peer); peer 170 daemons/attrd/attrd_messages.c if (request->peer != NULL) { peer 183 daemons/attrd/attrd_messages.c if (request->peer != NULL) { peer 184 daemons/attrd/attrd_messages.c crm_node_t *peer = pcmk__get_node(0, request->peer, NULL, peer 186 daemons/attrd/attrd_messages.c bool peer_won = attrd_check_for_new_writer(peer, request->xml); peer 188 daemons/attrd/attrd_messages.c if (!pcmk__str_eq(peer->uname, attrd_cluster->uname, pcmk__str_casei)) { peer 189 daemons/attrd/attrd_messages.c attrd_peer_sync_response(peer, peer_won, request->xml); peer 201 daemons/attrd/attrd_messages.c if (request->peer != NULL) { peer 203 daemons/attrd/attrd_messages.c crm_node_t *peer = pcmk__get_node(0, request->peer, NULL, peer 206 daemons/attrd/attrd_messages.c attrd_peer_update(peer, request->xml, host, false); peer 115 daemons/attrd/pacemaker-attrd.h void attrd_handle_election_op(const crm_node_t *peer, xmlNode *xml); peer 116 daemons/attrd/pacemaker-attrd.h bool attrd_check_for_new_writer(const crm_node_t *peer, const xmlNode *xml); peer 118 daemons/attrd/pacemaker-attrd.h void attrd_remove_voter(const crm_node_t *peer); peer 187 daemons/attrd/pacemaker-attrd.h void attrd_peer_update(const crm_node_t *peer, xmlNode *xml, const char *host, peer 189 daemons/attrd/pacemaker-attrd.h void attrd_peer_sync(crm_node_t *peer); peer 192 daemons/attrd/pacemaker-attrd.h void attrd_peer_sync_response(const crm_node_t *peer, bool peer_won, peer 944 daemons/based/based_callbacks.c crm_node_t *peer = NULL; peer 964 daemons/based/based_callbacks.c peer = pcmk__get_node(0, host, NULL, pcmk__node_search_cluster_member); peer 966 daemons/based/based_callbacks.c pcmk__cluster_send_message(peer, crm_msg_cib, request); peer 120 daemons/based/based_messages.c crm_node_t *peer = NULL; peer 131 daemons/based/based_messages.c peer = pcmk__get_node(0, host, NULL, pcmk__node_search_cluster_member); peer 133 daemons/based/based_messages.c pcmk__cluster_send_message(peer, crm_msg_cib, sync_me); peer 424 daemons/based/based_messages.c crm_node_t *peer = NULL; peer 457 daemons/based/based_messages.c peer = pcmk__get_node(0, host, NULL, pcmk__node_search_cluster_member); peer 459 daemons/based/based_messages.c if (!pcmk__cluster_send_message(peer, crm_msg_cib, replace_request)) { peer 40 daemons/controld/controld_corosync.c crm_node_t *peer = NULL; peer 51 daemons/controld/controld_corosync.c peer = pcmk__get_node(0, from, NULL, pcmk__node_search_cluster_member); peer 52 daemons/controld/controld_corosync.c if (!pcmk_is_set(peer->processes, crm_proc_cpg)) { peer 57 daemons/controld/controld_corosync.c peer->uname, peer->id); peer 58 daemons/controld/controld_corosync.c crm_update_peer_proc(__func__, peer, crm_proc_cpg, peer 119 daemons/controld/controld_corosync.c crm_node_t *peer = NULL; peer 121 daemons/controld/controld_corosync.c peer = pcmk__search_node_caches(0, controld_globals.dc_name, peer 123 daemons/controld/controld_corosync.c if (peer != NULL) { peer 125 daemons/controld/controld_corosync.c if (left_list[i].nodeid == peer->id) { peer 577 daemons/controld/controld_execd.c crm_node_t *peer = NULL; peer 586 daemons/controld/controld_execd.c peer = pcmk__get_node(0, lrm_state->node_name, NULL, pcmk__node_search_any); peer 587 daemons/controld/controld_execd.c CRM_CHECK(peer != NULL, return NULL); peer 589 daemons/controld/controld_execd.c xml_state = create_node_state_update(peer, peer 597 daemons/controld/controld_execd.c crm_xml_add(xml_data, PCMK_XA_ID, peer->uuid); peer 1755 daemons/controld/controld_execd.c crm_node_t *peer = NULL; peer 1767 daemons/controld/controld_execd.c peer = pcmk__get_node(0, controld_globals.our_nodename, NULL, peer 1769 daemons/controld/controld_execd.c update = create_node_state_update(peer, node_update_none, NULL, peer 215 daemons/controld/controld_fencing.c crm_node_t *peer = NULL; peer 233 daemons/controld/controld_fencing.c peer = pcmk__get_node(0, target, uuid, pcmk__node_search_any); peer 235 daemons/controld/controld_fencing.c CRM_CHECK(peer != NULL, return); peer 237 daemons/controld/controld_fencing.c if (peer->state == NULL) { peer 245 daemons/controld/controld_fencing.c if (peer->uuid == NULL) { peer 247 daemons/controld/controld_fencing.c peer->uuid = pcmk__str_copy(uuid); peer 250 daemons/controld/controld_fencing.c crmd_peer_down(peer, TRUE); peer 253 daemons/controld/controld_fencing.c node_state = create_node_state_update(peer, flags, NULL, __func__); peer 256 daemons/controld/controld_fencing.c if (peer->flags & crm_remote_node) { peer 280 daemons/controld/controld_fencing.c controld_delete_node_state(peer->uname, controld_section_all, peer 597 daemons/controld/controld_fencing.c crm_node_t *peer = pcmk__search_node_caches(0, event->target, flags); peer 600 daemons/controld/controld_fencing.c if (peer == NULL) { peer 604 daemons/controld/controld_fencing.c uuid = pcmk__cluster_node_uuid(peer); peer 630 daemons/controld/controld_fencing.c && !pcmk_is_set(peer->flags, crm_remote_node)) { peer 656 daemons/controld/controld_fencing.c if (pcmk_is_set(peer->flags, crm_remote_node)) { peer 660 daemons/controld/controld_fencing.c crmd_peer_down(peer, TRUE); peer 157 daemons/controld/controld_join_dc.c crm_node_t *peer = NULL; peer 162 daemons/controld/controld_join_dc.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &peer)) { peer 163 daemons/controld/controld_join_dc.c crm_update_peer_join(__func__, peer, crm_join_none); peer 726 daemons/controld/controld_join_dc.c crm_node_t *peer = NULL; peer 758 daemons/controld/controld_join_dc.c peer = pcmk__get_node(0, join_from, NULL, pcmk__node_search_cluster_member); peer 759 daemons/controld/controld_join_dc.c if (peer->join != crm_join_finalized) { peer 762 daemons/controld/controld_join_dc.c join_id, join_from, crm_join_phase_str(peer->join), peer 771 daemons/controld/controld_join_dc.c crm_update_peer_join(__func__, peer, crm_join_nack); peer 775 daemons/controld/controld_join_dc.c crm_update_peer_join(__func__, peer, crm_join_confirmed); peer 1036 daemons/controld/controld_join_dc.c crm_node_t *peer; peer 1040 daemons/controld/controld_join_dc.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &peer)) { peer 1041 daemons/controld/controld_join_dc.c if(peer->join == phase) { peer 1050 daemons/controld/controld_join_dc.c crm_node_t *peer; peer 1054 daemons/controld/controld_join_dc.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &peer)) { peer 1055 daemons/controld/controld_join_dc.c do_crm_log(level, "join-%d: %s=%s", current_join_id, peer->uname, peer 1056 daemons/controld/controld_join_dc.c crm_join_phase_str(peer->join)); peer 162 daemons/controld/controld_te_actions.c crm_node_t *peer = pcmk__get_node(0, router_node, NULL, peer 165 daemons/controld/controld_te_actions.c pcmk__update_peer_expected(__func__, peer, CRMD_JOINSTATE_DOWN); peer 482 daemons/controld/controld_te_actions.c struct te_peer_s *peer = p; peer 484 daemons/controld/controld_te_actions.c free(peer->name); peer 485 daemons/controld/controld_te_actions.c free(peer); peer 491 daemons/controld/controld_te_actions.c struct te_peer_s *peer = NULL; peer 498 daemons/controld/controld_te_actions.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & peer)) { peer 499 daemons/controld/controld_te_actions.c peer->jobs = 0; peer 500 daemons/controld/controld_te_actions.c peer->migrate_jobs = 0; peer 752 daemons/controld/controld_utils.c void crmd_peer_down(crm_node_t *peer, bool full) peer 754 daemons/controld/controld_utils.c if(full && peer->state == NULL) { peer 755 daemons/controld/controld_utils.c pcmk__update_peer_state(__func__, peer, CRM_NODE_LOST, 0); peer 756 daemons/controld/controld_utils.c crm_update_peer_proc(__func__, peer, crm_proc_none, NULL); peer 758 daemons/controld/controld_utils.c crm_update_peer_join(__func__, peer, crm_join_none); peer 759 daemons/controld/controld_utils.c pcmk__update_peer_expected(__func__, peer, CRMD_JOINSTATE_DOWN); peer 55 daemons/controld/controld_utils.h void crmd_peer_down(crm_node_t *peer, bool full); peer 3063 daemons/fenced/fenced_commands.c bool fencing_peer_active(crm_node_t *peer) peer 3065 daemons/fenced/fenced_commands.c if (peer == NULL) { peer 3067 daemons/fenced/fenced_commands.c } else if (peer->uname == NULL) { peer 3069 daemons/fenced/fenced_commands.c } else if (pcmk_is_set(peer->processes, crm_get_cluster_proc())) { peer 3248 daemons/fenced/fenced_commands.c if (request->peer != NULL) { peer 3275 daemons/fenced/fenced_commands.c query->remote_peer = pcmk__str_copy(request->peer); peer 3345 daemons/fenced/fenced_commands.c if ((request->peer != NULL) || stand_alone) { peer 3389 daemons/fenced/fenced_commands.c request->peer, action, target, peer 3443 daemons/fenced/fenced_commands.c stonith_fence_history(request->xml, &data, request->peer, peer 3621 daemons/fenced/fenced_commands.c request->peer, request->ipc_client); peer 3711 daemons/fenced/fenced_commands.c .peer = remote_peer, peer 84 daemons/fenced/fenced_remote.c peer_device_info_t *peer); peer 100 daemons/fenced/fenced_remote.c peer_device_info_t *peer = data; peer 102 daemons/fenced/fenced_remote.c g_hash_table_destroy(peer->devices); peer 103 daemons/fenced/fenced_remote.c free(peer->host); peer 104 daemons/fenced/fenced_remote.c free(peer); peer 158 daemons/fenced/fenced_remote.c const peer_device_info_t *peer, gboolean verified_only, uint32_t support_on_action_only) peer 166 daemons/fenced/fenced_remote.c if (peer) { peer 167 daemons/fenced/fenced_remote.c g_hash_table_foreach(peer->devices, count_peer_device, &data); peer 183 daemons/fenced/fenced_remote.c find_peer_device(const remote_fencing_op_t *op, const peer_device_info_t *peer, peer 186 daemons/fenced/fenced_remote.c device_properties_t *props = g_hash_table_lookup(peer->devices, device); peer 207 daemons/fenced/fenced_remote.c grab_peer_device(const remote_fencing_op_t *op, peer_device_info_t *peer, peer 210 daemons/fenced/fenced_remote.c device_properties_t *props = find_peer_device(op, peer, device, peer 218 daemons/fenced/fenced_remote.c device, peer->host, count_peer_devices(op, peer, FALSE, st_device_supports_none)); peer 1149 daemons/fenced/fenced_remote.c create_remote_stonith_op(const char *client, xmlNode *request, gboolean peer) peer 1161 daemons/fenced/fenced_remote.c if (peer && dev) { peer 1180 daemons/fenced/fenced_remote.c if (peer && dev) { peer 1238 daemons/fenced/fenced_remote.c (peer && dev)? "Recorded" : "Generated", op->id, op->action, peer 1398 daemons/fenced/fenced_remote.c peer_device_info_t *peer = iter->data; peer 1401 daemons/fenced/fenced_remote.c peer->host, op->target, peer->ndevices, peer 1402 daemons/fenced/fenced_remote.c pcmk__plural_s(peer->ndevices), peer->tried, options); peer 1403 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_SKIP_TARGET) && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { peer 1406 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_TARGET_ONLY) && !pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { peer 1412 daemons/fenced/fenced_remote.c if (grab_peer_device(op, peer, device, verified_devices_only)) { peer 1413 daemons/fenced/fenced_remote.c return peer; peer 1416 daemons/fenced/fenced_remote.c } else if (!peer->tried peer 1417 daemons/fenced/fenced_remote.c && count_peer_devices(op, peer, verified_devices_only, peer 1421 daemons/fenced/fenced_remote.c return peer; peer 1432 daemons/fenced/fenced_remote.c peer_device_info_t *peer = NULL; peer 1446 daemons/fenced/fenced_remote.c peer = find_best_peer(device, op, FIND_PEER_SKIP_TARGET|FIND_PEER_VERIFIED_ONLY); peer 1447 daemons/fenced/fenced_remote.c if (peer) { peer 1448 daemons/fenced/fenced_remote.c crm_trace("Found verified peer %s for %s", peer->host, device?device:"<any>"); peer 1449 daemons/fenced/fenced_remote.c return peer; peer 1458 daemons/fenced/fenced_remote.c peer = find_best_peer(device, op, FIND_PEER_SKIP_TARGET); peer 1459 daemons/fenced/fenced_remote.c if (peer) { peer 1460 daemons/fenced/fenced_remote.c crm_trace("Found best unverified peer %s", peer->host); peer 1461 daemons/fenced/fenced_remote.c return peer; peer 1468 daemons/fenced/fenced_remote.c peer = find_best_peer(device, op, FIND_PEER_TARGET_ONLY); peer 1469 daemons/fenced/fenced_remote.c if (peer) { peer 1470 daemons/fenced/fenced_remote.c crm_trace("%s will fence itself", peer->host); peer 1471 daemons/fenced/fenced_remote.c return peer; peer 1530 daemons/fenced/fenced_remote.c const peer_device_info_t *peer, const char *device, peer 1538 daemons/fenced/fenced_remote.c if (!peer || !device) { peer 1542 daemons/fenced/fenced_remote.c props = g_hash_table_lookup(peer->devices, device); peer 1564 daemons/fenced/fenced_remote.c const peer_device_info_t *peer; peer 1585 daemons/fenced/fenced_remote.c timeout->total_timeout += get_device_timeout(timeout->op, timeout->peer, peer 1591 daemons/fenced/fenced_remote.c get_peer_timeout(const remote_fencing_op_t *op, const peer_device_info_t *peer) peer 1596 daemons/fenced/fenced_remote.c timeout.peer = peer; peer 1599 daemons/fenced/fenced_remote.c g_hash_table_foreach(peer->devices, add_device_timeout, &timeout); peer 1637 daemons/fenced/fenced_remote.c const peer_device_info_t *peer = iter->data; peer 1647 daemons/fenced/fenced_remote.c if (find_peer_device(op, peer, device_list->data, peer 1649 daemons/fenced/fenced_remote.c total_timeout += get_device_timeout(op, peer, peer 1672 daemons/fenced/fenced_remote.c peer_device_info_t *peer = iter2->data; peer 1673 daemons/fenced/fenced_remote.c if (find_peer_device(op, peer, iter->data, st_device_supports_on)) { peer 1674 daemons/fenced/fenced_remote.c total_timeout += get_device_timeout(op, peer, peer 1855 daemons/fenced/fenced_remote.c request_peer_fencing(remote_fencing_op_t *op, peer_device_info_t *peer) peer 1896 daemons/fenced/fenced_remote.c if ((peer == NULL) && !pcmk_is_set(op->call_options, st_opt_topology)) { peer 1897 daemons/fenced/fenced_remote.c peer = stonith_choose_peer(op); peer 1901 daemons/fenced/fenced_remote.c op->total_timeout = TIMEOUT_MULTIPLY_FACTOR * get_op_total_timeout(op, peer); peer 1918 daemons/fenced/fenced_remote.c peer = stonith_choose_peer(op); peer 1925 daemons/fenced/fenced_remote.c timeout = get_device_timeout(op, peer, device, false); peer 1928 daemons/fenced/fenced_remote.c if (peer) { peer 1932 daemons/fenced/fenced_remote.c pcmk__get_node(0, peer->host, NULL, peer 1954 daemons/fenced/fenced_remote.c get_device_timeout(op, peer, device, true); peer 1957 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, device, peer 1962 daemons/fenced/fenced_remote.c timeout_one += TIMEOUT_MULTIPLY_FACTOR * get_peer_timeout(op, peer); peer 1965 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, op->client_name, peer 2003 daemons/fenced/fenced_remote.c peer->tried = TRUE; peer 2134 daemons/fenced/fenced_remote.c peer_device_info_t *peer = iter->data; peer 2136 daemons/fenced/fenced_remote.c if (skip_target && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { peer 2139 daemons/fenced/fenced_remote.c match = find_peer_device(op, peer, device->data, st_device_supports_none); peer 2163 daemons/fenced/fenced_remote.c parse_action_specific(const xmlNode *xml, const char *peer, const char *device, peer 2172 daemons/fenced/fenced_remote.c peer, device, action, props->custom_action_timeout[phase]); peer 2179 daemons/fenced/fenced_remote.c peer, device, props->delay_max[phase], action); peer 2187 daemons/fenced/fenced_remote.c peer, device, props->delay_base[phase], action); peer 2197 daemons/fenced/fenced_remote.c peer, device, action); peer 2208 daemons/fenced/fenced_remote.c peer, action, device); peer 2223 daemons/fenced/fenced_remote.c peer_device_info_t *peer, const char *device) peer 2232 daemons/fenced/fenced_remote.c g_hash_table_insert(peer->devices, pcmk__str_copy(device), props); peer 2238 daemons/fenced/fenced_remote.c peer->host, device); peer 2252 daemons/fenced/fenced_remote.c parse_action_specific(xml, peer->host, device, op_requested_action(op), peer 2261 daemons/fenced/fenced_remote.c parse_action_specific(child, peer->host, device, PCMK_ACTION_OFF, peer 2266 daemons/fenced/fenced_remote.c parse_action_specific(child, peer->host, device, PCMK_ACTION_ON, peer 2287 daemons/fenced/fenced_remote.c peer_device_info_t *peer = pcmk__assert_alloc(1, peer 2291 daemons/fenced/fenced_remote.c peer->host = pcmk__str_copy(host); peer 2292 daemons/fenced/fenced_remote.c peer->devices = pcmk__strkey_table(free, free); peer 2300 daemons/fenced/fenced_remote.c add_device_properties(child, op, peer, device); peer 2304 daemons/fenced/fenced_remote.c peer->ndevices = g_hash_table_size(peer->devices); peer 2305 daemons/fenced/fenced_remote.c CRM_CHECK(ndevices == peer->ndevices, peer 2307 daemons/fenced/fenced_remote.c ndevices, pcmk__plural_s(ndevices), peer->ndevices)); peer 2309 daemons/fenced/fenced_remote.c op->query_results = g_list_insert_sorted(op->query_results, peer, sort_peers); peer 2310 daemons/fenced/fenced_remote.c return peer; peer 2336 daemons/fenced/fenced_remote.c peer_device_info_t *peer = NULL; peer 2370 daemons/fenced/fenced_remote.c peer = add_result(op, host, ndevices, dev); peer 2382 daemons/fenced/fenced_remote.c request_peer_fencing(op, peer); peer 2391 daemons/fenced/fenced_remote.c int nverified = count_peer_devices(op, peer, TRUE, peer 2396 daemons/fenced/fenced_remote.c if ((peer != NULL) && !host_is_target && nverified) { peer 2400 daemons/fenced/fenced_remote.c request_peer_fencing(op, peer); peer 2411 daemons/fenced/fenced_remote.c } else if ((peer != NULL) && (op->state == st_done)) { peer 2413 daemons/fenced/fenced_remote.c "Operation is %s", peer->host, peer 2414 daemons/fenced/fenced_remote.c peer->ndevices, pcmk__plural_s(peer->ndevices), peer 268 daemons/fenced/pacemaker-fenced.h void *create_remote_stonith_op(const char *client, xmlNode * request, gboolean peer); peer 275 daemons/fenced/pacemaker-fenced.h bool fencing_peer_active(crm_node_t *peer); peer 235 daemons/pacemakerd/pcmkd_messages.c .peer = NULL, peer 273 daemons/schedulerd/schedulerd_messages.c .peer = NULL, peer 153 include/crm/cluster/internal.h crm_node_t *crm_update_peer_proc(const char *source, crm_node_t * peer, peer 42 include/crm/common/messages_internal.h const char *peer; // Peer name (NULL if not via cluster) peer 95 include/crm/common/messages_internal.h } else if ((request != NULL) && (request->peer != NULL)) { peer 116 include/crm/common/messages_internal.h } else if ((request != NULL) && (request->peer != NULL)) { peer 117 include/crm/common/messages_internal.h return request->peer; peer 341 lib/cib/cib_ops.c const char *peer = crm_element_value(req, PCMK__XA_SRC); peer 352 lib/cib/cib_ops.c crm_err("Digest mis-match on replace from %s: %s vs. %s (expected)", peer, peer 357 lib/cib/cib_ops.c crm_info("Digest matched on replace from %s: %s", peer, digest); peer 388 lib/cib/cib_ops.c replace_updates, peer, admin_epoch, epoch, updates, reason); peer 393 lib/cib/cib_ops.c replace_admin_epoch, replace_epoch, replace_updates, peer); peer 523 lib/cluster/cluster.c crm_peer_uuid(crm_node_t *peer) peer 525 lib/cluster/cluster.c return pcmk__cluster_node_uuid(peer); peer 457 lib/cluster/corosync.c crm_node_t *peer = NULL; peer 490 lib/cluster/corosync.c peer = pcmk__get_node(cluster->nodeid, cluster->uname, NULL, peer 492 lib/cluster/corosync.c cluster->uuid = pcmk__corosync_uuid(peer); peer 463 lib/cluster/cpg.c const crm_node_t *peer = peer 467 lib/cluster/cpg.c if (peer->uname == NULL) { peer 472 lib/cluster/cpg.c msg->sender.size = strlen(peer->uname); peer 474 lib/cluster/cpg.c memcpy(msg->sender.uname, peer->uname, msg->sender.size); peer 599 lib/cluster/cpg.c peer_name(const crm_node_t *peer) peer 601 lib/cluster/cpg.c if (peer == NULL) { peer 603 lib/cluster/cpg.c } else if (peer->uname == NULL) { peer 606 lib/cluster/cpg.c return peer->uname; peer 627 lib/cluster/cpg.c crm_node_t *peer = peer 644 lib/cluster/cpg.c if (peer != NULL) { peer 652 lib/cluster/cpg.c cpg_group_name, event_counter, peer_name(peer), peer 655 lib/cluster/cpg.c if (peer != NULL) { peer 656 lib/cluster/cpg.c crm_update_peer_proc(__func__, peer, crm_proc_cpg, peer 666 lib/cluster/cpg.c cpg_group_name, event_counter, peer_name(peer), peer 729 lib/cluster/cpg.c crm_node_t *peer = pcmk__get_node(member_list[i].nodeid, NULL, NULL, peer 740 lib/cluster/cpg.c group_name->value, counter, peer_name(peer), peer 746 lib/cluster/cpg.c peer = crm_update_peer_proc(__func__, peer, crm_proc_cpg, peer 749 lib/cluster/cpg.c if (peer && peer->state && strcmp(peer->state, CRM_NODE_MEMBER)) { peer 759 lib/cluster/cpg.c if (peer->when_lost == 0) { peer 761 lib/cluster/cpg.c peer->when_lost = now; peer 763 lib/cluster/cpg.c } else if (now > (peer->when_lost + 60)) { peer 768 lib/cluster/cpg.c pcmk__update_peer_state(__func__, peer, CRM_NODE_MEMBER, 0); peer 835 lib/cluster/cpg.c crm_node_t *peer = NULL; peer 921 lib/cluster/cpg.c peer = pcmk__get_node(id, NULL, NULL, pcmk__node_search_cluster_member); peer 922 lib/cluster/cpg.c crm_update_peer_proc(__func__, peer, crm_proc_cpg, PCMK_VALUE_ONLINE); peer 35 lib/cluster/crmcluster_private.h char *pcmk__corosync_uuid(const crm_node_t *peer); peer 501 lib/cluster/election.c send_no_vote(crm_node_t *peer, struct vote *vote) peer 511 lib/cluster/election.c pcmk__cluster_send_message(peer, crm_msg_crmd, novote); peer 73 lib/cluster/membership.c #define set_peer_flags(peer, flags_to_set) do { \ peer 74 lib/cluster/membership.c (peer)->flags = pcmk__set_flags_as(__func__, __LINE__, LOG_TRACE, \ peer 75 lib/cluster/membership.c "Peer", (peer)->uname, \ peer 76 lib/cluster/membership.c (peer)->flags, (flags_to_set), \ peer 80 lib/cluster/membership.c #define clear_peer_flags(peer, flags_to_clear) do { \ peer 81 lib/cluster/membership.c (peer)->flags = pcmk__clear_flags_as(__func__, __LINE__, \ peer 83 lib/cluster/membership.c "Peer", (peer)->uname, \ peer 84 lib/cluster/membership.c (peer)->flags, (flags_to_clear), \