weight 715 daemons/fenced/pacemaker-fenced.c crm_trace("Available: %s = %d", node->details->uname, node->weight); weight 720 daemons/fenced/pacemaker-fenced.c } else if(node->weight < 0 || (parent && parent->weight < 0)) { weight 722 daemons/fenced/pacemaker-fenced.c char *score = score2char((node->weight < 0) ? node->weight : parent->weight); weight 741 daemons/fenced/pacemaker-fenced.c crm_debug("Device %s is allowed on %s: score=%d", rsc->id, stonith_our_uname, node->weight); weight 241 include/crm/pengine/pe_types.h int weight; weight 85 lib/pacemaker/pcmk_output.c char *score = score2char(node->weight); weight 524 lib/pacemaker/pcmk_output.c char *score = score2char(node->weight); weight 620 lib/pacemaker/pcmk_sched_allocate.c crm_err("%s[%s] = %d", rsc->id, nIter->details->uname, nIter->weight); weight 856 lib/pacemaker/pcmk_sched_allocate.c match->weight = -INFINITY; weight 975 lib/pacemaker/pcmk_sched_allocate.c if (node && (node->weight >= 0) && node->details->online weight 1077 lib/pacemaker/pcmk_sched_allocate.c r1_weight = r1_node->weight; weight 1084 lib/pacemaker/pcmk_sched_allocate.c r2_weight = r2_node->weight; weight 1110 lib/pacemaker/pcmk_sched_allocate.c r1_weight = r1_node->weight; weight 1118 lib/pacemaker/pcmk_sched_allocate.c r2_weight = r2_node->weight; weight 130 lib/pacemaker/pcmk_sched_bundle.c node->weight = -INFINITY; weight 133 lib/pacemaker/pcmk_sched_bundle.c node->weight = INFINITY; weight 153 lib/pacemaker/pcmk_sched_bundle.c node->weight = 0; weight 155 lib/pacemaker/pcmk_sched_bundle.c node->weight = -INFINITY; weight 539 lib/pacemaker/pcmk_sched_bundle.c chosen->weight); weight 185 lib/pacemaker/pcmk_sched_clone.c if (node1->weight < node2->weight) { weight 186 lib/pacemaker/pcmk_sched_clone.c if (node1->weight < 0) { weight 188 lib/pacemaker/pcmk_sched_clone.c rsc1->id, rsc2->id, node1->weight, node2->weight); weight 194 lib/pacemaker/pcmk_sched_clone.c rsc1->id, rsc2->id, node1->weight, node2->weight); weight 199 lib/pacemaker/pcmk_sched_clone.c } else if (node1->weight > node2->weight) { weight 201 lib/pacemaker/pcmk_sched_clone.c rsc1->id, rsc2->id, node1->weight, node2->weight); weight 231 lib/pacemaker/pcmk_sched_clone.c if (node1->weight < node2->weight) { weight 236 lib/pacemaker/pcmk_sched_clone.c } else if (node1->weight > node2->weight) { weight 303 lib/pacemaker/pcmk_sched_clone.c if (match == NULL || match->weight < 0) { weight 313 lib/pacemaker/pcmk_sched_clone.c if (match == NULL || match->weight < 0) { weight 450 lib/pacemaker/pcmk_sched_clone.c } else if (local_node->weight < 0) { weight 451 lib/pacemaker/pcmk_sched_clone.c common_update_score(rsc, node->details->id, local_node->weight); weight 500 lib/pacemaker/pcmk_sched_clone.c if (local_prefer == NULL || local_prefer->weight < 0) { weight 626 lib/pacemaker/pcmk_sched_clone.c if (!can_run_resources(child_node) || (child_node->weight < 0)) { weight 1194 lib/pacemaker/pcmk_sched_clone.c chosen->weight); weight 972 lib/pacemaker/pcmk_sched_colocation.c node->weight = pe__add_scores(-constraint->score, node->weight); weight 980 lib/pacemaker/pcmk_sched_colocation.c node->weight = pe__add_scores(constraint->score, node->weight); weight 987 lib/pacemaker/pcmk_sched_colocation.c node->weight = pe__add_scores(-constraint->score, node->weight); 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 = pe__add_scores(local->weight, score_f); weight 170 lib/pacemaker/pcmk_sched_location.c node->details->uname, local->weight); weight 579 lib/pacemaker/pcmk_sched_location.c copy->weight = node_weight; weight 652 lib/pacemaker/pcmk_sched_location.c node->weight, node->details->uname); weight 659 lib/pacemaker/pcmk_sched_location.c node->weight, node->details->uname); weight 660 lib/pacemaker/pcmk_sched_location.c weighted_node->weight = pe__add_scores(weighted_node->weight, weight 661 lib/pacemaker/pcmk_sched_location.c node->weight); weight 129 lib/pacemaker/pcmk_sched_native.c } else if ((chosen->weight < 0) || (chosen->weight < best->weight)) { weight 156 lib/pacemaker/pcmk_sched_native.c && chosen && (chosen->weight > 0) && can_run_resources(chosen)) { weight 175 lib/pacemaker/pcmk_sched_native.c if (tmp->weight != chosen->weight) { weight 191 lib/pacemaker/pcmk_sched_native.c int log_level = (chosen->weight >= INFINITY)? LOG_WARNING : LOG_INFO; weight 193 lib/pacemaker/pcmk_sched_native.c score2char_stack(chosen->weight, score, sizeof(score)); weight 225 lib/pacemaker/pcmk_sched_native.c if ((node->weight > best_score) && can_run_resources(node) weight 228 lib/pacemaker/pcmk_sched_native.c best_score = node->weight; weight 276 lib/pacemaker/pcmk_sched_native.c int weight = 0; weight 290 lib/pacemaker/pcmk_sched_native.c node->details->uname, node->weight, factor, score); weight 294 lib/pacemaker/pcmk_sched_native.c if (node->weight == INFINITY_HACK) { weight 296 lib/pacemaker/pcmk_sched_native.c node->details->uname, node->weight, factor, score); weight 303 lib/pacemaker/pcmk_sched_native.c weight = (int) ((weight_f < 0)? (weight_f - 0.5) : (weight_f + 0.5)); weight 309 lib/pacemaker/pcmk_sched_native.c if ((weight == 0) && (score != 0)) { weight 311 lib/pacemaker/pcmk_sched_native.c weight = 1; weight 313 lib/pacemaker/pcmk_sched_native.c weight = -1; weight 317 lib/pacemaker/pcmk_sched_native.c new_score = pe__add_scores(weight, node->weight); weight 319 lib/pacemaker/pcmk_sched_native.c if (only_positive && (new_score < 0) && (node->weight > 0)) { weight 322 lib/pacemaker/pcmk_sched_native.c node->details->uname, node->weight, factor, score, weight 324 lib/pacemaker/pcmk_sched_native.c node->weight = INFINITY_HACK; weight 328 lib/pacemaker/pcmk_sched_native.c if (only_positive && (new_score < 0) && (node->weight == 0)) { weight 330 lib/pacemaker/pcmk_sched_native.c node->details->uname, node->weight, factor, score, weight 336 lib/pacemaker/pcmk_sched_native.c node->weight, factor, score, new_score); weight 337 lib/pacemaker/pcmk_sched_native.c node->weight = new_score; weight 479 lib/pacemaker/pcmk_sched_native.c if (node->weight == INFINITY_HACK) { weight 480 lib/pacemaker/pcmk_sched_native.c node->weight = 1; weight 1434 lib/pacemaker/pcmk_sched_native.c node->weight = -INFINITY; weight 1655 lib/pacemaker/pcmk_sched_native.c node->weight = -INFINITY; weight 2129 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc, "%s on %s %d %d", rsc->id, next ? next->details->uname : "N/A", optional, next ? next->weight : 0); weight 158 lib/pacemaker/pcmk_sched_promotable.c cons_node->weight); weight 162 lib/pacemaker/pcmk_sched_promotable.c new_priority, cons_node->weight); weight 332 lib/pacemaker/pcmk_sched_promotable.c node->weight = pe__add_scores(child->sort_index, node->weight); weight 410 lib/pacemaker/pcmk_sched_promotable.c child->sort_index = node->weight; weight 538 lib/pacemaker/pcmk_sched_promotable.c } else if (match->weight < 0) { weight 540 lib/pacemaker/pcmk_sched_promotable.c rsc->id, match->details->uname, match->weight); weight 608 lib/pacemaker/pcmk_sched_promotable.c new_score = pe__add_scores(node->weight, score); weight 609 lib/pacemaker/pcmk_sched_promotable.c if (new_score != node->weight) { weight 611 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id, node->details->uname, node->weight, new_score); weight 612 lib/pacemaker/pcmk_sched_promotable.c node->weight = new_score; weight 979 lib/pacemaker/pcmk_sched_promotable.c crm_trace("%s: %d + %d", node->details->uname, node->weight, other->weight); weight 980 lib/pacemaker/pcmk_sched_promotable.c node->weight = pe__add_scores(node->weight, score); weight 295 lib/pacemaker/pcmk_sched_utilization.c if (can_run_resources(node) == FALSE || node->weight < 0) { weight 313 lib/pacemaker/pcmk_sched_utilization.c if (can_run_resources(node) == FALSE || node->weight < 0) { weight 341 lib/pacemaker/pcmk_sched_utilization.c if (can_run_resources(node) == FALSE || node->weight < 0) { weight 26 lib/pacemaker/pcmk_sched_utils.c if (node->weight < 0) { weight 91 lib/pacemaker/pcmk_sched_utils.c new_node->weight = 0; weight 126 lib/pacemaker/pcmk_sched_utils.c node1_weight = node1->weight; weight 127 lib/pacemaker/pcmk_sched_utils.c node2_weight = node2->weight; weight 235 lib/pacemaker/pcmk_sched_utils.c if(chosen->weight < 0) { weight 246 lib/pacemaker/pcmk_sched_utils.c rsc->id, chosen->details->uname, can_run_resources(chosen), chosen->weight); weight 418 lib/pacemaker/pcmk_sched_utils.c if (can_run_resources(node) && node->weight >= 0) { weight 683 lib/pengine/bundle.c ((pe_node_t *) match)->weight = -INFINITY; weight 752 lib/pengine/bundle.c node->weight = -INFINITY; weight 776 lib/pengine/bundle.c replica->node->weight = 500; weight 790 lib/pengine/bundle.c copy->weight = -INFINITY; weight 802 lib/pengine/bundle.c node->weight = -INFINITY; weight 870 lib/pengine/complex.c pe_rsc_trace(rsc, "Updating score for %s on %s: %d + %d", rsc->id, id, node->weight, score); weight 871 lib/pengine/complex.c node->weight = pe__add_scores(node->weight, score); weight 146 lib/pengine/native.c local_node->weight = -INFINITY; weight 584 lib/pengine/pe_output.c char *weight_s = pcmk__itoa(pe_node->weight); weight 634 lib/pengine/pe_output.c if (node->weight < 0) { weight 2865 lib/pengine/pe_output.c node->details->uname, node->weight, node->fixed ? "True" : "False"); weight 403 lib/pengine/unpack.c new_node->weight = char2score(score); weight 1552 lib/pengine/unpack.c this_node->weight = -INFINITY; weight 1558 lib/pengine/unpack.c this_node->weight = -INFINITY; weight 2537 lib/pengine/unpack.c node->weight = *score; weight 152 lib/pengine/utils.c new_node->weight = this_node->weight; weight 175 lib/pengine/utils.c node->weight = -INFINITY; weight 177 lib/pengine/utils.c node->weight = pe__add_scores(node->weight, other_node->weight); weight 189 lib/pengine/utils.c new_node->weight = -INFINITY; weight 245 lib/pengine/utils.c score2char_stack(node->weight, score, sizeof(score)); weight 275 lib/pengine/utils.c score2char_stack(node->weight, score, sizeof(score)); weight 1687 lib/pengine/utils.c match->weight = pe__add_scores(match->weight, score); weight 332 maint/gnulib/lib/textstyle.in.h _GL_ATTRIBUTE_MAYBE_UNUSED term_weight_t weight) weight 764 tools/crm_resource_runtime.c if(node->weight >= 0) {