weight 158 daemons/fenced/fenced_scheduler.c if (node->weight < 0) { weight 161 daemons/fenced/fenced_scheduler.c rsc->id, pcmk_readable_score(node->weight)); weight 169 daemons/fenced/fenced_scheduler.c if ((group_node != NULL) && (group_node->weight < 0)) { weight 172 daemons/fenced/fenced_scheduler.c rsc->id, pcmk_readable_score(group_node->weight)); weight 162 include/crm/common/nodes.h int weight; // Node score for a given resource weight 35 lib/common/tests/scheduler/pcmk_get_dc_test.c .weight = 1, weight 96 lib/pacemaker/pcmk_output.c pcmk_readable_score(node->weight), weight 560 lib/pacemaker/pcmk_output.c pcmk_readable_score(node->weight), cons->id, weight 75 lib/pacemaker/pcmk_sched_bundle.c node->weight = -PCMK_SCORE_INFINITY; weight 77 lib/pacemaker/pcmk_sched_bundle.c node->weight = PCMK_SCORE_INFINITY; weight 145 lib/pacemaker/pcmk_sched_bundle.c node->weight = 0; weight 147 lib/pacemaker/pcmk_sched_bundle.c node->weight = -PCMK_SCORE_INFINITY; weight 503 lib/pacemaker/pcmk_sched_bundle.c chosen->weight); weight 339 lib/pacemaker/pcmk_sched_clone.c chosen->weight); weight 1328 lib/pacemaker/pcmk_sched_colocation.c node->weight = pcmk__add_scores(-colocation->score, node->weight); weight 1334 lib/pacemaker/pcmk_sched_colocation.c pcmk_readable_score(node->weight), weight 1349 lib/pacemaker/pcmk_sched_colocation.c node->weight = pcmk__add_scores(colocation->score, weight 1350 lib/pacemaker/pcmk_sched_colocation.c node->weight); weight 1356 lib/pacemaker/pcmk_sched_colocation.c pcmk_readable_score(node->weight), weight 1368 lib/pacemaker/pcmk_sched_colocation.c node->weight = -PCMK_SCORE_INFINITY; weight 1535 lib/pacemaker/pcmk_sched_colocation.c if ((node->weight > best_score) weight 1540 lib/pacemaker/pcmk_sched_colocation.c best_score = node->weight; weight 1580 lib/pacemaker/pcmk_sched_colocation.c if ((allowed_node->weight >= 0) && (++allowed_nodes > 1)) { weight 1669 lib/pacemaker/pcmk_sched_colocation.c pcmk__node_name(node), node->weight, factor, score); weight 1674 lib/pacemaker/pcmk_sched_colocation.c if (node->weight == INFINITY_HACK) { weight 1676 lib/pacemaker/pcmk_sched_colocation.c pcmk__node_name(node), node->weight, factor, score); weight 1697 lib/pacemaker/pcmk_sched_colocation.c new_score = pcmk__add_scores(delta, node->weight); weight 1699 lib/pacemaker/pcmk_sched_colocation.c if (only_positive && (new_score < 0) && (node->weight > 0)) { weight 1702 lib/pacemaker/pcmk_sched_colocation.c pcmk__node_name(node), node->weight, factor, score, weight 1704 lib/pacemaker/pcmk_sched_colocation.c node->weight = INFINITY_HACK; weight 1708 lib/pacemaker/pcmk_sched_colocation.c if (only_positive && (new_score < 0) && (node->weight == 0)) { weight 1710 lib/pacemaker/pcmk_sched_colocation.c pcmk__node_name(node), node->weight, factor, score, weight 1716 lib/pacemaker/pcmk_sched_colocation.c node->weight, factor, score, new_score); weight 1717 lib/pacemaker/pcmk_sched_colocation.c node->weight = new_score; weight 1855 lib/pacemaker/pcmk_sched_colocation.c if (node->weight == INFINITY_HACK) { weight 1856 lib/pacemaker/pcmk_sched_colocation.c node->weight = 1; weight 1938 lib/pacemaker/pcmk_sched_colocation.c dependent_node->weight = -PCMK_SCORE_INFINITY; weight 1945 lib/pacemaker/pcmk_sched_colocation.c dependent_node->weight = pcmk__add_scores(dependent_node->weight, weight 1946 lib/pacemaker/pcmk_sched_colocation.c primary_node->weight); weight 1950 lib/pacemaker/pcmk_sched_colocation.c primary->id, pcmk_readable_score(primary_node->weight), weight 1952 lib/pacemaker/pcmk_sched_colocation.c pcmk_readable_score(dependent_node->weight), weight 55 lib/pacemaker/pcmk_sched_instances.c if (allowed_node->weight < 0) { weight 59 lib/pacemaker/pcmk_sched_instances.c pcmk_readable_score(allowed_node->weight)); weight 95 lib/pacemaker/pcmk_sched_instances.c node->weight = -PCMK_SCORE_INFINITY; weight 109 lib/pacemaker/pcmk_sched_instances.c child_node->weight = -PCMK_SCORE_INFINITY; weight 220 lib/pacemaker/pcmk_sched_instances.c if (node1->weight < node2->weight) { weight 222 lib/pacemaker/pcmk_sched_instances.c instance1->id, node1->weight, pcmk__node_name(node1), weight 223 lib/pacemaker/pcmk_sched_instances.c instance2->id, node2->weight, pcmk__node_name(node2)); weight 226 lib/pacemaker/pcmk_sched_instances.c } else if (node1->weight > node2->weight) { weight 228 lib/pacemaker/pcmk_sched_instances.c instance1->id, node1->weight, pcmk__node_name(node1), weight 229 lib/pacemaker/pcmk_sched_instances.c instance2->id, node2->weight, pcmk__node_name(node2)); weight 276 lib/pacemaker/pcmk_sched_instances.c if ((allowed == NULL) || (allowed->weight < 0)) { weight 209 lib/pacemaker/pcmk_sched_location.c local->weight = get_node_score(rule_id, score, raw_score, node, weight 212 lib/pacemaker/pcmk_sched_location.c pcmk_readable_score(local->weight), rule_id); weight 633 lib/pacemaker/pcmk_sched_location.c copy->weight = node_score; weight 705 lib/pacemaker/pcmk_sched_location.c pcmk_readable_score(node->weight)); weight 713 lib/pacemaker/pcmk_sched_location.c allowed_node->weight = pcmk__add_scores(allowed_node->weight, weight 714 lib/pacemaker/pcmk_sched_location.c node->weight); weight 39 lib/pacemaker/pcmk_sched_nodes.c if (consider_score && (node->weight < 0)) { weight 180 lib/pacemaker/pcmk_sched_nodes.c new_node->weight = 0; weight 223 lib/pacemaker/pcmk_sched_nodes.c node1_score = node1->weight; weight 226 lib/pacemaker/pcmk_sched_nodes.c node2_score = node2->weight; weight 203 lib/pacemaker/pcmk_sched_primitive.c } else if (chosen->weight < best->weight) { weight 230 lib/pacemaker/pcmk_sched_primitive.c && (chosen->weight > 0) // Zero not acceptable weight 257 lib/pacemaker/pcmk_sched_primitive.c if (allowed->weight != chosen->weight) { weight 271 lib/pacemaker/pcmk_sched_primitive.c if (chosen->weight >= PCMK_SCORE_INFINITY) { weight 278 lib/pacemaker/pcmk_sched_primitive.c pcmk_readable_score(chosen->weight)); weight 870 lib/pacemaker/pcmk_sched_primitive.c node->weight = -PCMK_SCORE_INFINITY; weight 1029 lib/pacemaker/pcmk_sched_primitive.c node->weight = -PCMK_SCORE_INFINITY; weight 1331 lib/pacemaker/pcmk_sched_primitive.c pcmk__node_name(node), node->weight); weight 142 lib/pacemaker/pcmk_sched_promotable.c constraint_node->weight); weight 150 lib/pacemaker/pcmk_sched_promotable.c pcmk_readable_score(constraint_node->weight), weight 335 lib/pacemaker/pcmk_sched_promotable.c node->weight = pcmk__add_scores(child->sort_index, node->weight); weight 340 lib/pacemaker/pcmk_sched_promotable.c pcmk__node_name(node), pcmk_readable_score(node->weight)); weight 414 lib/pacemaker/pcmk_sched_promotable.c child->sort_index = node->weight; weight 545 lib/pacemaker/pcmk_sched_promotable.c return (allowed != NULL) && (allowed->weight >= 0); weight 770 lib/pacemaker/pcmk_sched_promotable.c new_score = pcmk__add_scores(node->weight, score); weight 771 lib/pacemaker/pcmk_sched_promotable.c if (new_score != node->weight) { // Could remain INFINITY weight 772 lib/pacemaker/pcmk_sched_promotable.c node->weight = new_score; weight 1184 lib/pacemaker/pcmk_sched_promotable.c node->weight = pcmk__add_scores(node->weight, colocation->score); weight 1190 lib/pacemaker/pcmk_sched_promotable.c pcmk_readable_score(node->weight)); weight 424 lib/pacemaker/pcmk_sched_resource.c && ((node->weight < 0) weight 434 lib/pacemaker/pcmk_sched_resource.c pcmk_readable_score(node->weight)); weight 639 lib/pacemaker/pcmk_sched_resource.c return (found_node == NULL)? -PCMK_SCORE_INFINITY : found_node->weight; weight 172 lib/pacemaker/pcmk_scheduler.c match->weight = -PCMK_SCORE_INFINITY; weight 262 lib/pacemaker/pcmk_scheduler.c if ((node != NULL) && (node->weight >= 0) && node->details->online weight 671 lib/pengine/bundle.c ((pcmk_node_t *) match)->weight = -PCMK_SCORE_INFINITY; weight 740 lib/pengine/bundle.c node->weight = -PCMK_SCORE_INFINITY; weight 765 lib/pengine/bundle.c replica->node->weight = 500; weight 779 lib/pengine/bundle.c copy->weight = -PCMK_SCORE_INFINITY; weight 792 lib/pengine/bundle.c node->weight = -PCMK_SCORE_INFINITY; weight 148 lib/pengine/native.c local_node->weight = -PCMK_SCORE_INFINITY; weight 690 lib/pengine/pe_output.c char *weight_s = pcmk__itoa(pe_node->weight); weight 744 lib/pengine/pe_output.c if (node->weight < 0) { weight 470 lib/pengine/unpack.c new_node->weight = char2score(score); weight 1879 lib/pengine/unpack.c this_node->weight = -PCMK_SCORE_INFINITY; weight 1885 lib/pengine/unpack.c this_node->weight = -PCMK_SCORE_INFINITY; weight 2924 lib/pengine/unpack.c node->weight = *score; weight 98 lib/pengine/utils.c new_node->weight = this_node->weight; weight 189 lib/pengine/utils.c pcmk_readable_score(node->weight)); weight 224 lib/pengine/utils.c pcmk_readable_score(node->weight)); weight 229 lib/pengine/utils.c pcmk_readable_score(node->weight)); weight 351 lib/pengine/utils.c match->weight = pcmk__add_scores(match->weight, score); weight 355 lib/pengine/utils.c pcmk__node_name(node), pcmk_readable_score(match->weight)); weight 332 maint/gnulib/lib/textstyle.in.h _GL_ATTRIBUTE_MAYBE_UNUSED term_weight_t weight) weight 907 tools/crm_resource_runtime.c if(node->weight >= 0) {