weight            736 daemons/fenced/pacemaker-fenced.c             crm_trace("Available: %s = %d", pe__node_name(node), node->weight);
weight            741 daemons/fenced/pacemaker-fenced.c     } else if(node->weight < 0 || (parent && parent->weight < 0)) {
weight            743 daemons/fenced/pacemaker-fenced.c         int score = (node->weight < 0)? node->weight : parent->weight;
weight            761 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             90 lib/pacemaker/pcmk_output.c                                          "score", pcmk_readable_score(node->weight),
weight            534 lib/pacemaker/pcmk_output.c                            pcmk_readable_score(node->weight), cons->id,
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            136 lib/pacemaker/pcmk_sched_bundle.c                     node->weight = -INFINITY;
weight            139 lib/pacemaker/pcmk_sched_bundle.c                     node->weight = INFINITY;
weight            158 lib/pacemaker/pcmk_sched_bundle.c                 node->weight = 0;
weight            160 lib/pacemaker/pcmk_sched_bundle.c                 node->weight = -INFINITY;
weight            533 lib/pacemaker/pcmk_sched_bundle.c                          colocation->id, pe__node_name(chosen), chosen->weight);
weight             54 lib/pacemaker/pcmk_sched_clone.c     } else if (local_node->weight < 0) {
weight             55 lib/pacemaker/pcmk_sched_clone.c         common_update_score(rsc, node->details->id, local_node->weight);
weight            104 lib/pacemaker/pcmk_sched_clone.c         if (local_prefer == NULL || local_prefer->weight < 0) {
weight            803 lib/pacemaker/pcmk_sched_clone.c                              chosen->weight);
weight           1072 lib/pacemaker/pcmk_sched_colocation.c             node->weight = pcmk__add_scores(-colocation->score, node->weight);
weight           1080 lib/pacemaker/pcmk_sched_colocation.c                 node->weight = pcmk__add_scores(colocation->score,
weight           1081 lib/pacemaker/pcmk_sched_colocation.c                                                 node->weight);
weight           1088 lib/pacemaker/pcmk_sched_colocation.c             node->weight = pcmk__add_scores(-colocation->score, node->weight);
weight           1184 lib/pacemaker/pcmk_sched_colocation.c         if ((node->weight > best_score) && pcmk__node_available(node, false, false)
weight           1187 lib/pacemaker/pcmk_sched_colocation.c             best_score = node->weight;
weight           1235 lib/pacemaker/pcmk_sched_colocation.c         int weight = 0;
weight           1249 lib/pacemaker/pcmk_sched_colocation.c                       pe__node_name(node), node->weight, factor, score);
weight           1253 lib/pacemaker/pcmk_sched_colocation.c         if (node->weight == INFINITY_HACK) {
weight           1255 lib/pacemaker/pcmk_sched_colocation.c                       pe__node_name(node), node->weight, factor, score);
weight           1262 lib/pacemaker/pcmk_sched_colocation.c         weight = (int) ((weight_f < 0)? (weight_f - 0.5) : (weight_f + 0.5));
weight           1268 lib/pacemaker/pcmk_sched_colocation.c         if ((weight == 0) && (score != 0)) {
weight           1270 lib/pacemaker/pcmk_sched_colocation.c                 weight = 1;
weight           1272 lib/pacemaker/pcmk_sched_colocation.c                 weight = -1;
weight           1276 lib/pacemaker/pcmk_sched_colocation.c         new_score = pcmk__add_scores(weight, node->weight);
weight           1278 lib/pacemaker/pcmk_sched_colocation.c         if (only_positive && (new_score < 0) && (node->weight > 0)) {
weight           1281 lib/pacemaker/pcmk_sched_colocation.c                       pe__node_name(node), node->weight, factor, score,
weight           1283 lib/pacemaker/pcmk_sched_colocation.c             node->weight = INFINITY_HACK;
weight           1287 lib/pacemaker/pcmk_sched_colocation.c         if (only_positive && (new_score < 0) && (node->weight == 0)) {
weight           1289 lib/pacemaker/pcmk_sched_colocation.c                       pe__node_name(node), node->weight, factor, score,
weight           1295 lib/pacemaker/pcmk_sched_colocation.c                   node->weight, factor, score, new_score);
weight           1296 lib/pacemaker/pcmk_sched_colocation.c         node->weight = new_score;
weight           1505 lib/pacemaker/pcmk_sched_colocation.c             if (node->weight == INFINITY_HACK) {
weight           1506 lib/pacemaker/pcmk_sched_colocation.c                 node->weight = 1;
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                       pe__node_name(node), local->weight);
weight            583 lib/pacemaker/pcmk_sched_location.c             copy->weight = node_weight;
weight            659 lib/pacemaker/pcmk_sched_location.c                          node->weight, pe__node_name(node));
weight            666 lib/pacemaker/pcmk_sched_location.c                          node->weight, pe__node_name(node));
weight            667 lib/pacemaker/pcmk_sched_location.c             weighted_node->weight = pcmk__add_scores(weighted_node->weight,
weight            668 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            804 lib/pacemaker/pcmk_sched_primitive.c             node->weight = -INFINITY;
weight            955 lib/pacemaker/pcmk_sched_primitive.c                     node->weight = -INFINITY;
weight           1186 lib/pacemaker/pcmk_sched_primitive.c                  pe__node_name(node), node->weight);
weight            133 lib/pacemaker/pcmk_sched_promotable.c                                                 weighted_node->weight);
weight            139 lib/pacemaker/pcmk_sched_promotable.c                          child->priority, weighted_node->weight, new_priority);
weight            323 lib/pacemaker/pcmk_sched_promotable.c     node->weight = pcmk__add_scores(child->sort_index, node->weight);
weight            420 lib/pacemaker/pcmk_sched_promotable.c         child->sort_index = node->weight;
weight            544 lib/pacemaker/pcmk_sched_promotable.c     return (allowed != NULL) && (allowed->weight >= 0);
weight            756 lib/pacemaker/pcmk_sched_promotable.c                 new_score = pcmk__add_scores(node->weight, score);
weight            757 lib/pacemaker/pcmk_sched_promotable.c                 if (new_score != node->weight) {
weight            762 lib/pacemaker/pcmk_sched_promotable.c                                  node->weight, new_score);
weight            763 lib/pacemaker/pcmk_sched_promotable.c                     node->weight = new_score;
weight           1165 lib/pacemaker/pcmk_sched_promotable.c                          pe__node_name(node), node->weight, colocation->score);
weight           1166 lib/pacemaker/pcmk_sched_promotable.c             node->weight = pcmk__add_scores(node->weight, colocation->score);
weight            344 lib/pacemaker/pcmk_sched_resource.c         if ((chosen->weight < 0)
weight            353 lib/pacemaker/pcmk_sched_resource.c                       chosen->weight);
weight            575 lib/pacemaker/pcmk_sched_resource.c     return (weighted_node == NULL)? -INFINITY : weighted_node->weight;
weight            804 lib/pacemaker/pcmk_sched_resource.c     if (node1->weight < node2->weight) {
weight            806 lib/pacemaker/pcmk_sched_resource.c                   instance1->id, node1->weight, pe__node_name(node1),
weight            807 lib/pacemaker/pcmk_sched_resource.c                   instance2->id, node2->weight, pe__node_name(node2));
weight            810 lib/pacemaker/pcmk_sched_resource.c     } else if (node1->weight > node2->weight) {
weight            812 lib/pacemaker/pcmk_sched_resource.c                   instance1->id, node1->weight, pe__node_name(node1),
weight            813 lib/pacemaker/pcmk_sched_resource.c                   instance2->id, node2->weight, pe__node_name(node2));
weight            859 lib/pacemaker/pcmk_sched_resource.c         if ((allowed == NULL) || (allowed->weight < 0)) {
weight            442 lib/pengine/bundle.c         ((pe_node_t *) match)->weight = -INFINITY;
weight            511 lib/pengine/bundle.c             node->weight = -INFINITY;
weight            536 lib/pengine/bundle.c         replica->node->weight = 500;
weight            550 lib/pengine/bundle.c             copy->weight = -INFINITY;
weight            563 lib/pengine/bundle.c                 node->weight = -INFINITY;
weight            879 lib/pengine/complex.c         pe_rsc_trace(rsc, "Updating score for %s on %s: %d + %d", rsc->id, id, node->weight, score);
weight            880 lib/pengine/complex.c         node->weight = pcmk__add_scores(node->weight, score);
weight            145 lib/pengine/native.c                         local_node->weight = -INFINITY;
weight            632 lib/pengine/pe_output.c     char *weight_s = pcmk__itoa(pe_node->weight);
weight            682 lib/pengine/pe_output.c             if (node->weight < 0) {
weight            395 lib/pengine/unpack.c     new_node->weight = char2score(score);
weight           1571 lib/pengine/unpack.c         this_node->weight = -INFINITY;
weight           1577 lib/pengine/unpack.c         this_node->weight = -INFINITY;
weight           2577 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            124 lib/pengine/utils.c             node->weight = pcmk__add_scores(node->weight, other_node->weight);
weight            136 lib/pengine/utils.c             new_node->weight = -INFINITY;
weight            223 lib/pengine/utils.c                      pcmk_readable_score(node->weight));
weight            257 lib/pengine/utils.c                                         pcmk_readable_score(node->weight));
weight            262 lib/pengine/utils.c                                         pcmk_readable_score(node->weight));
weight            381 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            735 tools/crm_resource_runtime.c                 if(node->weight >= 0) {