peer 41 daemons/attrd/attrd_cib.c const char *peer = NULL; peer 81 daemons/attrd/attrd_cib.c while (g_hash_table_iter_next(&iter, (gpointer *) & peer, (gpointer *) & v)) { peer 82 daemons/attrd/attrd_cib.c do_crm_log(level, "* %s[%s]=%s", a->id, peer, v->requested); peer 257 daemons/attrd/attrd_cib.c crm_node_t *peer = crm_get_peer_full(v->nodeid, v->nodename, CRM_GET_PEER_ANY); peer 260 daemons/attrd/attrd_cib.c if (peer == NULL) { peer 267 daemons/attrd/attrd_cib.c if (peer->id && (v->nodeid == 0)) { peer 268 daemons/attrd/attrd_cib.c crm_trace("Learned ID %u for node %s", peer->id, v->nodename); peer 269 daemons/attrd/attrd_cib.c v->nodeid = peer->id; peer 279 daemons/attrd/attrd_cib.c if (peer->uuid == NULL) { peer 290 daemons/attrd/attrd_cib.c peer->uname, peer->uuid, peer->id, v->nodeid); peer 291 daemons/attrd/attrd_cib.c build_update_element(xml_top, a, peer->uuid, v->current); peer 29 daemons/attrd/attrd_corosync.c attrd_peer_message(crm_node_t *peer, xmlNode *xml) peer 34 daemons/attrd/attrd_corosync.c attrd_handle_election_op(peer, xml); peer 50 daemons/attrd/attrd_corosync.c .peer = peer->uname, peer 85 daemons/attrd/attrd_corosync.c crm_node_t *peer = crm_get_peer(nodeid, from); peer 87 daemons/attrd/attrd_corosync.c attrd_peer_message(peer, xml); peer 190 daemons/attrd/attrd_corosync.c attrd_peer_change_cb(enum crm_status_type kind, crm_node_t *peer, const void *data) peer 193 daemons/attrd/attrd_corosync.c bool is_remote = pcmk_is_set(peer->flags, crm_remote_node); peer 199 daemons/attrd/attrd_corosync.c peer->uname, state_text(peer->state)); peer 203 daemons/attrd/attrd_corosync.c if (!pcmk_is_set(peer->processes, crm_get_cluster_proc())) { peer 207 daemons/attrd/attrd_corosync.c peer->uname, (gone? "no longer" : "now")); peer 213 daemons/attrd/attrd_corosync.c peer->uname, state_text(peer->state), state_text(data)); peer 214 daemons/attrd/attrd_corosync.c if (pcmk__str_eq(peer->state, CRM_NODE_MEMBER, pcmk__str_casei)) { peer 219 daemons/attrd/attrd_corosync.c && !pcmk_is_set(peer->flags, crm_remote_node)) { peer 220 daemons/attrd/attrd_corosync.c attrd_peer_sync(peer, NULL); peer 224 daemons/attrd/attrd_corosync.c attrd_peer_remove(peer->uname, false, "loss"); peer 232 daemons/attrd/attrd_corosync.c attrd_remove_voter(peer); peer 236 daemons/attrd/attrd_corosync.c cache_remote_node(peer->uname); peer 252 daemons/attrd/attrd_corosync.c update_attr_on_host(attribute_t *a, const crm_node_t *peer, const xmlNode *xml, peer 264 daemons/attrd/attrd_corosync.c attr, host, v->current, value, peer->uname); peer 271 daemons/attrd/attrd_corosync.c pcmk__s(value, "(unset)"), peer->uname, peer 300 daemons/attrd/attrd_corosync.c attr, host, peer->uname, value); peer 303 daemons/attrd/attrd_corosync.c crm_trace("Unchanged %s[%s] from %s is %s", attr, host, peer->uname, value); peer 319 daemons/attrd/attrd_corosync.c attrd_peer_update_one(const crm_node_t *peer, xmlNode *xml, bool filter) peer 348 daemons/attrd/attrd_corosync.c update_attr_on_host(a, peer, xml, attr, value, host, filter, is_force_write); peer 353 daemons/attrd/attrd_corosync.c update_attr_on_host(a, peer, xml, attr, value, host, filter, is_force_write); peer 426 daemons/attrd/attrd_corosync.c crm_node_t *peer = crm_get_peer(0, request->peer); peer 447 daemons/attrd/attrd_corosync.c attrd_peer_update(peer, xml, host, false); peer 462 daemons/attrd/attrd_corosync.c attrd_peer_sync_response(const crm_node_t *peer, bool peer_won, xmlNode *xml) peer 465 daemons/attrd/attrd_corosync.c peer->uname); peer 477 daemons/attrd/attrd_corosync.c attrd_peer_update(peer, child, peer 521 daemons/attrd/attrd_corosync.c attrd_peer_sync(crm_node_t *peer, xmlNode *xml) peer 536 daemons/attrd/attrd_corosync.c crm_debug("Syncing %s[%s] = %s to %s", a->id, v->nodename, v->current, peer?peer->uname:"everyone"); peer 541 daemons/attrd/attrd_corosync.c crm_debug("Syncing values to %s", peer?peer->uname:"everyone"); peer 542 daemons/attrd/attrd_corosync.c attrd_send_message(peer, sync); peer 568 daemons/attrd/attrd_corosync.c attrd_peer_update(const crm_node_t *peer, xmlNode *xml, const char *host, peer 575 daemons/attrd/attrd_corosync.c attrd_peer_update_one(peer, child, filter); peer 579 daemons/attrd/attrd_corosync.c attrd_peer_update_one(peer, xml, filter); peer 65 daemons/attrd/attrd_elections.c attrd_handle_election_op(const crm_node_t *peer, xmlNode *xml) peer 70 daemons/attrd/attrd_elections.c crm_xml_add(xml, F_CRM_HOST_FROM, peer->uname); peer 97 daemons/attrd/attrd_elections.c pcmk__str_update(&peer_writer, peer->uname); peer 108 daemons/attrd/attrd_elections.c crm_info("Ignoring election op from %s due to error", peer->uname); peer 114 daemons/attrd/attrd_elections.c attrd_check_for_new_writer(const crm_node_t *peer, const xmlNode *xml) peer 121 daemons/attrd/attrd_elections.c && !pcmk__str_eq(peer->uname, attrd_cluster->uname, pcmk__str_casei)) { peer 123 daemons/attrd/attrd_elections.c peer->uname); peer 126 daemons/attrd/attrd_elections.c } else if (!pcmk__str_eq(peer->uname, peer_writer, pcmk__str_casei)) { peer 128 daemons/attrd/attrd_elections.c peer->uname, (peer_writer? peer_writer : "unset")); peer 129 daemons/attrd/attrd_elections.c pcmk__str_update(&peer_writer, peer->uname); peer 144 daemons/attrd/attrd_elections.c attrd_remove_voter(const crm_node_t *peer) peer 146 daemons/attrd/attrd_elections.c election_remove(writer, peer->uname); peer 147 daemons/attrd/attrd_elections.c if (peer_writer && pcmk__str_eq(peer->uname, peer_writer, pcmk__str_casei)) { peer 150 daemons/attrd/attrd_elections.c crm_notice("Lost attribute writer %s", peer->uname); peer 170 daemons/attrd/attrd_elections.c crm_debug("Checking election status upon loss of voter %s", peer->uname); peer 489 daemons/attrd/attrd_ipc.c .peer = NULL, peer 37 daemons/attrd/attrd_messages.c if (request->peer != NULL) { peer 52 daemons/attrd/attrd_messages.c if (request->peer != NULL) { peer 66 daemons/attrd/attrd_messages.c if (request->peer != NULL) { peer 76 daemons/attrd/attrd_messages.c if (request->peer != NULL) { peer 78 daemons/attrd/attrd_messages.c attrd_peer_remove(host, true, request->peer); peer 89 daemons/attrd/attrd_messages.c if (request->peer != NULL) { peer 99 daemons/attrd/attrd_messages.c if (request->peer != NULL) { peer 100 daemons/attrd/attrd_messages.c crm_node_t *peer = crm_get_peer(0, request->peer); peer 102 daemons/attrd/attrd_messages.c attrd_peer_sync(peer, request->xml); peer 116 daemons/attrd/attrd_messages.c if (request->peer != NULL) { peer 117 daemons/attrd/attrd_messages.c crm_node_t *peer = crm_get_peer(0, request->peer); peer 118 daemons/attrd/attrd_messages.c bool peer_won = attrd_check_for_new_writer(peer, request->xml); peer 120 daemons/attrd/attrd_messages.c if (!pcmk__str_eq(peer->uname, attrd_cluster->uname, pcmk__str_casei)) { peer 121 daemons/attrd/attrd_messages.c attrd_peer_sync_response(peer, peer_won, request->xml); peer 133 daemons/attrd/attrd_messages.c if (request->peer != NULL) { peer 135 daemons/attrd/attrd_messages.c crm_node_t *peer = crm_get_peer(0, request->peer); peer 137 daemons/attrd/attrd_messages.c attrd_peer_update(peer, request->xml, host, false); peer 108 daemons/attrd/pacemaker-attrd.h void attrd_handle_election_op(const crm_node_t *peer, xmlNode *xml); peer 109 daemons/attrd/pacemaker-attrd.h bool attrd_check_for_new_writer(const crm_node_t *peer, const xmlNode *xml); peer 111 daemons/attrd/pacemaker-attrd.h void attrd_remove_voter(const crm_node_t *peer); peer 150 daemons/attrd/pacemaker-attrd.h void attrd_peer_update(const crm_node_t *peer, xmlNode *xml, const char *host, peer 152 daemons/attrd/pacemaker-attrd.h void attrd_peer_sync(crm_node_t *peer, xmlNode *xml); peer 155 daemons/attrd/pacemaker-attrd.h void attrd_peer_sync_response(const crm_node_t *peer, bool peer_won, 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 828 daemons/controld/controld_execd.c peer = crm_get_peer_full(0, lrm_state->node_name, CRM_GET_PEER_ANY); peer 829 daemons/controld/controld_execd.c CRM_CHECK(peer != NULL, return NULL); peer 831 daemons/controld/controld_execd.c xml_state = create_node_state_update(peer, peer 839 daemons/controld/controld_execd.c crm_xml_add(xml_data, XML_ATTR_ID, peer->uuid); peer 2067 daemons/controld/controld_execd.c crm_node_t *peer = NULL; peer 2078 daemons/controld/controld_execd.c peer = crm_get_peer(0, fsa_our_uname); peer 2079 daemons/controld/controld_execd.c update = create_node_state_update(peer, node_update_none, NULL, peer 177 daemons/controld/controld_fencing.c crm_node_t *peer = NULL; peer 192 daemons/controld/controld_fencing.c peer = crm_get_peer_full(0, target, CRM_GET_PEER_ANY); peer 194 daemons/controld/controld_fencing.c CRM_CHECK(peer != NULL, return); peer 196 daemons/controld/controld_fencing.c if (peer->state == NULL) { peer 204 daemons/controld/controld_fencing.c if (peer->uuid == NULL) { peer 206 daemons/controld/controld_fencing.c peer->uuid = strdup(uuid); peer 209 daemons/controld/controld_fencing.c crmd_peer_down(peer, TRUE); peer 212 daemons/controld/controld_fencing.c node_state = create_node_state_update(peer, flags, NULL, __func__); peer 215 daemons/controld/controld_fencing.c if (peer->flags & crm_remote_node) { peer 235 daemons/controld/controld_fencing.c controld_delete_node_state(peer->uname, controld_section_all, peer 544 daemons/controld/controld_fencing.c crm_node_t *peer = pcmk__search_known_node_cache(0, event->target, peer 548 daemons/controld/controld_fencing.c if (peer == NULL) { peer 552 daemons/controld/controld_fencing.c uuid = crm_peer_uuid(peer); peer 579 daemons/controld/controld_fencing.c && !pcmk_is_set(peer->flags, crm_remote_node)) { peer 600 daemons/controld/controld_fencing.c if (pcmk_is_set(peer->flags, crm_remote_node)) { peer 604 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 159 daemons/controld/controld_te_actions.c crm_node_t *peer = crm_get_peer(0, router_node); peer 161 daemons/controld/controld_te_actions.c pcmk__update_peer_expected(__func__, peer, CRMD_JOINSTATE_DOWN); peer 461 daemons/controld/controld_te_actions.c struct te_peer_s *peer = p; peer 463 daemons/controld/controld_te_actions.c free(peer->name); peer 464 daemons/controld/controld_te_actions.c free(peer); peer 470 daemons/controld/controld_te_actions.c struct te_peer_s *peer = NULL; peer 477 daemons/controld/controld_te_actions.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & peer)) { peer 478 daemons/controld/controld_te_actions.c peer->jobs = 0; peer 479 daemons/controld/controld_te_actions.c peer->migrate_jobs = 0; peer 749 daemons/controld/controld_utils.c void crmd_peer_down(crm_node_t *peer, bool full) peer 751 daemons/controld/controld_utils.c if(full && peer->state == NULL) { peer 752 daemons/controld/controld_utils.c pcmk__update_peer_state(__func__, peer, CRM_NODE_LOST, 0); peer 753 daemons/controld/controld_utils.c crm_update_peer_proc(__func__, peer, crm_proc_none, NULL); peer 755 daemons/controld/controld_utils.c crm_update_peer_join(__func__, peer, crm_join_none); peer 756 daemons/controld/controld_utils.c pcmk__update_peer_expected(__func__, peer, CRMD_JOINSTATE_DOWN); peer 96 daemons/controld/controld_utils.h void crmd_peer_down(crm_node_t *peer, bool full); peer 3003 daemons/fenced/fenced_commands.c bool fencing_peer_active(crm_node_t *peer) peer 3005 daemons/fenced/fenced_commands.c if (peer == NULL) { peer 3007 daemons/fenced/fenced_commands.c } else if (peer->uname == NULL) { peer 3009 daemons/fenced/fenced_commands.c } else if (pcmk_is_set(peer->processes, crm_get_cluster_proc())) { peer 3209 daemons/fenced/fenced_commands.c if (request->peer != NULL) { peer 3236 daemons/fenced/fenced_commands.c pcmk__str_update(&query->remote_peer, request->peer); peer 3304 daemons/fenced/fenced_commands.c if ((request->peer != NULL) || stand_alone) { peer 3348 daemons/fenced/fenced_commands.c request->peer, action, target, peer 3400 daemons/fenced/fenced_commands.c stonith_fence_history(request->xml, &data, request->peer, peer 3578 daemons/fenced/fenced_commands.c request->peer, request->ipc_client); peer 3658 daemons/fenced/fenced_commands.c .peer = remote_peer, peer 85 daemons/fenced/fenced_remote.c peer_device_info_t *peer); peer 101 daemons/fenced/fenced_remote.c peer_device_info_t *peer = data; peer 103 daemons/fenced/fenced_remote.c g_hash_table_destroy(peer->devices); peer 104 daemons/fenced/fenced_remote.c free(peer->host); peer 105 daemons/fenced/fenced_remote.c free(peer); peer 159 daemons/fenced/fenced_remote.c const peer_device_info_t *peer, gboolean verified_only, uint32_t support_on_action_only) peer 167 daemons/fenced/fenced_remote.c if (peer) { peer 168 daemons/fenced/fenced_remote.c g_hash_table_foreach(peer->devices, count_peer_device, &data); peer 184 daemons/fenced/fenced_remote.c find_peer_device(const remote_fencing_op_t *op, const peer_device_info_t *peer, peer 187 daemons/fenced/fenced_remote.c device_properties_t *props = g_hash_table_lookup(peer->devices, device); peer 208 daemons/fenced/fenced_remote.c grab_peer_device(const remote_fencing_op_t *op, peer_device_info_t *peer, peer 211 daemons/fenced/fenced_remote.c device_properties_t *props = find_peer_device(op, peer, device, peer 219 daemons/fenced/fenced_remote.c device, peer->host, count_peer_devices(op, peer, FALSE, st_device_supports_none)); peer 1129 daemons/fenced/fenced_remote.c create_remote_stonith_op(const char *client, xmlNode *request, gboolean peer) peer 1140 daemons/fenced/fenced_remote.c if (peer && dev) { peer 1160 daemons/fenced/fenced_remote.c if (peer && dev) { peer 1205 daemons/fenced/fenced_remote.c (peer && dev)? "Recorded" : "Generated", op->id, op->action, peer 1354 daemons/fenced/fenced_remote.c peer_device_info_t *peer = iter->data; peer 1357 daemons/fenced/fenced_remote.c peer->host, op->target, peer->ndevices, peer 1358 daemons/fenced/fenced_remote.c pcmk__plural_s(peer->ndevices), peer->tried, options); peer 1359 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_SKIP_TARGET) && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { peer 1362 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_TARGET_ONLY) && !pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { peer 1368 daemons/fenced/fenced_remote.c if (grab_peer_device(op, peer, device, verified_devices_only)) { peer 1369 daemons/fenced/fenced_remote.c return peer; peer 1372 daemons/fenced/fenced_remote.c } else if (!peer->tried peer 1373 daemons/fenced/fenced_remote.c && count_peer_devices(op, peer, verified_devices_only, peer 1377 daemons/fenced/fenced_remote.c return peer; peer 1388 daemons/fenced/fenced_remote.c peer_device_info_t *peer = NULL; peer 1402 daemons/fenced/fenced_remote.c peer = find_best_peer(device, op, FIND_PEER_SKIP_TARGET|FIND_PEER_VERIFIED_ONLY); peer 1403 daemons/fenced/fenced_remote.c if (peer) { peer 1404 daemons/fenced/fenced_remote.c crm_trace("Found verified peer %s for %s", peer->host, device?device:"<any>"); peer 1405 daemons/fenced/fenced_remote.c return peer; peer 1414 daemons/fenced/fenced_remote.c peer = find_best_peer(device, op, FIND_PEER_SKIP_TARGET); peer 1415 daemons/fenced/fenced_remote.c if (peer) { peer 1416 daemons/fenced/fenced_remote.c crm_trace("Found best unverified peer %s", peer->host); peer 1417 daemons/fenced/fenced_remote.c return peer; peer 1424 daemons/fenced/fenced_remote.c peer = find_best_peer(device, op, FIND_PEER_TARGET_ONLY); peer 1425 daemons/fenced/fenced_remote.c if (peer) { peer 1426 daemons/fenced/fenced_remote.c crm_trace("%s will fence itself", peer->host); peer 1427 daemons/fenced/fenced_remote.c return peer; peer 1445 daemons/fenced/fenced_remote.c const peer_device_info_t *peer, const char *device) peer 1449 daemons/fenced/fenced_remote.c if (!peer || !device) { peer 1453 daemons/fenced/fenced_remote.c props = g_hash_table_lookup(peer->devices, device); peer 1465 daemons/fenced/fenced_remote.c const peer_device_info_t *peer; peer 1487 daemons/fenced/fenced_remote.c timeout->peer, device_id); peer 1492 daemons/fenced/fenced_remote.c get_peer_timeout(const remote_fencing_op_t *op, const peer_device_info_t *peer) peer 1497 daemons/fenced/fenced_remote.c timeout.peer = peer; peer 1500 daemons/fenced/fenced_remote.c g_hash_table_foreach(peer->devices, add_device_timeout, &timeout); peer 1536 daemons/fenced/fenced_remote.c const peer_device_info_t *peer = iter->data; peer 1546 daemons/fenced/fenced_remote.c if (find_peer_device(op, peer, device_list->data, peer 1548 daemons/fenced/fenced_remote.c total_timeout += get_device_timeout(op, peer, peer 1562 daemons/fenced/fenced_remote.c peer_device_info_t *peer = iter2->data; peer 1563 daemons/fenced/fenced_remote.c if (find_peer_device(op, peer, iter->data, st_device_supports_on)) { peer 1564 daemons/fenced/fenced_remote.c total_timeout += get_device_timeout(op, peer, iter->data); peer 1725 daemons/fenced/fenced_remote.c request_peer_fencing(remote_fencing_op_t *op, peer_device_info_t *peer) peer 1766 daemons/fenced/fenced_remote.c if ((peer == NULL) && !pcmk_is_set(op->call_options, st_opt_topology)) { peer 1767 daemons/fenced/fenced_remote.c peer = stonith_choose_peer(op); peer 1771 daemons/fenced/fenced_remote.c op->total_timeout = TIMEOUT_MULTIPLY_FACTOR * get_op_total_timeout(op, peer); peer 1788 daemons/fenced/fenced_remote.c peer = stonith_choose_peer(op); peer 1791 daemons/fenced/fenced_remote.c timeout = get_device_timeout(op, peer, device); peer 1794 daemons/fenced/fenced_remote.c if (peer) { peer 1810 daemons/fenced/fenced_remote.c get_device_timeout(op, peer, device); peer 1813 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, device, peer 1818 daemons/fenced/fenced_remote.c timeout_one = TIMEOUT_MULTIPLY_FACTOR * get_peer_timeout(op, peer); peer 1821 daemons/fenced/fenced_remote.c peer->host, op->action, op->target, op->client_name, peer 1832 daemons/fenced/fenced_remote.c || (pcmk__str_eq(peer->host, op->target, pcmk__str_casei) peer 1856 daemons/fenced/fenced_remote.c send_cluster_message(crm_get_peer(0, peer->host), crm_msg_stonith_ng, remote_op, FALSE); peer 1857 daemons/fenced/fenced_remote.c peer->tried = TRUE; peer 1984 daemons/fenced/fenced_remote.c peer_device_info_t *peer = iter->data; peer 1986 daemons/fenced/fenced_remote.c if (skip_target && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { peer 1989 daemons/fenced/fenced_remote.c match = find_peer_device(op, peer, device->data, st_device_supports_none); peer 2013 daemons/fenced/fenced_remote.c parse_action_specific(const xmlNode *xml, const char *peer, const char *device, peer 2022 daemons/fenced/fenced_remote.c peer, device, action, props->custom_action_timeout[phase]); peer 2029 daemons/fenced/fenced_remote.c peer, device, props->delay_max[phase], action); peer 2036 daemons/fenced/fenced_remote.c peer, device, props->delay_base[phase], action); peer 2046 daemons/fenced/fenced_remote.c peer, device, action); peer 2057 daemons/fenced/fenced_remote.c peer, action, device); peer 2072 daemons/fenced/fenced_remote.c peer_device_info_t *peer, const char *device) peer 2081 daemons/fenced/fenced_remote.c g_hash_table_insert(peer->devices, strdup(device), props); peer 2087 daemons/fenced/fenced_remote.c peer->host, device); peer 2095 daemons/fenced/fenced_remote.c parse_action_specific(xml, peer->host, device, op_requested_action(op), peer 2104 daemons/fenced/fenced_remote.c parse_action_specific(child, peer->host, device, "off", peer 2107 daemons/fenced/fenced_remote.c parse_action_specific(child, peer->host, device, "on", peer 2128 daemons/fenced/fenced_remote.c peer_device_info_t *peer = calloc(1, sizeof(peer_device_info_t)); peer 2133 daemons/fenced/fenced_remote.c CRM_CHECK(peer != NULL, return NULL); peer 2134 daemons/fenced/fenced_remote.c peer->host = strdup(host); peer 2135 daemons/fenced/fenced_remote.c peer->devices = pcmk__strkey_table(free, free); peer 2143 daemons/fenced/fenced_remote.c add_device_properties(child, op, peer, device); peer 2147 daemons/fenced/fenced_remote.c peer->ndevices = g_hash_table_size(peer->devices); peer 2148 daemons/fenced/fenced_remote.c CRM_CHECK(ndevices == peer->ndevices, peer 2150 daemons/fenced/fenced_remote.c ndevices, pcmk__plural_s(ndevices), peer->ndevices)); peer 2152 daemons/fenced/fenced_remote.c op->query_results = g_list_insert_sorted(op->query_results, peer, sort_peers); peer 2153 daemons/fenced/fenced_remote.c return peer; peer 2179 daemons/fenced/fenced_remote.c peer_device_info_t *peer = NULL; peer 2213 daemons/fenced/fenced_remote.c peer = add_result(op, host, ndevices, dev); peer 2225 daemons/fenced/fenced_remote.c request_peer_fencing(op, peer); peer 2234 daemons/fenced/fenced_remote.c int nverified = count_peer_devices(op, peer, TRUE, peer 2239 daemons/fenced/fenced_remote.c if ((peer != NULL) && !host_is_target && nverified) { peer 2243 daemons/fenced/fenced_remote.c request_peer_fencing(op, peer); peer 2254 daemons/fenced/fenced_remote.c } else if ((peer != NULL) && (op->state == st_done)) { peer 2256 daemons/fenced/fenced_remote.c "Operation is %s", peer->host, peer 2257 daemons/fenced/fenced_remote.c peer->ndevices, pcmk__plural_s(peer->ndevices), peer 261 daemons/fenced/pacemaker-fenced.h void *create_remote_stonith_op(const char *client, xmlNode * request, gboolean peer); peer 268 daemons/fenced/pacemaker-fenced.h bool fencing_peer_active(crm_node_t *peer); peer 232 daemons/pacemakerd/pcmkd_messages.c .peer = NULL, peer 268 daemons/schedulerd/schedulerd_messages.c .peer = NULL, 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 211 lib/cib/cib_ops.c const char *peer = crm_element_value(req, F_ORIG); peer 221 lib/cib/cib_ops.c crm_err("Digest mis-match on replace from %s: %s vs. %s (expected)", peer, peer 226 lib/cib/cib_ops.c crm_info("Digest matched on replace from %s: %s", peer, digest); peer 257 lib/cib/cib_ops.c replace_updates, peer, admin_epoch, epoch, updates, reason); peer 262 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), \