peer 58 attrd/commands.c void attrd_peer_update(crm_node_t *peer, xmlNode *xml, const char *host, bool filter); peer 59 attrd/commands.c void attrd_peer_sync(crm_node_t *peer, xmlNode *xml); peer 113 attrd/commands.c gboolean is_private, const char *peer, uint32_t peerid, const char *value) peer 121 attrd/commands.c crm_xml_add(xml, F_ATTRD_HOST, peer); peer 490 attrd/commands.c attrd_peer_clear_failure(crm_node_t *peer, xmlNode *xml) peer 520 attrd/commands.c attrd_peer_update(peer, xml, host, FALSE); peer 527 attrd/commands.c attrd_peer_message(crm_node_t *peer, xmlNode *xml) peer 538 attrd/commands.c crm_xml_add(xml, F_CRM_HOST_FROM, peer->uname); peer 548 attrd/commands.c peer_writer = strdup(peer->uname); peer 561 attrd/commands.c crm_trace("Compatibility update of %s from %s", name, peer->uname); peer 562 attrd/commands.c attrd_peer_update(peer, xml, host, FALSE); peer 569 attrd/commands.c crm_trace("Compatibility write-out of %s for %s from %s", a->id, op, peer->uname); peer 579 attrd/commands.c crm_trace("Compatibility write-out of %s for %s from %s", a->id, op, peer->uname); peer 588 attrd/commands.c && safe_str_neq(peer->uname, attrd_cluster->uname)) { peer 589 attrd/commands.c crm_notice("Detected another attribute writer: %s", peer->uname); peer 594 attrd/commands.c peer_writer = strdup(peer->uname); peer 595 attrd/commands.c crm_notice("Recorded attribute writer: %s", peer->uname); peer 597 attrd/commands.c } else if(safe_str_neq(peer->uname, peer_writer)) { peer 598 attrd/commands.c crm_notice("Recorded new attribute writer: %s (was %s)", peer->uname, peer_writer); peer 600 attrd/commands.c peer_writer = strdup(peer->uname); peer 605 attrd/commands.c attrd_peer_update(peer, xml, host, FALSE); peer 608 attrd/commands.c attrd_peer_sync(peer, xml); peer 611 attrd/commands.c attrd_peer_remove(host, TRUE, peer->uname); peer 617 attrd/commands.c attrd_peer_clear_failure(peer, xml); peer 620 attrd/commands.c && safe_str_neq(peer->uname, attrd_cluster->uname)) { peer 623 attrd/commands.c crm_info("Processing %s from %s", op, peer->uname); peer 626 attrd/commands.c attrd_peer_update(peer, child, host, TRUE); peer 632 attrd/commands.c attrd_peer_sync(crm_node_t *peer, xmlNode *xml) peer 647 attrd/commands.c crm_debug("Syncing %s[%s] = %s to %s", a->id, v->nodename, v->current, peer?peer->uname:"everyone"); peer 653 attrd/commands.c crm_debug("Syncing values to %s", peer?peer->uname:"everyone"); peer 654 attrd/commands.c send_attrd_message(peer, sync); peer 733 attrd/commands.c attrd_peer_update(crm_node_t *peer, xmlNode *xml, const char *host, bool filter) peer 813 attrd/commands.c attrd_peer_update(peer, xml, host, filter); peer 828 attrd/commands.c attr, host, v->current, value, peer->uname); peer 843 attrd/commands.c attr, host, v->current, value, peer->uname); peer 857 attrd/commands.c crm_trace("Unchanged %s[%s] from %s is %s", attr, host, peer->uname, value); peer 909 attrd/commands.c attrd_peer_change_cb(enum crm_status_type kind, crm_node_t *peer, const void *data) peer 912 attrd/commands.c if (safe_str_eq(peer->state, CRM_NODE_MEMBER)) { peer 917 attrd/commands.c && !is_set(peer->flags, crm_remote_node)) { peer 918 attrd/commands.c attrd_peer_sync(peer, NULL); peer 922 attrd/commands.c attrd_peer_remove(peer->uname, FALSE, "loss"); peer 923 attrd/commands.c if (peer_writer && safe_str_eq(peer->uname, peer_writer)) { peer 926 attrd/commands.c crm_notice("Lost attribute writer %s", peer->uname); peer 937 attrd/commands.c const char *peer = NULL; peer 970 attrd/commands.c while (g_hash_table_iter_next(&iter, (gpointer *) & peer, (gpointer *) & v)) { peer 971 attrd/commands.c do_crm_log(level, "Update %d for %s[%s]=%s: %s (%d)", call_id, a->id, peer, v->requested, pcmk_strerror(rc), rc); peer 1129 attrd/commands.c crm_node_t *peer = crm_get_peer_full(v->nodeid, v->nodename, CRM_GET_PEER_ANY); peer 1132 attrd/commands.c if (peer == NULL) { peer 1134 attrd/commands.c a->id, v->nodename, v->current, peer); peer 1139 attrd/commands.c if (peer->id && (v->nodeid == 0)) { peer 1141 attrd/commands.c v->nodeid = peer->id; peer 1151 attrd/commands.c if (peer->uuid == NULL) { peer 1154 attrd/commands.c a->id, v->nodename, v->current, peer); peer 1160 attrd/commands.c v->current, peer->uuid, peer->id, v->nodeid, peer->uname); peer 1161 attrd/commands.c build_update_element(xml_top, a, peer->uuid, v->current); peer 66 attrd/internal.h void attrd_peer_change_cb(enum crm_status_type type, crm_node_t *peer, const void *data); peer 1078 attrd/legacy.c crm_node_t *peer = crm_find_peer(0, host); peer 1082 attrd/legacy.c if (is_remote || (peer == NULL)) { peer 1088 attrd/legacy.c send_cluster_message(peer, crm_msg_attrd, msg, FALSE); peer 73 attrd/main.c crm_node_t *peer = crm_get_peer(nodeid, from); peer 75 attrd/main.c attrd_peer_message(peer, xml); peer 1487 cib/callbacks.c crm_node_t *peer = NULL; peer 1490 cib/callbacks.c peer = crm_get_peer(0, node); peer 1491 cib/callbacks.c if (safe_str_neq(peer->state, CRM_NODE_MEMBER)) { peer 1507 cib/callbacks.c crm_update_peer_proc(__FUNCTION__, peer, crm_proc_cib, status); peer 52 crmd/corosync.c crm_node_t *peer = NULL; peer 111 crmd/corosync.c peer = crm_get_peer(0, from); peer 112 crmd/corosync.c if (is_not_set(peer->processes, flag)) { peer 116 crmd/corosync.c crm_warn("Receiving messages from a node we think is dead: %s[%d]", peer->uname, peer 117 crmd/corosync.c peer->id); peer 118 crmd/corosync.c crm_update_peer_proc(__FUNCTION__, peer, flag, ONLINESTATUS); peer 108 crmd/crmd_utils.h void crmd_peer_down(crm_node_t *peer, bool full); peer 255 crmd/heartbeat.c crm_node_t *peer = crm_get_peer(0, fsa_our_uname); peer 257 crmd/heartbeat.c crm_update_peer_state(__FUNCTION__, peer, CRM_NODE_EVICTED, 0); peer 386 crmd/heartbeat.c crm_node_t *peer = NULL; peer 390 crmd/heartbeat.c peer = crm_get_peer(0, node); peer 397 crmd/heartbeat.c crm_update_peer_proc(__FUNCTION__, peer, crm_proc_crmd|crm_proc_heartbeat, OFFLINESTATUS); peer 400 crmd/heartbeat.c crm_update_peer_proc(__FUNCTION__, peer, crm_proc_heartbeat, ONLINESTATUS); peer 406 crmd/heartbeat.c update = create_node_state_update(peer, node_update_cluster, NULL, peer 417 crmd/heartbeat.c crm_node_t *peer = NULL; peer 424 crmd/heartbeat.c peer = crm_get_peer(0, node); peer 426 crmd/heartbeat.c if (safe_str_neq(peer->state, CRM_NODE_MEMBER)) { peer 450 crmd/heartbeat.c free(peer->uuid); peer 451 crmd/heartbeat.c peer->uuid = NULL; peer 454 crmd/heartbeat.c crm_update_peer_proc(__FUNCTION__, peer, crm_proc_crmd, status); peer 460 crmd/heartbeat.c update = create_node_state_update(peer, node_update_peer, NULL, peer 84 crmd/join_dc.c crm_node_t *peer = NULL; peer 91 crmd/join_dc.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &peer)) { peer 92 crmd/join_dc.c crm_update_peer_join(__FUNCTION__, peer, crm_join_none); peer 517 crmd/join_dc.c crm_node_t *peer = crm_get_peer(0, join_from); peer 519 crmd/join_dc.c if (safe_str_neq(op, CRM_OP_JOIN_CONFIRM) || peer == NULL) { peer 527 crmd/join_dc.c if (peer->join != crm_join_finalized) { peer 529 crmd/join_dc.c join_id, join_from, peer->join); peer 535 crmd/join_dc.c crm_update_peer_join(__FUNCTION__, peer, crm_join_nack); peer 539 crmd/join_dc.c crm_update_peer_join(__FUNCTION__, peer, crm_join_confirmed); peer 702 crmd/join_dc.c crm_node_t *peer; peer 706 crmd/join_dc.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &peer)) { peer 707 crmd/join_dc.c if(peer->join == phase) { peer 716 crmd/join_dc.c crm_node_t *peer; peer 720 crmd/join_dc.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) &peer)) { peer 721 crmd/join_dc.c do_crm_log(level, "join-%d: %s=%s", current_join_id, peer->uname, peer 722 crmd/join_dc.c crm_join_phase_str(peer->join)); peer 828 crmd/lrm.c crm_node_t *peer = NULL; peer 830 crmd/lrm.c peer = crm_get_peer_full(0, lrm_state->node_name, CRM_GET_PEER_ANY); peer 831 crmd/lrm.c CRM_CHECK(peer != NULL, return NULL); peer 833 crmd/lrm.c xml_state = create_node_state_update(peer, update_flags, NULL, peer 840 crmd/lrm.c crm_xml_add(xml_data, XML_ATTR_ID, peer->uuid); peer 1966 crmd/lrm.c crm_node_t *peer = NULL; peer 1977 crmd/lrm.c peer = crm_get_peer(0, fsa_our_uname); peer 1978 crmd/lrm.c update = create_node_state_update(peer, node_update_none, NULL, peer 95 crmd/te_actions.c crm_node_t *peer = NULL; peer 110 crmd/te_actions.c peer = crm_get_peer_full(0, target, CRM_GET_PEER_ANY); peer 112 crmd/te_actions.c CRM_CHECK(peer != NULL, return); peer 114 crmd/te_actions.c if (peer->state == NULL) { peer 122 crmd/te_actions.c if (peer->uuid == NULL) { peer 124 crmd/te_actions.c peer->uuid = strdup(uuid); peer 127 crmd/te_actions.c crmd_peer_down(peer, TRUE); peer 130 crmd/te_actions.c node_state = create_node_state_update(peer, flags, NULL, __FUNCTION__); peer 133 crmd/te_actions.c if (peer->flags & crm_remote_node) { peer 153 crmd/te_actions.c erase_status_tag(peer->uname, XML_CIB_TAG_LRM, cib_scope_local); peer 154 crmd/te_actions.c erase_status_tag(peer->uname, XML_TAG_TRANSIENT_NODEATTRS, cib_scope_local); peer 273 crmd/te_actions.c crm_node_t *peer = crm_get_peer(0, router_node); peer 274 crmd/te_actions.c crm_update_peer_expected(__FUNCTION__, peer, CRMD_JOINSTATE_DOWN); peer 527 crmd/te_actions.c struct te_peer_s *peer = p; peer 529 crmd/te_actions.c free(peer->name); peer 530 crmd/te_actions.c free(peer); peer 536 crmd/te_actions.c struct te_peer_s *peer = NULL; peer 543 crmd/te_actions.c while (g_hash_table_iter_next(&iter, NULL, (gpointer *) & peer)) { peer 544 crmd/te_actions.c peer->jobs = 0; peer 545 crmd/te_actions.c peer->migrate_jobs = 0; peer 329 crmd/te_utils.c crm_node_t *peer = crm_find_peer_full(0, st_event->target, CRM_GET_PEER_ANY); peer 333 crmd/te_utils.c if (peer == NULL) { peer 337 crmd/te_utils.c uuid = crm_peer_uuid(peer); peer 363 crmd/te_utils.c && !is_set(peer->flags, crm_remote_node)) { peer 384 crmd/te_utils.c if (is_set(peer->flags, crm_remote_node)) { peer 388 crmd/te_utils.c crmd_peer_down(peer, TRUE); peer 1014 crmd/utils.c void crmd_peer_down(crm_node_t *peer, bool full) peer 1016 crmd/utils.c if(full && peer->state == NULL) { peer 1017 crmd/utils.c crm_update_peer_state(__FUNCTION__, peer, CRM_NODE_LOST, 0); peer 1018 crmd/utils.c crm_update_peer_proc(__FUNCTION__, peer, crm_proc_none, NULL); peer 1020 crmd/utils.c crm_update_peer_join(__FUNCTION__, peer, crm_join_none); peer 1021 crmd/utils.c crm_update_peer_expected(__FUNCTION__, peer, CRMD_JOINSTATE_DOWN); peer 2385 fencing/commands.c bool fencing_peer_active(crm_node_t *peer) peer 2387 fencing/commands.c if (peer == NULL) { peer 2389 fencing/commands.c } else if (peer->uname == NULL) { peer 2391 fencing/commands.c } else if (is_set(peer->processes, crm_get_cluster_proc())) { peer 210 fencing/internal.h void *create_remote_stonith_op(const char *client, xmlNode * request, gboolean peer); peer 218 fencing/internal.h bool fencing_peer_active(crm_node_t *peer); peer 86 fencing/remote.c void call_remote_stonith(remote_fencing_op_t * op, st_query_result_t * peer); peer 151 fencing/remote.c count_peer_devices(const remote_fencing_op_t *op, const st_query_result_t *peer, peer 159 fencing/remote.c if (peer) { peer 160 fencing/remote.c g_hash_table_foreach(peer->devices, count_peer_device, &data); peer 176 fencing/remote.c find_peer_device(const remote_fencing_op_t *op, const st_query_result_t *peer, peer 179 fencing/remote.c device_properties_t *props = g_hash_table_lookup(peer->devices, device); peer 197 fencing/remote.c grab_peer_device(const remote_fencing_op_t *op, st_query_result_t *peer, peer 200 fencing/remote.c device_properties_t *props = find_peer_device(op, peer, device); peer 207 fencing/remote.c device, peer->host, count_peer_devices(op, peer, FALSE)); peer 837 fencing/remote.c crm_node_t *peer = NULL; peer 858 fencing/remote.c peer = crm_get_peer(0, other->originator); peer 859 fencing/remote.c if(fencing_peer_active(peer) == FALSE) { peer 959 fencing/remote.c create_remote_stonith_op(const char *client, xmlNode * request, gboolean peer) peer 971 fencing/remote.c if (peer && dev) { peer 987 fencing/remote.c if (peer && dev) { peer 1024 fencing/remote.c (peer peer 1136 fencing/remote.c st_query_result_t *peer = iter->data; peer 1139 fencing/remote.c peer->host, op->target, peer->ndevices, peer->tried, options); peer 1140 fencing/remote.c if ((options & FIND_PEER_SKIP_TARGET) && safe_str_eq(peer->host, op->target)) { peer 1143 fencing/remote.c if ((options & FIND_PEER_TARGET_ONLY) && safe_str_neq(peer->host, op->target)) { peer 1149 fencing/remote.c if (grab_peer_device(op, peer, device, verified_devices_only)) { peer 1150 fencing/remote.c return peer; peer 1153 fencing/remote.c } else if ((peer->tried == FALSE) peer 1154 fencing/remote.c && count_peer_devices(op, peer, verified_devices_only)) { peer 1158 fencing/remote.c return peer; peer 1169 fencing/remote.c st_query_result_t *peer = NULL; peer 1183 fencing/remote.c peer = find_best_peer(device, op, FIND_PEER_SKIP_TARGET|FIND_PEER_VERIFIED_ONLY); peer 1184 fencing/remote.c if (peer) { peer 1185 fencing/remote.c crm_trace("Found verified peer %s for %s", peer->host, device?device:"<any>"); peer 1186 fencing/remote.c return peer; peer 1195 fencing/remote.c peer = find_best_peer(device, op, FIND_PEER_SKIP_TARGET); peer 1196 fencing/remote.c if (peer) { peer 1197 fencing/remote.c crm_trace("Found best unverified peer %s", peer->host); peer 1198 fencing/remote.c return peer; peer 1205 fencing/remote.c peer = find_best_peer(device, op, FIND_PEER_TARGET_ONLY); peer 1206 fencing/remote.c if (peer) { peer 1207 fencing/remote.c crm_trace("%s will fence itself", peer->host); peer 1208 fencing/remote.c return peer; peer 1225 fencing/remote.c get_device_timeout(const remote_fencing_op_t *op, const st_query_result_t *peer, peer 1230 fencing/remote.c if (!peer || !device) { peer 1234 fencing/remote.c props = g_hash_table_lookup(peer->devices, device); peer 1246 fencing/remote.c const st_query_result_t *peer; peer 1268 fencing/remote.c timeout->peer, device_id); peer 1273 fencing/remote.c get_peer_timeout(const remote_fencing_op_t *op, const st_query_result_t *peer) peer 1278 fencing/remote.c timeout.peer = peer; peer 1281 fencing/remote.c g_hash_table_foreach(peer->devices, add_device_timeout, &timeout); peer 1311 fencing/remote.c const st_query_result_t *peer = iter->data; peer 1313 fencing/remote.c if (find_peer_device(op, peer, device_list->data)) { peer 1314 fencing/remote.c total_timeout += get_device_timeout(op, peer, peer 1436 fencing/remote.c call_remote_stonith(remote_fencing_op_t * op, st_query_result_t * peer) peer 1442 fencing/remote.c if (peer == NULL && !is_set(op->call_options, st_opt_topology)) { peer 1443 fencing/remote.c peer = stonith_choose_peer(op); peer 1447 fencing/remote.c int total_timeout = get_op_total_timeout(op, peer); peer 1461 fencing/remote.c peer = stonith_choose_peer(op); peer 1464 fencing/remote.c timeout = get_device_timeout(op, peer, device); peer 1467 fencing/remote.c if (peer) { peer 1482 fencing/remote.c get_device_timeout(op, peer, device); peer 1483 fencing/remote.c crm_info("Requesting that '%s' perform op '%s %s' with '%s' for %s (%ds)", peer->host, peer 1489 fencing/remote.c timeout_one = TIMEOUT_MULTIPLY_FACTOR * get_peer_timeout(op, peer); peer 1491 fencing/remote.c peer->host, op->target, op->action, op->client_name, timeout_one, stonith_watchdog_timeout_ms); peer 1509 fencing/remote.c && safe_str_eq(peer->host, op->target) peer 1521 fencing/remote.c send_cluster_message(crm_get_peer(0, peer->host), crm_msg_stonith_ng, remote_op, FALSE); peer 1522 fencing/remote.c peer->tried = TRUE; peer 1634 fencing/remote.c st_query_result_t *peer = iter->data; peer 1636 fencing/remote.c if (skip_target && safe_str_eq(peer->host, op->target)) { peer 1639 fencing/remote.c match = find_peer_device(op, peer, device->data); peer 1662 fencing/remote.c parse_action_specific(xmlNode *xml, const char *peer, const char *device, peer 1671 fencing/remote.c peer, device, action, props->custom_action_timeout[phase]); peer 1678 fencing/remote.c peer, device, props->delay_max[phase], action); peer 1685 fencing/remote.c peer, device, props->delay_base[phase], action); peer 1695 fencing/remote.c peer, device, action); peer 1706 fencing/remote.c peer, action, device); peer 446 include/crm/cluster/internal.h char *get_corosync_uuid(crm_node_t *peer); peer 453 include/crm/cluster/internal.h crm_node_t *crm_update_peer_proc(const char *source, crm_node_t * peer, peer 215 lib/cib/cib_ops.c const char *peer = crm_element_value(req, F_ORIG); peer 225 lib/cib/cib_ops.c crm_err("Digest mis-match on replace from %s: %s vs. %s (expected)", peer, peer 230 lib/cib/cib_ops.c crm_info("Digest matched on replace from %s: %s", peer, digest); peer 261 lib/cib/cib_ops.c replace_updates, peer, admin_epoch, epoch, updates, reason); peer 266 lib/cib/cib_ops.c replace_admin_epoch, replace_epoch, replace_updates, peer); peer 135 lib/cluster/cluster.c crm_peer_uuid(crm_node_t *peer) peer 141 lib/cluster/cluster.c if(peer == NULL) { peer 144 lib/cluster/cluster.c } else if (peer->uuid) { peer 145 lib/cluster/cluster.c return peer->uuid; peer 150 lib/cluster/cluster.c uuid = get_corosync_uuid(peer); peer 155 lib/cluster/cluster.c if (peer->uname) { peer 156 lib/cluster/cluster.c uuid = strdup(peer->uname); peer 161 lib/cluster/cluster.c uuid = get_heartbeat_uuid(peer->uname); peer 170 lib/cluster/cluster.c peer->uuid = uuid; peer 171 lib/cluster/cluster.c return peer->uuid; peer 341 lib/cluster/corosync.c crm_node_t *peer = NULL; peer 370 lib/cluster/corosync.c peer = crm_get_peer(cluster->nodeid, cluster->uname); peer 371 lib/cluster/corosync.c cluster->uuid = get_corosync_uuid(peer); peer 262 lib/cluster/cpg.c crm_node_t *peer = crm_get_peer(nodeid, NULL); peer 264 lib/cluster/cpg.c if (peer == NULL) { peer 267 lib/cluster/cpg.c } else if (peer->uname == NULL) { peer 272 lib/cluster/cpg.c msg->sender.size = strlen(peer->uname); peer 274 lib/cluster/cpg.c memcpy(msg->sender.uname, peer->uname, msg->sender.size); peer 375 lib/cluster/cpg.c crm_node_t *peer = crm_find_peer(left_list[i].nodeid, NULL); peer 379 lib/cluster/cpg.c (peer? peer->uname : "<none>"), counter, i); peer 380 lib/cluster/cpg.c if (peer) { peer 381 lib/cluster/cpg.c crm_update_peer_proc(__FUNCTION__, peer, crm_proc_cpg, OFFLINESTATUS); peer 391 lib/cluster/cpg.c crm_node_t *peer = crm_get_peer(member_list[i].nodeid, NULL); peer 395 lib/cluster/cpg.c (peer? peer->uname : "<none>"), counter, i); peer 401 lib/cluster/cpg.c peer = crm_update_peer_proc(__FUNCTION__, peer, crm_proc_cpg, ONLINESTATUS); peer 402 lib/cluster/cpg.c if(peer && peer->state && crm_is_peer_active(peer) == FALSE) { peer 406 lib/cluster/cpg.c if(peer->votes == 0) { peer 407 lib/cluster/cpg.c peer->votes = now; peer 409 lib/cluster/cpg.c } else if(now > (60 + peer->votes)) { peer 415 lib/cluster/cpg.c crm_err("Node %s[%u] appears to be online even though we think it is dead", peer->uname, peer->id); peer 416 lib/cluster/cpg.c if (crm_update_peer_state(__FUNCTION__, peer, CRM_NODE_MEMBER, 0)) { peer 417 lib/cluster/cpg.c peer->votes = 0; peer 442 lib/cluster/cpg.c crm_node_t *peer = NULL; peer 503 lib/cluster/cpg.c peer = crm_get_peer(id, NULL); peer 504 lib/cluster/cpg.c crm_update_peer_proc(__FUNCTION__, peer, crm_proc_cpg, ONLINESTATUS); peer 368 lib/cluster/heartbeat.c crm_node_t *peer = NULL; peer 373 lib/cluster/heartbeat.c peer = crm_get_peer(0, oc->m_array[offset].node_uname); peer 374 lib/cluster/heartbeat.c uuid = crm_peer_uuid(peer); peer 376 lib/cluster/heartbeat.c peer = crm_update_peer(__FUNCTION__, oc->m_array[offset].node_id, peer 379 lib/cluster/heartbeat.c if (peer == NULL) { peer 392 lib/cluster/heartbeat.c if (safe_str_eq(const_uname, peer->uname)) { peer 395 lib/cluster/heartbeat.c peer = crm_update_peer_proc(__FUNCTION__, peer, flags, ONLINESTATUS); peer 399 lib/cluster/heartbeat.c peer = crm_update_peer_proc(__FUNCTION__, peer, this_proc, OFFLINESTATUS); peer 401 lib/cluster/heartbeat.c return peer; peer 526 lib/cluster/heartbeat.c crm_node_t *peer = NULL; peer 561 lib/cluster/heartbeat.c peer = crm_get_peer(0, const_uname); peer 562 lib/cluster/heartbeat.c const_uuid = crm_peer_uuid(peer); peer 625 lib/cluster/heartbeat.c crm_node_t *peer = NULL; peer 640 lib/cluster/heartbeat.c peer = crm_get_peer(0, ha_node); peer 641 lib/cluster/heartbeat.c ha_node_uuid = crm_peer_uuid(peer); peer 391 lib/cluster/legacy.c crm_node_t *peer = NULL; peer 404 lib/cluster/legacy.c peer = crm_get_peer(cman_nodes[lpc].cn_nodeid, name); peer 406 lib/cluster/legacy.c crm_update_peer_state(__FUNCTION__, peer, CRM_NODE_MEMBER, crm_peer_seq); peer 408 lib/cluster/legacy.c } else if(peer->state) { peer 409 lib/cluster/legacy.c crm_update_peer_state(__FUNCTION__, peer, CRM_NODE_LOST, 0); peer 412 lib/cluster/legacy.c crm_info("State of node %s[%u] is still unknown", peer->uname, peer->id); peer 500 lib/cluster/legacy.c crm_node_t *peer = NULL; peer 557 lib/cluster/legacy.c peer = crm_get_peer(cluster->nodeid, cluster->uname); peer 558 lib/cluster/legacy.c crm_update_peer_proc(__FUNCTION__, peer, proc|crm_proc_plugin, ONLINESTATUS); peer 581 lib/cluster/legacy.c crm_node_t *peer = crm_get_peer(id, uname); peer 583 lib/cluster/legacy.c crm_update_peer_proc(__FUNCTION__, peer, children, NULL); peer 681 lib/cluster/legacy.c crm_node_t *peer = NULL; peer 723 lib/cluster/legacy.c peer = crm_get_peer(cluster->nodeid, cluster->uname); peer 724 lib/cluster/legacy.c cluster->uuid = get_corosync_uuid(peer); peer 2777 pengine/native.c resource_t *peer = pe_find_resource(top->children, clone_id); peer 2780 pengine/native.c while (peer) { peer 2781 pengine/native.c running = pe_hash_table_lookup(peer->known_on, node->details->id); peer 2789 pengine/native.c peer = pe_find_resource(data_set->resources, clone_id); peer 249 tools/crm_node.c crm_node_t *peer = calloc(1, sizeof(crm_node_t)); peer 251 tools/crm_node.c nodes = g_list_insert_sorted(nodes, peer, compare_node_uname); peer 252 tools/crm_node.c peer->uname = (char*)crm_element_value_copy(node, "uname"); peer 253 tools/crm_node.c peer->state = (char*)crm_element_value_copy(node, "state"); peer 254 tools/crm_node.c crm_element_value_int(node, "id", (int*)&peer->id); peer 258 tools/crm_node.c crm_node_t *peer = iter->data; peer 260 tools/crm_node.c fprintf(stdout, "%u %s %s\n", peer->id, peer->uname, peer->state?peer->state:""); peer 263 tools/crm_node.c if(safe_str_eq(peer->state, CRM_NODE_MEMBER)) { peer 264 tools/crm_node.c fprintf(stdout, "%s ", peer->uname); peer 268 tools/crm_node.c if(safe_str_eq(peer->state, CRM_NODE_MEMBER)) { peer 269 tools/crm_node.c fprintf(stdout, "%u ", peer->id); peer 259 tools/crm_resource_print.c resource_t *peer = cons->rsc_rh; peer 262 tools/crm_resource_print.c peer = cons->rsc_lh; peer 265 tools/crm_resource_print.c if (is_set(peer->flags, pe_rsc_allocating)) { peer 267 tools/crm_resource_print.c fprintf(stdout, "%s%-*s (id=%s - loop)\n", prefix, 80 - (4 * offset), peer->id, peer 274 tools/crm_resource_print.c cli_resource_print_colocation(peer, dependents, recursive, offset + 1); peer 280 tools/crm_resource_print.c peer->id, score, dependents ? "needs" : "with", role2text(cons->role_rh), peer 284 tools/crm_resource_print.c peer->id, score, cons->id); peer 286 tools/crm_resource_print.c cli_resource_print_location(peer, prefix); peer 290 tools/crm_resource_print.c cli_resource_print_colocation(peer, dependents, recursive, offset + 1); peer 370 tools/crm_resource_runtime.c resource_t *peer = cons->rsc_lh; peer 373 tools/crm_resource_runtime.c if (cons->score > 0 && is_not_set(peer->flags, pe_rsc_allocating)) { peer 375 tools/crm_resource_runtime.c crm_debug("Setting %s=%s for dependent resource %s", attr_name, attr_value, peer->id); peer 376 tools/crm_resource_runtime.c cli_resource_update_attribute(peer, peer->id, NULL, NULL,