pcmk__add_scores 17 include/crm/common/scores_internal.h int pcmk__add_scores(int score1, int score2); pcmk__add_scores 17 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-PCMK_SCORE_INFINITY, pcmk__add_scores 20 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-PCMK_SCORE_INFINITY, -1), pcmk__add_scores 22 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-PCMK_SCORE_INFINITY, 0), pcmk__add_scores 24 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-PCMK_SCORE_INFINITY, 1), pcmk__add_scores 26 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-PCMK_SCORE_INFINITY, pcmk__add_scores 34 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-1, -PCMK_SCORE_INFINITY), pcmk__add_scores 36 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(0, -PCMK_SCORE_INFINITY), pcmk__add_scores 38 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(1, -PCMK_SCORE_INFINITY), pcmk__add_scores 40 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(PCMK_SCORE_INFINITY, pcmk__add_scores 48 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(PCMK_SCORE_INFINITY, PCMK_SCORE_INFINITY), pcmk__add_scores 50 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(PCMK_SCORE_INFINITY, -1), pcmk__add_scores 52 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(PCMK_SCORE_INFINITY, 0), pcmk__add_scores 54 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(PCMK_SCORE_INFINITY, 1), pcmk__add_scores 61 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-1, PCMK_SCORE_INFINITY), pcmk__add_scores 63 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(0, PCMK_SCORE_INFINITY), pcmk__add_scores 65 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(1, PCMK_SCORE_INFINITY), pcmk__add_scores 72 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(INT_MAX, INT_MAX), PCMK_SCORE_INFINITY); pcmk__add_scores 73 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(INT_MIN, INT_MIN), -PCMK_SCORE_INFINITY); pcmk__add_scores 74 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(2000000, 50), PCMK_SCORE_INFINITY); pcmk__add_scores 75 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(PCMK_SCORE_INFINITY/2, pcmk__add_scores 78 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-PCMK_SCORE_INFINITY/2, pcmk__add_scores 81 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(-4000000, 50), -PCMK_SCORE_INFINITY); pcmk__add_scores 87 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(0, 0), 0); pcmk__add_scores 88 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(0, 100), 100); pcmk__add_scores 89 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(200, 0), 200); pcmk__add_scores 90 lib/common/tests/scores/pcmk__add_scores_test.c assert_int_equal(pcmk__add_scores(200, -50), 150); pcmk__add_scores 226 lib/common/xml_element.c crm_xml_add_int(target, name, pcmk__add_scores(old_value_i, add)); pcmk__add_scores 493 lib/pacemaker/pcmk_sched_bundle.c pcmk__add_scores(coloc_data->priority_delta, priority_delta); pcmk__add_scores 364 lib/pacemaker/pcmk_sched_clone.c priority_delta = pcmk__add_scores(priority_delta, instance_delta); pcmk__add_scores 1368 lib/pacemaker/pcmk_sched_colocation.c node->assign->score = pcmk__add_scores(-colocation->score, pcmk__add_scores 1390 lib/pacemaker/pcmk_sched_colocation.c node->assign->score = pcmk__add_scores(colocation->score, pcmk__add_scores 1516 lib/pacemaker/pcmk_sched_colocation.c dependent->priv->priority = pcmk__add_scores(priority_delta, pcmk__add_scores 1744 lib/pacemaker/pcmk_sched_colocation.c new_score = pcmk__add_scores(delta, node->assign->score); pcmk__add_scores 1995 lib/pacemaker/pcmk_sched_colocation.c pcmk__add_scores(dependent_node->assign->score, pcmk__add_scores 411 lib/pacemaker/pcmk_sched_group.c priority_delta = pcmk__add_scores(priority_delta, instance_delta); pcmk__add_scores 417 lib/pacemaker/pcmk_sched_group.c pcmk__add_scores(priority_delta, dependent->priv->priority); pcmk__add_scores 500 lib/pacemaker/pcmk_sched_group.c priority_delta = pcmk__add_scores(priority_delta, instance_delta); pcmk__add_scores 770 lib/pacemaker/pcmk_sched_location.c pcmk__add_scores(allowed_node->assign->score, pcmk__add_scores 141 lib/pacemaker/pcmk_sched_promotable.c int new_priority = pcmk__add_scores(child->priv->priority, pcmk__add_scores 346 lib/pacemaker/pcmk_sched_promotable.c node->assign->score = pcmk__add_scores(promotion_priority, pcmk__add_scores 813 lib/pacemaker/pcmk_sched_promotable.c new_score = pcmk__add_scores(node->assign->score, score); pcmk__add_scores 1244 lib/pacemaker/pcmk_sched_promotable.c node->assign->score = pcmk__add_scores(node->assign->score, pcmk__add_scores 1338 lib/pacemaker/pcmk_sched_promotable.c int new_priority = pcmk__add_scores(dependent->priv->priority, pcmk__add_scores 301 lib/pengine/failcounts.c fc_data->failcount = pcmk__add_scores(fc_data->failcount, score); pcmk__add_scores 94 lib/pengine/pe_health.c health_sum->sum = pcmk__add_scores(score, health_sum->sum); pcmk__add_scores 356 lib/pengine/utils.c match->assign->score = pcmk__add_scores(match->assign->score, score);