weight            693 daemons/fenced/pacemaker-fenced.c             crm_trace("Available: %s = %d", node->details->uname, node->weight);
weight            698 daemons/fenced/pacemaker-fenced.c     } else if(node->weight < 0 || (parent && parent->weight < 0)) {
weight            700 daemons/fenced/pacemaker-fenced.c         char *score = score2char((node->weight < 0) ? node->weight : parent->weight);
weight            719 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             26 include/pcmki/pcmki_sched_utils.h pe__location_t *rsc2node_new(const char *id, pe_resource_t *rsc, int weight,
weight             83 lib/pacemaker/pcmk_output.c             char *score = score2char(node->weight);
weight            516 lib/pacemaker/pcmk_output.c             char *score = score2char(node->weight);
weight            709 lib/pacemaker/pcmk_sched_allocate.c                 crm_err("%s[%s] = %d", rsc->id, nIter->details->uname, nIter->weight);
weight            947 lib/pacemaker/pcmk_sched_allocate.c         match->weight = -INFINITY;
weight           1071 lib/pacemaker/pcmk_sched_allocate.c             if (node && (node->weight >= 0) && node->details->online
weight           1191 lib/pacemaker/pcmk_sched_allocate.c             r1_weight = r1_node->weight;
weight           1198 lib/pacemaker/pcmk_sched_allocate.c             r2_weight = r2_node->weight;
weight           1224 lib/pacemaker/pcmk_sched_allocate.c             r1_weight = r1_node->weight;
weight           1232 lib/pacemaker/pcmk_sched_allocate.c             r2_weight = r2_node->weight;
weight            167 lib/pacemaker/pcmk_sched_bundle.c                     node->weight = -INFINITY;
weight            170 lib/pacemaker/pcmk_sched_bundle.c                     node->weight = INFINITY;
weight            190 lib/pacemaker/pcmk_sched_bundle.c                 node->weight = 0;
weight            192 lib/pacemaker/pcmk_sched_bundle.c                 node->weight = -INFINITY;
weight            551 lib/pacemaker/pcmk_sched_bundle.c             pe_rsc_trace(rsc, "Allowing %s: %s %d", constraint->id, chosen->details->uname, chosen->weight);
weight            183 lib/pacemaker/pcmk_sched_clone.c     if (node1->weight < node2->weight) {
weight            184 lib/pacemaker/pcmk_sched_clone.c         if (node1->weight < 0) {
weight            186 lib/pacemaker/pcmk_sched_clone.c                       rsc1->id, rsc2->id, node1->weight, node2->weight);
weight            192 lib/pacemaker/pcmk_sched_clone.c                       rsc1->id, rsc2->id, node1->weight, node2->weight);
weight            197 lib/pacemaker/pcmk_sched_clone.c     } else if (node1->weight > node2->weight) {
weight            199 lib/pacemaker/pcmk_sched_clone.c                   rsc1->id, rsc2->id, node1->weight, node2->weight);
weight            229 lib/pacemaker/pcmk_sched_clone.c         if (node1->weight < node2->weight) {
weight            234 lib/pacemaker/pcmk_sched_clone.c         } else if (node1->weight > node2->weight) {
weight            301 lib/pacemaker/pcmk_sched_clone.c         if (match == NULL || match->weight < 0) {
weight            311 lib/pacemaker/pcmk_sched_clone.c         if (match == NULL || match->weight < 0) {
weight            448 lib/pacemaker/pcmk_sched_clone.c     } else if (local_node->weight < 0) {
weight            449 lib/pacemaker/pcmk_sched_clone.c         common_update_score(rsc, node->details->id, local_node->weight);
weight            498 lib/pacemaker/pcmk_sched_clone.c         if (local_prefer == NULL || local_prefer->weight < 0) {
weight            624 lib/pacemaker/pcmk_sched_clone.c         if (!can_run_resources(child_node) || (child_node->weight < 0)) {
weight           1198 lib/pacemaker/pcmk_sched_clone.c                 pe_rsc_trace(rsc_rh, "Allowing %s: %s %d", constraint->id, chosen->details->uname, chosen->weight);
weight           1142 lib/pacemaker/pcmk_sched_constraints.c             node->weight = get_node_score(rule_id, score, raw_score, node, rsc);
weight           1178 lib/pacemaker/pcmk_sched_constraints.c                 local->weight = pe__add_scores(local->weight, score_f);
weight           1180 lib/pacemaker/pcmk_sched_constraints.c             crm_trace("node %s now has weight %d", node->details->uname, local->weight);
weight            127 lib/pacemaker/pcmk_sched_native.c         } else if ((chosen->weight < 0) || (chosen->weight < best->weight)) {
weight            154 lib/pacemaker/pcmk_sched_native.c             && chosen && (chosen->weight > 0) && can_run_resources(chosen)) {
weight            173 lib/pacemaker/pcmk_sched_native.c                     if (tmp->weight != chosen->weight) {
weight            189 lib/pacemaker/pcmk_sched_native.c         int log_level = (chosen->weight >= INFINITY)? LOG_WARNING : LOG_INFO;
weight            191 lib/pacemaker/pcmk_sched_native.c         score2char_stack(chosen->weight, score, sizeof(score));
weight            223 lib/pacemaker/pcmk_sched_native.c         if ((node->weight > best_score) && can_run_resources(node)
weight            226 lib/pacemaker/pcmk_sched_native.c             best_score = node->weight;
weight            274 lib/pacemaker/pcmk_sched_native.c         int weight = 0;
weight            288 lib/pacemaker/pcmk_sched_native.c                       node->details->uname, node->weight, factor, score);
weight            292 lib/pacemaker/pcmk_sched_native.c         if (node->weight == INFINITY_HACK) {
weight            294 lib/pacemaker/pcmk_sched_native.c                       node->details->uname, node->weight, factor, score);
weight            301 lib/pacemaker/pcmk_sched_native.c         weight = (int) ((weight_f < 0)? (weight_f - 0.5) : (weight_f + 0.5));
weight            307 lib/pacemaker/pcmk_sched_native.c         if ((weight == 0) && (score != 0)) {
weight            309 lib/pacemaker/pcmk_sched_native.c                 weight = 1;
weight            311 lib/pacemaker/pcmk_sched_native.c                 weight = -1;
weight            315 lib/pacemaker/pcmk_sched_native.c         new_score = pe__add_scores(weight, node->weight);
weight            317 lib/pacemaker/pcmk_sched_native.c         if (only_positive && (new_score < 0) && (node->weight > 0)) {
weight            320 lib/pacemaker/pcmk_sched_native.c                       node->details->uname, node->weight, factor, score,
weight            322 lib/pacemaker/pcmk_sched_native.c             node->weight = INFINITY_HACK;
weight            326 lib/pacemaker/pcmk_sched_native.c         if (only_positive && (new_score < 0) && (node->weight == 0)) {
weight            328 lib/pacemaker/pcmk_sched_native.c                       node->details->uname, node->weight, factor, score,
weight            334 lib/pacemaker/pcmk_sched_native.c                   node->weight, factor, score, new_score);
weight            335 lib/pacemaker/pcmk_sched_native.c         node->weight = new_score;
weight            476 lib/pacemaker/pcmk_sched_native.c             if (node->weight == INFINITY_HACK) {
weight            477 lib/pacemaker/pcmk_sched_native.c                 node->weight = 1;
weight           1446 lib/pacemaker/pcmk_sched_native.c             node->weight = -INFINITY;
weight           1665 lib/pacemaker/pcmk_sched_native.c                     node->weight = -INFINITY;
weight           1880 lib/pacemaker/pcmk_sched_native.c             node->weight = pe__add_scores(-constraint->score, node->weight);
weight           1887 lib/pacemaker/pcmk_sched_native.c                 node->weight = pe__add_scores(constraint->score, node->weight);
weight           1894 lib/pacemaker/pcmk_sched_native.c             node->weight = pe__add_scores(-constraint->score, node->weight);
weight           2323 lib/pacemaker/pcmk_sched_native.c                          node->weight, node->details->uname);
weight           2324 lib/pacemaker/pcmk_sched_native.c             other_node->weight = pe__add_scores(other_node->weight,
weight           2325 lib/pacemaker/pcmk_sched_native.c                                                 node->weight);
weight           2329 lib/pacemaker/pcmk_sched_native.c                          node->weight, node->details->uname);
weight           2516 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            147 lib/pacemaker/pcmk_sched_promotable.c                                               cons_node->weight);
weight            151 lib/pacemaker/pcmk_sched_promotable.c                          new_priority, cons_node->weight);
weight            321 lib/pacemaker/pcmk_sched_promotable.c         node->weight = pe__add_scores(child->sort_index, node->weight);
weight            400 lib/pacemaker/pcmk_sched_promotable.c             child->sort_index = node->weight;
weight            528 lib/pacemaker/pcmk_sched_promotable.c     } else if (match->weight < 0) {
weight            530 lib/pacemaker/pcmk_sched_promotable.c                      rsc->id, match->details->uname, match->weight);
weight            598 lib/pacemaker/pcmk_sched_promotable.c                 new_score = pe__add_scores(node->weight, score);
weight            599 lib/pacemaker/pcmk_sched_promotable.c                 if (new_score != node->weight) {
weight            601 lib/pacemaker/pcmk_sched_promotable.c                                  child_rsc->id, node->details->uname, node->weight, new_score);
weight            602 lib/pacemaker/pcmk_sched_promotable.c                     node->weight = new_score;
weight            967 lib/pacemaker/pcmk_sched_promotable.c             crm_trace("%s: %d + %d", node->details->uname, node->weight, other->weight);
weight            968 lib/pacemaker/pcmk_sched_promotable.c             node->weight = pe__add_scores(node->weight, score);
weight            366 lib/pacemaker/pcmk_sched_utilization.c                 if (can_run_resources(node) == FALSE || node->weight < 0) {
weight            384 lib/pacemaker/pcmk_sched_utilization.c                     if (can_run_resources(node) == FALSE || node->weight < 0) {
weight            412 lib/pacemaker/pcmk_sched_utilization.c                 if (can_run_resources(node) == FALSE || node->weight < 0) {
weight             53 lib/pacemaker/pcmk_sched_utils.c             copy->weight = node_weight;
weight             71 lib/pacemaker/pcmk_sched_utils.c     if (node->weight < 0) {
weight            136 lib/pacemaker/pcmk_sched_utils.c             new_node->weight = 0;
weight            171 lib/pacemaker/pcmk_sched_utils.c     node1_weight = node1->weight;
weight            172 lib/pacemaker/pcmk_sched_utils.c     node2_weight = node2->weight;
weight            280 lib/pacemaker/pcmk_sched_utils.c         if(chosen->weight < 0) {
weight            291 lib/pacemaker/pcmk_sched_utils.c                       rsc->id, chosen->details->uname, can_run_resources(chosen), chosen->weight);
weight            463 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            757 lib/pengine/bundle.c             node->weight = -INFINITY;
weight            783 lib/pengine/bundle.c         replica->node->weight = 500;
weight            797 lib/pengine/bundle.c             copy->weight = -INFINITY;
weight            809 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            631 lib/pengine/pe_output.c     char *weight_s = pcmk__itoa(pe_node->weight);
weight            681 lib/pengine/pe_output.c             if (node->weight < 0) {
weight           2747 lib/pengine/pe_output.c               node->details->uname, node->weight, node->fixed ? "True" : "False");
weight            404 lib/pengine/unpack.c     new_node->weight = char2score(score);
weight           1558 lib/pengine/unpack.c         this_node->weight = -INFINITY;
weight           1564 lib/pengine/unpack.c         this_node->weight = -INFINITY;
weight           2540 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           1590 lib/pengine/utils.c     match->weight = pe__add_scores(match->weight, score);
weight            762 tools/crm_resource_runtime.c                 if(node->weight >= 0) {