nodes 162 include/crm/pengine/internal.h resource_t * rsc, const char *comment, GHashTable * nodes); nodes 167 include/crm/pengine/internal.h # define dump_node_scores(level, rsc, text, nodes) do { \ nodes 168 include/crm/pengine/internal.h dump_node_scores_worker(level, __FILE__, __FUNCTION__, __LINE__, rsc, text, nodes); \ nodes 107 include/crm/pengine/status.h GListPtr nodes; nodes 60 lib/pengine/clone.c clone_data->clone_max = g_list_length(data_set->nodes); nodes 177 lib/pengine/clone.c } else if (g_list_length(data_set->nodes) > 0) { nodes 178 lib/pengine/clone.c clone_data->clone_max = g_list_length(data_set->nodes); nodes 578 lib/pengine/container.c node = pe_find_node(data_set->nodes, uname); nodes 81 lib/pengine/native.c rsc->allowed_nodes = node_hash_from_list(data_set->nodes); nodes 35 lib/pengine/remote.c node = pe_find_node(data_set->nodes, rsc->id); nodes 127 lib/pengine/remote.c node_t *guest_node = pe_find_node(data_set->nodes, rsc->id); nodes 143 lib/pengine/status.c pe_free_nodes(GListPtr nodes) nodes 145 lib/pengine/status.c GListPtr iterator = nodes; nodes 173 lib/pengine/status.c if (nodes != NULL) { nodes 174 lib/pengine/status.c g_list_free(nodes); nodes 216 lib/pengine/status.c pe_free_nodes(data_set->nodes); nodes 273 lib/pengine/status.c pe_find_node_any(GListPtr nodes, const char *id, const char *uname) nodes 275 lib/pengine/status.c node_t *match = pe_find_node_id(nodes, id); nodes 281 lib/pengine/status.c return pe_find_node(nodes, uname); nodes 285 lib/pengine/status.c pe_find_node_id(GListPtr nodes, const char *id) nodes 287 lib/pengine/status.c GListPtr gIter = nodes; nodes 301 lib/pengine/status.c pe_find_node(GListPtr nodes, const char *uname) nodes 303 lib/pengine/status.c GListPtr gIter = nodes; nodes 361 lib/pengine/unpack.c if (pe_find_node(data_set->nodes, uname) != NULL) { nodes 413 lib/pengine/unpack.c data_set->nodes = g_list_insert_sorted(data_set->nodes, new_node, sort_node_uname); nodes 570 lib/pengine/unpack.c if (data_set->localhost && pe_find_node(data_set->nodes, data_set->localhost) == NULL) { nodes 625 lib/pengine/unpack.c if (new_node_id && pe_find_node(data_set->nodes, new_node_id) == NULL) { nodes 645 lib/pengine/unpack.c if (new_node_id && pe_find_node(data_set->nodes, new_node_id) == NULL) { nodes 659 lib/pengine/unpack.c if (new_node_id && pe_find_node(data_set->nodes, new_node_id) == NULL) { nodes 695 lib/pengine/unpack.c remote_node = pe_find_node(data_set->nodes, new_rsc->id); nodes 1085 lib/pengine/unpack.c this_node = pe_find_node_any(data_set->nodes, id, uname); nodes 1200 lib/pengine/unpack.c this_node = pe_find_node_any(data_set->nodes, id, uname); nodes 1268 lib/pengine/unpack.c for (GListPtr gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 1664 lib/pengine/unpack.c node = pe_find_node(data_set->nodes, rsc_id); nodes 2003 lib/pengine/unpack.c tmpnode = pe_find_node(data_set->nodes, rsc->id); nodes 2034 lib/pengine/unpack.c tmpnode = pe_find_node(data_set->nodes, rsc->id); nodes 2444 lib/pengine/unpack.c node_t *target = pe_find_node(data_set->nodes, migrate_target); nodes 2445 lib/pengine/unpack.c node_t *source = pe_find_node(data_set->nodes, migrate_source); nodes 2530 lib/pengine/unpack.c node_t *source = pe_find_node(data_set->nodes, migrate_source); nodes 2560 lib/pengine/unpack.c node_t *target = pe_find_node(data_set->nodes, migrate_target); nodes 2726 lib/pengine/unpack.c fail_rsc->allowed_nodes = node_hash_from_list(data_set->nodes); nodes 2883 lib/pengine/unpack.c node_t *remote_node = pe_find_node(data_set->nodes, rsc->id); nodes 3220 lib/pengine/unpack.c node_t *target = pe_find_node(data_set->nodes, migrate_target); nodes 3441 lib/pengine/unpack.c this_node = pe_find_node(data_set->nodes, uname); nodes 235 lib/pengine/utils.c resource_t * rsc, const char *comment, GHashTable * nodes) nodes 237 lib/pengine/utils.c GHashTable *hash = nodes; nodes 301 lib/pengine/utils.c dump_node_scores_worker(level, file, function, line, child, comment, nodes); nodes 1523 lib/pengine/utils.c GListPtr gIter = data_set->nodes; nodes 559 pengine/allocate.c node = pe_find_node_id(data_set->nodes, id); nodes 843 pengine/allocate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 900 pengine/allocate.c for (GListPtr gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 973 pengine/allocate.c gIter = data_set->nodes; nodes 988 pengine/allocate.c gIter = data_set->nodes; nodes 1042 pengine/allocate.c const GListPtr nodes = (GListPtr) data; nodes 1077 pengine/allocate.c if (nodes == NULL) { nodes 1121 pengine/allocate.c for (gIter = nodes; gIter != NULL; gIter = gIter->next) { nodes 1248 pengine/allocate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 1282 pengine/allocate.c GListPtr nodes = g_list_copy(data_set->nodes); nodes 1284 pengine/allocate.c nodes = g_list_sort_with_data(nodes, sort_node_weight, NULL); nodes 1287 pengine/allocate.c g_list_sort_with_data(data_set->resources, sort_rsc_process_order, nodes); nodes 1289 pengine/allocate.c g_list_free(nodes); nodes 1292 pengine/allocate.c gIter = data_set->nodes; nodes 1304 pengine/allocate.c gIter = data_set->nodes; nodes 1511 pengine/allocate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 49 pengine/allocate.h extern GHashTable *rsc_merge_weights(resource_t * rsc, const char *rhs, GHashTable * nodes, nodes 52 pengine/allocate.h extern GHashTable *clone_merge_weights(resource_t * rsc, const char *rhs, GHashTable * nodes, nodes 55 pengine/allocate.h extern GHashTable *container_merge_weights(resource_t * rsc, const char *rhs, GHashTable * nodes, nodes 58 pengine/allocate.h extern GHashTable *master_merge_weights(resource_t * rsc, const char *rhs, GHashTable * nodes, nodes 61 pengine/allocate.h extern GHashTable *native_merge_weights(resource_t * rsc, const char *rhs, GHashTable * nodes, nodes 64 pengine/allocate.h extern GHashTable *group_merge_weights(resource_t * rsc, const char *rhs, GHashTable * nodes, nodes 505 pengine/clone.c distribute_children(resource_t *rsc, GListPtr children, GListPtr nodes, nodes 509 pengine/clone.c distribute_children(resource_t *rsc, GListPtr children, GListPtr nodes, nodes 517 pengine/clone.c for(GListPtr nIter = nodes; nIter != NULL; nIter = nIter->next) { nodes 599 pengine/clone.c GListPtr nodes = NULL; nodes 638 pengine/clone.c nodes = g_hash_table_get_values(rsc->allowed_nodes); nodes 639 pengine/clone.c nodes = g_list_sort_with_data(nodes, sort_node_weight, NULL); nodes 641 pengine/clone.c distribute_children(rsc, rsc->children, nodes, clone_data->clone_max, clone_data->clone_node_max, data_set); nodes 642 pengine/clone.c g_list_free(nodes); nodes 1449 pengine/clone.c clone_merge_weights(resource_t * rsc, const char *rhs, GHashTable * nodes, const char *attr, nodes 1452 pengine/clone.c return rsc_merge_weights(rsc, rhs, nodes, attr, factor, flags); nodes 751 pengine/constraints.c node_t *match = pe_find_node(data_set->nodes, node); nodes 1058 pengine/constraints.c match_L = node_list_dup(data_set->nodes, TRUE, FALSE); nodes 1066 pengine/constraints.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 42 pengine/container.c void distribute_children(resource_t *rsc, GListPtr children, GListPtr nodes, nodes 120 pengine/container.c GListPtr nodes = NULL; nodes 132 pengine/container.c nodes = g_hash_table_get_values(rsc->allowed_nodes); nodes 133 pengine/container.c nodes = g_list_sort_with_data(nodes, sort_node_weight, NULL); nodes 135 pengine/container.c distribute_children(rsc, containers, nodes, nodes 137 pengine/container.c g_list_free(nodes); nodes 940 pengine/container.c container_merge_weights(resource_t * rsc, const char *rhs, GHashTable * nodes, const char *attr, nodes 943 pengine/container.c return rsc_merge_weights(rsc, rhs, nodes, attr, factor, flags); nodes 887 pengine/graph.c for (gIter = data_set->nodes; gIter != NULL; nodes 483 pengine/group.c group_merge_weights(resource_t * rsc, const char *rhs, GHashTable * nodes, const char *attr, nodes 493 pengine/group.c return nodes; nodes 498 pengine/group.c nodes = nodes 499 pengine/group.c group_data->first_child->cmds->merge_weights(group_data->first_child, rhs, nodes, attr, nodes 505 pengine/group.c nodes = native_merge_weights(constraint->rsc_lh, rsc->id, nodes, nodes 511 pengine/group.c return nodes; nodes 266 pengine/master.c master_merge_weights(resource_t * rsc, const char *rhs, GHashTable * nodes, const char *attr, nodes 269 pengine/master.c return rsc_merge_weights(rsc, rhs, nodes, attr, factor, flags); nodes 85 pengine/native.c GListPtr nodes = NULL; nodes 103 pengine/native.c nodes = g_hash_table_get_values(rsc->allowed_nodes); nodes 104 pengine/native.c nodes = g_list_sort_with_data(nodes, sort_node_weight, nodes 108 pengine/native.c best = g_list_nth_data(nodes, 0); nodes 111 pengine/native.c if (prefer && nodes) { nodes 141 pengine/native.c if ((chosen == NULL) && nodes) { nodes 167 pengine/native.c for (GList *iter = nodes->next; iter; iter = iter->next) { nodes 194 pengine/native.c result = native_assign_node(rsc, nodes, chosen, FALSE); nodes 195 pengine/native.c g_list_free(nodes); nodes 308 pengine/native.c native_merge_weights(resource_t * rsc, const char *rhs, GHashTable * nodes, const char *attr, nodes 311 pengine/native.c return rsc_merge_weights(rsc, rhs, nodes, attr, factor, flags); nodes 315 pengine/native.c rsc_merge_weights(resource_t * rsc, const char *rhs, GHashTable * nodes, const char *attr, nodes 327 pengine/native.c return nodes; nodes 352 pengine/native.c work = node_hash_dup(nodes); nodes 359 pengine/native.c work = node_hash_dup(nodes); nodes 368 pengine/native.c return nodes; nodes 424 pengine/native.c if (nodes) { nodes 425 pengine/native.c g_hash_table_destroy(nodes); nodes 563 pengine/native.c node_t *remote_node = pe_find_node(data_set->nodes, rsc->id); nodes 932 pengine/native.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 540 pengine/notif.c GListPtr nodes = NULL; nodes 612 pengine/notif.c nodes = g_hash_table_get_values(n_data->allowed_nodes); nodes 613 pengine/notif.c expand_node_list(nodes, &node_list, NULL); nodes 615 pengine/notif.c g_list_free(nodes); nodes 619 pengine/notif.c expand_node_list(data_set->nodes, &node_list, &metal_list); nodes 623 pengine/notif.c expand_node_list(data_set->nodes, &node_list, NULL); nodes 247 pengine/utils.c native_assign_node(resource_t * rsc, GListPtr nodes, node_t * chosen, gboolean force) nodes 413 pengine/utils.c can_run_any(GHashTable * nodes) nodes 418 pengine/utils.c if (nodes == NULL) { nodes 422 pengine/utils.c g_hash_table_iter_init(&iter, nodes); nodes 52 pengine/utils.h gboolean can_run_any(GHashTable * nodes); nodes 895 tools/crm_mon.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 1585 tools/crm_mon.c node_t *node = pe_find_node_id(data_set->nodes, ID(node_state)); nodes 2161 tools/crm_mon.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 2468 tools/crm_mon.c int nnodes = g_list_length(data_set->nodes); nodes 2539 tools/crm_mon.c g_list_length(data_set->nodes), quorum_votes); nodes 2936 tools/crm_mon.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 3109 tools/crm_mon.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 3238 tools/crm_mon.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 235 tools/crm_node.c GListPtr nodes = NULL; nodes 251 tools/crm_node.c nodes = g_list_insert_sorted(nodes, peer, compare_node_uname); nodes 257 tools/crm_node.c for(iter = nodes; iter; iter = iter->next) { nodes 274 tools/crm_node.c g_list_free_full(nodes, free); nodes 719 tools/crm_node.c GList *nodes = NULL; nodes 722 tools/crm_node.c g_hash_table_foreach(crm_peer_cache, crm_add_member, &nodes); nodes 723 tools/crm_node.c for (lpc = nodes; lpc != NULL; lpc = lpc->next) { nodes 731 tools/crm_node.c GList *nodes = NULL; nodes 734 tools/crm_node.c g_hash_table_foreach(crm_peer_cache, crm_add_member, &nodes); nodes 735 tools/crm_node.c for (lpc = nodes; lpc != NULL; lpc = lpc->next) { nodes 978 tools/crm_resource.c dest = pe_find_node(data_set.nodes, host_uname); nodes 992 tools/crm_resource.c dest = pe_find_node(data_set.nodes, host_uname); nodes 1001 tools/crm_resource.c rc = cli_resource_clear(rsc_id, NULL, data_set.nodes, cib_conn); nodes 1008 tools/crm_resource.c node_t *dest = pe_find_node(data_set.nodes, host_uname); nodes 1164 tools/crm_resource.c node_t *node = pe_find_node(data_set.nodes, host_uname); nodes 473 tools/crm_resource_runtime.c node_t *node = pe_find_node(data_set->nodes, host_uname); nodes 590 tools/crm_resource_runtime.c GListPtr nodes = g_hash_table_get_values(rsc->known_on); nodes 592 tools/crm_resource_runtime.c if(nodes == NULL && do_force) { nodes 593 tools/crm_resource_runtime.c nodes = node_list_dup(data_set->nodes, FALSE, FALSE); nodes 595 tools/crm_resource_runtime.c } else if(nodes == NULL && rsc->exclusive_discover) { nodes 602 tools/crm_resource_runtime.c nodes = g_list_prepend(nodes, node); nodes 606 tools/crm_resource_runtime.c } else if(nodes == NULL) { nodes 607 tools/crm_resource_runtime.c nodes = g_hash_table_get_values(rsc->allowed_nodes); nodes 610 tools/crm_resource_runtime.c for (lpc = nodes; lpc != NULL; lpc = lpc->next) { nodes 619 tools/crm_resource_runtime.c g_list_free(nodes); nodes 623 tools/crm_resource_runtime.c node = pe_find_node(data_set->nodes, host_uname); nodes 1623 tools/crm_resource_runtime.c node_t *dest = pe_find_node(data_set->nodes, host_name); nodes 1692 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, dest->details->uname, data_set->nodes, cib); nodes 95 tools/crm_simulate.c for (gIter = data_set->nodes; gIter != NULL; gIter = gIter->next) { nodes 547 tools/crmadmin.c xmlNode *nodes = get_object_root(XML_CIB_TAG_NODES, xml_node); nodes 549 tools/crmadmin.c for (node = __xml_first_child(nodes); node != NULL; node = __xml_next(node)) {