score             755 daemons/fenced/pacemaker-fenced.c         int score = (node->weight < 0)? node->weight : parent->weight;
score             758 daemons/fenced/pacemaker-fenced.c                  rsc->id, stonith_our_uname, pcmk_readable_score(score));
score              49 include/crm/common/util.h const char *pcmk_readable_score(int score);
score              50 include/crm/common/util.h int char2score(const char *score);
score             155 include/crm/common/util_compat.h char *score2char(int score);
score             158 include/crm/common/util_compat.h char *score2char_stack(int score, char *buf, size_t len);
score             457 include/crm/pengine/internal.h void resource_location(pe_resource_t *rsc, const pe_node_t *node, int score,
score             556 include/crm/pengine/internal.h                           const char *score, pe_working_set_t * data_set);
score              31 include/pcmki/pcmki_scheduler.h     int score;
score              36 lib/common/scores.c char2score(const char *score)
score              38 lib/common/scores.c     if (score == NULL) {
score              41 lib/common/scores.c     } else if (pcmk_str_is_minus_infinity(score)) {
score              44 lib/common/scores.c     } else if (pcmk_str_is_infinity(score)) {
score              47 lib/common/scores.c     } else if (pcmk__str_eq(score, PCMK__VALUE_RED, pcmk__str_casei)) {
score              50 lib/common/scores.c     } else if (pcmk__str_eq(score, PCMK__VALUE_YELLOW, pcmk__str_casei)) {
score              53 lib/common/scores.c     } else if (pcmk__str_eq(score, PCMK__VALUE_GREEN, pcmk__str_casei)) {
score              59 lib/common/scores.c         pcmk__scan_ll(score, &score_ll, 0LL);
score              86 lib/common/scores.c pcmk_readable_score(int score)
score              91 lib/common/scores.c     if (score >= CRM_SCORE_INFINITY) {
score              94 lib/common/scores.c     } else if (score <= -CRM_SCORE_INFINITY) {
score              99 lib/common/scores.c         snprintf(score_s, sizeof(score_s), "%d", score);
score             148 lib/common/scores.c score2char(int score)
score             150 lib/common/scores.c     char *result = strdup(pcmk_readable_score(score));
score             157 lib/common/scores.c score2char_stack(int score, char *buf, size_t len)
score             161 lib/common/scores.c     strcpy(buf, pcmk_readable_score(score));
score             483 lib/pacemaker/libpacemaker_private.h void pcmk__new_colocation(const char *id, const char *node_attr, int score,
score              30 lib/pacemaker/pcmk_output.c                                    rsc->id, pcmk_readable_score(cons->score),
score              35 lib/pacemaker/pcmk_output.c                                    rsc->id, pcmk_readable_score(cons->score),
score              50 lib/pacemaker/pcmk_output.c                                         "score", pcmk_readable_score(cons->score),
score             457 lib/pacemaker/pcmk_sched_bundle.c         } else if (colocation->score >= INFINITY) {
score             472 lib/pacemaker/pcmk_sched_bundle.c                  colocation->id, dependent->id, primary->id, colocation->score);
score             478 lib/pacemaker/pcmk_sched_bundle.c         if (colocation->score < INFINITY) {
score             506 lib/pacemaker/pcmk_sched_bundle.c     if (colocation->score >= INFINITY) {
score             243 lib/pacemaker/pcmk_sched_clone.c                  colocation->id, dependent->id, primary->id, colocation->score);
score             305 lib/pacemaker/pcmk_sched_clone.c         } else if (colocation->score >= INFINITY) {
score             317 lib/pacemaker/pcmk_sched_clone.c     } else if (colocation->score >= INFINITY) {
score             153 lib/pacemaker/pcmk_sched_colocation.c               colocation->score);
score             204 lib/pacemaker/pcmk_sched_colocation.c               colocation->score);
score             303 lib/pacemaker/pcmk_sched_colocation.c pcmk__new_colocation(const char *id, const char *node_attr, int score,
score             310 lib/pacemaker/pcmk_sched_colocation.c     if (score == 0) {
score             338 lib/pacemaker/pcmk_sched_colocation.c     new_con->score = score;
score             349 lib/pacemaker/pcmk_sched_colocation.c                  dependent->id, primary->id, node_attr, score);
score             357 lib/pacemaker/pcmk_sched_colocation.c     if (score <= -INFINITY) {
score             395 lib/pacemaker/pcmk_sched_colocation.c unpack_colocation_set(xmlNode *set, int score, const char *coloc_id,
score             404 lib/pacemaker/pcmk_sched_colocation.c     int local_score = score;
score             495 lib/pacemaker/pcmk_sched_colocation.c colocate_rsc_sets(const char *id, xmlNode *set1, xmlNode *set2, int score,
score             508 lib/pacemaker/pcmk_sched_colocation.c     if (score == 0) {
score             537 lib/pacemaker/pcmk_sched_colocation.c         pcmk__new_colocation(id, NULL, score, rsc_1, rsc_2, role_1, role_2,
score             548 lib/pacemaker/pcmk_sched_colocation.c             pcmk__new_colocation(id, NULL, score, rsc_1, rsc_2, role_1,
score             557 lib/pacemaker/pcmk_sched_colocation.c             pcmk__new_colocation(id, NULL, score, rsc_1, rsc_2, role_1,
score             578 lib/pacemaker/pcmk_sched_colocation.c                 pcmk__new_colocation(id, NULL, score, rsc_1, rsc_2,
score             592 lib/pacemaker/pcmk_sched_colocation.c     const char *score = crm_element_value(xml_obj, XML_RULE_ATTR_SCORE);
score             675 lib/pacemaker/pcmk_sched_colocation.c     if (score) {
score             676 lib/pacemaker/pcmk_sched_colocation.c         score_i = char2score(score);
score             822 lib/pacemaker/pcmk_sched_colocation.c     const char *score = crm_element_value(xml_obj, XML_RULE_ATTR_SCORE);
score             826 lib/pacemaker/pcmk_sched_colocation.c     if (score) {
score             827 lib/pacemaker/pcmk_sched_colocation.c         score_i = char2score(score);
score             965 lib/pacemaker/pcmk_sched_colocation.c         if (colocation->score < INFINITY) {
score            1042 lib/pacemaker/pcmk_sched_colocation.c         } else if (colocation->score >= INFINITY) {
score            1053 lib/pacemaker/pcmk_sched_colocation.c         } else if (colocation->score <= -CRM_SCORE_INFINITY) {
score            1066 lib/pacemaker/pcmk_sched_colocation.c     if ((colocation->score > 0)
score            1077 lib/pacemaker/pcmk_sched_colocation.c     if ((colocation->score > 0)
score            1088 lib/pacemaker/pcmk_sched_colocation.c     if ((colocation->score < 0)
score            1096 lib/pacemaker/pcmk_sched_colocation.c     if ((colocation->score < 0)
score            1136 lib/pacemaker/pcmk_sched_colocation.c     } else if (colocation->score < 0) {
score            1146 lib/pacemaker/pcmk_sched_colocation.c             node->weight = pcmk__add_scores(-colocation->score, node->weight);
score            1152 lib/pacemaker/pcmk_sched_colocation.c                          pcmk_readable_score(colocation->score), primary->id);
score            1162 lib/pacemaker/pcmk_sched_colocation.c             if (colocation->score < CRM_SCORE_INFINITY) {
score            1163 lib/pacemaker/pcmk_sched_colocation.c                 node->weight = pcmk__add_scores(colocation->score,
score            1170 lib/pacemaker/pcmk_sched_colocation.c                              pcmk_readable_score(colocation->score));
score            1173 lib/pacemaker/pcmk_sched_colocation.c         } else if (colocation->score >= CRM_SCORE_INFINITY) {
score            1188 lib/pacemaker/pcmk_sched_colocation.c     if ((colocation->score <= -INFINITY) || (colocation->score >= INFINITY)
score            1239 lib/pacemaker/pcmk_sched_colocation.c         if ((colocation->score == INFINITY)
score            1255 lib/pacemaker/pcmk_sched_colocation.c     dependent->priority = pcmk__add_scores(score_multiplier * colocation->score,
score            1262 lib/pacemaker/pcmk_sched_colocation.c                  pcmk_readable_score(colocation->score));
score            1338 lib/pacemaker/pcmk_sched_colocation.c         int score = 0;
score            1341 lib/pacemaker/pcmk_sched_colocation.c         score = best_node_score_matching_attr(rsc, attr,
score            1344 lib/pacemaker/pcmk_sched_colocation.c         if ((factor < 0) && (score < 0)) {
score            1351 lib/pacemaker/pcmk_sched_colocation.c                       pe__node_name(node), node->weight, factor, score);
score            1357 lib/pacemaker/pcmk_sched_colocation.c                       pe__node_name(node), node->weight, factor, score);
score            1361 lib/pacemaker/pcmk_sched_colocation.c         weight_f = factor * score;
score            1370 lib/pacemaker/pcmk_sched_colocation.c         if ((weight == 0) && (score != 0)) {
score            1383 lib/pacemaker/pcmk_sched_colocation.c                       pe__node_name(node), node->weight, factor, score,
score            1391 lib/pacemaker/pcmk_sched_colocation.c                       pe__node_name(node), node->weight, factor, score,
score            1397 lib/pacemaker/pcmk_sched_colocation.c                   node->weight, factor, score, new_score);
score            1479 lib/pacemaker/pcmk_sched_colocation.c             float other_factor = factor * constraint->score / (float) INFINITY;
score            1542 lib/pacemaker/pcmk_sched_colocation.c     const float factor = colocation->score / (float) INFINITY;
score             338 lib/pacemaker/pcmk_sched_group.c     if (colocation->score >= INFINITY) {
score             380 lib/pacemaker/pcmk_sched_group.c         if (colocation->score >= INFINITY) {
score             401 lib/pacemaker/pcmk_sched_group.c     if (colocation->score >= INFINITY) {
score             737 lib/pacemaker/pcmk_sched_group.c                 if (colocation->score == INFINITY) {
score             196 lib/pacemaker/pcmk_sched_instances.c         factor = colocation->score / (float) INFINITY,
score             208 lib/pacemaker/pcmk_sched_instances.c         factor = colocation->score / (float) INFINITY,
score            1649 lib/pacemaker/pcmk_sched_instances.c         if (!everywhere || (colocation->score < 0)
score            1650 lib/pacemaker/pcmk_sched_instances.c             || (!with_this && (colocation->score == INFINITY))) {
score              22 lib/pacemaker/pcmk_sched_location.c get_node_score(const char *rule, const char *score, bool raw,
score              27 lib/pacemaker/pcmk_sched_location.c     if (score == NULL) {
score              31 lib/pacemaker/pcmk_sched_location.c         score_f = char2score(score);
score              34 lib/pacemaker/pcmk_sched_location.c         const char *attr_score = pe_node_attribute_calculated(node, score, rsc);
score              38 lib/pacemaker/pcmk_sched_location.c                       rule, pe__node_name(node), score);
score              43 lib/pacemaker/pcmk_sched_location.c                       rule, pe__node_name(node), attr_score, score);
score              57 lib/pacemaker/pcmk_sched_location.c     const char *score = NULL;
score              87 lib/pacemaker/pcmk_sched_location.c     score = crm_element_value(rule_xml, XML_RULE_ATTR_SCORE);
score              88 lib/pacemaker/pcmk_sched_location.c     if (score == NULL) {
score              89 lib/pacemaker/pcmk_sched_location.c         score = crm_element_value(rule_xml, XML_RULE_ATTR_SCORE_ATTRIBUTE);
score              90 lib/pacemaker/pcmk_sched_location.c         if (score != NULL) {
score             108 lib/pacemaker/pcmk_sched_location.c         char *result = pe_expand_re_matches(score, re_match_data);
score             111 lib/pacemaker/pcmk_sched_location.c             score = result;
score             134 lib/pacemaker/pcmk_sched_location.c             node->weight = get_node_score(rule_id, score, raw_score, node, rsc);
score             153 lib/pacemaker/pcmk_sched_location.c         score_f = get_node_score(rule_id, score, raw_score, node, rsc);
score             185 lib/pacemaker/pcmk_sched_location.c         free((char *)score);
score             201 lib/pacemaker/pcmk_sched_location.c                     const char *score, pe_working_set_t *data_set,
score             216 lib/pacemaker/pcmk_sched_location.c     if (score == NULL) {
score             217 lib/pacemaker/pcmk_sched_location.c         score = crm_element_value(xml_obj, XML_RULE_ATTR_SCORE);
score             220 lib/pacemaker/pcmk_sched_location.c     if ((node != NULL) && (score != NULL)) {
score             221 lib/pacemaker/pcmk_sched_location.c         int score_i = char2score(score);
score              78 lib/pacemaker/pcmk_sched_ordering.c         const char *score = crm_element_value(xml_obj, XML_RULE_ATTR_SCORE);
score              82 lib/pacemaker/pcmk_sched_ordering.c         if (score) {
score              84 lib/pacemaker/pcmk_sched_ordering.c             int score_i = char2score(score);
score             286 lib/pacemaker/pcmk_sched_primitive.c         || ((colocation->score < 0) && (colocation->score > -INFINITY))) {
score             295 lib/pacemaker/pcmk_sched_primitive.c                      colocation->score, role2text(colocation->dependent_role));
score             398 lib/pacemaker/pcmk_sched_primitive.c         if ((colocation->score <= -CRM_SCORE_INFINITY)
score             399 lib/pacemaker/pcmk_sched_primitive.c             || (colocation->score >= CRM_SCORE_INFINITY)) {
score             405 lib/pacemaker/pcmk_sched_primitive.c         if ((colocation->score <= -CRM_SCORE_INFINITY)
score             406 lib/pacemaker/pcmk_sched_primitive.c             || (colocation->score >= CRM_SCORE_INFINITY)) {
score             418 lib/pacemaker/pcmk_sched_primitive.c         if ((colocation->score > -CRM_SCORE_INFINITY)
score             419 lib/pacemaker/pcmk_sched_primitive.c             && (colocation->score < CRM_SCORE_INFINITY)) {
score             426 lib/pacemaker/pcmk_sched_primitive.c         if ((colocation->score > -CRM_SCORE_INFINITY)
score             427 lib/pacemaker/pcmk_sched_primitive.c             && (colocation->score < CRM_SCORE_INFINITY)) {
score             979 lib/pacemaker/pcmk_sched_primitive.c             int score;
score             997 lib/pacemaker/pcmk_sched_primitive.c                 score = 10000;    /* Highly preferred but not essential */
score             999 lib/pacemaker/pcmk_sched_primitive.c                 score = INFINITY; /* Force them to run on the same host */
score            1001 lib/pacemaker/pcmk_sched_primitive.c             pcmk__new_colocation("resource-with-container", NULL, score, rsc,
score            1049 lib/pacemaker/pcmk_sched_primitive.c                  ((colocation->score > 0)? "Colocating" : "Anti-colocating"),
score            1050 lib/pacemaker/pcmk_sched_primitive.c                  dependent->id, primary->id, colocation->id, colocation->score,
score             345 lib/pacemaker/pcmk_sched_promotable.c     float factor = constraint->score / (float) INFINITY;
score             350 lib/pacemaker/pcmk_sched_promotable.c     if (constraint->score < INFINITY) {
score             356 lib/pacemaker/pcmk_sched_promotable.c                  pcmk_readable_score(constraint->score));
score             376 lib/pacemaker/pcmk_sched_promotable.c     const float factor = constraint->score / (float) INFINITY;
score             388 lib/pacemaker/pcmk_sched_promotable.c                  pcmk_readable_score(constraint->score));
score             684 lib/pacemaker/pcmk_sched_promotable.c         int score = 0;
score             696 lib/pacemaker/pcmk_sched_promotable.c             score += child_score;
score             698 lib/pacemaker/pcmk_sched_promotable.c         return score;
score             758 lib/pacemaker/pcmk_sched_promotable.c         int score, new_score;
score             769 lib/pacemaker/pcmk_sched_promotable.c             score = promotion_score(child_rsc, node, NULL);
score             770 lib/pacemaker/pcmk_sched_promotable.c             if (score > 0) {
score             771 lib/pacemaker/pcmk_sched_promotable.c                 new_score = pcmk__add_scores(node->weight, score);
score             777 lib/pacemaker/pcmk_sched_promotable.c                                  child_rsc->id, pcmk_readable_score(score),
score             783 lib/pacemaker/pcmk_sched_promotable.c             if (score > child_rsc->priority) {
score             786 lib/pacemaker/pcmk_sched_promotable.c                              child_rsc->id, child_rsc->priority, score);
score             787 lib/pacemaker/pcmk_sched_promotable.c                 child_rsc->priority = score;
score            1160 lib/pacemaker/pcmk_sched_promotable.c     if (colocation->score >= INFINITY) {
score            1175 lib/pacemaker/pcmk_sched_promotable.c                  colocation->score, dependent->id);
score            1182 lib/pacemaker/pcmk_sched_promotable.c             node->weight = pcmk__add_scores(node->weight, colocation->score);
score            1185 lib/pacemaker/pcmk_sched_promotable.c                          colocation->id, pcmk_readable_score(colocation->score),
score            1230 lib/pacemaker/pcmk_sched_promotable.c     if ((colocation->score >= INFINITY)
score            1267 lib/pacemaker/pcmk_sched_promotable.c                                             colocation->score);
score            1274 lib/pacemaker/pcmk_sched_promotable.c                      pcmk_readable_score(colocation->score),
score            1278 lib/pacemaker/pcmk_sched_promotable.c     } else if (colocation->score >= INFINITY) {
score             251 lib/pacemaker/pcmk_sched_resource.c         if ((constraint->score == INFINITY) &&
score             276 lib/pacemaker/pcmk_sched_resource.c         if ((constraint->score == INFINITY) &&
score              77 lib/pengine/pe_health.c         int score = char2score((const char *) value);
score              80 lib/pengine/pe_health.c         *health = pcmk__add_scores(score, *health);
score             120 lib/pengine/pe_health.c     int score = 0;
score             147 lib/pengine/pe_health.c             score = char2score(value);
score             148 lib/pengine/pe_health.c             if (score <= pcmk__score_red) {
score             150 lib/pengine/pe_health.c             } else if ((score <= pcmk__score_yellow)
score            2485 lib/pengine/pe_output.c     const char *score = va_arg(args, const char *);
score            2489 lib/pengine/pe_output.c                        prefix, rsc->id, uname, score);
score            2491 lib/pengine/pe_output.c         out->list_item(out, NULL, "%s: %s = %s", prefix, uname, score);
score            2505 lib/pengine/pe_output.c     const char *score = va_arg(args, const char *);
score            2510 lib/pengine/pe_output.c                                                    "score", score,
score            2596 lib/pengine/pe_output.c     const char *score = va_arg(args, const char *);
score            2601 lib/pengine/pe_output.c                    score);
score            2611 lib/pengine/pe_output.c     const char *score = va_arg(args, const char *);
score            2615 lib/pengine/pe_output.c                                                    "score", score,
score             319 lib/pengine/rules.c     int score;                  // This block's score for sorting
score             346 lib/pengine/rules.c     if (pair_a->score < pair_b->score) {
score             348 lib/pengine/rules.c     } else if (pair_a->score > pair_b->score) {
score             431 lib/pengine/rules.c               pair->name, pair->score,
score             461 lib/pengine/rules.c             const char *score = NULL;
score             475 lib/pengine/rules.c             score = crm_element_value(expanded_attr_set, XML_RULE_ATTR_SCORE);
score             476 lib/pengine/rules.c             pair->score = char2score(score);
score             400 lib/pengine/unpack.c                const char *score, pe_working_set_t * data_set)
score             413 lib/pengine/unpack.c     new_node->weight = char2score(score);
score             562 lib/pengine/unpack.c     const char *score = NULL;
score             573 lib/pengine/unpack.c             score = crm_element_value(xml_obj, XML_RULE_ATTR_SCORE);
score             581 lib/pengine/unpack.c             new_node = pe_create_node(id, uname, type, score, data_set);
score            2593 lib/pengine/unpack.c     int *score = user_data;
score            2595 lib/pengine/unpack.c     node->weight = *score;
score            3336 lib/pengine/unpack.c     int score = -INFINITY;
score            3356 lib/pengine/unpack.c     g_hash_table_foreach(fail_rsc->allowed_nodes, set_node_score, &score);
score             362 lib/pengine/utils.c resource_node_score(pe_resource_t *rsc, const pe_node_t *node, int score,
score             381 lib/pengine/utils.c             resource_node_score(child_rsc, node, score, tag);
score             390 lib/pengine/utils.c     match->weight = pcmk__add_scores(match->weight, score);
score             393 lib/pengine/utils.c                  tag, pcmk_readable_score(score), rsc->id, pe__node_name(node),
score             398 lib/pengine/utils.c resource_location(pe_resource_t *rsc, const pe_node_t *node, int score,
score             402 lib/pengine/utils.c         resource_node_score(rsc, node, score, tag);
score             410 lib/pengine/utils.c             resource_node_score(rsc, node_iter, score, tag);
score             419 lib/pengine/utils.c             resource_node_score(rsc, node_iter, score, tag);
score             423 lib/pengine/utils.c     if (node == NULL && score == -INFINITY) {
score             422 tools/crm_resource_runtime.c                 crm_debug("Checking %s %d", cons->id, cons->score);
score             424 tools/crm_resource_runtime.c                     && (cons->score > 0)) {