nodeid 137 daemons/attrd/attrd_alerts.c attrd_send_attribute_alert(const char *node, int nodeid, nodeid 144 daemons/attrd/attrd_alerts.c node, nodeid, attr, value); nodeid 196 daemons/attrd/attrd_commands.c int nodeid = 0; nodeid 198 daemons/attrd/attrd_commands.c crm_element_value_int(xml, PCMK__XA_ATTR_NODE_ID, &nodeid); nodeid 199 daemons/attrd/attrd_commands.c if (nodeid > 0) { nodeid 200 daemons/attrd/attrd_commands.c crm_node_t *node = pcmk__search_cluster_node_cache(nodeid, NULL); nodeid 208 daemons/attrd/attrd_commands.c host_alloc = get_node_name(nodeid); nodeid 280 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_NODE_ID, attrd_cluster->nodeid); nodeid 655 daemons/attrd/attrd_commands.c v->nodename, v->nodeid, v->current, FALSE); nodeid 759 daemons/attrd/attrd_commands.c v->nodename, v->nodeid, v->current, (a->timeout_ms && a->timer ? TRUE : FALSE)); nodeid 877 daemons/attrd/attrd_commands.c a->is_private, v->nodename, v->nodeid, v->current, FALSE); nodeid 926 daemons/attrd/attrd_commands.c if ((v->nodeid == 0) && (v->is_remote == FALSE) nodeid 928 daemons/attrd/attrd_commands.c (int*)&v->nodeid) == 0)) { nodeid 930 daemons/attrd/attrd_commands.c crm_node_t *known_peer = crm_get_peer(v->nodeid, host); nodeid 1118 daemons/attrd/attrd_commands.c build_update_element(xmlNode *parent, attribute_t *a, const char *nodeid, const char *value) nodeid 1124 daemons/attrd/attrd_commands.c crm_xml_add(xml_obj, XML_ATTR_ID, nodeid); nodeid 1127 daemons/attrd/attrd_commands.c crm_xml_add(xml_obj, XML_ATTR_ID, nodeid); nodeid 1133 daemons/attrd/attrd_commands.c crm_xml_set_id(xml_obj, "%s-%s", XML_CIB_TAG_STATUS, nodeid); nodeid 1161 daemons/attrd/attrd_commands.c a_v->nodeid = v->nodeid; nodeid 1181 daemons/attrd/attrd_commands.c rc = attrd_send_attribute_alert(at->nodename, at->nodeid, nodeid 1184 daemons/attrd/attrd_commands.c a->id, at->nodename, at->current, at->nodeid, rc); nodeid 1247 daemons/attrd/attrd_commands.c crm_node_t *peer = crm_get_peer_full(v->nodeid, v->nodename, CRM_GET_PEER_ANY); nodeid 1257 daemons/attrd/attrd_commands.c if (peer->id && (v->nodeid == 0)) { nodeid 1259 daemons/attrd/attrd_commands.c v->nodeid = peer->id; nodeid 1280 daemons/attrd/attrd_commands.c peer->uname, peer->uuid, peer->id, v->nodeid); nodeid 43 daemons/attrd/pacemaker-attrd.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) nodeid 48 daemons/attrd/pacemaker-attrd.c char *data = pcmk_message_common_cs(handle, nodeid, pid, msg, &kind, &from); nodeid 59 daemons/attrd/pacemaker-attrd.c crm_err("Bad message of class %d received from %s[%u]: '%.120s'", kind, from, nodeid, data); nodeid 61 daemons/attrd/pacemaker-attrd.c crm_node_t *peer = crm_get_peer(nodeid, from); nodeid 71 daemons/attrd/pacemaker-attrd.h int attrd_send_attribute_alert(const char *node, int nodeid, nodeid 107 daemons/attrd/pacemaker-attrd.h uint32_t nodeid; nodeid 239 daemons/based/pacemaker-based.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) nodeid 244 daemons/based/pacemaker-based.c char *data = pcmk_message_common_cs(handle, nodeid, pid, msg, &kind, &from); nodeid 30 daemons/controld/controld_corosync.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) nodeid 34 daemons/controld/controld_corosync.c char *data = pcmk_message_common_cs(handle, nodeid, pid, msg, &kind, &from); nodeid 2396 daemons/fenced/fenced_commands.c int nodeid; nodeid 2399 daemons/fenced/fenced_commands.c pcmk__scan_min_int(host, &nodeid, 0); nodeid 2400 daemons/fenced/fenced_commands.c node = pcmk__search_known_node_cache(nodeid, NULL, CRM_GET_PEER_ANY); nodeid 443 daemons/fenced/fenced_history.c int nodeid; nodeid 446 daemons/fenced/fenced_history.c pcmk__scan_min_int(target, &nodeid, 0); nodeid 447 daemons/fenced/fenced_history.c node = pcmk__search_known_node_cache(nodeid, NULL, CRM_GET_PEER_ANY); nodeid 1085 daemons/fenced/fenced_remote.c int nodeid; nodeid 1088 daemons/fenced/fenced_remote.c pcmk__scan_min_int(op->target, &nodeid, 0); nodeid 1089 daemons/fenced/fenced_remote.c node = pcmk__search_known_node_cache(nodeid, NULL, CRM_GET_PEER_ANY); nodeid 192 daemons/fenced/pacemaker-fenced.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) nodeid 197 daemons/fenced/pacemaker-fenced.c char *data = pcmk_message_common_cs(handle, nodeid, pid, msg, &kind, &from); nodeid 140 daemons/pacemakerd/pcmkd_corosync.c uint32_t nodeid; nodeid 177 daemons/pacemakerd/pcmkd_corosync.c cs_repeat(retries, 30, rc = corosync_cfg_local_get(cfg_handle, &nodeid)); nodeid 183 daemons/pacemakerd/pcmkd_corosync.c crm_debug("Corosync reports local node ID is %lu", (unsigned long) nodeid); nodeid 80 include/crm/cluster.h uint32_t nodeid; nodeid 158 include/crm/cluster.h char *pcmk_message_common_cs(cpg_handle_t handle, uint32_t nodeid, uint32_t pid, void *msg, nodeid 191 include/crm/cluster.h char *get_node_name(uint32_t nodeid); nodeid 27 include/crm/cluster/compat.h int crm_terminate_member(int nodeid, const char *uname, void *unused); nodeid 30 include/crm/cluster/compat.h int crm_terminate_member_no_mainloop(int nodeid, const char *uname, nodeid 135 include/crm/common/ipc.h uint32_t nodeid); nodeid 92 include/crm/common/ipc_controld.h int pcmk_controld_api_node_info(pcmk_ipc_api_t *api, uint32_t nodeid); nodeid 23 include/crm/lrmd_internal.h const char *node, uint32_t nodeid, nodeid 26 include/crm/lrmd_internal.h const char *node, uint32_t nodeid, const char *state); nodeid 453 include/crm/stonith-ng.h int stonith_api_kick(uint32_t nodeid, const char *uname, int timeout, bool off); nodeid 454 include/crm/stonith-ng.h time_t stonith_api_time(uint32_t nodeid, const char *uname, bool in_progress); nodeid 498 include/crm/stonith-ng.h typedef int (*st_api_kick_fn) (int nodeid, const char *uname, int timeout, bool off); nodeid 499 include/crm/stonith-ng.h typedef time_t (*st_api_time_fn) (int nodeid, const char *uname, bool in_progress); nodeid 502 include/crm/stonith-ng.h stonith_api_kick_helper(uint32_t nodeid, int timeout, bool off) nodeid 521 include/crm/stonith-ng.h return (*st_kick_fn) (nodeid, NULL, timeout, off); nodeid 525 include/crm/stonith-ng.h stonith_api_time_helper(uint32_t nodeid, bool in_progress) nodeid 540 include/crm/stonith-ng.h return (*st_time_fn) (nodeid, NULL, in_progress); nodeid 175 lib/cluster/cluster.c get_node_name(uint32_t nodeid) nodeid 183 lib/cluster/cluster.c name = pcmk__corosync_name(0, nodeid); nodeid 191 lib/cluster/cluster.c if ((name == NULL) && (nodeid == 0)) { nodeid 205 lib/cluster/cluster.c name_for_cluster_type(stack), nodeid); nodeid 101 lib/cluster/corosync.c pcmk__corosync_name(uint64_t /*cmap_handle_t */ cmap_handle, uint32_t nodeid) nodeid 116 lib/cluster/corosync.c if (nodeid == 0) { nodeid 117 lib/cluster/corosync.c nodeid = get_local_nodeid(0); nodeid 172 lib/cluster/corosync.c crm_trace("Checking %u vs %u from %s", nodeid, id, key); nodeid 179 lib/cluster/corosync.c if (nodeid == id) { nodeid 181 lib/cluster/corosync.c nodeid, lpc, crm_str(name)); nodeid 211 lib/cluster/corosync.c crm_info("Unable to get node name for nodeid %u", nodeid); nodeid 454 lib/cluster/corosync.c cluster->nodeid = get_local_nodeid(0); nodeid 455 lib/cluster/corosync.c if (cluster->nodeid == 0) { nodeid 467 lib/cluster/corosync.c peer = crm_get_peer(cluster->nodeid, cluster->uname); nodeid 596 lib/cluster/corosync.c uint32_t nodeid = 0; nodeid 601 lib/cluster/corosync.c rc = cmap_get_uint32(cmap_handle, key, &nodeid); nodeid 608 lib/cluster/corosync.c name = pcmk__corosync_name(cmap_handle, nodeid); nodeid 616 lib/cluster/corosync.c if (node->id && node->id != nodeid) { nodeid 618 lib/cluster/corosync.c nodeid, name); nodeid 625 lib/cluster/corosync.c if (nodeid > 0 || name != NULL) { nodeid 626 lib/cluster/corosync.c crm_trace("Initializing node[%d] %u = %s", lpc, nodeid, name); nodeid 627 lib/cluster/corosync.c crm_get_peer(nodeid, name); nodeid 630 lib/cluster/corosync.c if (nodeid > 0 && name != NULL) { nodeid 636 lib/cluster/corosync.c crm_xml_set_id(node, "%u", nodeid); nodeid 444 lib/cluster/cpg.c pcmk_message_common_cs(cpg_handle_t handle, uint32_t nodeid, uint32_t pid, void *content, nodeid 455 lib/cluster/cpg.c if (msg->sender.id > 0 && msg->sender.id != nodeid) { nodeid 456 lib/cluster/cpg.c crm_err("Nodeid mismatch from %d.%d: claimed nodeid=%u", nodeid, pid, msg->sender.id); nodeid 469 lib/cluster/cpg.c msg->sender.id = nodeid; nodeid 471 lib/cluster/cpg.c crm_node_t *peer = crm_get_peer(nodeid, NULL); nodeid 474 lib/cluster/cpg.c crm_err("Peer with nodeid=%u is unknown", nodeid); nodeid 477 lib/cluster/cpg.c crm_err("No uname for peer with nodeid=%u", nodeid); nodeid 480 lib/cluster/cpg.c crm_notice("Fixing uname for peer with nodeid=%u", nodeid); nodeid 565 lib/cluster/cpg.c if (a->nodeid < b->nodeid) { nodeid 567 lib/cluster/cpg.c } else if (a->nodeid > b->nodeid) { nodeid 652 lib/cluster/cpg.c crm_node_t *peer = pcmk__search_cluster_node_cache(left_list[i].nodeid, nodeid 681 lib/cluster/cpg.c left_list[i].nodeid, left_list[i].pid, nodeid 687 lib/cluster/cpg.c } else if (left_list[i].nodeid == local_nodeid) { nodeid 695 lib/cluster/cpg.c left_list[i].nodeid, left_list[i].pid, nodeid 704 lib/cluster/cpg.c groupName->value, counter, joined_list[i].nodeid, nodeid 709 lib/cluster/cpg.c crm_node_t *peer = crm_get_peer(member_list[i].nodeid, NULL); nodeid 711 lib/cluster/cpg.c if (member_list[i].nodeid == local_nodeid nodeid 720 lib/cluster/cpg.c member_list[i].nodeid, member_list[i].pid); nodeid 745 lib/cluster/cpg.c member_list[i].nodeid, groupName->value); nodeid 750 lib/cluster/cpg.c if (local_nodeid == member_list[i].nodeid) { nodeid 842 lib/cluster/cpg.c cluster->nodeid = id; nodeid 35 lib/cluster/crmcluster_private.h uint32_t nodeid); nodeid 1295 lib/cluster/membership.c crm_terminate_member(int nodeid, const char *uname, void *unused) nodeid 1297 lib/cluster/membership.c return stonith_api_kick(nodeid, uname, 120, TRUE); nodeid 1301 lib/cluster/membership.c crm_terminate_member_no_mainloop(int nodeid, const char *uname, int *connection) nodeid 1303 lib/cluster/membership.c return stonith_api_kick(nodeid, uname, 120, TRUE); nodeid 644 lib/common/ipc_client.c uint32_t nodeid) nodeid 656 lib/common/ipc_client.c if (nodeid > 0) { nodeid 657 lib/common/ipc_client.c crm_xml_add_int(request, PCMK__XA_ATTR_NODE_ID, (int) nodeid); nodeid 666 lib/common/ipc_client.c if (nodeid > 0) { nodeid 667 lib/common/ipc_client.c crm_xml_set_id(request, "%lu", (unsigned long) nodeid); nodeid 692 lib/common/ipc_client.c pcmk_ipc_purge_node(pcmk_ipc_api_t *api, const char *node_name, uint32_t nodeid) nodeid 700 lib/common/ipc_client.c if ((node_name == NULL) && (nodeid == 0)) { nodeid 704 lib/common/ipc_client.c request = create_purge_node_request(api, node_name, nodeid); nodeid 712 lib/common/ipc_client.c pcmk_ipc_name(api, true), node_name, (unsigned long) nodeid, rc); nodeid 368 lib/common/ipc_controld.c pcmk_controld_api_node_info(pcmk_ipc_api_t *api, uint32_t nodeid) nodeid 377 lib/common/ipc_controld.c if (nodeid > 0) { nodeid 378 lib/common/ipc_controld.c crm_xml_set_id(request, "%lu", (unsigned long) nodeid); nodeid 520 lib/fencing/st_client.c char *nodeid = crm_strdup_printf("%" PRIu32, victim_nodeid); nodeid 524 lib/fencing/st_client.c nodeid, action, victim); nodeid 525 lib/fencing/st_client.c g_hash_table_insert(arg_list, strdup("nodeid"), nodeid); nodeid 2244 lib/fencing/st_client.c stonith_api_kick(uint32_t nodeid, const char *uname, int timeout, bool off) nodeid 2253 lib/fencing/st_client.c action, nodeid, uname); nodeid 2260 lib/fencing/st_client.c action, nodeid, uname, pcmk_strerror(rc), rc); nodeid 2262 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); nodeid 2267 lib/fencing/st_client.c if ((uname == NULL) && (nodeid > 0)) { nodeid 2275 lib/fencing/st_client.c action, nodeid, uname, pcmk_strerror(rc), rc); nodeid 2277 lib/fencing/st_client.c api_log(LOG_NOTICE, "Node %u/%s kicked: %s", nodeid, uname, action); nodeid 2286 lib/fencing/st_client.c stonith_api_time(uint32_t nodeid, const char *uname, bool in_progress) nodeid 2295 lib/fencing/st_client.c "API initialization failed", nodeid, uname); nodeid 2307 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); nodeid 2310 lib/fencing/st_client.c if ((uname == NULL) && (nodeid > 0)) { nodeid 2335 lib/fencing/st_client.c api_log(LOG_INFO, "Found %d entries for %u/%s: %d in progress, %d completed", entries, nodeid, uname, progress, completed); nodeid 2337 lib/fencing/st_client.c api_log(LOG_ERR, "Could not retrieve fence history for %u/%s: %s (%d)", nodeid, uname, pcmk_strerror(rc), rc); nodeid 2344 lib/fencing/st_client.c api_log(LOG_INFO, "Node %u/%s last kicked at: %ld", nodeid, uname, (long int)when); nodeid 239 lib/lrmd/lrmd_alerts.c const char *node, uint32_t nodeid, nodeid 250 lib/lrmd/lrmd_alerts.c params = alert_key2param_int(params, PCMK__alert_key_nodeid, nodeid); nodeid 277 lib/lrmd/lrmd_alerts.c const char *node, uint32_t nodeid, const char *state) nodeid 288 lib/lrmd/lrmd_alerts.c params = alert_key2param_int(params, PCMK__alert_key_nodeid, nodeid); nodeid 33 tools/crm_node.c int nodeid; nodeid 116 tools/crm_node.c pcmk__scan_min_int(optarg, &(options.nodeid), 0); nodeid 264 tools/crm_node.c run_controller_mainloop(uint32_t nodeid, bool list_nodes) nodeid 293 tools/crm_node.c rc = pcmk_controld_api_node_info(controld_api, nodeid); nodeid 372 tools/crm_node.c controller_remove_node(const char *node_name, long nodeid) nodeid 394 tools/crm_node.c rc = pcmk_ipc_purge_node(controld_api, node_name, nodeid); nodeid 406 tools/crm_node.c tools_remove_node_cache(const char *node_name, long nodeid, const char *target) nodeid 423 tools/crm_node.c node_name, nodeid, target); nodeid 434 tools/crm_node.c if (nodeid > 0) { nodeid 435 tools/crm_node.c crm_xml_add_int(cmd, PCMK__XA_ATTR_NODE_ID, (int) nodeid); nodeid 441 tools/crm_node.c if (nodeid > 0) { nodeid 442 tools/crm_node.c crm_xml_set_id(cmd, "%ld", nodeid); nodeid 449 tools/crm_node.c target, node_name, nodeid, rc); nodeid 453 tools/crm_node.c rc = cib_remove_node(nodeid, node_name); nodeid 469 tools/crm_node.c long nodeid = 0; nodeid 480 tools/crm_node.c nodeid = strtol(target_uname, &endptr, 10); nodeid 482 tools/crm_node.c || (nodeid <= 0)) { nodeid 484 tools/crm_node.c nodeid = 0; nodeid 488 tools/crm_node.c rc = controller_remove_node(node_name, nodeid); nodeid 495 tools/crm_node.c if (tools_remove_node_cache(node_name, nodeid, daemons[d])) { nodeid 582 tools/crm_node.c run_controller_mainloop(options.nodeid, false);