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 198 daemons/attrd/attrd_commands.c int nodeid = 0; nodeid 200 daemons/attrd/attrd_commands.c crm_element_value_int(xml, PCMK__XA_ATTR_NODE_ID, &nodeid); nodeid 201 daemons/attrd/attrd_commands.c if (nodeid > 0) { nodeid 202 daemons/attrd/attrd_commands.c crm_node_t *node = crm_find_peer(nodeid, NULL); nodeid 210 daemons/attrd/attrd_commands.c host_alloc = get_node_name(nodeid); nodeid 282 daemons/attrd/attrd_commands.c crm_xml_add_int(xml, PCMK__XA_ATTR_NODE_ID, attrd_cluster->nodeid); nodeid 652 daemons/attrd/attrd_commands.c v->nodename, v->nodeid, v->current, FALSE); nodeid 756 daemons/attrd/attrd_commands.c v->nodename, v->nodeid, v->current, (a->timeout_ms && a->timer ? TRUE : FALSE)); nodeid 874 daemons/attrd/attrd_commands.c a->is_private, v->nodename, v->nodeid, v->current, FALSE); nodeid 912 daemons/attrd/attrd_commands.c if ((v->nodeid == 0) && (v->is_remote == FALSE) nodeid 914 daemons/attrd/attrd_commands.c (int*)&v->nodeid) == 0)) { nodeid 916 daemons/attrd/attrd_commands.c crm_node_t *known_peer = crm_get_peer(v->nodeid, host); nodeid 1104 daemons/attrd/attrd_commands.c build_update_element(xmlNode *parent, attribute_t *a, const char *nodeid, const char *value) nodeid 1110 daemons/attrd/attrd_commands.c crm_xml_add(xml_obj, XML_ATTR_ID, nodeid); nodeid 1113 daemons/attrd/attrd_commands.c crm_xml_add(xml_obj, XML_ATTR_ID, nodeid); nodeid 1119 daemons/attrd/attrd_commands.c crm_xml_set_id(xml_obj, "%s-%s", XML_CIB_TAG_STATUS, nodeid); nodeid 1147 daemons/attrd/attrd_commands.c a_v->nodeid = v->nodeid; nodeid 1167 daemons/attrd/attrd_commands.c rc = attrd_send_attribute_alert(at->nodename, at->nodeid, nodeid 1170 daemons/attrd/attrd_commands.c a->id, at->nodename, at->current, at->nodeid, rc); nodeid 1235 daemons/attrd/attrd_commands.c crm_node_t *peer = crm_get_peer_full(v->nodeid, v->nodename, CRM_GET_PEER_ANY); nodeid 1245 daemons/attrd/attrd_commands.c if (peer->id && (v->nodeid == 0)) { nodeid 1247 daemons/attrd/attrd_commands.c v->nodeid = peer->id; nodeid 1268 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 68 daemons/attrd/pacemaker-attrd.h int attrd_send_attribute_alert(const char *node, int nodeid, nodeid 104 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 282 daemons/controld/controld_te_callbacks.c char *nodeid = NULL; nodeid 289 daemons/controld/controld_te_callbacks.c nodeid = strdup(tmp); nodeid 290 daemons/controld/controld_te_callbacks.c tmp = strstr(nodeid, "\'"); nodeid 294 daemons/controld/controld_te_callbacks.c return nodeid; nodeid 2325 daemons/fenced/fenced_commands.c int nodeid = crm_atoi(host, NULL); nodeid 2326 daemons/fenced/fenced_commands.c crm_node_t *node = crm_find_known_peer_full(nodeid, NULL, CRM_GET_PEER_ANY); nodeid 411 daemons/fenced/fenced_history.c int nodeid = crm_atoi(target, NULL); nodeid 412 daemons/fenced/fenced_history.c crm_node_t *node = crm_find_known_peer_full(nodeid, NULL, CRM_GET_PEER_ANY); nodeid 1065 daemons/fenced/fenced_remote.c int nodeid = crm_atoi(op->target, NULL); nodeid 1066 daemons/fenced/fenced_remote.c crm_node_t *node = crm_find_known_peer_full(nodeid, NULL, CRM_GET_PEER_ANY); nodeid 184 daemons/fenced/pacemaker-fenced.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) nodeid 189 daemons/fenced/pacemaker-fenced.c char *data = pcmk_message_common_cs(handle, nodeid, pid, msg, &kind, &from); nodeid 102 daemons/pacemakerd/pcmkd_corosync.c uint32_t nodeid; nodeid 139 daemons/pacemakerd/pcmkd_corosync.c cs_repeat(retries, 30, rc = corosync_cfg_local_get(cfg_handle, &nodeid)); nodeid 145 daemons/pacemakerd/pcmkd_corosync.c crm_debug("Corosync reports local node ID is %lu", (unsigned long) nodeid); nodeid 79 include/crm/cluster.h uint32_t nodeid; nodeid 140 include/crm/cluster.h int crm_terminate_member(int nodeid, const char *uname, void *unused); nodeid 141 include/crm/cluster.h int crm_terminate_member_no_mainloop(int nodeid, const char *uname, int *connection); nodeid 158 include/crm/cluster.h char *pcmk_message_common_cs(cpg_handle_t handle, uint32_t nodeid, uint32_t pid, void *msg, nodeid 194 include/crm/cluster.h char *get_node_name(uint32_t nodeid); nodeid 328 include/crm/cluster/internal.h char *corosync_node_name(uint64_t /*cmap_handle_t */ cmap_handle, uint32_t nodeid); 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 22 include/crm/lrmd_internal.h const char *node, uint32_t nodeid, nodeid 25 include/crm/lrmd_internal.h const char *node, uint32_t nodeid, const char *state); nodeid 452 include/crm/stonith-ng.h int stonith_api_kick(uint32_t nodeid, const char *uname, int timeout, bool off); nodeid 453 include/crm/stonith-ng.h time_t stonith_api_time(uint32_t nodeid, const char *uname, bool in_progress); nodeid 497 include/crm/stonith-ng.h typedef int (*st_api_kick_fn) (int nodeid, const char *uname, int timeout, bool off); nodeid 498 include/crm/stonith-ng.h typedef time_t (*st_api_time_fn) (int nodeid, const char *uname, bool in_progress); nodeid 501 include/crm/stonith-ng.h stonith_api_kick_helper(uint32_t nodeid, int timeout, bool off) nodeid 520 include/crm/stonith-ng.h return (*st_kick_fn) (nodeid, NULL, timeout, off); nodeid 524 include/crm/stonith-ng.h stonith_api_time_helper(uint32_t nodeid, bool in_progress) nodeid 539 include/crm/stonith-ng.h return (*st_time_fn) (nodeid, NULL, in_progress); nodeid 132 lib/cluster/cluster.c get_node_name(uint32_t nodeid) nodeid 141 lib/cluster/cluster.c name = corosync_node_name(0, nodeid); nodeid 149 lib/cluster/cluster.c if(name == NULL && nodeid == 0) { nodeid 162 lib/cluster/cluster.c name_for_cluster_type(stack), nodeid); nodeid 61 lib/cluster/corosync.c corosync_node_name(uint64_t /*cmap_handle_t */ cmap_handle, uint32_t nodeid) nodeid 74 lib/cluster/corosync.c if (nodeid == 0) { nodeid 75 lib/cluster/corosync.c nodeid = get_local_nodeid(0); nodeid 130 lib/cluster/corosync.c crm_trace("Checking %u vs %u from %s", nodeid, id, key); nodeid 137 lib/cluster/corosync.c if (nodeid == id) { nodeid 138 lib/cluster/corosync.c crm_trace("Searching for node name for %u in nodelist.node.%d %s", nodeid, lpc, name); nodeid 168 lib/cluster/corosync.c crm_info("Unable to get node name for nodeid %u", nodeid); nodeid 401 lib/cluster/corosync.c cluster->nodeid = get_local_nodeid(0); nodeid 402 lib/cluster/corosync.c if(cluster->nodeid == 0) { nodeid 414 lib/cluster/corosync.c peer = crm_get_peer(cluster->nodeid, cluster->uname); nodeid 583 lib/cluster/corosync.c uint32_t nodeid = 0; nodeid 588 lib/cluster/corosync.c rc = cmap_get_uint32(cmap_handle, key, &nodeid); nodeid 595 lib/cluster/corosync.c name = corosync_node_name(cmap_handle, nodeid); nodeid 603 lib/cluster/corosync.c if (node->id && node->id != nodeid) { nodeid 605 lib/cluster/corosync.c nodeid, name); nodeid 612 lib/cluster/corosync.c if (nodeid > 0 || name != NULL) { nodeid 613 lib/cluster/corosync.c crm_trace("Initializing node[%d] %u = %s", lpc, nodeid, name); nodeid 614 lib/cluster/corosync.c crm_get_peer(nodeid, name); nodeid 617 lib/cluster/corosync.c if (nodeid > 0 && name != NULL) { nodeid 623 lib/cluster/corosync.c crm_xml_set_id(node, "%u", nodeid); nodeid 252 lib/cluster/cpg.c pcmk_message_common_cs(cpg_handle_t handle, uint32_t nodeid, uint32_t pid, void *content, nodeid 263 lib/cluster/cpg.c if (msg->sender.id > 0 && msg->sender.id != nodeid) { nodeid 264 lib/cluster/cpg.c crm_err("Nodeid mismatch from %d.%d: claimed nodeid=%u", nodeid, pid, msg->sender.id); nodeid 277 lib/cluster/cpg.c msg->sender.id = nodeid; nodeid 279 lib/cluster/cpg.c crm_node_t *peer = crm_get_peer(nodeid, NULL); nodeid 282 lib/cluster/cpg.c crm_err("Peer with nodeid=%u is unknown", nodeid); nodeid 285 lib/cluster/cpg.c crm_err("No uname for peer with nodeid=%u", nodeid); nodeid 288 lib/cluster/cpg.c crm_notice("Fixing uname for peer with nodeid=%u", nodeid); nodeid 369 lib/cluster/cpg.c if (a->nodeid < b->nodeid) { nodeid 371 lib/cluster/cpg.c } else if (a->nodeid > b->nodeid) { nodeid 428 lib/cluster/cpg.c crm_node_t *peer = crm_find_peer(left_list[i].nodeid, NULL); nodeid 456 lib/cluster/cpg.c left_list[i].nodeid, left_list[i].pid, nodeid 462 lib/cluster/cpg.c } else if (left_list[i].nodeid == local_nodeid) { nodeid 470 lib/cluster/cpg.c left_list[i].nodeid, left_list[i].pid, nodeid 479 lib/cluster/cpg.c groupName->value, counter, joined_list[i].nodeid, nodeid 484 lib/cluster/cpg.c crm_node_t *peer = crm_get_peer(member_list[i].nodeid, NULL); nodeid 486 lib/cluster/cpg.c if (member_list[i].nodeid == local_nodeid nodeid 495 lib/cluster/cpg.c member_list[i].nodeid, member_list[i].pid); nodeid 520 lib/cluster/cpg.c member_list[i].nodeid, groupName->value); nodeid 525 lib/cluster/cpg.c if (local_nodeid == member_list[i].nodeid) { nodeid 610 lib/cluster/cpg.c cluster->nodeid = id; nodeid 1017 lib/cluster/membership.c crm_terminate_member(int nodeid, const char *uname, void *unused) nodeid 1020 lib/cluster/membership.c return stonith_api_kick(nodeid, uname, 120, TRUE); nodeid 1024 lib/cluster/membership.c crm_terminate_member_no_mainloop(int nodeid, const char *uname, int *connection) nodeid 1026 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 2255 lib/fencing/st_client.c stonith_api_kick(uint32_t nodeid, const char *uname, int timeout, bool off) nodeid 2264 lib/fencing/st_client.c action, nodeid, uname); nodeid 2271 lib/fencing/st_client.c action, nodeid, uname, pcmk_strerror(rc), rc); nodeid 2273 lib/fencing/st_client.c char *name = (uname == NULL)? crm_itoa(nodeid) : strdup(uname); nodeid 2278 lib/fencing/st_client.c if ((uname == NULL) && (nodeid > 0)) { nodeid 2286 lib/fencing/st_client.c action, nodeid, uname, pcmk_strerror(rc), rc); nodeid 2288 lib/fencing/st_client.c api_log(LOG_NOTICE, "Node %u/%s kicked: %s", nodeid, uname, action); nodeid 2297 lib/fencing/st_client.c stonith_api_time(uint32_t nodeid, const char *uname, bool in_progress) nodeid 2306 lib/fencing/st_client.c "API initialization failed", nodeid, uname); nodeid 2318 lib/fencing/st_client.c char *name = (uname == NULL)? crm_itoa(nodeid) : strdup(uname); nodeid 2321 lib/fencing/st_client.c if ((uname == NULL) && (nodeid > 0)) { nodeid 2346 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 2348 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 2355 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 1733 tools/crm_mon.c char *nodeid = NULL; nodeid 1740 tools/crm_mon.c nodeid = strdup(tmp); nodeid 1741 tools/crm_mon.c tmp = strstr(nodeid, "\'"); nodeid 1745 tools/crm_mon.c return nodeid; nodeid 32 tools/crm_node.c int nodeid; nodeid 115 tools/crm_node.c options.nodeid = crm_parse_int(optarg, NULL); nodeid 263 tools/crm_node.c run_controller_mainloop(uint32_t nodeid, bool list_nodes) nodeid 292 tools/crm_node.c rc = pcmk_controld_api_node_info(controld_api, nodeid); nodeid 371 tools/crm_node.c controller_remove_node(const char *node_name, long nodeid) nodeid 393 tools/crm_node.c rc = pcmk_ipc_purge_node(controld_api, node_name, nodeid); nodeid 405 tools/crm_node.c tools_remove_node_cache(const char *node_name, long nodeid, const char *target) nodeid 422 tools/crm_node.c node_name, nodeid, target); nodeid 433 tools/crm_node.c if (nodeid > 0) { nodeid 434 tools/crm_node.c crm_xml_add_int(cmd, PCMK__XA_ATTR_NODE_ID, (int) nodeid); nodeid 440 tools/crm_node.c if (nodeid > 0) { nodeid 441 tools/crm_node.c crm_xml_set_id(cmd, "%ld", nodeid); nodeid 448 tools/crm_node.c target, node_name, nodeid, rc); nodeid 452 tools/crm_node.c rc = cib_remove_node(nodeid, node_name); nodeid 468 tools/crm_node.c long nodeid = 0; nodeid 479 tools/crm_node.c nodeid = strtol(target_uname, &endptr, 10); nodeid 481 tools/crm_node.c || (nodeid <= 0)) { nodeid 483 tools/crm_node.c nodeid = 0; nodeid 487 tools/crm_node.c rc = controller_remove_node(node_name, nodeid); nodeid 494 tools/crm_node.c if (tools_remove_node_cache(node_name, nodeid, daemons[d])) { nodeid 588 tools/crm_node.c run_controller_mainloop(options.nodeid, false);