weight 657 fencing/main.c crm_trace("Available: %s = %d", node->details->uname, node->weight); weight 662 fencing/main.c } else if(node->weight < 0 || (parent && parent->weight < 0)) { weight 664 fencing/main.c char *score = score2char((node->weight < 0) ? node->weight : parent->weight); weight 682 fencing/main.c crm_debug("Device %s is allowed on %s: score=%d", rsc->id, stonith_our_uname, node->weight); weight 175 include/crm/pengine/status.h int weight; weight 864 lib/pengine/complex.c pe_rsc_trace(rsc, "Updating score for %s on %s: %d + %d", rsc->id, id, node->weight, score); weight 865 lib/pengine/complex.c node->weight = merge_weights(node->weight, score); weight 510 lib/pengine/container.c ((pe_node_t *) match)->weight = -INFINITY; weight 583 lib/pengine/container.c node->weight = -INFINITY; weight 609 lib/pengine/container.c tuple->node->weight = 500; weight 619 lib/pengine/container.c copy->weight = -INFINITY; weight 631 lib/pengine/container.c node->weight = -INFINITY; weight 84 lib/pengine/native.c local_node->weight = -INFINITY; weight 710 lib/pengine/native.c status_print("%s\t * %s %d", pre_text, n->details->uname, n->weight); weight 371 lib/pengine/unpack.c new_node->weight = char2score(score); weight 1531 lib/pengine/unpack.c this_node->weight = -INFINITY; weight 1537 lib/pengine/unpack.c this_node->weight = -INFINITY; weight 2372 lib/pengine/unpack.c node->weight = *score; weight 139 lib/pengine/utils.c new_node->weight = this_node->weight; weight 162 lib/pengine/utils.c node->weight = -INFINITY; weight 164 lib/pengine/utils.c node->weight = merge_weights(node->weight, other_node->weight); weight 176 lib/pengine/utils.c new_node->weight = -INFINITY; weight 208 lib/pengine/utils.c if (filter && this_node->weight < 0) { weight 214 lib/pengine/utils.c new_node->weight = 0; weight 263 lib/pengine/utils.c score2char_stack(node->weight, score, len); weight 281 lib/pengine/utils.c score2char_stack(node->weight, score, len); weight 1252 lib/pengine/utils.c node->details->uname, node->weight, node->fixed ? "True" : "False"); weight 1512 lib/pengine/utils.c match->weight = merge_weights(match->weight, score); weight 726 pengine/allocate.c crm_err("%s[%s] = %d", rsc->id, nIter->details->uname, nIter->weight); weight 956 pengine/allocate.c match->weight = -INFINITY; weight 980 pengine/allocate.c } else if (node->weight >= 0.0 /* global weight */ weight 1099 pengine/allocate.c r1_weight = r1_node->weight; weight 1106 pengine/allocate.c r2_weight = r2_node->weight; weight 1132 pengine/allocate.c r1_weight = r1_node->weight; weight 1140 pengine/allocate.c r2_weight = r2_node->weight; weight 122 pengine/clone.c if (match == NULL || match->weight < 0) { weight 132 pengine/clone.c if (match == NULL || match->weight < 0) { weight 287 pengine/clone.c if (node1->weight < node2->weight) { weight 288 pengine/clone.c if (node1->weight < 0) { weight 289 pengine/clone.c crm_trace("%s > %s: current score: %d %d", resource1->id, resource2->id, node1->weight, node2->weight); weight 294 pengine/clone.c crm_trace("%s < %s: current score: %d %d", resource1->id, resource2->id, node1->weight, node2->weight); weight 299 pengine/clone.c } else if (node1->weight > node2->weight) { weight 300 pengine/clone.c crm_trace("%s > %s: current score: %d %d", resource1->id, resource2->id, node1->weight, node2->weight); weight 334 pengine/clone.c if (node1->weight < node2->weight) { weight 339 pengine/clone.c } else if (node1->weight > node2->weight) { weight 390 pengine/clone.c } else if (local_node->weight < 0) { weight 391 pengine/clone.c common_update_score(rsc, node->details->id, local_node->weight); weight 439 pengine/clone.c if (local_prefer == NULL || local_prefer->weight < 0) { weight 548 pengine/clone.c if (can_run_resources(child_node) == FALSE || child_node->weight < 0) { weight 1084 pengine/clone.c pe_rsc_trace(rsc_rh, "Allowing %s: %s %d", constraint->id, chosen->details->uname, chosen->weight); weight 1062 pengine/constraints.c node->weight = get_node_score(rule_id, score, raw_score, node, rsc); weight 1092 pengine/constraints.c local->weight = merge_weights(local->weight, score_f); weight 1094 pengine/constraints.c crm_trace("node %s now has weight %d", node->details->uname, local->weight); weight 169 pengine/container.c node->weight = -INFINITY; weight 171 pengine/container.c node->weight = INFINITY; weight 187 pengine/container.c node->weight = 0; weight 189 pengine/container.c node->weight = -INFINITY; weight 490 pengine/container.c pe_rsc_trace(rsc, "Allowing %s: %s %d", constraint->id, chosen->details->uname, chosen->weight); weight 152 pengine/master.c int new_priority = merge_weights(child->priority, cons_node->weight); weight 156 pengine/master.c new_priority, cons_node->weight); weight 314 pengine/master.c node->weight = merge_weights(child->sort_index, node->weight); weight 388 pengine/master.c child->sort_index = node->weight; weight 514 pengine/master.c } else if (match->weight < 0) { weight 516 pengine/master.c rsc->id, match->details->uname, match->weight); weight 585 pengine/master.c new_score = merge_weights(node->weight, score); weight 586 pengine/master.c if (new_score != node->weight) { weight 588 pengine/master.c child_rsc->id, node->details->uname, node->weight, new_score); weight 589 pengine/master.c node->weight = new_score; weight 983 pengine/master.c crm_trace("%s: %d + %d", node->details->uname, node->weight, other->weight); weight 984 pengine/master.c node->weight = merge_weights(node->weight, score); weight 124 pengine/native.c } else if ((chosen->weight < 0) || (chosen->weight < best->weight)) { weight 151 pengine/native.c && chosen && (chosen->weight > 0) && can_run_resources(chosen)) { weight 170 pengine/native.c if (tmp->weight != chosen->weight) { weight 186 pengine/native.c int log_level = (chosen->weight >= INFINITY)? LOG_WARNING : LOG_INFO; weight 188 pengine/native.c score2char_stack(chosen->weight, score, sizeof(score)); weight 213 pengine/native.c int weight = node->weight; weight 216 pengine/native.c weight = -INFINITY; weight 218 pengine/native.c if (weight > best_score || best_node == NULL) { weight 222 pengine/native.c best_score = weight; weight 252 pengine/native.c int weight = 0; weight 262 pengine/native.c weight = (int)(weight_f < 0 ? weight_f - 0.5 : weight_f + 0.5); weight 264 pengine/native.c new_score = merge_weights(weight, node->weight); weight 274 pengine/native.c node->details->uname, node->weight, factor, score); weight 276 pengine/native.c } else if (node->weight == INFINITY_HACK) { weight 278 pengine/native.c node->details->uname, node->weight, factor, score); weight 280 pengine/native.c } else if (only_positive && new_score < 0 && node->weight > 0) { weight 281 pengine/native.c node->weight = INFINITY_HACK; weight 283 pengine/native.c node->details->uname, node->weight, factor, score); weight 285 pengine/native.c } else if (only_positive && new_score < 0 && node->weight == 0) { weight 287 pengine/native.c node->details->uname, node->weight, factor, score); weight 290 pengine/native.c crm_trace("%s: %d + %f*%d", node->details->uname, node->weight, factor, score); weight 291 pengine/native.c node->weight = new_score; weight 418 pengine/native.c if (node->weight == INFINITY_HACK) { weight 419 pengine/native.c node->weight = 1; weight 1347 pengine/native.c node->weight = -INFINITY; weight 1498 pengine/native.c node->weight = -INFINITY; weight 1716 pengine/native.c node->weight = merge_weights(constraint->score, node->weight); weight 1723 pengine/native.c node->weight = merge_weights(-constraint->score, node->weight); weight 2112 pengine/native.c other_node->details->uname, node->weight, other_node->weight); weight 2113 pengine/native.c other_node->weight = merge_weights(other_node->weight, node->weight); weight 2118 pengine/native.c pe_rsc_trace(rsc, "%s: %d (insert %d)", other_node->details->uname, other_node->weight, constraint->discover_mode); weight 2133 pengine/native.c pe_rsc_trace(rsc, "%s + %s : %d", rsc->id, node->details->uname, node->weight); weight 2545 pengine/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 360 pengine/utilization.c if (can_run_resources(node) == FALSE || node->weight < 0) { weight 378 pengine/utilization.c if (can_run_resources(node) == FALSE || node->weight < 0) { weight 406 pengine/utilization.c if (can_run_resources(node) == FALSE || node->weight < 0) { weight 99 pengine/utils.c copy->weight = node_weight; weight 117 pengine/utils.c if (node->weight < 0) { weight 156 pengine/utils.c node1_weight = node1->weight; weight 157 pengine/utils.c node2_weight = node2->weight; weight 254 pengine/utils.c if(chosen->weight < 0) { weight 265 pengine/utils.c rsc->id, chosen->details->uname, can_run_resources(chosen), chosen->weight); weight 424 pengine/utils.c if (can_run_resources(node) && node->weight >= 0) { weight 26 pengine/utils.h extern rsc_to_node_t *rsc2node_new(const char *id, resource_t * rsc, int weight, weight 2036 tools/crm_mon.c location->id, location->rsc_lh->id, node->details->uname, node->weight, weight 2085 tools/crm_mon.c if (node->weight < 0) { weight 224 tools/crm_resource_print.c char *score = score2char(node->weight); weight 601 tools/crm_resource_runtime.c if(node->weight >= 0) {