nodes 86 include/crm/common/ipc_controld.h GList *nodes; // list of pcmk_controld_api_node_t * nodes 391 include/crm/pengine/internal.h const char *comment, GHashTable *nodes); nodes 393 include/crm/pengine/internal.h #define pe__show_node_weights(level, rsc, text, nodes) \ nodes 395 include/crm/pengine/internal.h (level), (rsc), (text), (nodes)) nodes 148 include/crm/pengine/pe_types.h GListPtr nodes; nodes 47 include/pcmki/pcmki_sched_allocate.h GHashTable *nodes, const char *attr, nodes 51 include/pcmki/pcmki_sched_allocate.h GHashTable *nodes, const char *attr, nodes 40 include/pcmki/pcmki_sched_utils.h GHashTable *pcmk__copy_node_table(GHashTable *nodes); nodes 42 include/pcmki/pcmki_sched_utils.h GList *sort_nodes_by_weight(GList *nodes, pe_node_t *active_node, nodes 53 include/pcmki/pcmki_sched_utils.h gboolean can_run_any(GHashTable * nodes); nodes 141 lib/common/ipc_controld.c data->data.nodes = g_list_prepend(data->data.nodes, node_info); nodes 239 lib/common/ipc_controld.c g_list_free_full(reply_data.data.nodes, free); nodes 571 lib/pacemaker/pcmk_sched_allocate.c node = pe_find_node_id(data_set->nodes, id); nodes 857 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 914 lib/pacemaker/pcmk_sched_allocate.c for (GListPtr gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 1061 lib/pacemaker/pcmk_sched_allocate.c for (GList *item = data_set->nodes; item != NULL; item = item->next) { nodes 1091 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 1103 lib/pacemaker/pcmk_sched_allocate.c gIter = data_set->nodes; nodes 1164 lib/pacemaker/pcmk_sched_allocate.c const GListPtr nodes = (GListPtr) data; nodes 1189 lib/pacemaker/pcmk_sched_allocate.c if (nodes == NULL) { nodes 1234 lib/pacemaker/pcmk_sched_allocate.c for (gIter = nodes; gIter != NULL; gIter = gIter->next) { nodes 1353 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 1382 lib/pacemaker/pcmk_sched_allocate.c GListPtr nodes = g_list_copy(data_set->nodes); nodes 1384 lib/pacemaker/pcmk_sched_allocate.c nodes = sort_nodes_by_weight(nodes, NULL, data_set); nodes 1386 lib/pacemaker/pcmk_sched_allocate.c g_list_sort_with_data(data_set->resources, sort_rsc_process_order, nodes); nodes 1388 lib/pacemaker/pcmk_sched_allocate.c g_list_free(nodes); nodes 1391 lib/pacemaker/pcmk_sched_allocate.c gIter = data_set->nodes; nodes 1403 lib/pacemaker/pcmk_sched_allocate.c gIter = data_set->nodes; nodes 1632 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 32 lib/pacemaker/pcmk_sched_bundle.c void distribute_children(pe_resource_t *rsc, GListPtr children, GListPtr nodes, nodes 105 lib/pacemaker/pcmk_sched_bundle.c GListPtr nodes = NULL; nodes 117 lib/pacemaker/pcmk_sched_bundle.c nodes = g_hash_table_get_values(rsc->allowed_nodes); nodes 118 lib/pacemaker/pcmk_sched_bundle.c nodes = sort_nodes_by_weight(nodes, NULL, data_set); nodes 120 lib/pacemaker/pcmk_sched_bundle.c distribute_children(rsc, containers, nodes, bundle_data->nreplicas, nodes 122 lib/pacemaker/pcmk_sched_bundle.c g_list_free(nodes); nodes 527 lib/pacemaker/pcmk_sched_clone.c distribute_children(pe_resource_t *rsc, GListPtr children, GListPtr nodes, nodes 531 lib/pacemaker/pcmk_sched_clone.c distribute_children(pe_resource_t *rsc, GListPtr children, GListPtr nodes, nodes 539 lib/pacemaker/pcmk_sched_clone.c for(GListPtr nIter = nodes; nIter != NULL; nIter = nIter->next) { nodes 625 lib/pacemaker/pcmk_sched_clone.c GListPtr nodes = NULL; nodes 673 lib/pacemaker/pcmk_sched_clone.c nodes = g_hash_table_get_values(rsc->allowed_nodes); nodes 674 lib/pacemaker/pcmk_sched_clone.c nodes = sort_nodes_by_weight(nodes, NULL, data_set); nodes 676 lib/pacemaker/pcmk_sched_clone.c distribute_children(rsc, rsc->children, nodes, clone_data->clone_max, clone_data->clone_node_max, data_set); nodes 677 lib/pacemaker/pcmk_sched_clone.c g_list_free(nodes); nodes 816 lib/pacemaker/pcmk_sched_constraints.c pe_node_t *match = pe_find_node(data_set->nodes, node); nodes 1141 lib/pacemaker/pcmk_sched_constraints.c match_L = pcmk__copy_node_list(data_set->nodes, true); nodes 1149 lib/pacemaker/pcmk_sched_constraints.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 898 lib/pacemaker/pcmk_sched_graph.c for (gIter = data_set->nodes; gIter != NULL; nodes 497 lib/pacemaker/pcmk_sched_group.c GHashTable *nodes, const char *attr, float factor, nodes 507 lib/pacemaker/pcmk_sched_group.c return nodes; nodes 512 lib/pacemaker/pcmk_sched_group.c nodes = nodes 513 lib/pacemaker/pcmk_sched_group.c group_data->first_child->cmds->merge_weights(group_data->first_child, rhs, nodes, attr, nodes 522 lib/pacemaker/pcmk_sched_group.c nodes = pcmk__native_merge_weights(constraint->rsc_lh, rsc->id, nodes, nodes 529 lib/pacemaker/pcmk_sched_group.c return nodes; nodes 85 lib/pacemaker/pcmk_sched_native.c GListPtr nodes = NULL; nodes 103 lib/pacemaker/pcmk_sched_native.c nodes = g_hash_table_get_values(rsc->allowed_nodes); nodes 104 lib/pacemaker/pcmk_sched_native.c nodes = sort_nodes_by_weight(nodes, pe__current_node(rsc), data_set); nodes 107 lib/pacemaker/pcmk_sched_native.c best = g_list_nth_data(nodes, 0); nodes 110 lib/pacemaker/pcmk_sched_native.c if (prefer && nodes) { nodes 140 lib/pacemaker/pcmk_sched_native.c if ((chosen == NULL) && nodes) { nodes 166 lib/pacemaker/pcmk_sched_native.c for (GList *iter = nodes->next; iter; iter = iter->next) { nodes 193 lib/pacemaker/pcmk_sched_native.c result = native_assign_node(rsc, nodes, chosen, FALSE); nodes 194 lib/pacemaker/pcmk_sched_native.c g_list_free(nodes); nodes 255 lib/pacemaker/pcmk_sched_native.c add_node_scores_matching_attr(GHashTable *nodes, const pe_resource_t *rsc, nodes 267 lib/pacemaker/pcmk_sched_native.c g_hash_table_iter_init(&iter, nodes); nodes 358 lib/pacemaker/pcmk_sched_native.c GHashTable *nodes, const char *attr, float factor, nodes 366 lib/pacemaker/pcmk_sched_native.c return nodes; nodes 398 lib/pacemaker/pcmk_sched_native.c work = pcmk__copy_node_table(nodes); nodes 405 lib/pacemaker/pcmk_sched_native.c work = pcmk__copy_node_table(nodes); nodes 464 lib/pacemaker/pcmk_sched_native.c return nodes; nodes 480 lib/pacemaker/pcmk_sched_native.c if (nodes) { nodes 481 lib/pacemaker/pcmk_sched_native.c g_hash_table_destroy(nodes); nodes 640 lib/pacemaker/pcmk_sched_native.c pe_node_t *remote_node = pe_find_node(data_set->nodes, rsc->id); nodes 990 lib/pacemaker/pcmk_sched_native.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 535 lib/pacemaker/pcmk_sched_notif.c GListPtr nodes = NULL; nodes 584 lib/pacemaker/pcmk_sched_notif.c nodes = g_hash_table_get_values(n_data->allowed_nodes); nodes 590 lib/pacemaker/pcmk_sched_notif.c nodes = g_list_sort(nodes, sort_node_uname); nodes 592 lib/pacemaker/pcmk_sched_notif.c expand_node_list(nodes, &node_list, NULL); nodes 594 lib/pacemaker/pcmk_sched_notif.c g_list_free(nodes); nodes 598 lib/pacemaker/pcmk_sched_notif.c expand_node_list(data_set->nodes, &node_list, &metal_list); nodes 601 lib/pacemaker/pcmk_sched_notif.c expand_node_list(data_set->nodes, &node_list, NULL); nodes 96 lib/pacemaker/pcmk_sched_utils.c pcmk__copy_node_table(GHashTable *nodes) nodes 102 lib/pacemaker/pcmk_sched_utils.c if (nodes == NULL) { nodes 106 lib/pacemaker/pcmk_sched_utils.c g_hash_table_iter_init(&iter, nodes); nodes 244 lib/pacemaker/pcmk_sched_utils.c sort_nodes_by_weight(GList *nodes, pe_node_t *active_node, nodes 249 lib/pacemaker/pcmk_sched_utils.c return g_list_sort_with_data(nodes, sort_node_weight, &nw); nodes 271 lib/pacemaker/pcmk_sched_utils.c native_assign_node(pe_resource_t * rsc, GListPtr nodes, pe_node_t * chosen, gboolean force) nodes 451 lib/pacemaker/pcmk_sched_utils.c can_run_any(GHashTable * nodes) nodes 456 lib/pacemaker/pcmk_sched_utils.c if (nodes == NULL) { nodes 460 lib/pacemaker/pcmk_sched_utils.c g_hash_table_iter_init(&iter, nodes); nodes 757 lib/pengine/bundle.c node = pe_find_node(data_set->nodes, uname); nodes 37 lib/pengine/clone.c g_list_length(data_set->nodes)); nodes 160 lib/pengine/clone.c } else if (pcmk__list_of_multiple(data_set->nodes)) { nodes 161 lib/pengine/clone.c clone_data->clone_max = g_list_length(data_set->nodes); nodes 1177 lib/pengine/clone.c if (clone_data->clone_max == g_list_length(data_set->nodes)) { nodes 136 lib/pengine/native.c rsc->allowed_nodes = pe__node_list2table(data_set->nodes); nodes 254 lib/pengine/pe_output.c out->message(out, "cluster-counts", g_list_length(data_set->nodes), nodes 320 lib/pengine/pe_output.c out->message(out, "cluster-counts", g_list_length(data_set->nodes), nodes 1311 lib/pengine/pe_output.c GListPtr nodes = va_arg(args, GListPtr); nodes 1321 lib/pengine/pe_output.c for (GListPtr gIter = nodes; gIter != NULL; gIter = gIter->next) { nodes 1341 lib/pengine/pe_output.c GListPtr nodes = va_arg(args, GListPtr); nodes 1364 lib/pengine/pe_output.c for (GListPtr gIter = nodes; gIter != NULL; gIter = gIter->next) { nodes 1480 lib/pengine/pe_output.c GListPtr nodes = va_arg(args, GListPtr); nodes 1489 lib/pengine/pe_output.c for (GListPtr gIter = nodes; gIter != NULL; gIter = gIter->next) { nodes 21 lib/pengine/remote.c && pe__is_remote_node(pe_find_node(data_set->nodes, rsc->id)); nodes 133 lib/pengine/remote.c pe_node_t *guest_node = pe_find_node(data_set->nodes, rsc->id); nodes 183 lib/pengine/status.c pe_free_nodes(GListPtr nodes) nodes 185 lib/pengine/status.c for (GList *iterator = nodes; iterator != NULL; iterator = iterator->next) { nodes 217 lib/pengine/status.c if (nodes != NULL) { nodes 218 lib/pengine/status.c g_list_free(nodes); nodes 305 lib/pengine/status.c pe_free_nodes(data_set->nodes); nodes 407 lib/pengine/status.c pe_find_node_any(GListPtr nodes, const char *id, const char *uname) nodes 409 lib/pengine/status.c pe_node_t *match = pe_find_node_id(nodes, id); nodes 415 lib/pengine/status.c return pe_find_node(nodes, uname); nodes 419 lib/pengine/status.c pe_find_node_id(GListPtr nodes, const char *id) nodes 421 lib/pengine/status.c GListPtr gIter = nodes; nodes 435 lib/pengine/status.c pe_find_node(GListPtr nodes, const char *uname) nodes 437 lib/pengine/status.c GListPtr gIter = nodes; nodes 68 lib/pengine/tags.c pe_node_t *node = pe_find_node_id(data_set->nodes, id); nodes 401 lib/pengine/unpack.c if (pe_find_node(data_set->nodes, uname) != NULL) { nodes 451 lib/pengine/unpack.c data_set->nodes = g_list_insert_sorted(data_set->nodes, new_node, sort_node_uname); nodes 596 lib/pengine/unpack.c if (data_set->localhost && pe_find_node(data_set->nodes, data_set->localhost) == NULL) { nodes 656 lib/pengine/unpack.c if (new_node_id && pe_find_node(data_set->nodes, new_node_id) == NULL) { nodes 674 lib/pengine/unpack.c if (new_node_id && pe_find_node(data_set->nodes, new_node_id) == NULL) { nodes 693 lib/pengine/unpack.c if (new_node_id && pe_find_node(data_set->nodes, new_node_id) == NULL) { nodes 727 lib/pengine/unpack.c remote_node = pe_find_node(data_set->nodes, new_rsc->id); nodes 1052 lib/pengine/unpack.c this_node = pe_find_node_any(data_set->nodes, id, uname); nodes 1156 lib/pengine/unpack.c this_node = pe_find_node_any(data_set->nodes, id, uname); nodes 1244 lib/pengine/unpack.c for (GListPtr gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 1631 lib/pengine/unpack.c node = pe_find_node(data_set->nodes, rsc_id); nodes 2047 lib/pengine/unpack.c tmpnode = pe_find_node(data_set->nodes, rsc->id); nodes 2079 lib/pengine/unpack.c tmpnode = pe_find_node(data_set->nodes, rsc->id); nodes 2583 lib/pengine/unpack.c target_node = pe_find_node(data_set->nodes, target); nodes 2584 lib/pengine/unpack.c source_node = pe_find_node(data_set->nodes, source); nodes 2683 lib/pengine/unpack.c pe_node_t *target_node = pe_find_node(data_set->nodes, target); nodes 2749 lib/pengine/unpack.c pe_node_t *source_node = pe_find_node(data_set->nodes, source); nodes 3039 lib/pengine/unpack.c fail_rsc->allowed_nodes = pe__node_list2table(data_set->nodes); nodes 3234 lib/pengine/unpack.c pe_node_t *remote_node = pe_find_node(data_set->nodes, remote_conn->id); nodes 3273 lib/pengine/unpack.c pe_node_t *remote_node = pe_find_node(data_set->nodes, rsc->id); nodes 3714 lib/pengine/unpack.c pe_node_t *target = pe_find_node(data_set->nodes, migrate_target); nodes 3980 lib/pengine/unpack.c this_node = pe_find_node(data_set->nodes, uname); nodes 231 lib/pengine/utils.c GHashTable *nodes) nodes 236 lib/pengine/utils.c GList *list = g_list_sort(g_hash_table_get_values(nodes), sort_node_uname); nodes 265 lib/pengine/utils.c pe_resource_t *rsc, const char *comment, GHashTable *nodes) nodes 274 lib/pengine/utils.c g_hash_table_iter_init(&iter, nodes); nodes 307 lib/pengine/utils.c GHashTable *nodes) nodes 314 lib/pengine/utils.c nodes = rsc->allowed_nodes; nodes 316 lib/pengine/utils.c if (nodes == NULL) { nodes 322 lib/pengine/utils.c pe__log_node_weights(file, function, line, rsc, comment, nodes); nodes 324 lib/pengine/utils.c pe__output_node_weights(rsc, comment, nodes); nodes 333 lib/pengine/utils.c comment, nodes); nodes 1676 lib/pengine/utils.c GListPtr gIter = data_set->nodes; nodes 2400 lib/pengine/utils.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 1477 tools/crm_mon.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 69 tools/crm_mon_print.c pe_node_t *node = pe_find_node(data_set->nodes, s); nodes 435 tools/crm_mon_print.c node = pe_find_node_id(data_set->nodes, ID(node_state)); nodes 558 tools/crm_mon_print.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 688 tools/crm_mon_print.c CHECK_RC(rc, out->message(out, "node-list", data_set->nodes, unames, nodes 814 tools/crm_mon_print.c out->message(out, "node-list", data_set->nodes, unames, nodes 910 tools/crm_mon_print.c out->message(out, "node-list", data_set->nodes, unames, nodes 227 tools/crm_node.c reply->data.nodes = g_list_sort(reply->data.nodes, sort_node); nodes 228 tools/crm_node.c for (GList *node_iter = reply->data.nodes; nodes 1007 tools/crm_resource.c dest = pe_find_node(data_set->nodes, options.host_uname); nodes 1019 tools/crm_resource.c rc = cli_resource_clear(options.rsc_id, NULL, data_set->nodes, nodes 1256 tools/crm_resource.c pe_node_t *node = pe_find_node(data_set->nodes, options.host_uname); nodes 1805 tools/crm_resource.c dest = pe_find_node(data_set->nodes, options.host_uname); nodes 1836 tools/crm_resource.c pe_node_t *dest = pe_find_node(data_set->nodes, nodes 509 tools/crm_resource_runtime.c pe_node_t *node = pe_find_node(data_set->nodes, host_uname); nodes 728 tools/crm_resource_runtime.c GListPtr nodes = g_hash_table_get_values(rsc->known_on); nodes 730 tools/crm_resource_runtime.c if(nodes == NULL && force) { nodes 731 tools/crm_resource_runtime.c nodes = pcmk__copy_node_list(data_set->nodes, false); nodes 733 tools/crm_resource_runtime.c } else if(nodes == NULL && rsc->exclusive_discover) { nodes 740 tools/crm_resource_runtime.c nodes = g_list_prepend(nodes, node); nodes 744 tools/crm_resource_runtime.c } else if(nodes == NULL) { nodes 745 tools/crm_resource_runtime.c nodes = g_hash_table_get_values(rsc->allowed_nodes); nodes 748 tools/crm_resource_runtime.c for (lpc = nodes; lpc != NULL; lpc = lpc->next) { nodes 757 tools/crm_resource_runtime.c g_list_free(nodes); nodes 762 tools/crm_resource_runtime.c g_list_free(nodes); nodes 766 tools/crm_resource_runtime.c node = pe_find_node(data_set->nodes, host_uname); nodes 825 tools/crm_resource_runtime.c pe_node_t *node = pe_find_node(data_set->nodes, node_name); nodes 853 tools/crm_resource_runtime.c for (GList *iter = data_set->nodes; iter; iter = iter->next) { nodes 1898 tools/crm_resource_runtime.c pe_node_t *dest = pe_find_node(data_set->nodes, host_name); nodes 1962 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, NULL, data_set->nodes, cib, cib_options, FALSE, force); nodes 1965 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, dest->details->uname, data_set->nodes, cib, nodes 403 tools/crm_simulate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 592 tools/crmadmin.c xmlNode *nodes = get_object_root(XML_CIB_TAG_NODES, xml_node); nodes 594 tools/crmadmin.c for (node = first_named_child(nodes, XML_CIB_TAG_NODE); node != NULL;