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 124 daemons/attrd/attrd_attributes.c pcmk__xe_add_node(xml, v->nodename, v->nodeid); nodeid 125 daemons/attrd/attrd_cib.c build_update_element(xmlNode *parent, attribute_t *a, const char *nodeid, const char *value) nodeid 131 daemons/attrd/attrd_cib.c crm_xml_add(xml_obj, XML_ATTR_ID, nodeid); nodeid 134 daemons/attrd/attrd_cib.c crm_xml_add(xml_obj, XML_ATTR_ID, nodeid); nodeid 140 daemons/attrd/attrd_cib.c crm_xml_set_id(xml_obj, "%s-%s", XML_CIB_TAG_STATUS, nodeid); nodeid 171 daemons/attrd/attrd_cib.c rc = attrd_send_attribute_alert(at->nodename, at->nodeid, nodeid 174 daemons/attrd/attrd_cib.c a->id, at->nodename, at->current, at->nodeid, rc); nodeid 185 daemons/attrd/attrd_cib.c a_v->nodeid = v->nodeid; nodeid 257 daemons/attrd/attrd_cib.c crm_node_t *peer = crm_get_peer_full(v->nodeid, v->nodename, CRM_GET_PEER_ANY); nodeid 267 daemons/attrd/attrd_cib.c if (peer->id && (v->nodeid == 0)) { nodeid 269 daemons/attrd/attrd_cib.c v->nodeid = peer->id; nodeid 290 daemons/attrd/attrd_cib.c peer->uname, peer->uuid, peer->id, v->nodeid); nodeid 67 daemons/attrd/attrd_corosync.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) nodeid 72 daemons/attrd/attrd_corosync.c char *data = pcmk_message_common_cs(handle, nodeid, pid, msg, &kind, &from); nodeid 83 daemons/attrd/attrd_corosync.c crm_err("Bad message of class %d received from %s[%u]: '%.120s'", kind, from, nodeid, data); nodeid 85 daemons/attrd/attrd_corosync.c crm_node_t *peer = crm_get_peer(nodeid, from); nodeid 243 daemons/attrd/attrd_corosync.c crm_node_t *known_peer = crm_get_peer(v->nodeid, host); nodeid 311 daemons/attrd/attrd_corosync.c if ((v->nodeid == 0) && (v->is_remote == FALSE) nodeid 313 daemons/attrd/attrd_corosync.c (int*)&v->nodeid) == 0) && (v->nodeid > 0)) { nodeid 167 daemons/attrd/attrd_ipc.c int nodeid = 0; nodeid 169 daemons/attrd/attrd_ipc.c crm_element_value_int(xml, PCMK__XA_ATTR_NODE_ID, &nodeid); nodeid 170 daemons/attrd/attrd_ipc.c if (nodeid > 0) { nodeid 171 daemons/attrd/attrd_ipc.c crm_node_t *node = pcmk__search_cluster_node_cache(nodeid, NULL); nodeid 179 daemons/attrd/attrd_ipc.c host_alloc = get_node_name(nodeid); nodeid 253 daemons/attrd/attrd_ipc.c pcmk__xe_add_node(xml, attrd_cluster->uname, attrd_cluster->nodeid); nodeid 239 daemons/attrd/attrd_messages.c pcmk__xe_add_node(attrd_op, attrd_cluster->uname, attrd_cluster->nodeid); nodeid 100 daemons/attrd/pacemaker-attrd.h int attrd_send_attribute_alert(const char *node, int nodeid, nodeid 136 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 2891 daemons/fenced/fenced_commands.c int nodeid = 0; nodeid 2894 daemons/fenced/fenced_commands.c pcmk__scan_min_int(host, &nodeid, 0); nodeid 2895 daemons/fenced/fenced_commands.c node = pcmk__search_known_node_cache(nodeid, NULL, CRM_GET_PEER_ANY); nodeid 468 daemons/fenced/fenced_history.c int nodeid; nodeid 471 daemons/fenced/fenced_history.c pcmk__scan_min_int(target, &nodeid, 0); nodeid 472 daemons/fenced/fenced_history.c node = pcmk__search_known_node_cache(nodeid, NULL, CRM_GET_PEER_ANY); nodeid 1211 daemons/fenced/fenced_remote.c int nodeid; nodeid 1214 daemons/fenced/fenced_remote.c pcmk__scan_min_int(op->target, &nodeid, 0); nodeid 1215 daemons/fenced/fenced_remote.c node = pcmk__search_known_node_cache(nodeid, NULL, CRM_GET_PEER_ANY); nodeid 197 daemons/fenced/pacemaker-fenced.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) nodeid 202 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 73 include/crm/common/internal.h void pcmk__xe_add_node(xmlNode *xml, const char *node, int nodeid); 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 584 include/crm/stonith-ng.h int stonith_api_kick(uint32_t nodeid, const char *uname, int timeout, bool off); nodeid 585 include/crm/stonith-ng.h time_t stonith_api_time(uint32_t nodeid, const char *uname, bool in_progress); nodeid 629 include/crm/stonith-ng.h typedef int (*st_api_kick_fn) (int nodeid, const char *uname, int timeout, bool off); nodeid 630 include/crm/stonith-ng.h typedef time_t (*st_api_time_fn) (int nodeid, const char *uname, bool in_progress); nodeid 633 include/crm/stonith-ng.h stonith_api_kick_helper(uint32_t nodeid, int timeout, bool off) nodeid 652 include/crm/stonith-ng.h return (*st_kick_fn) (nodeid, NULL, timeout, off); nodeid 656 include/crm/stonith-ng.h stonith_api_time_helper(uint32_t nodeid, bool in_progress) nodeid 671 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, pcmk__s(name, "<null>")); 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 702 lib/common/ipc_client.c uint32_t nodeid) nodeid 713 lib/common/ipc_client.c pcmk__xe_add_node(request, node_name, 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 15 lib/common/nodes.c pcmk__xe_add_node(xmlNode *xml, const char *node, int nodeid) nodeid 21 lib/common/nodes.c if (nodeid > 0) { nodeid 22 lib/common/nodes.c crm_xml_add_int(xml, PCMK__XA_ATTR_NODE_ID, nodeid); nodeid 162 lib/fencing/st_actions.c char *nodeid = crm_strdup_printf("%" PRIu32, target_nodeid); nodeid 166 lib/fencing/st_actions.c nodeid, action, pcmk__s(target, "no node")); nodeid 167 lib/fencing/st_actions.c g_hash_table_insert(arg_list, strdup("nodeid"), nodeid); nodeid 1959 lib/fencing/st_client.c stonith_api_kick(uint32_t nodeid, const char *uname, int timeout, bool off) nodeid 1968 lib/fencing/st_client.c action, nodeid, uname); nodeid 1975 lib/fencing/st_client.c action, nodeid, uname, pcmk_strerror(rc), rc); nodeid 1977 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); nodeid 1982 lib/fencing/st_client.c if ((uname == NULL) && (nodeid > 0)) { nodeid 1990 lib/fencing/st_client.c action, nodeid, uname, pcmk_strerror(rc), rc); nodeid 1992 lib/fencing/st_client.c api_log(LOG_NOTICE, "Node %u/%s kicked: %s", nodeid, uname, action); nodeid 2001 lib/fencing/st_client.c stonith_api_time(uint32_t nodeid, const char *uname, bool in_progress) nodeid 2010 lib/fencing/st_client.c "API initialization failed", nodeid, uname); nodeid 2022 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); nodeid 2025 lib/fencing/st_client.c if ((uname == NULL) && (nodeid > 0)) { nodeid 2050 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 2052 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 2059 lib/fencing/st_client.c api_log(LOG_INFO, "Node %u/%s last kicked at: %ld", nodeid, uname, (long int)when); nodeid 236 lib/lrmd/lrmd_alerts.c const char *node, uint32_t nodeid, nodeid 247 lib/lrmd/lrmd_alerts.c params = alert_key2param_int(params, PCMK__alert_key_nodeid, nodeid); nodeid 274 lib/lrmd/lrmd_alerts.c const char *node, uint32_t nodeid, const char *state) nodeid 285 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 433 tools/crm_node.c pcmk__xe_add_node(cmd, node_name, nodeid); nodeid 438 tools/crm_node.c if (nodeid > 0) { nodeid 439 tools/crm_node.c crm_xml_set_id(cmd, "%ld", nodeid); nodeid 446 tools/crm_node.c target, node_name, nodeid, rc); nodeid 450 tools/crm_node.c rc = cib_remove_node(nodeid, node_name); nodeid 466 tools/crm_node.c long nodeid = 0; nodeid 477 tools/crm_node.c nodeid = strtol(target_uname, &endptr, 10); nodeid 479 tools/crm_node.c || (nodeid <= 0)) { nodeid 481 tools/crm_node.c nodeid = 0; nodeid 485 tools/crm_node.c rc = controller_remove_node(node_name, nodeid); nodeid 492 tools/crm_node.c if (tools_remove_node_cache(node_name, nodeid, daemons[d])) { nodeid 579 tools/crm_node.c run_controller_mainloop(options.nodeid, false);