weight 156 daemons/fenced/fenced_scheduler.c if (node->weight < 0) { weight 159 daemons/fenced/fenced_scheduler.c rsc->id, pcmk_readable_score(node->weight)); weight 167 daemons/fenced/fenced_scheduler.c if ((group_node != NULL) && (group_node->weight < 0)) { weight 170 daemons/fenced/fenced_scheduler.c rsc->id, pcmk_readable_score(group_node->weight)); weight 163 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 92 lib/pacemaker/pcmk_output.c pcmk_readable_score(node->weight), weight 556 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 337 lib/pacemaker/pcmk_sched_clone.c chosen->weight); weight 1374 lib/pacemaker/pcmk_sched_colocation.c node->weight = pcmk__add_scores(-colocation->score, node->weight); weight 1380 lib/pacemaker/pcmk_sched_colocation.c pcmk_readable_score(node->weight), weight 1395 lib/pacemaker/pcmk_sched_colocation.c node->weight = pcmk__add_scores(colocation->score, weight 1396 lib/pacemaker/pcmk_sched_colocation.c node->weight); weight 1402 lib/pacemaker/pcmk_sched_colocation.c pcmk_readable_score(node->weight), weight 1414 lib/pacemaker/pcmk_sched_colocation.c node->weight = -PCMK_SCORE_INFINITY; weight 1581 lib/pacemaker/pcmk_sched_colocation.c if ((node->weight > best_score) weight 1586 lib/pacemaker/pcmk_sched_colocation.c best_score = node->weight; weight 1626 lib/pacemaker/pcmk_sched_colocation.c if ((allowed_node->weight >= 0) && (++allowed_nodes > 1)) { weight 1715 lib/pacemaker/pcmk_sched_colocation.c pcmk__node_name(node), node->weight, factor, score); weight 1720 lib/pacemaker/pcmk_sched_colocation.c if (node->weight == INFINITY_HACK) { weight 1722 lib/pacemaker/pcmk_sched_colocation.c pcmk__node_name(node), node->weight, factor, score); weight 1743 lib/pacemaker/pcmk_sched_colocation.c new_score = pcmk__add_scores(delta, node->weight); weight 1745 lib/pacemaker/pcmk_sched_colocation.c if (only_positive && (new_score < 0) && (node->weight > 0)) { weight 1748 lib/pacemaker/pcmk_sched_colocation.c pcmk__node_name(node), node->weight, factor, score, weight 1750 lib/pacemaker/pcmk_sched_colocation.c node->weight = INFINITY_HACK; weight 1754 lib/pacemaker/pcmk_sched_colocation.c if (only_positive && (new_score < 0) && (node->weight == 0)) { weight 1756 lib/pacemaker/pcmk_sched_colocation.c pcmk__node_name(node), node->weight, factor, score, weight 1762 lib/pacemaker/pcmk_sched_colocation.c node->weight, factor, score, new_score); weight 1763 lib/pacemaker/pcmk_sched_colocation.c node->weight = new_score; weight 1901 lib/pacemaker/pcmk_sched_colocation.c if (node->weight == INFINITY_HACK) { weight 1902 lib/pacemaker/pcmk_sched_colocation.c node->weight = 1; weight 1984 lib/pacemaker/pcmk_sched_colocation.c dependent_node->weight = -PCMK_SCORE_INFINITY; weight 1991 lib/pacemaker/pcmk_sched_colocation.c dependent_node->weight = pcmk__add_scores(dependent_node->weight, weight 1992 lib/pacemaker/pcmk_sched_colocation.c primary_node->weight); weight 1996 lib/pacemaker/pcmk_sched_colocation.c primary->id, pcmk_readable_score(primary_node->weight), weight 1998 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 208 lib/pacemaker/pcmk_sched_location.c local->weight = get_node_score(rule_id, score, raw_score, node, weight 211 lib/pacemaker/pcmk_sched_location.c pcmk_readable_score(local->weight), rule_id); weight 632 lib/pacemaker/pcmk_sched_location.c copy->weight = node_score; weight 704 lib/pacemaker/pcmk_sched_location.c pcmk_readable_score(node->weight)); weight 712 lib/pacemaker/pcmk_sched_location.c allowed_node->weight = pcmk__add_scores(allowed_node->weight, weight 713 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 779 lib/pacemaker/pcmk_sched_promotable.c new_score = pcmk__add_scores(node->weight, score); weight 780 lib/pacemaker/pcmk_sched_promotable.c if (new_score != node->weight) { // Could remain INFINITY weight 781 lib/pacemaker/pcmk_sched_promotable.c node->weight = new_score; weight 1193 lib/pacemaker/pcmk_sched_promotable.c node->weight = pcmk__add_scores(node->weight, colocation->score); weight 1199 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 691 lib/pengine/pe_output.c char *weight_s = pcmk__itoa(pe_node->weight); weight 745 lib/pengine/pe_output.c if (node->weight < 0) { weight 485 lib/pengine/unpack.c new_node->weight = score; weight 1912 lib/pengine/unpack.c this_node->weight = -PCMK_SCORE_INFINITY; weight 1918 lib/pengine/unpack.c this_node->weight = -PCMK_SCORE_INFINITY; weight 2957 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) {