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 170 daemons/fenced/fenced_scheduler.c if ((group_node != NULL) && (group_node->weight < 0)) { weight 173 daemons/fenced/fenced_scheduler.c rsc->id, pcmk_readable_score(group_node->weight)); weight 131 include/crm/common/nodes.h int weight; //!< Node score for a given resource weight 95 lib/pacemaker/pcmk_output.c pcmk_readable_score(node->weight), weight 558 lib/pacemaker/pcmk_output.c pcmk_readable_score(node->weight), cons->id, weight 75 lib/pacemaker/pcmk_sched_bundle.c node->weight = -INFINITY; weight 77 lib/pacemaker/pcmk_sched_bundle.c node->weight = INFINITY; weight 145 lib/pacemaker/pcmk_sched_bundle.c node->weight = 0; weight 147 lib/pacemaker/pcmk_sched_bundle.c node->weight = -INFINITY; weight 497 lib/pacemaker/pcmk_sched_bundle.c chosen->weight); weight 334 lib/pacemaker/pcmk_sched_clone.c chosen->weight); weight 1304 lib/pacemaker/pcmk_sched_colocation.c node->weight = pcmk__add_scores(-colocation->score, node->weight); weight 1309 lib/pacemaker/pcmk_sched_colocation.c pcmk_readable_score(node->weight), weight 1324 lib/pacemaker/pcmk_sched_colocation.c node->weight = pcmk__add_scores(colocation->score, weight 1325 lib/pacemaker/pcmk_sched_colocation.c node->weight); weight 1330 lib/pacemaker/pcmk_sched_colocation.c pcmk_readable_score(node->weight), weight 1342 lib/pacemaker/pcmk_sched_colocation.c node->weight = -CRM_SCORE_INFINITY; weight 1454 lib/pacemaker/pcmk_sched_colocation.c if ((node->weight > best_score) weight 1459 lib/pacemaker/pcmk_sched_colocation.c best_score = node->weight; weight 1494 lib/pacemaker/pcmk_sched_colocation.c if ((allowed_node->weight >= 0) && (++allowed_nodes > 1)) { weight 1583 lib/pacemaker/pcmk_sched_colocation.c pe__node_name(node), node->weight, factor, score); weight 1588 lib/pacemaker/pcmk_sched_colocation.c if (node->weight == INFINITY_HACK) { weight 1590 lib/pacemaker/pcmk_sched_colocation.c pe__node_name(node), node->weight, factor, score); weight 1611 lib/pacemaker/pcmk_sched_colocation.c new_score = pcmk__add_scores(delta, node->weight); weight 1613 lib/pacemaker/pcmk_sched_colocation.c if (only_positive && (new_score < 0) && (node->weight > 0)) { weight 1616 lib/pacemaker/pcmk_sched_colocation.c pe__node_name(node), node->weight, factor, score, weight 1618 lib/pacemaker/pcmk_sched_colocation.c node->weight = INFINITY_HACK; weight 1622 lib/pacemaker/pcmk_sched_colocation.c if (only_positive && (new_score < 0) && (node->weight == 0)) { weight 1624 lib/pacemaker/pcmk_sched_colocation.c pe__node_name(node), node->weight, factor, score, weight 1630 lib/pacemaker/pcmk_sched_colocation.c node->weight, factor, score, new_score); weight 1631 lib/pacemaker/pcmk_sched_colocation.c node->weight = new_score; weight 1768 lib/pacemaker/pcmk_sched_colocation.c if (node->weight == INFINITY_HACK) { weight 1769 lib/pacemaker/pcmk_sched_colocation.c node->weight = 1; weight 1851 lib/pacemaker/pcmk_sched_colocation.c dependent_node->weight = -INFINITY; weight 1858 lib/pacemaker/pcmk_sched_colocation.c dependent_node->weight = pcmk__add_scores(dependent_node->weight, weight 1859 lib/pacemaker/pcmk_sched_colocation.c primary_node->weight); weight 1863 lib/pacemaker/pcmk_sched_colocation.c primary->id, pcmk_readable_score(primary_node->weight), weight 1865 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 58 lib/pacemaker/pcmk_sched_instances.c pcmk_readable_score(allowed_node->weight)); weight 94 lib/pacemaker/pcmk_sched_instances.c node->weight = -INFINITY; weight 108 lib/pacemaker/pcmk_sched_instances.c child_node->weight = -INFINITY; weight 219 lib/pacemaker/pcmk_sched_instances.c if (node1->weight < node2->weight) { weight 221 lib/pacemaker/pcmk_sched_instances.c instance1->id, node1->weight, pe__node_name(node1), weight 222 lib/pacemaker/pcmk_sched_instances.c instance2->id, node2->weight, pe__node_name(node2)); weight 225 lib/pacemaker/pcmk_sched_instances.c } else if (node1->weight > node2->weight) { weight 227 lib/pacemaker/pcmk_sched_instances.c instance1->id, node1->weight, pe__node_name(node1), weight 228 lib/pacemaker/pcmk_sched_instances.c instance2->id, node2->weight, pe__node_name(node2)); weight 275 lib/pacemaker/pcmk_sched_instances.c if ((allowed == NULL) || (allowed->weight < 0)) { weight 135 lib/pacemaker/pcmk_sched_location.c node->weight = get_node_score(rule_id, score, raw_score, node, rsc); weight 168 lib/pacemaker/pcmk_sched_location.c local->weight = pcmk__add_scores(local->weight, score_f); weight 171 lib/pacemaker/pcmk_sched_location.c pcmk_readable_score(local->weight), rule_id); weight 581 lib/pacemaker/pcmk_sched_location.c copy->weight = node_score; weight 656 lib/pacemaker/pcmk_sched_location.c node->weight, pe__node_name(node)); weight 663 lib/pacemaker/pcmk_sched_location.c node->weight, pe__node_name(node)); weight 664 lib/pacemaker/pcmk_sched_location.c allowed_node->weight = pcmk__add_scores(allowed_node->weight, weight 665 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 229 lib/pacemaker/pcmk_sched_primitive.c && (chosen->weight > 0) // Zero not acceptable weight 256 lib/pacemaker/pcmk_sched_primitive.c if (allowed->weight != chosen->weight) { weight 270 lib/pacemaker/pcmk_sched_primitive.c if (chosen->weight >= INFINITY) { weight 277 lib/pacemaker/pcmk_sched_primitive.c pcmk_readable_score(chosen->weight)); weight 858 lib/pacemaker/pcmk_sched_primitive.c node->weight = -INFINITY; weight 1017 lib/pacemaker/pcmk_sched_primitive.c node->weight = -INFINITY; weight 1315 lib/pacemaker/pcmk_sched_primitive.c pe__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 332 lib/pacemaker/pcmk_sched_promotable.c node->weight = pcmk__add_scores(child->sort_index, node->weight); weight 336 lib/pacemaker/pcmk_sched_promotable.c pe__node_name(node), pcmk_readable_score(node->weight)); weight 433 lib/pacemaker/pcmk_sched_promotable.c child->sort_index = node->weight; weight 567 lib/pacemaker/pcmk_sched_promotable.c return (allowed != NULL) && (allowed->weight >= 0); weight 787 lib/pacemaker/pcmk_sched_promotable.c new_score = pcmk__add_scores(node->weight, score); weight 788 lib/pacemaker/pcmk_sched_promotable.c if (new_score != node->weight) { // Could remain INFINITY weight 789 lib/pacemaker/pcmk_sched_promotable.c node->weight = new_score; weight 1196 lib/pacemaker/pcmk_sched_promotable.c node->weight = pcmk__add_scores(node->weight, colocation->score); weight 1201 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 638 lib/pacemaker/pcmk_sched_resource.c return (found_node == NULL)? -INFINITY : found_node->weight; weight 171 lib/pacemaker/pcmk_scheduler.c match->weight = -INFINITY; weight 261 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 = -INFINITY; weight 740 lib/pengine/bundle.c node->weight = -INFINITY; weight 765 lib/pengine/bundle.c replica->node->weight = 500; weight 779 lib/pengine/bundle.c copy->weight = -INFINITY; weight 792 lib/pengine/bundle.c node->weight = -INFINITY; weight 150 lib/pengine/native.c local_node->weight = -INFINITY; weight 683 lib/pengine/pe_output.c char *weight_s = pcmk__itoa(pe_node->weight); weight 737 lib/pengine/pe_output.c if (node->weight < 0) { weight 454 lib/pengine/unpack.c new_node->weight = char2score(score); weight 1789 lib/pengine/unpack.c this_node->weight = -INFINITY; weight 1795 lib/pengine/unpack.c this_node->weight = -INFINITY; weight 2823 lib/pengine/unpack.c node->weight = *score; weight 99 lib/pengine/utils.c new_node->weight = this_node->weight; weight 190 lib/pengine/utils.c pcmk_readable_score(node->weight)); weight 225 lib/pengine/utils.c pcmk_readable_score(node->weight)); weight 230 lib/pengine/utils.c pcmk_readable_score(node->weight)); weight 352 lib/pengine/utils.c match->weight = pcmk__add_scores(match->weight, score); weight 356 lib/pengine/utils.c pcmk_readable_score(match->weight)); weight 332 maint/gnulib/lib/textstyle.in.h _GL_ATTRIBUTE_MAYBE_UNUSED term_weight_t weight) weight 806 tools/crm_resource_runtime.c if(node->weight >= 0) {