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 151 daemons/attrd/attrd_commands.c if (v->nodeid > 0) { nodeid 152 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_NODE_ID, v->nodeid); nodeid 235 daemons/attrd/attrd_commands.c int nodeid = 0; nodeid 237 daemons/attrd/attrd_commands.c crm_element_value_int(xml, PCMK__XA_ATTR_NODE_ID, &nodeid); nodeid 238 daemons/attrd/attrd_commands.c if (nodeid > 0) { nodeid 239 daemons/attrd/attrd_commands.c crm_node_t *node = pcmk__search_cluster_node_cache(nodeid, NULL); nodeid 247 daemons/attrd/attrd_commands.c host_alloc = get_node_name(nodeid); nodeid 319 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_NODE_ID, attrd_cluster->nodeid); nodeid 979 daemons/attrd/attrd_commands.c if ((v->nodeid == 0) && (v->is_remote == FALSE) nodeid 981 daemons/attrd/attrd_commands.c (int*)&v->nodeid) == 0) && (v->nodeid > 0)) { nodeid 983 daemons/attrd/attrd_commands.c crm_node_t *known_peer = crm_get_peer(v->nodeid, host); nodeid 1185 daemons/attrd/attrd_commands.c build_update_element(xmlNode *parent, attribute_t *a, const char *nodeid, const char *value) nodeid 1191 daemons/attrd/attrd_commands.c crm_xml_add(xml_obj, XML_ATTR_ID, nodeid); nodeid 1194 daemons/attrd/attrd_commands.c crm_xml_add(xml_obj, XML_ATTR_ID, nodeid); nodeid 1200 daemons/attrd/attrd_commands.c crm_xml_set_id(xml_obj, "%s-%s", XML_CIB_TAG_STATUS, nodeid); nodeid 1228 daemons/attrd/attrd_commands.c a_v->nodeid = v->nodeid; nodeid 1245 daemons/attrd/attrd_commands.c rc = attrd_send_attribute_alert(at->nodename, at->nodeid, nodeid 1248 daemons/attrd/attrd_commands.c a->id, at->nodename, at->current, at->nodeid, rc); nodeid 1311 daemons/attrd/attrd_commands.c crm_node_t *peer = crm_get_peer_full(v->nodeid, v->nodename, CRM_GET_PEER_ANY); nodeid 1321 daemons/attrd/attrd_commands.c if (peer->id && (v->nodeid == 0)) { nodeid 1323 daemons/attrd/attrd_commands.c v->nodeid = peer->id; nodeid 1344 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 129 daemons/controld/controld_corosync.c if (left_list[i].nodeid == peer->id) { nodeid 2719 daemons/fenced/fenced_commands.c int nodeid = 0; nodeid 2722 daemons/fenced/fenced_commands.c pcmk__scan_min_int(host, &nodeid, 0); nodeid 2723 daemons/fenced/fenced_commands.c node = pcmk__search_known_node_cache(nodeid, NULL, CRM_GET_PEER_ANY); nodeid 453 daemons/fenced/fenced_history.c int nodeid; nodeid 456 daemons/fenced/fenced_history.c pcmk__scan_min_int(target, &nodeid, 0); nodeid 457 daemons/fenced/fenced_history.c node = pcmk__search_known_node_cache(nodeid, NULL, CRM_GET_PEER_ANY); nodeid 1195 daemons/fenced/fenced_remote.c int nodeid; nodeid 1198 daemons/fenced/fenced_remote.c pcmk__scan_min_int(op->target, &nodeid, 0); nodeid 1199 daemons/fenced/fenced_remote.c node = pcmk__search_known_node_cache(nodeid, NULL, CRM_GET_PEER_ANY); nodeid 196 daemons/fenced/pacemaker-fenced.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) nodeid 201 daemons/fenced/pacemaker-fenced.c char *data = pcmk_message_common_cs(handle, nodeid, pid, msg, &kind, &from); nodeid 143 daemons/pacemakerd/pcmkd_corosync.c uint32_t nodeid; nodeid 180 daemons/pacemakerd/pcmkd_corosync.c cs_repeat(retries, 30, rc = corosync_cfg_local_get(cfg_handle, &nodeid)); nodeid 186 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 136 include/crm/common/ipc.h uint32_t nodeid); nodeid 93 include/crm/common/ipc_controld.h int pcmk_controld_api_node_info(pcmk_ipc_api_t *api, uint32_t nodeid); nodeid 25 include/crm/lrmd_internal.h const char *node, uint32_t nodeid, nodeid 28 include/crm/lrmd_internal.h const char *node, uint32_t nodeid, const char *state); nodeid 465 include/crm/stonith-ng.h int stonith_api_kick(uint32_t nodeid, const char *uname, int timeout, bool off); nodeid 466 include/crm/stonith-ng.h time_t stonith_api_time(uint32_t nodeid, const char *uname, bool in_progress); nodeid 510 include/crm/stonith-ng.h typedef int (*st_api_kick_fn) (int nodeid, const char *uname, int timeout, bool off); nodeid 511 include/crm/stonith-ng.h typedef time_t (*st_api_time_fn) (int nodeid, const char *uname, bool in_progress); nodeid 514 include/crm/stonith-ng.h stonith_api_kick_helper(uint32_t nodeid, int timeout, bool off) nodeid 533 include/crm/stonith-ng.h return (*st_kick_fn) (nodeid, NULL, timeout, off); nodeid 537 include/crm/stonith-ng.h stonith_api_time_helper(uint32_t nodeid, bool in_progress) nodeid 552 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 470 lib/cluster/corosync.c cluster->nodeid = get_local_nodeid(0); nodeid 471 lib/cluster/corosync.c if (cluster->nodeid == 0) { nodeid 483 lib/cluster/corosync.c peer = crm_get_peer(cluster->nodeid, cluster->uname); nodeid 612 lib/cluster/corosync.c uint32_t nodeid = 0; nodeid 617 lib/cluster/corosync.c rc = cmap_get_uint32(cmap_handle, key, &nodeid); nodeid 624 lib/cluster/corosync.c name = pcmk__corosync_name(cmap_handle, nodeid); nodeid 632 lib/cluster/corosync.c if (node->id && node->id != nodeid) { nodeid 634 lib/cluster/corosync.c nodeid, name); nodeid 641 lib/cluster/corosync.c if (nodeid > 0 || name != NULL) { nodeid 642 lib/cluster/corosync.c crm_trace("Initializing node[%d] %u = %s", lpc, nodeid, name); nodeid 643 lib/cluster/corosync.c crm_get_peer(nodeid, name); nodeid 646 lib/cluster/corosync.c if (nodeid > 0 && name != NULL) { nodeid 652 lib/cluster/corosync.c crm_xml_set_id(node, "%u", nodeid); nodeid 441 lib/cluster/cpg.c pcmk_message_common_cs(cpg_handle_t handle, uint32_t nodeid, uint32_t pid, void *content, nodeid 452 lib/cluster/cpg.c if (msg->sender.id > 0 && msg->sender.id != nodeid) { nodeid 453 lib/cluster/cpg.c crm_err("Nodeid mismatch from %d.%d: claimed nodeid=%u", nodeid, pid, msg->sender.id); nodeid 466 lib/cluster/cpg.c msg->sender.id = nodeid; nodeid 468 lib/cluster/cpg.c crm_node_t *peer = crm_get_peer(nodeid, NULL); nodeid 471 lib/cluster/cpg.c crm_err("Peer with nodeid=%u is unknown", nodeid); nodeid 474 lib/cluster/cpg.c crm_err("No uname for peer with nodeid=%u", nodeid); nodeid 477 lib/cluster/cpg.c crm_notice("Fixing uname for peer with nodeid=%u", nodeid); nodeid 562 lib/cluster/cpg.c if (a->nodeid < b->nodeid) { nodeid 564 lib/cluster/cpg.c } else if (a->nodeid > b->nodeid) { nodeid 630 lib/cluster/cpg.c crm_node_t *peer = pcmk__search_cluster_node_cache(cpg_peer->nodeid, nodeid 655 lib/cluster/cpg.c cpg_peer->nodeid, cpg_peer->pid, nodeid 661 lib/cluster/cpg.c } else if (cpg_peer->nodeid == local_nodeid) { nodeid 669 lib/cluster/cpg.c cpg_peer->nodeid, cpg_peer->pid, nodeid 718 lib/cluster/cpg.c groupName->value, counter, joined_list[i].nodeid, nodeid 723 lib/cluster/cpg.c crm_node_t *peer = crm_get_peer(member_list[i].nodeid, NULL); nodeid 725 lib/cluster/cpg.c if (member_list[i].nodeid == local_nodeid nodeid 734 lib/cluster/cpg.c member_list[i].nodeid, member_list[i].pid); nodeid 759 lib/cluster/cpg.c member_list[i].nodeid, groupName->value); nodeid 764 lib/cluster/cpg.c if (local_nodeid == member_list[i].nodeid) { nodeid 857 lib/cluster/cpg.c cluster->nodeid = id; nodeid 35 lib/cluster/crmcluster_private.h uint32_t nodeid); nodeid 1288 lib/cluster/membership.c crm_terminate_member(int nodeid, const char *uname, void *unused) nodeid 1290 lib/cluster/membership.c return stonith_api_kick(nodeid, uname, 120, TRUE); nodeid 1294 lib/cluster/membership.c crm_terminate_member_no_mainloop(int nodeid, const char *uname, int *connection) nodeid 1296 lib/cluster/membership.c return stonith_api_kick(nodeid, uname, 120, TRUE); nodeid 699 lib/common/ipc_client.c uint32_t nodeid) nodeid 711 lib/common/ipc_client.c if (nodeid > 0) { nodeid 712 lib/common/ipc_client.c crm_xml_add_int(request, PCMK__XA_ATTR_NODE_ID, (int) nodeid); nodeid 721 lib/common/ipc_client.c if (nodeid > 0) { nodeid 722 lib/common/ipc_client.c crm_xml_set_id(request, "%lu", (unsigned long) nodeid); nodeid 747 lib/common/ipc_client.c pcmk_ipc_purge_node(pcmk_ipc_api_t *api, const char *node_name, uint32_t nodeid) nodeid 755 lib/common/ipc_client.c if ((node_name == NULL) && (nodeid == 0)) { nodeid 759 lib/common/ipc_client.c request = create_purge_node_request(api, node_name, nodeid); nodeid 767 lib/common/ipc_client.c pcmk_ipc_name(api, true), node_name, (unsigned long) nodeid, rc); nodeid 386 lib/common/ipc_controld.c pcmk_controld_api_node_info(pcmk_ipc_api_t *api, uint32_t nodeid) nodeid 395 lib/common/ipc_controld.c if (nodeid > 0) { nodeid 396 lib/common/ipc_controld.c crm_xml_set_id(request, "%lu", (unsigned long) nodeid); nodeid 148 lib/fencing/st_actions.c char *nodeid = crm_strdup_printf("%" PRIu32, victim_nodeid); nodeid 152 lib/fencing/st_actions.c nodeid, action, victim); nodeid 153 lib/fencing/st_actions.c g_hash_table_insert(arg_list, strdup("nodeid"), nodeid); nodeid 1909 lib/fencing/st_client.c stonith_api_kick(uint32_t nodeid, const char *uname, int timeout, bool off) nodeid 1918 lib/fencing/st_client.c action, nodeid, uname); nodeid 1925 lib/fencing/st_client.c action, nodeid, uname, pcmk_strerror(rc), rc); nodeid 1927 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); nodeid 1932 lib/fencing/st_client.c if ((uname == NULL) && (nodeid > 0)) { nodeid 1940 lib/fencing/st_client.c action, nodeid, uname, pcmk_strerror(rc), rc); nodeid 1942 lib/fencing/st_client.c api_log(LOG_NOTICE, "Node %u/%s kicked: %s", nodeid, uname, action); nodeid 1951 lib/fencing/st_client.c stonith_api_time(uint32_t nodeid, const char *uname, bool in_progress) nodeid 1960 lib/fencing/st_client.c "API initialization failed", nodeid, uname); nodeid 1972 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); nodeid 1975 lib/fencing/st_client.c if ((uname == NULL) && (nodeid > 0)) { nodeid 2000 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 2002 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 2009 lib/fencing/st_client.c api_log(LOG_INFO, "Node %u/%s last kicked at: %ld", nodeid, uname, (long int)when); nodeid 238 lib/lrmd/lrmd_alerts.c const char *node, uint32_t nodeid, nodeid 249 lib/lrmd/lrmd_alerts.c params = alert_key2param_int(params, PCMK__alert_key_nodeid, nodeid); nodeid 276 lib/lrmd/lrmd_alerts.c const char *node, uint32_t nodeid, const char *state) nodeid 287 lib/lrmd/lrmd_alerts.c params = alert_key2param_int(params, PCMK__alert_key_nodeid, nodeid); nodeid 34 tools/crm_node.c int nodeid; nodeid 117 tools/crm_node.c pcmk__scan_min_int(optarg, &(options.nodeid), 0); nodeid 265 tools/crm_node.c run_controller_mainloop(uint32_t nodeid, bool list_nodes) nodeid 294 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);