colocation 137 lib/pacemaker/libpacemaker_private.h const pcmk__colocation_t *colocation, colocation 236 lib/pacemaker/libpacemaker_private.h const pcmk__colocation_t *colocation, colocation 534 lib/pacemaker/libpacemaker_private.h *colocation, colocation 540 lib/pacemaker/libpacemaker_private.h const pcmk__colocation_t *colocation); colocation 545 lib/pacemaker/libpacemaker_private.h const pcmk__colocation_t *colocation); colocation 551 lib/pacemaker/libpacemaker_private.h const pcmk__colocation_t *colocation, colocation 560 lib/pacemaker/libpacemaker_private.h const pcmk__colocation_t *colocation, colocation 568 lib/pacemaker/libpacemaker_private.h void pcmk__add_this_with(GList **list, const pcmk__colocation_t *colocation, colocation 576 lib/pacemaker/libpacemaker_private.h void pcmk__add_with_this(GList **list, const pcmk__colocation_t *colocation, colocation 611 lib/pacemaker/libpacemaker_private.h pcmk__colocation_has_influence(const pcmk__colocation_t *colocation, colocation 615 lib/pacemaker/libpacemaker_private.h rsc = colocation->primary; colocation 630 lib/pacemaker/libpacemaker_private.h if (pcmk_is_set(colocation->dependent->flags, colocation 640 lib/pacemaker/libpacemaker_private.h return pcmk_is_set(colocation->flags, pcmk__coloc_influence) colocation 728 lib/pacemaker/libpacemaker_private.h *colocation); colocation 734 lib/pacemaker/libpacemaker_private.h *colocation); colocation 780 lib/pacemaker/libpacemaker_private.h const pcmk__colocation_t *colocation, colocation 824 lib/pacemaker/libpacemaker_private.h const pcmk__colocation_t *colocation, colocation 842 lib/pacemaker/libpacemaker_private.h const pcmk__colocation_t *colocation, colocation 893 lib/pacemaker/libpacemaker_private.h const pcmk__colocation_t *colocation, colocation 946 lib/pacemaker/libpacemaker_private.h const pcmk__colocation_t *colocation, colocation 454 lib/pacemaker/pcmk_sched_bundle.c const pcmk__colocation_t *colocation; colocation 476 lib/pacemaker/pcmk_sched_bundle.c if (coloc_data->colocation->score < PCMK_SCORE_INFINITY) { colocation 480 lib/pacemaker/pcmk_sched_bundle.c coloc_data->colocation, colocation 494 lib/pacemaker/pcmk_sched_bundle.c if ((coloc_data->colocation->primary_role >= pcmk_role_promoted) colocation 502 lib/pacemaker/pcmk_sched_bundle.c coloc_data->colocation->id, pcmk__node_name(chosen), colocation 527 lib/pacemaker/pcmk_sched_bundle.c const pcmk__colocation_t *colocation, colocation 530 lib/pacemaker/pcmk_sched_bundle.c struct coloc_data coloc_data = { colocation, dependent, NULL, 0 }; colocation 537 lib/pacemaker/pcmk_sched_bundle.c && (colocation != NULL) && !for_dependent); colocation 543 lib/pacemaker/pcmk_sched_bundle.c colocation->id, primary->id); colocation 547 lib/pacemaker/pcmk_sched_bundle.c colocation->id, dependent->id, primary->id, colocation 548 lib/pacemaker/pcmk_sched_bundle.c pcmk_readable_score(colocation->score)); colocation 553 lib/pacemaker/pcmk_sched_bundle.c if (colocation->dependent->variant > pcmk_rsc_variant_group) { colocation 563 lib/pacemaker/pcmk_sched_bundle.c colocation, true); colocation 566 lib/pacemaker/pcmk_sched_bundle.c if (colocation->score >= PCMK_SCORE_INFINITY) { colocation 584 lib/pacemaker/pcmk_sched_bundle.c if (colocation->score >= PCMK_SCORE_INFINITY) { colocation 585 lib/pacemaker/pcmk_sched_bundle.c pcmk__colocation_intersect_nodes(dependent, primary, colocation, colocation 202 lib/pacemaker/pcmk_sched_clone.c can_interleave(const pcmk__colocation_t *colocation) colocation 204 lib/pacemaker/pcmk_sched_clone.c const pcmk_resource_t *dependent = colocation->dependent; colocation 221 lib/pacemaker/pcmk_sched_clone.c != colocation->primary->fns->max_per_node(colocation->primary)) { colocation 224 lib/pacemaker/pcmk_sched_clone.c dependent->id, colocation->primary->id); colocation 249 lib/pacemaker/pcmk_sched_clone.c const pcmk__colocation_t *colocation, colocation 261 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT((colocation != NULL) && pcmk__is_clone(primary) colocation 268 lib/pacemaker/pcmk_sched_clone.c colocation->id, primary->id); colocation 273 lib/pacemaker/pcmk_sched_clone.c colocation->id, dependent->id, primary->id, colocation 274 lib/pacemaker/pcmk_sched_clone.c pcmk_readable_score(colocation->score)); colocation 278 lib/pacemaker/pcmk_sched_clone.c && (colocation->primary_role != pcmk_role_unknown)) { colocation 283 lib/pacemaker/pcmk_sched_clone.c colocation); colocation 287 lib/pacemaker/pcmk_sched_clone.c if (colocation->dependent_role == pcmk_role_promoted) { colocation 291 lib/pacemaker/pcmk_sched_clone.c colocation); colocation 296 lib/pacemaker/pcmk_sched_clone.c if (can_interleave(colocation)) { colocation 308 lib/pacemaker/pcmk_sched_clone.c colocation, true); colocation 311 lib/pacemaker/pcmk_sched_clone.c if (colocation->score >= PCMK_SCORE_INFINITY) { colocation 327 lib/pacemaker/pcmk_sched_clone.c if (colocation->score >= PCMK_SCORE_INFINITY) { colocation 338 lib/pacemaker/pcmk_sched_clone.c colocation->id, pcmk__node_name(chosen), colocation 343 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_intersect_nodes(dependent, primary, colocation, colocation 354 lib/pacemaker/pcmk_sched_clone.c colocation, colocation 173 lib/pacemaker/pcmk_sched_colocation.c pcmk__add_this_with(GList **list, const pcmk__colocation_t *colocation, colocation 176 lib/pacemaker/pcmk_sched_colocation.c CRM_ASSERT((list != NULL) && (colocation != NULL) && (rsc != NULL)); colocation 181 lib/pacemaker/pcmk_sched_colocation.c colocation->id, colocation->dependent->id, colocation 182 lib/pacemaker/pcmk_sched_colocation.c colocation->primary->id, colocation->node_attribute, colocation 183 lib/pacemaker/pcmk_sched_colocation.c pcmk_readable_score(colocation->score), rsc->id); colocation 184 lib/pacemaker/pcmk_sched_colocation.c *list = g_list_insert_sorted(*list, (gpointer) colocation, colocation 233 lib/pacemaker/pcmk_sched_colocation.c pcmk__add_with_this(GList **list, const pcmk__colocation_t *colocation, colocation 236 lib/pacemaker/pcmk_sched_colocation.c CRM_ASSERT((list != NULL) && (colocation != NULL) && (rsc != NULL)); colocation 241 lib/pacemaker/pcmk_sched_colocation.c colocation->id, colocation->dependent->id, colocation 242 lib/pacemaker/pcmk_sched_colocation.c colocation->primary->id, colocation->node_attribute, colocation 243 lib/pacemaker/pcmk_sched_colocation.c pcmk_readable_score(colocation->score), rsc->id); colocation 244 lib/pacemaker/pcmk_sched_colocation.c *list = g_list_insert_sorted(*list, (gpointer) colocation, colocation 1122 lib/pacemaker/pcmk_sched_colocation.c pcmk__colocation_t *colocation = iter->data; colocation 1124 lib/pacemaker/pcmk_sched_colocation.c if (colocation->score < PCMK_SCORE_INFINITY) { colocation 1134 lib/pacemaker/pcmk_sched_colocation.c if (!is_start && (colocation->primary_role != pcmk_role_promoted)) { colocation 1139 lib/pacemaker/pcmk_sched_colocation.c if (colocation->dependent_role == pcmk_role_promoted) { colocation 1140 lib/pacemaker/pcmk_sched_colocation.c mark_action_blocked(colocation->dependent, PCMK_ACTION_PROMOTE, colocation 1143 lib/pacemaker/pcmk_sched_colocation.c mark_action_blocked(colocation->dependent, PCMK_ACTION_START, colocation 1202 lib/pacemaker/pcmk_sched_colocation.c const pcmk__colocation_t *colocation, bool preview) colocation 1208 lib/pacemaker/pcmk_sched_colocation.c && (colocation != NULL)); colocation 1218 lib/pacemaker/pcmk_sched_colocation.c if ((colocation->dependent_role >= pcmk_role_unpromoted) colocation 1240 lib/pacemaker/pcmk_sched_colocation.c colocation->id, dependent->id); colocation 1242 lib/pacemaker/pcmk_sched_colocation.c } else if (colocation->score >= PCMK_SCORE_INFINITY) { colocation 1253 lib/pacemaker/pcmk_sched_colocation.c } else if (colocation->score <= -PCMK_SCORE_INFINITY) { colocation 1266 lib/pacemaker/pcmk_sched_colocation.c if ((colocation->dependent_role != pcmk_role_unknown) colocation 1267 lib/pacemaker/pcmk_sched_colocation.c && (colocation->dependent_role != dependent_role_rsc->next_role)) { colocation 1271 lib/pacemaker/pcmk_sched_colocation.c ((colocation->score < 0)? "anti-" : ""), colocation 1272 lib/pacemaker/pcmk_sched_colocation.c colocation->id, pcmk_role_text(colocation->dependent_role), colocation 1278 lib/pacemaker/pcmk_sched_colocation.c if ((colocation->primary_role != pcmk_role_unknown) colocation 1279 lib/pacemaker/pcmk_sched_colocation.c && (colocation->primary_role != primary_role_rsc->next_role)) { colocation 1282 lib/pacemaker/pcmk_sched_colocation.c ((colocation->score < 0)? "anti-" : ""), colocation 1283 lib/pacemaker/pcmk_sched_colocation.c colocation->id, pcmk_role_text(colocation->primary_role), colocation 1306 lib/pacemaker/pcmk_sched_colocation.c const pcmk__colocation_t *colocation) colocation 1308 lib/pacemaker/pcmk_sched_colocation.c const char *attr = colocation->node_attribute; colocation 1318 lib/pacemaker/pcmk_sched_colocation.c } else if (colocation->score < 0) { colocation 1328 lib/pacemaker/pcmk_sched_colocation.c node->weight = pcmk__add_scores(-colocation->score, node->weight); colocation 1332 lib/pacemaker/pcmk_sched_colocation.c colocation->id, dependent->id, colocation 1335 lib/pacemaker/pcmk_sched_colocation.c pcmk_readable_score(colocation->score), primary->id); colocation 1348 lib/pacemaker/pcmk_sched_colocation.c if (colocation->score < PCMK_SCORE_INFINITY) { colocation 1349 lib/pacemaker/pcmk_sched_colocation.c node->weight = pcmk__add_scores(colocation->score, colocation 1354 lib/pacemaker/pcmk_sched_colocation.c colocation->id, dependent->id, colocation 1357 lib/pacemaker/pcmk_sched_colocation.c pcmk_readable_score(colocation->score)); colocation 1362 lib/pacemaker/pcmk_sched_colocation.c if (colocation->score >= PCMK_SCORE_INFINITY) { colocation 1373 lib/pacemaker/pcmk_sched_colocation.c colocation->id, attr); colocation 1377 lib/pacemaker/pcmk_sched_colocation.c if ((colocation->score <= -PCMK_SCORE_INFINITY) colocation 1378 lib/pacemaker/pcmk_sched_colocation.c || (colocation->score >= PCMK_SCORE_INFINITY) colocation 1412 lib/pacemaker/pcmk_sched_colocation.c const pcmk__colocation_t *colocation) colocation 1416 lib/pacemaker/pcmk_sched_colocation.c const char *attr = colocation->node_attribute; colocation 1421 lib/pacemaker/pcmk_sched_colocation.c && (colocation != NULL)); colocation 1428 lib/pacemaker/pcmk_sched_colocation.c && (colocation->primary_role != pcmk_role_unknown)) { colocation 1439 lib/pacemaker/pcmk_sched_colocation.c if (colocation->primary_role != role_rsc->next_role) { colocation 1450 lib/pacemaker/pcmk_sched_colocation.c if ((colocation->score == PCMK_SCORE_INFINITY) colocation 1451 lib/pacemaker/pcmk_sched_colocation.c && (colocation->dependent_role == pcmk_role_promoted)) { colocation 1464 lib/pacemaker/pcmk_sched_colocation.c } else if (colocation->dependent_role == pcmk_role_unpromoted) { colocation 1471 lib/pacemaker/pcmk_sched_colocation.c priority_delta = score_multiplier * colocation->score; colocation 1475 lib/pacemaker/pcmk_sched_colocation.c colocation->id, dependent->id, colocation 1478 lib/pacemaker/pcmk_sched_colocation.c colocation->score); colocation 1493 lib/pacemaker/pcmk_sched_colocation.c best_node_score_matching_attr(const pcmk__colocation_t *colocation, colocation 1503 lib/pacemaker/pcmk_sched_colocation.c if ((colocation != NULL) && (rsc == colocation->dependent) colocation 1504 lib/pacemaker/pcmk_sched_colocation.c && pcmk_is_set(colocation->flags, pcmk__coloc_explicit) colocation 1612 lib/pacemaker/pcmk_sched_colocation.c const pcmk__colocation_t *colocation, colocation 1617 lib/pacemaker/pcmk_sched_colocation.c const char *attr = colocation->node_attribute; colocation 1628 lib/pacemaker/pcmk_sched_colocation.c score = best_node_score_matching_attr(colocation, source_rsc, attr, value); colocation 1664 lib/pacemaker/pcmk_sched_colocation.c if ((colocation->primary->stickiness >= -score) colocation 1665 lib/pacemaker/pcmk_sched_colocation.c || !pcmk__colocation_has_influence(colocation, NULL) colocation 1666 lib/pacemaker/pcmk_sched_colocation.c || !allowed_on_one(colocation->dependent)) { colocation 1756 lib/pacemaker/pcmk_sched_colocation.c const pcmk__colocation_t *colocation, colocation 1762 lib/pacemaker/pcmk_sched_colocation.c && ((colocation != NULL) colocation 1786 lib/pacemaker/pcmk_sched_colocation.c add_node_scores_matching_attr(work, source_rsc, target_rsc, colocation, colocation 1879 lib/pacemaker/pcmk_sched_colocation.c pcmk__colocation_t *colocation = data; colocation 1882 lib/pacemaker/pcmk_sched_colocation.c pcmk_resource_t *source_rsc = colocation->dependent; colocation 1883 lib/pacemaker/pcmk_sched_colocation.c const float factor = colocation->score / (float) PCMK_SCORE_INFINITY; colocation 1886 lib/pacemaker/pcmk_sched_colocation.c if (!pcmk__colocation_has_influence(colocation, NULL)) { colocation 1895 lib/pacemaker/pcmk_sched_colocation.c target_rsc->id, source_rsc->id, colocation->id); colocation 1899 lib/pacemaker/pcmk_sched_colocation.c colocation, factor, flags); colocation 1922 lib/pacemaker/pcmk_sched_colocation.c const pcmk__colocation_t *colocation, colocation 1929 lib/pacemaker/pcmk_sched_colocation.c && (colocation != NULL)); colocation 1942 lib/pacemaker/pcmk_sched_colocation.c colocation->id); colocation 1953 lib/pacemaker/pcmk_sched_colocation.c colocation->id); colocation 354 lib/pacemaker/pcmk_sched_group.c const pcmk__colocation_t *colocation) colocation 363 lib/pacemaker/pcmk_sched_group.c colocation->id, dependent->id, primary->id); colocation 370 lib/pacemaker/pcmk_sched_group.c colocation, true); colocation 373 lib/pacemaker/pcmk_sched_group.c if (colocation->score >= PCMK_SCORE_INFINITY) { colocation 387 lib/pacemaker/pcmk_sched_group.c colocation, colocation 407 lib/pacemaker/pcmk_sched_group.c colocation->id, dependent->id, colocation 431 lib/pacemaker/pcmk_sched_group.c const pcmk__colocation_t *colocation) colocation 438 lib/pacemaker/pcmk_sched_group.c colocation->id, dependent->id, primary->id); colocation 446 lib/pacemaker/pcmk_sched_group.c if (colocation->score >= PCMK_SCORE_INFINITY) { colocation 463 lib/pacemaker/pcmk_sched_group.c return member->cmds->apply_coloc_score(dependent, member, colocation, colocation 467 lib/pacemaker/pcmk_sched_group.c if (colocation->score >= PCMK_SCORE_INFINITY) { colocation 482 lib/pacemaker/pcmk_sched_group.c colocation, false); colocation 506 lib/pacemaker/pcmk_sched_group.c const pcmk__colocation_t *colocation, colocation 510 lib/pacemaker/pcmk_sched_group.c && (colocation != NULL)); colocation 513 lib/pacemaker/pcmk_sched_group.c return colocate_group_with(dependent, primary, colocation); colocation 519 lib/pacemaker/pcmk_sched_group.c return colocate_with_group(dependent, primary, colocation); colocation 855 lib/pacemaker/pcmk_sched_group.c const pcmk__colocation_t *colocation = NULL; colocation 857 lib/pacemaker/pcmk_sched_group.c colocation = (const pcmk__colocation_t *) cons_iter->data; colocation 858 lib/pacemaker/pcmk_sched_group.c if (colocation->score == PCMK_SCORE_INFINITY) { colocation 859 lib/pacemaker/pcmk_sched_group.c pcmk__add_this_with(list, colocation, orig_rsc); colocation 902 lib/pacemaker/pcmk_sched_group.c const pcmk__colocation_t *colocation, colocation 908 lib/pacemaker/pcmk_sched_group.c && ((colocation != NULL) colocation 946 lib/pacemaker/pcmk_sched_group.c colocation, factor, flags); colocation 150 lib/pacemaker/pcmk_sched_instances.c const pcmk__colocation_t *colocation = iter->data; colocation 151 lib/pacemaker/pcmk_sched_instances.c pcmk_resource_t *other = colocation->primary; colocation 152 lib/pacemaker/pcmk_sched_instances.c float factor = colocation->score / (float) PCMK_SCORE_INFINITY; colocation 155 lib/pacemaker/pcmk_sched_instances.c colocation, factor, colocation 162 lib/pacemaker/pcmk_sched_instances.c const pcmk__colocation_t *colocation = iter->data; colocation 163 lib/pacemaker/pcmk_sched_instances.c pcmk_resource_t *other = colocation->dependent; colocation 164 lib/pacemaker/pcmk_sched_instances.c float factor = colocation->score / (float) PCMK_SCORE_INFINITY; colocation 166 lib/pacemaker/pcmk_sched_instances.c if (!pcmk__colocation_has_influence(colocation, rsc)) { colocation 170 lib/pacemaker/pcmk_sched_instances.c colocation, factor, colocation 300 lib/pacemaker/pcmk_sched_primitive.c apply_this_with(pcmk__colocation_t *colocation, pcmk_resource_t *rsc) colocation 303 lib/pacemaker/pcmk_sched_primitive.c pcmk_resource_t *other = colocation->primary; colocation 306 lib/pacemaker/pcmk_sched_primitive.c if ((colocation->dependent_role >= pcmk_role_promoted) colocation 307 lib/pacemaker/pcmk_sched_primitive.c || ((colocation->score < 0) colocation 308 lib/pacemaker/pcmk_sched_primitive.c && (colocation->score > -PCMK_SCORE_INFINITY))) { colocation 316 lib/pacemaker/pcmk_sched_primitive.c rsc->id, colocation->id, other->id, colocation 317 lib/pacemaker/pcmk_sched_primitive.c colocation->score, colocation 318 lib/pacemaker/pcmk_sched_primitive.c pcmk_role_text(colocation->dependent_role)); colocation 323 lib/pacemaker/pcmk_sched_primitive.c rsc->cmds->apply_coloc_score(rsc, other, colocation, true); colocation 399 lib/pacemaker/pcmk_sched_primitive.c pcmk__colocation_t *colocation = NULL; colocation 437 lib/pacemaker/pcmk_sched_primitive.c colocation = iter->data; colocation 439 lib/pacemaker/pcmk_sched_primitive.c if ((colocation->score <= -PCMK_SCORE_INFINITY) colocation 440 lib/pacemaker/pcmk_sched_primitive.c || (colocation->score >= PCMK_SCORE_INFINITY)) { colocation 441 lib/pacemaker/pcmk_sched_primitive.c apply_this_with(colocation, rsc); colocation 445 lib/pacemaker/pcmk_sched_primitive.c colocation = iter->data; colocation 447 lib/pacemaker/pcmk_sched_primitive.c if ((colocation->score <= -PCMK_SCORE_INFINITY) colocation 448 lib/pacemaker/pcmk_sched_primitive.c || (colocation->score >= PCMK_SCORE_INFINITY)) { colocation 449 lib/pacemaker/pcmk_sched_primitive.c pcmk__add_dependent_scores(colocation, rsc); colocation 458 lib/pacemaker/pcmk_sched_primitive.c colocation = iter->data; colocation 460 lib/pacemaker/pcmk_sched_primitive.c if ((colocation->score > -PCMK_SCORE_INFINITY) colocation 461 lib/pacemaker/pcmk_sched_primitive.c && (colocation->score < PCMK_SCORE_INFINITY)) { colocation 462 lib/pacemaker/pcmk_sched_primitive.c apply_this_with(colocation, rsc); colocation 466 lib/pacemaker/pcmk_sched_primitive.c colocation = iter->data; colocation 468 lib/pacemaker/pcmk_sched_primitive.c if ((colocation->score > -PCMK_SCORE_INFINITY) colocation 469 lib/pacemaker/pcmk_sched_primitive.c && (colocation->score < PCMK_SCORE_INFINITY)) { colocation 470 lib/pacemaker/pcmk_sched_primitive.c pcmk__add_dependent_scores(colocation, rsc); colocation 1100 lib/pacemaker/pcmk_sched_primitive.c const pcmk__colocation_t *colocation, colocation 1106 lib/pacemaker/pcmk_sched_primitive.c && (colocation != NULL)); colocation 1110 lib/pacemaker/pcmk_sched_primitive.c return primary->cmds->apply_coloc_score(dependent, primary, colocation, colocation 1114 lib/pacemaker/pcmk_sched_primitive.c filter_results = pcmk__colocation_affects(dependent, primary, colocation, colocation 1117 lib/pacemaker/pcmk_sched_primitive.c ((colocation->score > 0)? "Colocating" : "Anti-colocating"), colocation 1118 lib/pacemaker/pcmk_sched_primitive.c dependent->id, primary->id, colocation->id, colocation 1119 lib/pacemaker/pcmk_sched_primitive.c colocation->score, colocation 1125 lib/pacemaker/pcmk_sched_primitive.c colocation); colocation 1128 lib/pacemaker/pcmk_sched_primitive.c pcmk__apply_coloc_to_scores(dependent, primary, colocation); colocation 1156 lib/pacemaker/pcmk_sched_primitive.c pcmk__colocation_t *colocation = iter->data; colocation 1158 lib/pacemaker/pcmk_sched_primitive.c if (pcmk_is_set(colocation->flags, pcmk__coloc_explicit)) { colocation 1159 lib/pacemaker/pcmk_sched_primitive.c pcmk__add_with_this(list, colocation, orig_rsc); colocation 1185 lib/pacemaker/pcmk_sched_primitive.c pcmk__colocation_t *colocation = iter->data; colocation 1187 lib/pacemaker/pcmk_sched_primitive.c if (pcmk_is_set(colocation->flags, pcmk__coloc_explicit)) { colocation 1188 lib/pacemaker/pcmk_sched_primitive.c pcmk__add_this_with(list, colocation, orig_rsc); colocation 353 lib/pacemaker/pcmk_sched_promotable.c pcmk__colocation_t *colocation = data; colocation 355 lib/pacemaker/pcmk_sched_promotable.c pcmk_resource_t *dependent = colocation->dependent; colocation 356 lib/pacemaker/pcmk_sched_promotable.c const float factor = colocation->score / (float) PCMK_SCORE_INFINITY; colocation 360 lib/pacemaker/pcmk_sched_promotable.c if ((colocation->primary_role != pcmk_role_promoted) colocation 361 lib/pacemaker/pcmk_sched_promotable.c || !pcmk__colocation_has_influence(colocation, NULL)) { colocation 366 lib/pacemaker/pcmk_sched_promotable.c colocation->id, colocation->dependent->id, colocation 367 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, colocation 368 lib/pacemaker/pcmk_sched_promotable.c pcmk_readable_score(colocation->score)); colocation 371 lib/pacemaker/pcmk_sched_promotable.c colocation, factor, flags); colocation 1159 lib/pacemaker/pcmk_sched_promotable.c const pcmk__colocation_t *colocation) colocation 1164 lib/pacemaker/pcmk_sched_promotable.c const char *attr = colocation->node_attribute; colocation 1166 lib/pacemaker/pcmk_sched_promotable.c if (colocation->score >= PCMK_SCORE_INFINITY) { colocation 1172 lib/pacemaker/pcmk_sched_promotable.c pcmk__rsc_trace(colocation->primary, colocation 1174 lib/pacemaker/pcmk_sched_promotable.c colocation->id, colocation->dependent->id, colocation 1175 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, pcmk__node_name(primary_node), colocation 1176 lib/pacemaker/pcmk_sched_promotable.c attr, colocation->score, dependent->id); colocation 1184 lib/pacemaker/pcmk_sched_promotable.c node->weight = pcmk__add_scores(node->weight, colocation->score); colocation 1185 lib/pacemaker/pcmk_sched_promotable.c pcmk__rsc_trace(colocation->primary, colocation 1187 lib/pacemaker/pcmk_sched_promotable.c colocation->id, colocation 1188 lib/pacemaker/pcmk_sched_promotable.c pcmk_readable_score(colocation->score), colocation 1205 lib/pacemaker/pcmk_sched_promotable.c const pcmk__colocation_t *colocation) colocation 1220 lib/pacemaker/pcmk_sched_promotable.c if (instance->fns->state(instance, FALSE) == colocation->primary_role) { colocation 1222 lib/pacemaker/pcmk_sched_promotable.c colocation); colocation 1234 lib/pacemaker/pcmk_sched_promotable.c if ((colocation->score >= PCMK_SCORE_INFINITY) colocation 1235 lib/pacemaker/pcmk_sched_promotable.c && ((colocation->dependent_role != pcmk_role_promoted) colocation 1236 lib/pacemaker/pcmk_sched_promotable.c || (colocation->primary_role != pcmk_role_promoted))) { colocation 1238 lib/pacemaker/pcmk_sched_promotable.c pcmk__rsc_trace(colocation->primary, colocation 1240 lib/pacemaker/pcmk_sched_promotable.c colocation->id, colocation->dependent->id, colocation 1241 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, dependent->id); colocation 1242 lib/pacemaker/pcmk_sched_promotable.c pcmk__colocation_intersect_nodes(dependent, primary, colocation, colocation 1261 lib/pacemaker/pcmk_sched_promotable.c const pcmk__colocation_t *colocation) colocation 1267 lib/pacemaker/pcmk_sched_promotable.c colocation->primary_role, colocation 1273 lib/pacemaker/pcmk_sched_promotable.c colocation->score); colocation 1275 lib/pacemaker/pcmk_sched_promotable.c pcmk__rsc_trace(colocation->primary, colocation 1278 lib/pacemaker/pcmk_sched_promotable.c colocation->id, colocation->dependent->id, colocation 1279 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, dependent->id, colocation 1281 lib/pacemaker/pcmk_sched_promotable.c pcmk_readable_score(colocation->score), colocation 1284 lib/pacemaker/pcmk_sched_promotable.c return colocation->score; colocation 1287 lib/pacemaker/pcmk_sched_promotable.c if (colocation->score >= PCMK_SCORE_INFINITY) { colocation 1289 lib/pacemaker/pcmk_sched_promotable.c pcmk__rsc_trace(colocation->primary, colocation 1291 lib/pacemaker/pcmk_sched_promotable.c colocation->id, colocation->dependent->id, colocation 1292 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, dependent->id);