nodeid 128 daemons/attrd/attrd_alerts.c attrd_send_attribute_alert(const char *node, int nodeid, nodeid 135 daemons/attrd/attrd_alerts.c node, nodeid, attr, value); nodeid 145 daemons/attrd/attrd_attributes.c pcmk__xe_add_node(xml, v->nodename, v->nodeid); nodeid 447 daemons/attrd/attrd_cib.c rc = attrd_send_attribute_alert(at->nodename, at->nodeid, nodeid 450 daemons/attrd/attrd_cib.c a->id, at->nodename, at->current, at->nodeid, rc); nodeid 461 daemons/attrd/attrd_cib.c a_v->nodeid = v->nodeid; nodeid 546 daemons/attrd/attrd_cib.c crm_node_t *peer = crm_get_peer_full(v->nodeid, v->nodename, nodeid 557 daemons/attrd/attrd_cib.c if (peer->id && (v->nodeid == 0)) { nodeid 559 daemons/attrd/attrd_cib.c v->nodeid = peer->id; nodeid 583 daemons/attrd/attrd_cib.c peer->id, v->nodeid, pcmk_rc_str(rc)); nodeid 590 daemons/attrd/attrd_cib.c peer->uname, peer->uuid, peer->id, v->nodeid); nodeid 104 daemons/attrd/attrd_corosync.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) nodeid 109 daemons/attrd/attrd_corosync.c char *data = pcmk_message_common_cs(handle, nodeid, pid, msg, &kind, &from); nodeid 120 daemons/attrd/attrd_corosync.c crm_err("Bad message of class %d received from %s[%u]: '%.120s'", kind, from, nodeid, data); nodeid 122 daemons/attrd/attrd_corosync.c crm_node_t *peer = crm_get_peer(nodeid, from); nodeid 282 daemons/attrd/attrd_corosync.c crm_node_t *known_peer = crm_get_peer(v->nodeid, host); nodeid 351 daemons/attrd/attrd_corosync.c if ((v->nodeid == 0) && (v->is_remote == FALSE) nodeid 353 daemons/attrd/attrd_corosync.c (int*)&v->nodeid) == 0) && (v->nodeid > 0)) { nodeid 161 daemons/attrd/attrd_ipc.c int nodeid = 0; nodeid 163 daemons/attrd/attrd_ipc.c crm_element_value_int(xml, PCMK__XA_ATTR_NODE_ID, &nodeid); nodeid 164 daemons/attrd/attrd_ipc.c if (nodeid > 0) { nodeid 165 daemons/attrd/attrd_ipc.c crm_node_t *node = pcmk__search_cluster_node_cache(nodeid, NULL, nodeid 174 daemons/attrd/attrd_ipc.c host_alloc = get_node_name(nodeid); nodeid 248 daemons/attrd/attrd_ipc.c pcmk__xe_add_node(xml, attrd_cluster->uname, attrd_cluster->nodeid); nodeid 334 daemons/attrd/attrd_messages.c pcmk__xe_add_node(attrd_op, attrd_cluster->uname, attrd_cluster->nodeid); nodeid 105 daemons/attrd/pacemaker-attrd.h int attrd_send_attribute_alert(const char *node, int nodeid, nodeid 142 daemons/attrd/pacemaker-attrd.h uint32_t nodeid; nodeid 304 daemons/based/pacemaker-based.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) nodeid 309 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 126 daemons/controld/controld_corosync.c if (left_list[i].nodeid == peer->id) { nodeid 2917 daemons/fenced/fenced_commands.c int nodeid = 0; nodeid 2920 daemons/fenced/fenced_commands.c pcmk__scan_min_int(host, &nodeid, 0); nodeid 2921 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 1219 daemons/fenced/fenced_remote.c int nodeid; nodeid 1222 daemons/fenced/fenced_remote.c pcmk__scan_min_int(op->target, &nodeid, 0); nodeid 1223 daemons/fenced/fenced_remote.c node = pcmk__search_known_node_cache(nodeid, NULL, CRM_GET_PEER_ANY); nodeid 195 daemons/fenced/pacemaker-fenced.c uint32_t nodeid, uint32_t pid, void *msg, size_t msg_len) nodeid 200 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 92 include/crm/cluster.h uint32_t nodeid; nodeid 174 include/crm/cluster.h char *pcmk_message_common_cs(cpg_handle_t handle, uint32_t nodeid, uint32_t pid, void *msg, nodeid 206 include/crm/cluster.h char *get_node_name(uint32_t nodeid); nodeid 30 include/crm/cluster/compat.h int crm_terminate_member(int nodeid, const char *uname, void *unused); nodeid 33 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 58 include/pcmki/pcmki_cluster_queries.h pcmk__query_node_name(pcmk__output_t *out, uint32_t nodeid, char **node_name, nodeid 61 include/pcmki/pcmki_cluster_queries.h return pcmk__query_node_info(out, &nodeid, node_name, NULL, NULL, NULL, nodeid 204 lib/cluster/cluster.c get_node_name(uint32_t nodeid) nodeid 212 lib/cluster/cluster.c name = pcmk__corosync_name(0, nodeid); nodeid 220 lib/cluster/cluster.c if ((name == NULL) && (nodeid == 0)) { nodeid 234 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 1354 lib/cluster/membership.c crm_terminate_member(int nodeid, const char *uname, void *unused) nodeid 1356 lib/cluster/membership.c return stonith_api_kick(nodeid, uname, 120, TRUE); nodeid 1360 lib/cluster/membership.c crm_terminate_member_no_mainloop(int nodeid, const char *uname, int *connection) nodeid 1362 lib/cluster/membership.c return stonith_api_kick(nodeid, uname, 120, TRUE); nodeid 751 lib/common/ipc_client.c uint32_t nodeid) nodeid 762 lib/common/ipc_client.c pcmk__xe_add_node(request, node_name, nodeid); nodeid 770 lib/common/ipc_client.c if (nodeid > 0) { nodeid 771 lib/common/ipc_client.c crm_xml_set_id(request, "%lu", (unsigned long) nodeid); nodeid 796 lib/common/ipc_client.c pcmk_ipc_purge_node(pcmk_ipc_api_t *api, const char *node_name, uint32_t nodeid) nodeid 804 lib/common/ipc_client.c if ((node_name == NULL) && (nodeid == 0)) { nodeid 808 lib/common/ipc_client.c request = create_purge_node_request(api, node_name, nodeid); nodeid 816 lib/common/ipc_client.c pcmk_ipc_name(api, true), node_name, (unsigned long) nodeid, rc); nodeid 405 lib/common/ipc_controld.c pcmk_controld_api_node_info(pcmk_ipc_api_t *api, uint32_t nodeid) nodeid 414 lib/common/ipc_controld.c if (nodeid > 0) { nodeid 415 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 1971 lib/fencing/st_client.c stonith_api_kick(uint32_t nodeid, const char *uname, int timeout, bool off) nodeid 1980 lib/fencing/st_client.c action, nodeid, uname); nodeid 1987 lib/fencing/st_client.c action, nodeid, uname, pcmk_strerror(rc), rc); nodeid 1989 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); nodeid 1994 lib/fencing/st_client.c if ((uname == NULL) && (nodeid > 0)) { nodeid 2002 lib/fencing/st_client.c action, nodeid, uname, pcmk_strerror(rc), rc); nodeid 2004 lib/fencing/st_client.c api_log(LOG_NOTICE, "Node %u/%s kicked: %s", nodeid, uname, action); nodeid 2013 lib/fencing/st_client.c stonith_api_time(uint32_t nodeid, const char *uname, bool in_progress) nodeid 2022 lib/fencing/st_client.c "API initialization failed", nodeid, uname); nodeid 2034 lib/fencing/st_client.c char *name = (uname == NULL)? pcmk__itoa(nodeid) : strdup(uname); nodeid 2037 lib/fencing/st_client.c if ((uname == NULL) && (nodeid > 0)) { nodeid 2062 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 2064 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 2071 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 37 tools/crm_node.c int nodeid; nodeid 129 tools/crm_node.c pcmk__scan_min_int(optarg, &(options.nodeid), 0); nodeid 437 tools/crm_node.c uint32_t nodeid; nodeid 438 tools/crm_node.c int rc = pcmk__query_node_info(out, &nodeid, NULL, NULL, NULL, NULL, NULL, nodeid 450 tools/crm_node.c rc = out->message(out, "node-id", nodeid); nodeid 461 tools/crm_node.c print_node_name(uint32_t nodeid) nodeid 466 tools/crm_node.c if (nodeid == 0) { nodeid 482 tools/crm_node.c rc = pcmk__query_node_name(out, nodeid, &node_name, 0); nodeid 718 tools/crm_node.c long nodeid = 0; nodeid 728 tools/crm_node.c nodeid = strtol(target_uname, &endptr, 10); nodeid 730 tools/crm_node.c || (nodeid <= 0)) { nodeid 732 tools/crm_node.c nodeid = 0; nodeid 737 tools/crm_node.c rc = purge_node_from(servers[i], node_name, nodeid); nodeid 745 tools/crm_node.c rc = purge_node_from_fencer(node_name, nodeid); nodeid 752 tools/crm_node.c rc = purge_node_from_cib(node_name, nodeid); nodeid 854 tools/crm_node.c print_node_name(options.nodeid);