weight            739 daemons/fenced/pacemaker-fenced.c             crm_trace("Available: %s = %d", node->details->uname, node->weight);
weight            744 daemons/fenced/pacemaker-fenced.c     } else if(node->weight < 0 || (parent && parent->weight < 0)) {
weight            746 daemons/fenced/pacemaker-fenced.c         char *score = score2char((node->weight < 0) ? node->weight : parent->weight);
weight            765 daemons/fenced/pacemaker-fenced.c         crm_debug("Device %s is allowed on %s: score=%d", rsc->id, stonith_our_uname, node->weight);
weight            249 include/crm/pengine/pe_types.h     int weight;
weight             87 lib/pacemaker/pcmk_output.c             char *score = score2char(node->weight);
weight            526 lib/pacemaker/pcmk_output.c             char *score = score2char(node->weight);
weight            164 lib/pacemaker/pcmk_sched_allocate.c             match->weight = -INFINITY;
weight            254 lib/pacemaker/pcmk_sched_allocate.c         if ((node != NULL) && (node->weight >= 0) && node->details->online
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 (!pcmk__node_available(child_node) || (child_node->weight < 0)) {
weight           1174 lib/pacemaker/pcmk_sched_clone.c                              chosen->weight);
weight            977 lib/pacemaker/pcmk_sched_colocation.c             node->weight = pcmk__add_scores(-constraint->score, node->weight);
weight            985 lib/pacemaker/pcmk_sched_colocation.c                 node->weight = pcmk__add_scores(constraint->score,
weight            986 lib/pacemaker/pcmk_sched_colocation.c                                                 node->weight);
weight            993 lib/pacemaker/pcmk_sched_colocation.c             node->weight = pcmk__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 = pcmk__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 = pcmk__add_scores(weighted_node->weight,
weight            661 lib/pacemaker/pcmk_sched_location.c                                                      node->weight);
weight            128 lib/pacemaker/pcmk_sched_native.c         } else if ((chosen->weight < 0) || (chosen->weight < best->weight)) {
weight            155 lib/pacemaker/pcmk_sched_native.c             && chosen && (chosen->weight > 0) && pcmk__node_available(chosen)) {
weight            174 lib/pacemaker/pcmk_sched_native.c                     if (tmp->weight != chosen->weight) {
weight            190 lib/pacemaker/pcmk_sched_native.c         int log_level = (chosen->weight >= INFINITY)? LOG_WARNING : LOG_INFO;
weight            192 lib/pacemaker/pcmk_sched_native.c         score2char_stack(chosen->weight, score, sizeof(score));
weight            224 lib/pacemaker/pcmk_sched_native.c         if ((node->weight > best_score) && pcmk__node_available(node)
weight            227 lib/pacemaker/pcmk_sched_native.c             best_score = node->weight;
weight            275 lib/pacemaker/pcmk_sched_native.c         int weight = 0;
weight            289 lib/pacemaker/pcmk_sched_native.c                       node->details->uname, node->weight, factor, score);
weight            293 lib/pacemaker/pcmk_sched_native.c         if (node->weight == INFINITY_HACK) {
weight            295 lib/pacemaker/pcmk_sched_native.c                       node->details->uname, node->weight, factor, score);
weight            302 lib/pacemaker/pcmk_sched_native.c         weight = (int) ((weight_f < 0)? (weight_f - 0.5) : (weight_f + 0.5));
weight            308 lib/pacemaker/pcmk_sched_native.c         if ((weight == 0) && (score != 0)) {
weight            310 lib/pacemaker/pcmk_sched_native.c                 weight = 1;
weight            312 lib/pacemaker/pcmk_sched_native.c                 weight = -1;
weight            316 lib/pacemaker/pcmk_sched_native.c         new_score = pcmk__add_scores(weight, node->weight);
weight            318 lib/pacemaker/pcmk_sched_native.c         if (only_positive && (new_score < 0) && (node->weight > 0)) {
weight            321 lib/pacemaker/pcmk_sched_native.c                       node->details->uname, node->weight, factor, score,
weight            323 lib/pacemaker/pcmk_sched_native.c             node->weight = INFINITY_HACK;
weight            327 lib/pacemaker/pcmk_sched_native.c         if (only_positive && (new_score < 0) && (node->weight == 0)) {
weight            329 lib/pacemaker/pcmk_sched_native.c                       node->details->uname, node->weight, factor, score,
weight            335 lib/pacemaker/pcmk_sched_native.c                   node->weight, factor, score, new_score);
weight            336 lib/pacemaker/pcmk_sched_native.c         node->weight = new_score;
weight            478 lib/pacemaker/pcmk_sched_native.c             if (node->weight == INFINITY_HACK) {
weight            479 lib/pacemaker/pcmk_sched_native.c                 node->weight = 1;
weight           1470 lib/pacemaker/pcmk_sched_native.c             node->weight = -INFINITY;
weight           1649 lib/pacemaker/pcmk_sched_native.c                     node->weight = -INFINITY;
weight           2122 lib/pacemaker/pcmk_sched_native.c                  ((next == NULL)? 0 : next->weight));
weight             85 lib/pacemaker/pcmk_sched_nodes.c             new_node->weight = 0;
weight            132 lib/pacemaker/pcmk_sched_nodes.c     node1_weight = pcmk__node_available(node1)? node1->weight : -INFINITY;
weight            133 lib/pacemaker/pcmk_sched_nodes.c     node2_weight = pcmk__node_available(node2)? node2->weight : -INFINITY;
weight            250 lib/pacemaker/pcmk_sched_nodes.c         if ((node->weight >= 0) && pcmk__node_available(node)) {
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 = pcmk__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 = pcmk__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            986 lib/pacemaker/pcmk_sched_promotable.c             crm_trace("%s: %d + %d", node->details->uname, node->weight, other->weight);
weight            987 lib/pacemaker/pcmk_sched_promotable.c             node->weight = pcmk__add_scores(node->weight, score);
weight            344 lib/pacemaker/pcmk_sched_resource.c         if ((chosen->weight < 0)
weight            352 lib/pacemaker/pcmk_sched_resource.c                       chosen->weight);
weight            574 lib/pacemaker/pcmk_sched_resource.c     return (weighted_node == NULL)? -INFINITY : weighted_node->weight;
weight            330 lib/pacemaker/pcmk_sched_utilization.c         if (!pcmk__node_available(node) || (node->weight < 0)) {
weight            349 lib/pacemaker/pcmk_sched_utilization.c             if ((node->weight >= 0) && pcmk__node_available(node)
weight            366 lib/pacemaker/pcmk_sched_utilization.c             if ((node->weight >= 0) && pcmk__node_available(node)
weight            684 lib/pengine/bundle.c         ((pe_node_t *) match)->weight = -INFINITY;
weight            753 lib/pengine/bundle.c             node->weight = -INFINITY;
weight            777 lib/pengine/bundle.c         replica->node->weight = 500;
weight            791 lib/pengine/bundle.c             copy->weight = -INFINITY;
weight            803 lib/pengine/bundle.c                 node->weight = -INFINITY;
weight            880 lib/pengine/complex.c         pe_rsc_trace(rsc, "Updating score for %s on %s: %d + %d", rsc->id, id, node->weight, score);
weight            881 lib/pengine/complex.c         node->weight = pcmk__add_scores(node->weight, score);
weight            148 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           2938 lib/pengine/pe_output.c               node->details->uname, node->weight, node->fixed ? "True" : "False");
weight            395 lib/pengine/unpack.c     new_node->weight = char2score(score);
weight           1559 lib/pengine/unpack.c         this_node->weight = -INFINITY;
weight           1565 lib/pengine/unpack.c         this_node->weight = -INFINITY;
weight           2546 lib/pengine/unpack.c     node->weight = *score;
weight            151 lib/pengine/utils.c     new_node->weight = this_node->weight;
weight            174 lib/pengine/utils.c             node->weight = -INFINITY;
weight            176 lib/pengine/utils.c             node->weight = pcmk__add_scores(node->weight, other_node->weight);
weight            188 lib/pengine/utils.c             new_node->weight = -INFINITY;
weight            244 lib/pengine/utils.c         score2char_stack(node->weight, score, sizeof(score));
weight            274 lib/pengine/utils.c         score2char_stack(node->weight, score, sizeof(score));
weight           1688 lib/pengine/utils.c     match->weight = pcmk__add_scores(match->weight, score);
weight            332 maint/gnulib/lib/textstyle.in.h                          _GL_ATTRIBUTE_MAYBE_UNUSED term_weight_t weight)
weight            767 tools/crm_resource_runtime.c                 if(node->weight >= 0) {