nodes 86 include/crm/common/ipc_controld.h GList *nodes; // list of pcmk_controld_api_node_t * nodes 350 include/crm/pengine/internal.h const char *comment, GHashTable *nodes, nodes 353 include/crm/pengine/internal.h #define pe__show_node_weights(level, rsc, text, nodes, data_set) \ nodes 355 include/crm/pengine/internal.h (level), (rsc), (text), (nodes), (data_set)) nodes 157 include/crm/pengine/pe_types.h GList *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 39 include/pcmki/pcmki_sched_utils.h GHashTable *pcmk__copy_node_table(GHashTable *nodes); nodes 41 include/pcmki/pcmki_sched_utils.h GList *sort_nodes_by_weight(GList *nodes, pe_node_t *active_node, nodes 52 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 1479 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "node-list", data_set->nodes, unames, nodes 1594 lib/pacemaker/pcmk_output.c out->message(out, "node-list", data_set->nodes, unames, resources, show_opts); nodes 1669 lib/pacemaker/pcmk_output.c out->message(out, "node-list", data_set->nodes, unames, resources, show_opts); nodes 547 lib/pacemaker/pcmk_sched_allocate.c node = pe_find_node_id(data_set->nodes, id); nodes 834 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 891 lib/pacemaker/pcmk_sched_allocate.c for (GList *gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 1038 lib/pacemaker/pcmk_sched_allocate.c for (GList *item = data_set->nodes; item != NULL; item = item->next) { nodes 1068 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 1080 lib/pacemaker/pcmk_sched_allocate.c gIter = data_set->nodes; nodes 1141 lib/pacemaker/pcmk_sched_allocate.c GList *nodes = (GList *) data; nodes 1166 lib/pacemaker/pcmk_sched_allocate.c if (nodes == NULL) { nodes 1213 lib/pacemaker/pcmk_sched_allocate.c for (gIter = nodes; gIter != NULL; gIter = gIter->next) { nodes 1332 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 1361 lib/pacemaker/pcmk_sched_allocate.c GList *nodes = g_list_copy(data_set->nodes); nodes 1363 lib/pacemaker/pcmk_sched_allocate.c nodes = sort_nodes_by_weight(nodes, NULL, data_set); nodes 1365 lib/pacemaker/pcmk_sched_allocate.c g_list_sort_with_data(data_set->resources, sort_rsc_process_order, nodes); nodes 1367 lib/pacemaker/pcmk_sched_allocate.c g_list_free(nodes); nodes 1370 lib/pacemaker/pcmk_sched_allocate.c gIter = data_set->nodes; nodes 1384 lib/pacemaker/pcmk_sched_allocate.c gIter = data_set->nodes; nodes 1614 lib/pacemaker/pcmk_sched_allocate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 34 lib/pacemaker/pcmk_sched_bundle.c void distribute_children(pe_resource_t *rsc, GList *children, GList *nodes, nodes 107 lib/pacemaker/pcmk_sched_bundle.c GList *nodes = NULL; nodes 120 lib/pacemaker/pcmk_sched_bundle.c nodes = g_hash_table_get_values(rsc->allowed_nodes); nodes 121 lib/pacemaker/pcmk_sched_bundle.c nodes = sort_nodes_by_weight(nodes, NULL, data_set); nodes 123 lib/pacemaker/pcmk_sched_bundle.c distribute_children(rsc, containers, nodes, bundle_data->nreplicas, nodes 125 lib/pacemaker/pcmk_sched_bundle.c g_list_free(nodes); nodes 569 lib/pacemaker/pcmk_sched_clone.c distribute_children(pe_resource_t *rsc, GList *children, GList *nodes, nodes 573 lib/pacemaker/pcmk_sched_clone.c distribute_children(pe_resource_t *rsc, GList *children, GList *nodes, nodes 582 lib/pacemaker/pcmk_sched_clone.c for(GList *nIter = nodes; nIter != NULL; nIter = nIter->next) { nodes 681 lib/pacemaker/pcmk_sched_clone.c GList *nodes = NULL; nodes 727 lib/pacemaker/pcmk_sched_clone.c nodes = g_hash_table_get_values(rsc->allowed_nodes); nodes 728 lib/pacemaker/pcmk_sched_clone.c nodes = sort_nodes_by_weight(nodes, NULL, data_set); nodes 730 lib/pacemaker/pcmk_sched_clone.c distribute_children(rsc, rsc->children, nodes, clone_data->clone_max, clone_data->clone_node_max, data_set); nodes 731 lib/pacemaker/pcmk_sched_clone.c g_list_free(nodes); nodes 815 lib/pacemaker/pcmk_sched_constraints.c pe_node_t *match = pe_find_node(data_set->nodes, node); nodes 1138 lib/pacemaker/pcmk_sched_constraints.c match_L = pcmk__copy_node_list(data_set->nodes, true); nodes 1146 lib/pacemaker/pcmk_sched_constraints.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 927 lib/pacemaker/pcmk_sched_graph.c for (gIter = data_set->nodes; gIter != NULL; nodes 541 lib/pacemaker/pcmk_sched_group.c GHashTable *nodes, const char *attr, float factor, nodes 551 lib/pacemaker/pcmk_sched_group.c return nodes; nodes 556 lib/pacemaker/pcmk_sched_group.c nodes = nodes 557 lib/pacemaker/pcmk_sched_group.c group_data->first_child->cmds->merge_weights(group_data->first_child, rhs, nodes, attr, nodes 563 lib/pacemaker/pcmk_sched_group.c nodes = pcmk__native_merge_weights(constraint->rsc_lh, rsc->id, nodes, nodes 570 lib/pacemaker/pcmk_sched_group.c return nodes; nodes 89 lib/pacemaker/pcmk_sched_native.c GList *nodes = NULL; nodes 107 lib/pacemaker/pcmk_sched_native.c nodes = g_hash_table_get_values(rsc->allowed_nodes); nodes 108 lib/pacemaker/pcmk_sched_native.c nodes = sort_nodes_by_weight(nodes, pe__current_node(rsc), data_set); nodes 111 lib/pacemaker/pcmk_sched_native.c best = g_list_nth_data(nodes, 0); nodes 114 lib/pacemaker/pcmk_sched_native.c if (prefer && nodes) { nodes 144 lib/pacemaker/pcmk_sched_native.c if ((chosen == NULL) && nodes) { nodes 170 lib/pacemaker/pcmk_sched_native.c for (GList *iter = nodes->next; iter; iter = iter->next) { nodes 198 lib/pacemaker/pcmk_sched_native.c g_list_free(nodes); nodes 259 lib/pacemaker/pcmk_sched_native.c add_node_scores_matching_attr(GHashTable *nodes, const pe_resource_t *rsc, nodes 271 lib/pacemaker/pcmk_sched_native.c g_hash_table_iter_init(&iter, nodes); nodes 362 lib/pacemaker/pcmk_sched_native.c GHashTable *nodes, const char *attr, float factor, nodes 370 lib/pacemaker/pcmk_sched_native.c return nodes; nodes 402 lib/pacemaker/pcmk_sched_native.c work = pcmk__copy_node_table(nodes); nodes 409 lib/pacemaker/pcmk_sched_native.c work = pcmk__copy_node_table(nodes); nodes 466 lib/pacemaker/pcmk_sched_native.c return nodes; nodes 482 lib/pacemaker/pcmk_sched_native.c if (nodes) { nodes 483 lib/pacemaker/pcmk_sched_native.c g_hash_table_destroy(nodes); nodes 639 lib/pacemaker/pcmk_sched_native.c pe_node_t *remote_node = pe_find_node(data_set->nodes, rsc->id); nodes 988 lib/pacemaker/pcmk_sched_native.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 525 lib/pacemaker/pcmk_sched_notif.c GList *nodes = NULL; nodes 582 lib/pacemaker/pcmk_sched_notif.c nodes = g_hash_table_get_values(n_data->allowed_nodes); nodes 588 lib/pacemaker/pcmk_sched_notif.c nodes = g_list_sort(nodes, sort_node_uname); nodes 590 lib/pacemaker/pcmk_sched_notif.c expand_node_list(nodes, &node_list, NULL); nodes 592 lib/pacemaker/pcmk_sched_notif.c g_list_free(nodes); nodes 596 lib/pacemaker/pcmk_sched_notif.c expand_node_list(data_set->nodes, &node_list, &metal_list); nodes 599 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 452 lib/pacemaker/pcmk_sched_utils.c can_run_any(GHashTable * nodes) nodes 457 lib/pacemaker/pcmk_sched_utils.c if (nodes == NULL) { nodes 461 lib/pacemaker/pcmk_sched_utils.c g_hash_table_iter_init(&iter, nodes); nodes 752 lib/pengine/bundle.c node = pe_find_node(data_set->nodes, uname); nodes 79 lib/pengine/clone.c g_list_length(data_set->nodes)); nodes 220 lib/pengine/clone.c clone_data->clone_max = QB_MAX(1, g_list_length(data_set->nodes)); nodes 1019 lib/pengine/clone.c if (clone_data->clone_max == g_list_length(data_set->nodes)) { nodes 143 lib/pengine/native.c rsc->allowed_nodes = pe__node_list2table(data_set->nodes); nodes 404 lib/pengine/pe_output.c out->message(out, "cluster-counts", g_list_length(data_set->nodes), nodes 465 lib/pengine/pe_output.c out->message(out, "cluster-counts", g_list_length(data_set->nodes), nodes 1723 lib/pengine/pe_output.c for (GList *gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 1895 lib/pengine/pe_output.c GList *nodes = va_arg(args, GList *); nodes 1902 lib/pengine/pe_output.c for (GList *gIter = nodes; gIter != NULL; gIter = gIter->next) { nodes 1921 lib/pengine/pe_output.c GList *nodes = va_arg(args, GList *); nodes 1941 lib/pengine/pe_output.c for (GList *gIter = nodes; gIter != NULL; gIter = gIter->next) { nodes 2056 lib/pengine/pe_output.c GList *nodes = va_arg(args, GList *); nodes 2062 lib/pengine/pe_output.c for (GList *gIter = nodes; gIter != NULL; gIter = gIter->next) { nodes 2097 lib/pengine/pe_output.c pe_node_t *node = pe_find_node_id(data_set->nodes, ID(node_state)); 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 184 lib/pengine/status.c pe_free_nodes(GList *nodes) nodes 186 lib/pengine/status.c for (GList *iterator = nodes; iterator != NULL; iterator = iterator->next) { nodes 218 lib/pengine/status.c if (nodes != NULL) { nodes 219 lib/pengine/status.c g_list_free(nodes); nodes 306 lib/pengine/status.c pe_free_nodes(data_set->nodes); nodes 406 lib/pengine/status.c pe_find_node_any(GList *nodes, const char *id, const char *uname) nodes 408 lib/pengine/status.c pe_node_t *match = pe_find_node_id(nodes, id); nodes 414 lib/pengine/status.c return pe_find_node(nodes, uname); nodes 418 lib/pengine/status.c pe_find_node_id(GList *nodes, const char *id) nodes 420 lib/pengine/status.c GList *gIter = nodes; nodes 434 lib/pengine/status.c pe_find_node(GList *nodes, const char *uname) nodes 436 lib/pengine/status.c GList *gIter = nodes; nodes 70 lib/pengine/tags.c pe_node_t *node = pe_find_node_id(data_set->nodes, id); nodes 395 lib/pengine/unpack.c if (pe_find_node(data_set->nodes, uname) != NULL) { nodes 443 lib/pengine/unpack.c data_set->nodes = g_list_insert_sorted(data_set->nodes, new_node, sort_node_uname); nodes 588 lib/pengine/unpack.c if (data_set->localhost && pe_find_node(data_set->nodes, data_set->localhost) == NULL) { nodes 648 lib/pengine/unpack.c if (new_node_id && pe_find_node(data_set->nodes, new_node_id) == NULL) { nodes 666 lib/pengine/unpack.c if (new_node_id && pe_find_node(data_set->nodes, new_node_id) == NULL) { nodes 685 lib/pengine/unpack.c if (new_node_id && pe_find_node(data_set->nodes, new_node_id) == NULL) { nodes 719 lib/pengine/unpack.c remote_node = pe_find_node(data_set->nodes, new_rsc->id); nodes 1089 lib/pengine/unpack.c this_node = pe_find_node_any(data_set->nodes, id, uname); nodes 1168 lib/pengine/unpack.c this_node = pe_find_node_any(data_set->nodes, id, uname); nodes 1299 lib/pengine/unpack.c for (GList *gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 1689 lib/pengine/unpack.c node = pe_find_node(data_set->nodes, rsc_id); nodes 2109 lib/pengine/unpack.c tmpnode = pe_find_node(data_set->nodes, rsc->id); nodes 2141 lib/pengine/unpack.c tmpnode = pe_find_node(data_set->nodes, rsc->id); nodes 2666 lib/pengine/unpack.c target_node = pe_find_node(data_set->nodes, target); nodes 2667 lib/pengine/unpack.c source_node = pe_find_node(data_set->nodes, source); nodes 2766 lib/pengine/unpack.c pe_node_t *target_node = pe_find_node(data_set->nodes, target); nodes 2832 lib/pengine/unpack.c pe_node_t *source_node = pe_find_node(data_set->nodes, source); nodes 3123 lib/pengine/unpack.c fail_rsc->allowed_nodes = pe__node_list2table(data_set->nodes); nodes 3318 lib/pengine/unpack.c pe_node_t *remote_node = pe_find_node(data_set->nodes, remote_conn->id); nodes 3357 lib/pengine/unpack.c pe_node_t *remote_node = pe_find_node(data_set->nodes, rsc->id); nodes 3799 lib/pengine/unpack.c pe_node_t *target = pe_find_node(data_set->nodes, migrate_target); nodes 4065 lib/pengine/unpack.c this_node = pe_find_node(data_set->nodes, uname); nodes 234 lib/pengine/utils.c GHashTable *nodes, pe_working_set_t *data_set) nodes 240 lib/pengine/utils.c GList *list = g_list_sort(g_hash_table_get_values(nodes), sort_node_uname); nodes 264 lib/pengine/utils.c pe_resource_t *rsc, const char *comment, GHashTable *nodes) nodes 273 lib/pengine/utils.c g_hash_table_iter_init(&iter, nodes); nodes 306 lib/pengine/utils.c GHashTable *nodes, pe_working_set_t *data_set) nodes 312 lib/pengine/utils.c if (nodes == NULL) { nodes 318 lib/pengine/utils.c pe__log_node_weights(file, function, line, rsc, comment, nodes); nodes 320 lib/pengine/utils.c pe__output_node_weights(rsc, comment, nodes, data_set); nodes 1601 lib/pengine/utils.c GList *gIter = data_set->nodes; nodes 1998 lib/pengine/utils.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 2439 lib/pengine/utils.c GList *nodes = NULL; nodes 2446 lib/pengine/utils.c nodes = g_list_prepend(nodes, strdup("*")); nodes 2448 lib/pengine/utils.c pe_node_t *node = pe_find_node(data_set->nodes, s); nodes 2454 lib/pengine/utils.c nodes = g_list_prepend(nodes, strdup(s)); nodes 2462 lib/pengine/utils.c nodes = pe__unames_with_tag(data_set, s); nodes 2466 lib/pengine/utils.c return nodes; nodes 1712 tools/crm_mon.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 228 tools/crm_node.c reply->data.nodes = g_list_sort(reply->data.nodes, sort_node); nodes 229 tools/crm_node.c for (GList *node_iter = reply->data.nodes; nodes 1060 tools/crm_resource.c dest = pe_find_node(data_set->nodes, options.host_uname); nodes 1072 tools/crm_resource.c rc = cli_resource_clear(options.rsc_id, NULL, data_set->nodes, nodes 1275 tools/crm_resource.c pe_node_t *node = pe_find_node(data_set->nodes, options.host_uname); nodes 1756 tools/crm_resource.c node = pe_find_node(data_set->nodes, options.host_uname); nodes 1854 tools/crm_resource.c node = pe_find_node(data_set->nodes, options.host_uname); nodes 1905 tools/crm_resource.c GList *nodes = cli_resource_search(rsc, options.rsc_id, data_set); nodes 1906 tools/crm_resource.c rc = out->message(out, "resource-search-list", nodes, options.rsc_id); nodes 1907 tools/crm_resource.c g_list_free_full(nodes, free); nodes 492 tools/crm_resource_print.c GList *nodes = va_arg(args, GList *); nodes 498 tools/crm_resource_print.c if (!out->is_quiet(out) && nodes == NULL) { nodes 503 tools/crm_resource_print.c for (GList *lpc = nodes; lpc != NULL; lpc = lpc->next) { nodes 540 tools/crm_resource_print.c GList *nodes = va_arg(args, GList *); nodes 547 tools/crm_resource_print.c for (GList *lpc = nodes; lpc != NULL; lpc = lpc->next) { nodes 534 tools/crm_resource_runtime.c pe_node_t *node = pe_find_node(data_set->nodes, host_uname); nodes 751 tools/crm_resource_runtime.c GList *nodes = g_hash_table_get_values(rsc->known_on); nodes 753 tools/crm_resource_runtime.c if(nodes == NULL && force) { nodes 754 tools/crm_resource_runtime.c nodes = pcmk__copy_node_list(data_set->nodes, false); nodes 756 tools/crm_resource_runtime.c } else if(nodes == NULL && rsc->exclusive_discover) { nodes 763 tools/crm_resource_runtime.c nodes = g_list_prepend(nodes, node); nodes 767 tools/crm_resource_runtime.c } else if(nodes == NULL) { nodes 768 tools/crm_resource_runtime.c nodes = g_hash_table_get_values(rsc->allowed_nodes); nodes 771 tools/crm_resource_runtime.c for (lpc = nodes; lpc != NULL; lpc = lpc->next) { nodes 780 tools/crm_resource_runtime.c g_list_free(nodes); nodes 785 tools/crm_resource_runtime.c g_list_free(nodes); nodes 789 tools/crm_resource_runtime.c node = pe_find_node(data_set->nodes, host_uname); nodes 849 tools/crm_resource_runtime.c pe_node_t *node = pe_find_node(data_set->nodes, node_name); nodes 877 tools/crm_resource_runtime.c for (GList *iter = data_set->nodes; iter; iter = iter->next) { nodes 1839 tools/crm_resource_runtime.c GList *nodes = cli_resource_search(rsc, requested_name, data_set); nodes 1840 tools/crm_resource_runtime.c if(nodes != NULL && force == FALSE) { nodes 1848 tools/crm_resource_runtime.c g_list_free_full(nodes, free); nodes 1895 tools/crm_resource_runtime.c pe_node_t *dest = pe_find_node(data_set->nodes, host_name); nodes 1959 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, NULL, data_set->nodes, cib, cib_options, FALSE, force); nodes 1962 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, dest->details->uname, data_set->nodes, cib, nodes 406 tools/crm_simulate.c rc = out->message(out, "node-list", data_set->nodes, all, all, show_opts);