weight            627 daemons/fenced/pacemaker-fenced.c             crm_trace("Available: %s = %d", node->details->uname, node->weight);
weight            632 daemons/fenced/pacemaker-fenced.c     } else if(node->weight < 0 || (parent && parent->weight < 0)) {
weight            634 daemons/fenced/pacemaker-fenced.c         char *score = score2char((node->weight < 0) ? node->weight : parent->weight);
weight            652 daemons/fenced/pacemaker-fenced.c         crm_debug("Device %s is allowed on %s: score=%d", rsc->id, stonith_our_uname, node->weight);
weight            230 include/crm/pengine/pe_types.h     int weight;
weight             27 include/pcmki/pcmki_sched_utils.h pe__location_t *rsc2node_new(const char *id, pe_resource_t *rsc, int weight,
weight            733 lib/pacemaker/pcmk_sched_allocate.c                 crm_err("%s[%s] = %d", rsc->id, nIter->details->uname, nIter->weight);
weight            970 lib/pacemaker/pcmk_sched_allocate.c         match->weight = -INFINITY;
weight           1094 lib/pacemaker/pcmk_sched_allocate.c             if (node && (node->weight >= 0) && node->details->online
weight           1212 lib/pacemaker/pcmk_sched_allocate.c             r1_weight = r1_node->weight;
weight           1219 lib/pacemaker/pcmk_sched_allocate.c             r2_weight = r2_node->weight;
weight           1245 lib/pacemaker/pcmk_sched_allocate.c             r1_weight = r1_node->weight;
weight           1253 lib/pacemaker/pcmk_sched_allocate.c             r2_weight = r2_node->weight;
weight            164 lib/pacemaker/pcmk_sched_bundle.c                     node->weight = -INFINITY;
weight            167 lib/pacemaker/pcmk_sched_bundle.c                     node->weight = INFINITY;
weight            187 lib/pacemaker/pcmk_sched_bundle.c                 node->weight = 0;
weight            189 lib/pacemaker/pcmk_sched_bundle.c                 node->weight = -INFINITY;
weight            541 lib/pacemaker/pcmk_sched_bundle.c             pe_rsc_trace(rsc, "Allowing %s: %s %d", constraint->id, chosen->details->uname, chosen->weight);
weight            124 lib/pacemaker/pcmk_sched_clone.c         if (match == NULL || match->weight < 0) {
weight            134 lib/pacemaker/pcmk_sched_clone.c         if (match == NULL || match->weight < 0) {
weight            300 lib/pacemaker/pcmk_sched_clone.c         if (node1->weight < node2->weight) {
weight            301 lib/pacemaker/pcmk_sched_clone.c             if (node1->weight < 0) {
weight            302 lib/pacemaker/pcmk_sched_clone.c                 crm_trace("%s > %s: current score: %d %d", resource1->id, resource2->id, node1->weight, node2->weight);
weight            307 lib/pacemaker/pcmk_sched_clone.c                 crm_trace("%s < %s: current score: %d %d", resource1->id, resource2->id, node1->weight, node2->weight);
weight            312 lib/pacemaker/pcmk_sched_clone.c         } else if (node1->weight > node2->weight) {
weight            313 lib/pacemaker/pcmk_sched_clone.c             crm_trace("%s > %s: current score: %d %d", resource1->id, resource2->id, node1->weight, node2->weight);
weight            343 lib/pacemaker/pcmk_sched_clone.c             if (node1->weight < node2->weight) {
weight            348 lib/pacemaker/pcmk_sched_clone.c             } else if (node1->weight > node2->weight) {
weight            403 lib/pacemaker/pcmk_sched_clone.c     } else if (local_node->weight < 0) {
weight            404 lib/pacemaker/pcmk_sched_clone.c         common_update_score(rsc, node->details->id, local_node->weight);
weight            453 lib/pacemaker/pcmk_sched_clone.c         if (local_prefer == NULL || local_prefer->weight < 0) {
weight            570 lib/pacemaker/pcmk_sched_clone.c             if (can_run_resources(child_node) == FALSE || child_node->weight < 0) {
weight           1148 lib/pacemaker/pcmk_sched_clone.c                 pe_rsc_trace(rsc_rh, "Allowing %s: %s %d", constraint->id, chosen->details->uname, chosen->weight);
weight           1145 lib/pacemaker/pcmk_sched_constraints.c             node->weight = get_node_score(rule_id, score, raw_score, node, rsc);
weight           1176 lib/pacemaker/pcmk_sched_constraints.c                 local->weight = pe__add_scores(local->weight, score_f);
weight           1178 lib/pacemaker/pcmk_sched_constraints.c             crm_trace("node %s now has weight %d", node->details->uname, local->weight);
weight            123 lib/pacemaker/pcmk_sched_native.c         } else if ((chosen->weight < 0) || (chosen->weight < best->weight)) {
weight            150 lib/pacemaker/pcmk_sched_native.c             && chosen && (chosen->weight > 0) && can_run_resources(chosen)) {
weight            169 lib/pacemaker/pcmk_sched_native.c                     if (tmp->weight != chosen->weight) {
weight            185 lib/pacemaker/pcmk_sched_native.c         int log_level = (chosen->weight >= INFINITY)? LOG_WARNING : LOG_INFO;
weight            187 lib/pacemaker/pcmk_sched_native.c         score2char_stack(chosen->weight, score, sizeof(score));
weight            219 lib/pacemaker/pcmk_sched_native.c         if ((node->weight > best_score) && can_run_resources(node)
weight            222 lib/pacemaker/pcmk_sched_native.c             best_score = node->weight;
weight            270 lib/pacemaker/pcmk_sched_native.c         int weight = 0;
weight            284 lib/pacemaker/pcmk_sched_native.c                       node->details->uname, node->weight, factor, score);
weight            288 lib/pacemaker/pcmk_sched_native.c         if (node->weight == INFINITY_HACK) {
weight            290 lib/pacemaker/pcmk_sched_native.c                       node->details->uname, node->weight, factor, score);
weight            297 lib/pacemaker/pcmk_sched_native.c         weight = (int) ((weight_f < 0)? (weight_f - 0.5) : (weight_f + 0.5));
weight            303 lib/pacemaker/pcmk_sched_native.c         if ((weight == 0) && (score != 0)) {
weight            305 lib/pacemaker/pcmk_sched_native.c                 weight = 1;
weight            307 lib/pacemaker/pcmk_sched_native.c                 weight = -1;
weight            311 lib/pacemaker/pcmk_sched_native.c         new_score = pe__add_scores(weight, node->weight);
weight            313 lib/pacemaker/pcmk_sched_native.c         if (only_positive && (new_score < 0) && (node->weight > 0)) {
weight            316 lib/pacemaker/pcmk_sched_native.c                       node->details->uname, node->weight, factor, score,
weight            318 lib/pacemaker/pcmk_sched_native.c             node->weight = INFINITY_HACK;
weight            322 lib/pacemaker/pcmk_sched_native.c         if (only_positive && (new_score < 0) && (node->weight == 0)) {
weight            324 lib/pacemaker/pcmk_sched_native.c                       node->details->uname, node->weight, factor, score,
weight            330 lib/pacemaker/pcmk_sched_native.c                   node->weight, factor, score, new_score);
weight            331 lib/pacemaker/pcmk_sched_native.c         node->weight = new_score;
weight            474 lib/pacemaker/pcmk_sched_native.c             if (node->weight == INFINITY_HACK) {
weight            475 lib/pacemaker/pcmk_sched_native.c                 node->weight = 1;
weight           1447 lib/pacemaker/pcmk_sched_native.c             node->weight = -INFINITY;
weight           1667 lib/pacemaker/pcmk_sched_native.c                     node->weight = -INFINITY;
weight           1892 lib/pacemaker/pcmk_sched_native.c             node->weight = pe__add_scores(-constraint->score, node->weight);
weight           1899 lib/pacemaker/pcmk_sched_native.c                 node->weight = pe__add_scores(constraint->score, node->weight);
weight           1906 lib/pacemaker/pcmk_sched_native.c             node->weight = pe__add_scores(-constraint->score, node->weight);
weight           2327 lib/pacemaker/pcmk_sched_native.c                          node->weight, node->details->uname);
weight           2328 lib/pacemaker/pcmk_sched_native.c             other_node->weight = pe__add_scores(other_node->weight,
weight           2329 lib/pacemaker/pcmk_sched_native.c                                                 node->weight);
weight           2333 lib/pacemaker/pcmk_sched_native.c                          node->weight, node->details->uname);
weight           2792 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            143 lib/pacemaker/pcmk_sched_promotable.c                                               cons_node->weight);
weight            147 lib/pacemaker/pcmk_sched_promotable.c                          new_priority, cons_node->weight);
weight            315 lib/pacemaker/pcmk_sched_promotable.c         node->weight = pe__add_scores(child->sort_index, node->weight);
weight            398 lib/pacemaker/pcmk_sched_promotable.c             child->sort_index = node->weight;
weight            526 lib/pacemaker/pcmk_sched_promotable.c     } else if (match->weight < 0) {
weight            528 lib/pacemaker/pcmk_sched_promotable.c                      rsc->id, match->details->uname, match->weight);
weight            597 lib/pacemaker/pcmk_sched_promotable.c                 new_score = pe__add_scores(node->weight, score);
weight            598 lib/pacemaker/pcmk_sched_promotable.c                 if (new_score != node->weight) {
weight            600 lib/pacemaker/pcmk_sched_promotable.c                                  child_rsc->id, node->details->uname, node->weight, new_score);
weight            601 lib/pacemaker/pcmk_sched_promotable.c                     node->weight = new_score;
weight            976 lib/pacemaker/pcmk_sched_promotable.c             crm_trace("%s: %d + %d", node->details->uname, node->weight, other->weight);
weight            977 lib/pacemaker/pcmk_sched_promotable.c             node->weight = pe__add_scores(node->weight, score);
weight            351 lib/pacemaker/pcmk_sched_utilization.c                 if (can_run_resources(node) == FALSE || node->weight < 0) {
weight            369 lib/pacemaker/pcmk_sched_utilization.c                     if (can_run_resources(node) == FALSE || node->weight < 0) {
weight            397 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            278 lib/pacemaker/pcmk_sched_utils.c         if(chosen->weight < 0) {
weight            289 lib/pacemaker/pcmk_sched_utils.c                       rsc->id, chosen->details->uname, can_run_resources(chosen), chosen->weight);
weight            462 lib/pacemaker/pcmk_sched_utils.c         if (can_run_resources(node) && node->weight >= 0) {
weight            688 lib/pengine/bundle.c         ((pe_node_t *) match)->weight = -INFINITY;
weight            762 lib/pengine/bundle.c             node->weight = -INFINITY;
weight            788 lib/pengine/bundle.c         replica->node->weight = 500;
weight            804 lib/pengine/bundle.c             copy->weight = -INFINITY;
weight            816 lib/pengine/bundle.c                 node->weight = -INFINITY;
weight            766 lib/pengine/complex.c         pe_rsc_trace(rsc, "Updating score for %s on %s: %d + %d", rsc->id, id, node->weight, score);
weight            767 lib/pengine/complex.c         node->weight = pe__add_scores(node->weight, score);
weight            139 lib/pengine/native.c                         local_node->weight = -INFINITY;
weight            788 lib/pengine/native.c             out->list_item(out, NULL, "%s %d", n->details->uname, n->weight);
weight            855 lib/pengine/native.c             out->list_item(out, NULL, "%s %d", n->details->uname, n->weight);
weight           1013 lib/pengine/native.c             status_print("%s\t * %s %d", pre_text, n->details->uname, n->weight);
weight            473 lib/pengine/pe_output.c     char *weight_s = crm_itoa(pe_node->weight);
weight           1906 lib/pengine/pe_output.c               node->details->uname, node->weight, node->fixed ? "True" : "False");
weight            410 lib/pengine/unpack.c     new_node->weight = char2score(score);
weight           1500 lib/pengine/unpack.c         this_node->weight = -INFINITY;
weight           1506 lib/pengine/unpack.c         this_node->weight = -INFINITY;
weight           2457 lib/pengine/unpack.c     node->weight = *score;
weight            149 lib/pengine/utils.c     new_node->weight = this_node->weight;
weight            172 lib/pengine/utils.c             node->weight = -INFINITY;
weight            174 lib/pengine/utils.c             node->weight = pe__add_scores(node->weight, other_node->weight);
weight            186 lib/pengine/utils.c             new_node->weight = -INFINITY;
weight            241 lib/pengine/utils.c         score2char_stack(node->weight, score, sizeof(score));
weight            276 lib/pengine/utils.c         score2char_stack(node->weight, score, sizeof(score));
weight           1384 lib/pengine/utils.c               node->details->uname, node->weight, node->fixed ? "True" : "False");
weight           1665 lib/pengine/utils.c     match->weight = pe__add_scores(match->weight, score);
weight            522 tools/crm_mon_print.c             if (node->weight < 0) {
weight            192 tools/crm_resource_print.c             char *score = score2char(node->weight);
weight            739 tools/crm_resource_runtime.c                 if(node->weight >= 0) {