allowed_nodes 89 daemons/fenced/fenced_scheduler.c g_hash_table_iter_init(&iter, rsc->allowed_nodes); allowed_nodes 462 include/crm/common/resources.h GHashTable *allowed_nodes; allowed_nodes 1122 lib/pacemaker/libpacemaker_private.h const GList *allowed_nodes); allowed_nodes 72 lib/pacemaker/pcmk_sched_bundle.c g_hash_table_iter_init(&iter, replica->child->allowed_nodes); allowed_nodes 125 lib/pacemaker/pcmk_sched_bundle.c rsc, __func__, rsc->allowed_nodes, rsc->cluster); allowed_nodes 142 lib/pacemaker/pcmk_sched_bundle.c g_hash_table_iter_init(&iter, bundled_resource->allowed_nodes); allowed_nodes 434 lib/pacemaker/pcmk_sched_bundle.c scratch = g_hash_table_get_values(dependent->allowed_nodes); allowed_nodes 79 lib/pacemaker/pcmk_sched_clone.c rsc, __func__, rsc->allowed_nodes, rsc->cluster); allowed_nodes 580 lib/pacemaker/pcmk_sched_clone.c pcmk_node_t *allowed = g_hash_table_lookup(rsc->allowed_nodes, allowed_nodes 593 lib/pacemaker/pcmk_sched_clone.c g_hash_table_remove(rsc->allowed_nodes, node->details->id); allowed_nodes 1369 lib/pacemaker/pcmk_sched_colocation.c work = pcmk__copy_node_table(dependent->allowed_nodes); allowed_nodes 1427 lib/pacemaker/pcmk_sched_colocation.c g_hash_table_destroy(dependent->allowed_nodes); allowed_nodes 1428 lib/pacemaker/pcmk_sched_colocation.c dependent->allowed_nodes = work; allowed_nodes 1564 lib/pacemaker/pcmk_sched_colocation.c allowed_nodes_orig = rsc->allowed_nodes; allowed_nodes 1565 lib/pacemaker/pcmk_sched_colocation.c rsc->allowed_nodes = pcmk__copy_node_table(allowed_nodes_orig); allowed_nodes 1578 lib/pacemaker/pcmk_sched_colocation.c g_hash_table_iter_init(&iter, rsc->allowed_nodes); allowed_nodes 1603 lib/pacemaker/pcmk_sched_colocation.c g_hash_table_destroy(rsc->allowed_nodes); allowed_nodes 1604 lib/pacemaker/pcmk_sched_colocation.c rsc->allowed_nodes = allowed_nodes_orig; allowed_nodes 1622 lib/pacemaker/pcmk_sched_colocation.c int allowed_nodes = 0; allowed_nodes 1624 lib/pacemaker/pcmk_sched_colocation.c g_hash_table_iter_init(&iter, rsc->allowed_nodes); allowed_nodes 1626 lib/pacemaker/pcmk_sched_colocation.c if ((allowed_node->weight >= 0) && (++allowed_nodes > 1)) { allowed_nodes 1632 lib/pacemaker/pcmk_sched_colocation.c ((allowed_nodes == 1)? "on a single node" : "nowhere")); allowed_nodes 1633 lib/pacemaker/pcmk_sched_colocation.c return (allowed_nodes == 1); allowed_nodes 1824 lib/pacemaker/pcmk_sched_colocation.c work = pcmk__copy_node_table(source_rsc->allowed_nodes); allowed_nodes 1944 lib/pacemaker/pcmk_sched_colocation.c &target_rsc->allowed_nodes, allowed_nodes 1977 lib/pacemaker/pcmk_sched_colocation.c g_hash_table_iter_init(&iter, dependent->allowed_nodes); allowed_nodes 77 lib/pacemaker/pcmk_sched_fencing.c && (g_hash_table_lookup(rsc->allowed_nodes, allowed_nodes 69 lib/pacemaker/pcmk_sched_group.c rsc, __func__, rsc->allowed_nodes, rsc->cluster); allowed_nodes 86 lib/pacemaker/pcmk_sched_instances.c if (instance->allowed_nodes != NULL) { allowed_nodes 90 lib/pacemaker/pcmk_sched_instances.c g_hash_table_iter_init(&iter, instance->allowed_nodes); allowed_nodes 101 lib/pacemaker/pcmk_sched_instances.c child_node = g_hash_table_lookup(child->allowed_nodes, allowed_nodes 273 lib/pacemaker/pcmk_sched_instances.c pcmk_node_t *allowed = g_hash_table_lookup(rsc->allowed_nodes, allowed_nodes 601 lib/pacemaker/pcmk_sched_instances.c GHashTable *allowed_orig_parent = parent->allowed_nodes; allowed_nodes 607 lib/pacemaker/pcmk_sched_instances.c allowed_node = g_hash_table_lookup(instance->allowed_nodes, allowed_nodes 637 lib/pacemaker/pcmk_sched_instances.c parent->allowed_nodes = pcmk__copy_node_table(parent->allowed_nodes); allowed_nodes 690 lib/pacemaker/pcmk_sched_instances.c g_hash_table_destroy(parent->allowed_nodes); allowed_nodes 691 lib/pacemaker/pcmk_sched_instances.c parent->allowed_nodes = allowed_orig_parent; allowed_nodes 718 lib/pacemaker/pcmk_sched_instances.c g_hash_table_iter_init(&iter, rsc->allowed_nodes); allowed_nodes 1192 lib/pacemaker/pcmk_sched_instances.c nodes = pcmk__sort_nodes(g_hash_table_get_values(match_rsc->allowed_nodes), allowed_nodes 695 lib/pacemaker/pcmk_sched_location.c pcmk_node_t *allowed_node = g_hash_table_lookup(rsc->allowed_nodes, allowed_nodes 708 lib/pacemaker/pcmk_sched_location.c g_hash_table_insert(rsc->allowed_nodes, allowed_nodes 123 lib/pacemaker/pcmk_sched_nodes.c pcmk__copy_node_table(rsc->allowed_nodes)); allowed_nodes 149 lib/pacemaker/pcmk_sched_nodes.c g_hash_table_destroy(rsc->allowed_nodes); allowed_nodes 152 lib/pacemaker/pcmk_sched_nodes.c rsc->allowed_nodes = g_hash_table_lookup(backup, rsc->id); allowed_nodes 153 lib/pacemaker/pcmk_sched_nodes.c rsc->allowed_nodes = pcmk__copy_node_table(rsc->allowed_nodes); allowed_nodes 427 lib/pacemaker/pcmk_sched_nodes.c GHashTable *allowed_nodes = NULL; allowed_nodes 432 lib/pacemaker/pcmk_sched_nodes.c allowed_nodes = rsc->allowed_nodes; allowed_nodes 434 lib/pacemaker/pcmk_sched_nodes.c allowed_nodes = rsc->parent->allowed_nodes; allowed_nodes 436 lib/pacemaker/pcmk_sched_nodes.c return g_hash_table_lookup(allowed_nodes, node->details->id); allowed_nodes 136 lib/pacemaker/pcmk_sched_primitive.c if (rsc->allowed_nodes != NULL) { allowed_nodes 137 lib/pacemaker/pcmk_sched_primitive.c GList *nodes = g_hash_table_get_values(rsc->allowed_nodes); allowed_nodes 191 lib/pacemaker/pcmk_sched_primitive.c chosen = g_hash_table_lookup(rsc->allowed_nodes, prefer->details->id); allowed_nodes 309 lib/pacemaker/pcmk_sched_primitive.c archive = pcmk__copy_node_table(rsc->allowed_nodes); allowed_nodes 325 lib/pacemaker/pcmk_sched_primitive.c && !pcmk__any_node_available(rsc->allowed_nodes)) { allowed_nodes 330 lib/pacemaker/pcmk_sched_primitive.c g_hash_table_destroy(rsc->allowed_nodes); allowed_nodes 331 lib/pacemaker/pcmk_sched_primitive.c rsc->allowed_nodes = archive; allowed_nodes 429 lib/pacemaker/pcmk_sched_primitive.c pe__show_node_scores(true, rsc, "Pre-assignment", rsc->allowed_nodes, allowed_nodes 454 lib/pacemaker/pcmk_sched_primitive.c rsc->allowed_nodes, rsc->cluster); allowed_nodes 497 lib/pacemaker/pcmk_sched_primitive.c rsc, __func__, rsc->allowed_nodes, rsc->cluster); allowed_nodes 867 lib/pacemaker/pcmk_sched_primitive.c g_hash_table_iter_init(&iter, rsc->allowed_nodes); allowed_nodes 891 lib/pacemaker/pcmk_sched_primitive.c GList *allowed_nodes = NULL; allowed_nodes 893 lib/pacemaker/pcmk_sched_primitive.c if (rsc->allowed_nodes) { allowed_nodes 894 lib/pacemaker/pcmk_sched_primitive.c allowed_nodes = g_hash_table_get_values(rsc->allowed_nodes); allowed_nodes 898 lib/pacemaker/pcmk_sched_primitive.c allowed_nodes = g_list_sort(allowed_nodes, pe__cmp_node_name); allowed_nodes 901 lib/pacemaker/pcmk_sched_primitive.c return allowed_nodes; allowed_nodes 913 lib/pacemaker/pcmk_sched_primitive.c GList *allowed_nodes = NULL; allowed_nodes 973 lib/pacemaker/pcmk_sched_primitive.c allowed_nodes = allowed_nodes_as_list(rsc); allowed_nodes 977 lib/pacemaker/pcmk_sched_primitive.c g_list_foreach(allowed_nodes, pcmk__order_restart_vs_unfence, rsc); allowed_nodes 981 lib/pacemaker/pcmk_sched_primitive.c pcmk__create_utilization_constraints(rsc, allowed_nodes); allowed_nodes 1025 lib/pacemaker/pcmk_sched_primitive.c for (GList *item = allowed_nodes; item; item = item->next) { allowed_nodes 1079 lib/pacemaker/pcmk_sched_primitive.c g_list_free(allowed_nodes); allowed_nodes 206 lib/pacemaker/pcmk_sched_probes.c allowed = g_hash_table_lookup(rsc->allowed_nodes, node->details->id); allowed_nodes 215 lib/pacemaker/pcmk_sched_promotable.c local_node = g_hash_table_lookup(parent->allowed_nodes, node->details->id); allowed_nodes 332 lib/pacemaker/pcmk_sched_promotable.c node = g_hash_table_lookup(clone->allowed_nodes, chosen->details->id); allowed_nodes 370 lib/pacemaker/pcmk_sched_promotable.c &clone->allowed_nodes, allowed_nodes 410 lib/pacemaker/pcmk_sched_promotable.c const pcmk_node_t *node = g_hash_table_lookup(clone->allowed_nodes, allowed_nodes 445 lib/pacemaker/pcmk_sched_promotable.c pe__show_node_scores(true, clone, "Before", clone->allowed_nodes, allowed_nodes 458 lib/pacemaker/pcmk_sched_promotable.c pe__show_node_scores(true, clone, "After", clone->allowed_nodes, allowed_nodes 542 lib/pacemaker/pcmk_sched_promotable.c pcmk_node_t *allowed = g_hash_table_lookup(rsc->allowed_nodes, allowed_nodes 768 lib/pacemaker/pcmk_sched_promotable.c g_hash_table_iter_init(&iter, child_rsc->allowed_nodes); allowed_nodes 1050 lib/pacemaker/pcmk_sched_promotable.c g_hash_table_iter_init(&iter, rsc->allowed_nodes); allowed_nodes 1187 lib/pacemaker/pcmk_sched_promotable.c g_hash_table_iter_init(&iter, dependent->allowed_nodes); allowed_nodes 335 lib/pacemaker/pcmk_sched_utilization.c g_hash_table_iter_init(&iter, rsc->allowed_nodes); allowed_nodes 354 lib/pacemaker/pcmk_sched_utilization.c g_hash_table_iter_init(&iter, rsc->allowed_nodes); allowed_nodes 369 lib/pacemaker/pcmk_sched_utilization.c g_hash_table_iter_init(&iter, rsc->allowed_nodes); allowed_nodes 385 lib/pacemaker/pcmk_sched_utilization.c pe__show_node_scores(true, rsc, "Post-utilization", rsc->allowed_nodes, allowed_nodes 423 lib/pacemaker/pcmk_sched_utilization.c const GList *allowed_nodes) allowed_nodes 440 lib/pacemaker/pcmk_sched_utilization.c for (iter = allowed_nodes; iter; iter = iter->next) { allowed_nodes 169 lib/pacemaker/pcmk_scheduler.c match = g_hash_table_lookup(rsc->allowed_nodes, node->details->id); allowed_nodes 212 lib/pacemaker/pcmk_scheduler.c && (g_hash_table_lookup(rsc->allowed_nodes, allowed_nodes 668 lib/pengine/bundle.c gpointer match = g_hash_table_lookup(rsc->allowed_nodes, uname); allowed_nodes 769 lib/pengine/bundle.c if (replica->child->allowed_nodes != NULL) { allowed_nodes 770 lib/pengine/bundle.c g_hash_table_destroy(replica->child->allowed_nodes); allowed_nodes 772 lib/pengine/bundle.c replica->child->allowed_nodes = pcmk__strkey_table(NULL, free); allowed_nodes 773 lib/pengine/bundle.c g_hash_table_insert(replica->child->allowed_nodes, allowed_nodes 780 lib/pengine/bundle.c g_hash_table_insert(replica->child->parent->allowed_nodes, allowed_nodes 788 lib/pengine/bundle.c g_hash_table_iter_init(&gIter, replica->remote->allowed_nodes); allowed_nodes 803 lib/pengine/clone.c GList *list = g_hash_table_get_values(rsc->allowed_nodes); allowed_nodes 1133 lib/pengine/clone.c GList *list = g_hash_table_get_values(rsc->allowed_nodes); allowed_nodes 763 lib/pengine/complex.c (*rsc)->allowed_nodes = pcmk__strkey_table(NULL, free); allowed_nodes 1136 lib/pengine/complex.c if (rsc->allowed_nodes) { allowed_nodes 1137 lib/pengine/complex.c g_hash_table_destroy(rsc->allowed_nodes); allowed_nodes 1138 lib/pengine/complex.c rsc->allowed_nodes = NULL; allowed_nodes 142 lib/pengine/native.c if (rsc->allowed_nodes != NULL) { allowed_nodes 143 lib/pengine/native.c g_hash_table_destroy(rsc->allowed_nodes); allowed_nodes 145 lib/pengine/native.c rsc->allowed_nodes = pe__node_list2table(scheduler->nodes); allowed_nodes 146 lib/pengine/native.c g_hash_table_iter_init(&gIter, rsc->allowed_nodes); allowed_nodes 548 lib/pengine/pe_notif.c if (n_data->allowed_nodes == NULL) { allowed_nodes 549 lib/pengine/pe_notif.c n_data->allowed_nodes = rsc->allowed_nodes; allowed_nodes 739 lib/pengine/pe_notif.c nodes = g_hash_table_get_values(n_data->allowed_nodes); allowed_nodes 64 lib/pengine/pe_status_private.h GHashTable *allowed_nodes; allowed_nodes 3721 lib/pengine/unpack.c if (fail_rsc->allowed_nodes != NULL) { allowed_nodes 3722 lib/pengine/unpack.c g_hash_table_destroy(fail_rsc->allowed_nodes); allowed_nodes 3724 lib/pengine/unpack.c fail_rsc->allowed_nodes = pe__node_list2table(rsc->cluster->nodes); allowed_nodes 3725 lib/pengine/unpack.c g_hash_table_foreach(fail_rsc->allowed_nodes, set_node_score, &score); allowed_nodes 275 lib/pengine/utils.c comment, child->allowed_nodes, scheduler); allowed_nodes 346 lib/pengine/utils.c match = g_hash_table_lookup(rsc->allowed_nodes, node->details->id); allowed_nodes 349 lib/pengine/utils.c g_hash_table_insert(rsc->allowed_nodes, (gpointer) match->details->id, match); allowed_nodes 378 lib/pengine/utils.c g_hash_table_iter_init(&iter, rsc->allowed_nodes); allowed_nodes 617 lib/pengine/utils.c g_hash_table_iter_init(&iter, rsc->allowed_nodes); allowed_nodes 905 tools/crm_resource_runtime.c g_hash_table_iter_init(&iter, rsc->allowed_nodes); allowed_nodes 913 tools/crm_resource_runtime.c nodes = g_hash_table_get_values(rsc->allowed_nodes); allowed_nodes 1123 tools/crm_resource_runtime.c g_hash_table_iter_init(&iter, checks->rsc->allowed_nodes);