weight 748 daemons/fenced/pacemaker-fenced.c crm_trace("Available: %s = %d", pe__node_name(node), node->weight); weight 753 daemons/fenced/pacemaker-fenced.c } else if(node->weight < 0 || (parent && parent->weight < 0)) { weight 755 daemons/fenced/pacemaker-fenced.c int score = (node->weight < 0)? node->weight : parent->weight; weight 773 daemons/fenced/pacemaker-fenced.c crm_debug("Device %s is allowed on %s: score=%d", rsc->id, stonith_our_uname, node->weight); weight 265 include/crm/pengine/pe_types.h int weight; weight 91 lib/pacemaker/pcmk_output.c "score", pcmk_readable_score(node->weight), weight 549 lib/pacemaker/pcmk_output.c pcmk_readable_score(node->weight), cons->id, weight 103 lib/pacemaker/pcmk_sched_bundle.c node->weight = -INFINITY; weight 106 lib/pacemaker/pcmk_sched_bundle.c node->weight = INFINITY; weight 125 lib/pacemaker/pcmk_sched_bundle.c node->weight = 0; weight 127 lib/pacemaker/pcmk_sched_bundle.c node->weight = -INFINITY; weight 501 lib/pacemaker/pcmk_sched_bundle.c colocation->id, pe__node_name(chosen), chosen->weight); weight 328 lib/pacemaker/pcmk_sched_clone.c chosen->weight); weight 1146 lib/pacemaker/pcmk_sched_colocation.c node->weight = pcmk__add_scores(-colocation->score, node->weight); weight 1151 lib/pacemaker/pcmk_sched_colocation.c pcmk_readable_score(node->weight), weight 1163 lib/pacemaker/pcmk_sched_colocation.c node->weight = pcmk__add_scores(colocation->score, weight 1164 lib/pacemaker/pcmk_sched_colocation.c node->weight); weight 1169 lib/pacemaker/pcmk_sched_colocation.c pcmk_readable_score(node->weight), weight 1179 lib/pacemaker/pcmk_sched_colocation.c node->weight = -CRM_SCORE_INFINITY; weight 1286 lib/pacemaker/pcmk_sched_colocation.c if ((node->weight > best_score) && pcmk__node_available(node, false, false) weight 1289 lib/pacemaker/pcmk_sched_colocation.c best_score = node->weight; weight 1337 lib/pacemaker/pcmk_sched_colocation.c int weight = 0; weight 1351 lib/pacemaker/pcmk_sched_colocation.c pe__node_name(node), node->weight, factor, score); weight 1355 lib/pacemaker/pcmk_sched_colocation.c if (node->weight == INFINITY_HACK) { weight 1357 lib/pacemaker/pcmk_sched_colocation.c pe__node_name(node), node->weight, factor, score); weight 1364 lib/pacemaker/pcmk_sched_colocation.c weight = (int) ((weight_f < 0)? (weight_f - 0.5) : (weight_f + 0.5)); weight 1370 lib/pacemaker/pcmk_sched_colocation.c if ((weight == 0) && (score != 0)) { weight 1372 lib/pacemaker/pcmk_sched_colocation.c weight = 1; weight 1374 lib/pacemaker/pcmk_sched_colocation.c weight = -1; weight 1378 lib/pacemaker/pcmk_sched_colocation.c new_score = pcmk__add_scores(weight, node->weight); weight 1380 lib/pacemaker/pcmk_sched_colocation.c if (only_positive && (new_score < 0) && (node->weight > 0)) { weight 1383 lib/pacemaker/pcmk_sched_colocation.c pe__node_name(node), node->weight, factor, score, weight 1385 lib/pacemaker/pcmk_sched_colocation.c node->weight = INFINITY_HACK; weight 1389 lib/pacemaker/pcmk_sched_colocation.c if (only_positive && (new_score < 0) && (node->weight == 0)) { weight 1391 lib/pacemaker/pcmk_sched_colocation.c pe__node_name(node), node->weight, factor, score, weight 1397 lib/pacemaker/pcmk_sched_colocation.c node->weight, factor, score, new_score); weight 1398 lib/pacemaker/pcmk_sched_colocation.c node->weight = new_score; weight 1514 lib/pacemaker/pcmk_sched_colocation.c if (node->weight == INFINITY_HACK) { weight 1515 lib/pacemaker/pcmk_sched_colocation.c node->weight = 1; weight 93 lib/pacemaker/pcmk_sched_instances.c if (allowed_node->weight < 0) { weight 96 lib/pacemaker/pcmk_sched_instances.c pcmk_readable_score(allowed_node->weight)); weight 132 lib/pacemaker/pcmk_sched_instances.c node->weight = -INFINITY; weight 146 lib/pacemaker/pcmk_sched_instances.c child_node->weight = -INFINITY; weight 260 lib/pacemaker/pcmk_sched_instances.c if (node1->weight < node2->weight) { weight 262 lib/pacemaker/pcmk_sched_instances.c instance1->id, node1->weight, pe__node_name(node1), weight 263 lib/pacemaker/pcmk_sched_instances.c instance2->id, node2->weight, pe__node_name(node2)); weight 266 lib/pacemaker/pcmk_sched_instances.c } else if (node1->weight > node2->weight) { weight 268 lib/pacemaker/pcmk_sched_instances.c instance1->id, node1->weight, pe__node_name(node1), weight 269 lib/pacemaker/pcmk_sched_instances.c instance2->id, node2->weight, pe__node_name(node2)); weight 315 lib/pacemaker/pcmk_sched_instances.c if ((allowed == NULL) || (allowed->weight < 0)) { weight 589 lib/pacemaker/pcmk_sched_instances.c if ((allowed == NULL) || (allowed->weight < 0)) { weight 134 lib/pacemaker/pcmk_sched_location.c node->weight = get_node_score(rule_id, score, raw_score, node, rsc); weight 167 lib/pacemaker/pcmk_sched_location.c local->weight = pcmk__add_scores(local->weight, score_f); weight 170 lib/pacemaker/pcmk_sched_location.c pcmk_readable_score(local->weight), rule_id); weight 582 lib/pacemaker/pcmk_sched_location.c copy->weight = node_weight; weight 658 lib/pacemaker/pcmk_sched_location.c node->weight, pe__node_name(node)); weight 665 lib/pacemaker/pcmk_sched_location.c node->weight, pe__node_name(node)); weight 666 lib/pacemaker/pcmk_sched_location.c weighted_node->weight = pcmk__add_scores(weighted_node->weight, weight 667 lib/pacemaker/pcmk_sched_location.c node->weight); weight 40 lib/pacemaker/pcmk_sched_nodes.c if (consider_score && (node->weight < 0)) { weight 105 lib/pacemaker/pcmk_sched_nodes.c new_node->weight = 0; weight 147 lib/pacemaker/pcmk_sched_nodes.c node1_weight = pcmk__node_available(node1, false, false)? node1->weight : -INFINITY; weight 148 lib/pacemaker/pcmk_sched_nodes.c node2_weight = pcmk__node_available(node2, false, false)? node2->weight : -INFINITY; weight 187 lib/pacemaker/pcmk_sched_primitive.c } else if (chosen->weight < best->weight) { weight 212 lib/pacemaker/pcmk_sched_primitive.c && (chosen->weight > 0) // Zero not acceptable weight 238 lib/pacemaker/pcmk_sched_primitive.c if (allowed->weight != chosen->weight) { weight 250 lib/pacemaker/pcmk_sched_primitive.c do_crm_log(((chosen->weight >= INFINITY)? LOG_WARNING : LOG_INFO), weight 254 lib/pacemaker/pcmk_sched_primitive.c pcmk_readable_score(chosen->weight)); weight 821 lib/pacemaker/pcmk_sched_primitive.c node->weight = -INFINITY; weight 970 lib/pacemaker/pcmk_sched_primitive.c node->weight = -INFINITY; weight 1239 lib/pacemaker/pcmk_sched_primitive.c pe__node_name(node), node->weight); weight 134 lib/pacemaker/pcmk_sched_promotable.c weighted_node->weight); weight 141 lib/pacemaker/pcmk_sched_promotable.c pcmk_readable_score(weighted_node->weight), weight 324 lib/pacemaker/pcmk_sched_promotable.c node->weight = pcmk__add_scores(child->sort_index, node->weight); weight 328 lib/pacemaker/pcmk_sched_promotable.c pe__node_name(node), pcmk_readable_score(node->weight)); weight 428 lib/pacemaker/pcmk_sched_promotable.c child->sort_index = node->weight; weight 556 lib/pacemaker/pcmk_sched_promotable.c return (allowed != NULL) && (allowed->weight >= 0); weight 771 lib/pacemaker/pcmk_sched_promotable.c new_score = pcmk__add_scores(node->weight, score); weight 772 lib/pacemaker/pcmk_sched_promotable.c if (new_score != node->weight) { // Could remain INFINITY weight 773 lib/pacemaker/pcmk_sched_promotable.c node->weight = new_score; weight 1182 lib/pacemaker/pcmk_sched_promotable.c node->weight = pcmk__add_scores(node->weight, colocation->score); weight 1187 lib/pacemaker/pcmk_sched_promotable.c pcmk_readable_score(node->weight)); weight 361 lib/pacemaker/pcmk_sched_resource.c if ((chosen->weight < 0) weight 370 lib/pacemaker/pcmk_sched_resource.c chosen->weight); weight 591 lib/pacemaker/pcmk_sched_resource.c return (weighted_node == NULL)? -INFINITY : weighted_node->weight; weight 165 lib/pacemaker/pcmk_scheduler.c match->weight = -INFINITY; weight 254 lib/pacemaker/pcmk_scheduler.c if ((node != NULL) && (node->weight >= 0) && node->details->online weight 477 lib/pengine/bundle.c ((pe_node_t *) match)->weight = -INFINITY; weight 546 lib/pengine/bundle.c node->weight = -INFINITY; weight 571 lib/pengine/bundle.c replica->node->weight = 500; weight 585 lib/pengine/bundle.c copy->weight = -INFINITY; weight 598 lib/pengine/bundle.c node->weight = -INFINITY; weight 146 lib/pengine/native.c local_node->weight = -INFINITY; weight 656 lib/pengine/pe_output.c char *weight_s = pcmk__itoa(pe_node->weight); weight 709 lib/pengine/pe_output.c if (node->weight < 0) { weight 413 lib/pengine/unpack.c new_node->weight = char2score(score); weight 1582 lib/pengine/unpack.c this_node->weight = -INFINITY; weight 1588 lib/pengine/unpack.c this_node->weight = -INFINITY; weight 2595 lib/pengine/unpack.c node->weight = *score; weight 99 lib/pengine/utils.c new_node->weight = this_node->weight; weight 122 lib/pengine/utils.c node->weight = -INFINITY; weight 126 lib/pengine/utils.c node->weight = pcmk__add_scores(node->weight, other_node->weight); weight 128 lib/pengine/utils.c "(now %s)", pcmk_readable_score(other_node->weight), weight 129 lib/pengine/utils.c pe__node_name(node), pcmk_readable_score(node->weight)); weight 141 lib/pengine/utils.c new_node->weight = -INFINITY; weight 229 lib/pengine/utils.c pcmk_readable_score(node->weight)); weight 264 lib/pengine/utils.c pcmk_readable_score(node->weight)); weight 269 lib/pengine/utils.c pcmk_readable_score(node->weight)); weight 390 lib/pengine/utils.c match->weight = pcmk__add_scores(match->weight, score); weight 394 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 794 tools/crm_resource_runtime.c if(node->weight >= 0) {