colocation 135 lib/pacemaker/libpacemaker_private.h const pcmk__colocation_t *colocation, colocation 234 lib/pacemaker/libpacemaker_private.h const pcmk__colocation_t *colocation, colocation 528 lib/pacemaker/libpacemaker_private.h *colocation, colocation 534 lib/pacemaker/libpacemaker_private.h const pcmk__colocation_t *colocation); colocation 539 lib/pacemaker/libpacemaker_private.h const pcmk__colocation_t *colocation); colocation 545 lib/pacemaker/libpacemaker_private.h const pcmk__colocation_t *colocation, colocation 554 lib/pacemaker/libpacemaker_private.h const pcmk__colocation_t *colocation, colocation 562 lib/pacemaker/libpacemaker_private.h void pcmk__add_this_with(GList **list, const pcmk__colocation_t *colocation, colocation 570 lib/pacemaker/libpacemaker_private.h void pcmk__add_with_this(GList **list, const pcmk__colocation_t *colocation, colocation 605 lib/pacemaker/libpacemaker_private.h pcmk__colocation_has_influence(const pcmk__colocation_t *colocation, colocation 609 lib/pacemaker/libpacemaker_private.h rsc = colocation->primary; colocation 624 lib/pacemaker/libpacemaker_private.h if (pcmk_is_set(colocation->dependent->flags, colocation 634 lib/pacemaker/libpacemaker_private.h return pcmk_is_set(colocation->flags, pcmk__coloc_influence) colocation 722 lib/pacemaker/libpacemaker_private.h *colocation); colocation 728 lib/pacemaker/libpacemaker_private.h *colocation); colocation 774 lib/pacemaker/libpacemaker_private.h const pcmk__colocation_t *colocation, colocation 818 lib/pacemaker/libpacemaker_private.h const pcmk__colocation_t *colocation, colocation 836 lib/pacemaker/libpacemaker_private.h const pcmk__colocation_t *colocation, colocation 886 lib/pacemaker/libpacemaker_private.h const pcmk__colocation_t *colocation, colocation 939 lib/pacemaker/libpacemaker_private.h const pcmk__colocation_t *colocation, colocation 454 lib/pacemaker/pcmk_sched_bundle.c const pcmk__colocation_t *colocation; colocation 474 lib/pacemaker/pcmk_sched_bundle.c if (coloc_data->colocation->score < INFINITY) { colocation 477 lib/pacemaker/pcmk_sched_bundle.c coloc_data->colocation, colocation 488 lib/pacemaker/pcmk_sched_bundle.c if ((coloc_data->colocation->primary_role >= pcmk_role_promoted) colocation 496 lib/pacemaker/pcmk_sched_bundle.c coloc_data->colocation->id, pe__node_name(chosen), colocation 519 lib/pacemaker/pcmk_sched_bundle.c const pcmk__colocation_t *colocation, colocation 522 lib/pacemaker/pcmk_sched_bundle.c struct coloc_data coloc_data = { colocation, dependent, NULL }; colocation 532 lib/pacemaker/pcmk_sched_bundle.c && (colocation != NULL) && !for_dependent); colocation 538 lib/pacemaker/pcmk_sched_bundle.c colocation->id, primary->id); colocation 542 lib/pacemaker/pcmk_sched_bundle.c colocation->id, dependent->id, primary->id, colocation 543 lib/pacemaker/pcmk_sched_bundle.c pcmk_readable_score(colocation->score)); colocation 548 lib/pacemaker/pcmk_sched_bundle.c if (colocation->dependent->variant > pcmk_rsc_variant_group) { colocation 556 lib/pacemaker/pcmk_sched_bundle.c colocation, true); colocation 558 lib/pacemaker/pcmk_sched_bundle.c } else if (colocation->score >= INFINITY) { // Failure, and it's fatal colocation 575 lib/pacemaker/pcmk_sched_bundle.c if (colocation->score >= INFINITY) { colocation 576 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 247 lib/pacemaker/pcmk_sched_clone.c const pcmk__colocation_t *colocation, colocation 258 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT((colocation != NULL) && pe_rsc_is_clone(primary) colocation 266 lib/pacemaker/pcmk_sched_clone.c colocation->id, primary->id); colocation 271 lib/pacemaker/pcmk_sched_clone.c colocation->id, dependent->id, primary->id, colocation 272 lib/pacemaker/pcmk_sched_clone.c pcmk_readable_score(colocation->score)); colocation 276 lib/pacemaker/pcmk_sched_clone.c && (colocation->primary_role != pcmk_role_unknown)) { colocation 281 lib/pacemaker/pcmk_sched_clone.c colocation); colocation 285 lib/pacemaker/pcmk_sched_clone.c if (colocation->dependent_role == pcmk_role_promoted) { colocation 288 lib/pacemaker/pcmk_sched_clone.c colocation); colocation 294 lib/pacemaker/pcmk_sched_clone.c if (can_interleave(colocation)) { colocation 304 lib/pacemaker/pcmk_sched_clone.c colocation, true); colocation 306 lib/pacemaker/pcmk_sched_clone.c } else if (colocation->score >= INFINITY) { colocation 322 lib/pacemaker/pcmk_sched_clone.c if (colocation->score >= INFINITY) { colocation 333 lib/pacemaker/pcmk_sched_clone.c colocation->id, pe__node_name(chosen), colocation 338 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_intersect_nodes(dependent, primary, colocation, colocation 348 lib/pacemaker/pcmk_sched_clone.c instance->cmds->apply_coloc_score(dependent, instance, 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 1100 lib/pacemaker/pcmk_sched_colocation.c pcmk__colocation_t *colocation = iter->data; colocation 1102 lib/pacemaker/pcmk_sched_colocation.c if (colocation->score < INFINITY) { colocation 1112 lib/pacemaker/pcmk_sched_colocation.c if (!is_start && (colocation->primary_role != pcmk_role_promoted)) { colocation 1117 lib/pacemaker/pcmk_sched_colocation.c if (colocation->dependent_role == pcmk_role_promoted) { colocation 1118 lib/pacemaker/pcmk_sched_colocation.c mark_action_blocked(colocation->dependent, PCMK_ACTION_PROMOTE, colocation 1121 lib/pacemaker/pcmk_sched_colocation.c mark_action_blocked(colocation->dependent, PCMK_ACTION_START, colocation 1180 lib/pacemaker/pcmk_sched_colocation.c const pcmk__colocation_t *colocation, bool preview) colocation 1186 lib/pacemaker/pcmk_sched_colocation.c && (colocation != NULL)); colocation 1196 lib/pacemaker/pcmk_sched_colocation.c if ((colocation->dependent_role >= pcmk_role_unpromoted) colocation 1218 lib/pacemaker/pcmk_sched_colocation.c colocation->id, dependent->id); colocation 1220 lib/pacemaker/pcmk_sched_colocation.c } else if (colocation->score >= INFINITY) { colocation 1230 lib/pacemaker/pcmk_sched_colocation.c } else if (colocation->score <= -CRM_SCORE_INFINITY) { colocation 1243 lib/pacemaker/pcmk_sched_colocation.c if ((colocation->dependent_role != pcmk_role_unknown) colocation 1244 lib/pacemaker/pcmk_sched_colocation.c && (colocation->dependent_role != dependent_role_rsc->next_role)) { colocation 1248 lib/pacemaker/pcmk_sched_colocation.c ((colocation->score < 0)? "anti-" : ""), colocation 1249 lib/pacemaker/pcmk_sched_colocation.c colocation->id, role2text(colocation->dependent_role), colocation 1255 lib/pacemaker/pcmk_sched_colocation.c if ((colocation->primary_role != pcmk_role_unknown) colocation 1256 lib/pacemaker/pcmk_sched_colocation.c && (colocation->primary_role != primary_role_rsc->next_role)) { colocation 1259 lib/pacemaker/pcmk_sched_colocation.c ((colocation->score < 0)? "anti-" : ""), colocation 1260 lib/pacemaker/pcmk_sched_colocation.c colocation->id, role2text(colocation->primary_role), colocation 1282 lib/pacemaker/pcmk_sched_colocation.c const pcmk__colocation_t *colocation) colocation 1284 lib/pacemaker/pcmk_sched_colocation.c const char *attr = colocation->node_attribute; colocation 1294 lib/pacemaker/pcmk_sched_colocation.c } else if (colocation->score < 0) { colocation 1304 lib/pacemaker/pcmk_sched_colocation.c node->weight = pcmk__add_scores(-colocation->score, node->weight); colocation 1308 lib/pacemaker/pcmk_sched_colocation.c colocation->id, dependent->id, pe__node_name(node), colocation 1310 lib/pacemaker/pcmk_sched_colocation.c pcmk_readable_score(colocation->score), primary->id); colocation 1323 lib/pacemaker/pcmk_sched_colocation.c if (colocation->score < CRM_SCORE_INFINITY) { colocation 1324 lib/pacemaker/pcmk_sched_colocation.c node->weight = pcmk__add_scores(colocation->score, colocation 1329 lib/pacemaker/pcmk_sched_colocation.c colocation->id, dependent->id, pe__node_name(node), colocation 1331 lib/pacemaker/pcmk_sched_colocation.c pcmk_readable_score(colocation->score)); colocation 1336 lib/pacemaker/pcmk_sched_colocation.c if (colocation->score >= CRM_SCORE_INFINITY) { colocation 1346 lib/pacemaker/pcmk_sched_colocation.c dependent->id, pe__node_name(node), colocation->id, colocation 1351 lib/pacemaker/pcmk_sched_colocation.c if ((colocation->score <= -INFINITY) || (colocation->score >= INFINITY) colocation 1383 lib/pacemaker/pcmk_sched_colocation.c const pcmk__colocation_t *colocation) colocation 1387 lib/pacemaker/pcmk_sched_colocation.c const char *attr = colocation->node_attribute; colocation 1393 lib/pacemaker/pcmk_sched_colocation.c (colocation != NULL)); colocation 1407 lib/pacemaker/pcmk_sched_colocation.c if ((colocation->score == INFINITY) colocation 1408 lib/pacemaker/pcmk_sched_colocation.c && (colocation->dependent_role == pcmk_role_promoted)) { colocation 1414 lib/pacemaker/pcmk_sched_colocation.c if ((colocation->primary_role != pcmk_role_unknown) colocation 1415 lib/pacemaker/pcmk_sched_colocation.c && (colocation->primary_role != primary_role_rsc->next_role)) { colocation 1419 lib/pacemaker/pcmk_sched_colocation.c if (colocation->dependent_role == pcmk_role_unpromoted) { colocation 1423 lib/pacemaker/pcmk_sched_colocation.c dependent->priority = pcmk__add_scores(score_multiplier * colocation->score, colocation 1427 lib/pacemaker/pcmk_sched_colocation.c colocation->id, dependent->id, colocation 1430 lib/pacemaker/pcmk_sched_colocation.c pcmk_readable_score(colocation->score)); colocation 1526 lib/pacemaker/pcmk_sched_colocation.c const pcmk__colocation_t *colocation, colocation 1531 lib/pacemaker/pcmk_sched_colocation.c const char *attr = colocation->node_attribute; colocation 1578 lib/pacemaker/pcmk_sched_colocation.c if ((colocation->primary->stickiness >= -score) colocation 1579 lib/pacemaker/pcmk_sched_colocation.c || !pcmk__colocation_has_influence(colocation, NULL) colocation 1580 lib/pacemaker/pcmk_sched_colocation.c || !allowed_on_one(colocation->dependent)) { colocation 1670 lib/pacemaker/pcmk_sched_colocation.c const pcmk__colocation_t *colocation, colocation 1676 lib/pacemaker/pcmk_sched_colocation.c && ((colocation != NULL) colocation 1700 lib/pacemaker/pcmk_sched_colocation.c add_node_scores_matching_attr(work, source_rsc, target_rsc, colocation, colocation 1792 lib/pacemaker/pcmk_sched_colocation.c pcmk__colocation_t *colocation = data; colocation 1795 lib/pacemaker/pcmk_sched_colocation.c pcmk_resource_t *source_rsc = colocation->dependent; colocation 1796 lib/pacemaker/pcmk_sched_colocation.c const float factor = colocation->score / (float) INFINITY; colocation 1799 lib/pacemaker/pcmk_sched_colocation.c if (!pcmk__colocation_has_influence(colocation, NULL)) { colocation 1808 lib/pacemaker/pcmk_sched_colocation.c target_rsc->id, source_rsc->id, colocation->id); colocation 1812 lib/pacemaker/pcmk_sched_colocation.c colocation, factor, flags); colocation 1835 lib/pacemaker/pcmk_sched_colocation.c const pcmk__colocation_t *colocation, colocation 1842 lib/pacemaker/pcmk_sched_colocation.c && (colocation != NULL)); colocation 1855 lib/pacemaker/pcmk_sched_colocation.c colocation->id); colocation 1866 lib/pacemaker/pcmk_sched_colocation.c colocation->id); colocation 348 lib/pacemaker/pcmk_sched_group.c const pcmk__colocation_t *colocation) colocation 357 lib/pacemaker/pcmk_sched_group.c colocation->id, dependent->id, primary->id); colocation 362 lib/pacemaker/pcmk_sched_group.c member->cmds->apply_coloc_score(member, primary, colocation, true); colocation 366 lib/pacemaker/pcmk_sched_group.c if (colocation->score >= INFINITY) { colocation 376 lib/pacemaker/pcmk_sched_group.c member->cmds->apply_coloc_score(member, primary, colocation, true); colocation 394 lib/pacemaker/pcmk_sched_group.c const pcmk__colocation_t *colocation) colocation 400 lib/pacemaker/pcmk_sched_group.c colocation->id, dependent->id, primary->id); colocation 408 lib/pacemaker/pcmk_sched_group.c if (colocation->score >= INFINITY) { colocation 425 lib/pacemaker/pcmk_sched_group.c member->cmds->apply_coloc_score(dependent, member, colocation, false); colocation 429 lib/pacemaker/pcmk_sched_group.c if (colocation->score >= INFINITY) { colocation 440 lib/pacemaker/pcmk_sched_group.c member->cmds->apply_coloc_score(dependent, member, colocation, false); colocation 460 lib/pacemaker/pcmk_sched_group.c const pcmk__colocation_t *colocation, colocation 464 lib/pacemaker/pcmk_sched_group.c && (colocation != NULL)); colocation 467 lib/pacemaker/pcmk_sched_group.c colocate_group_with(dependent, primary, colocation); colocation 473 lib/pacemaker/pcmk_sched_group.c colocate_with_group(dependent, primary, colocation); colocation 800 lib/pacemaker/pcmk_sched_group.c const pcmk__colocation_t *colocation = NULL; colocation 802 lib/pacemaker/pcmk_sched_group.c colocation = (const pcmk__colocation_t *) cons_iter->data; colocation 803 lib/pacemaker/pcmk_sched_group.c if (colocation->score == INFINITY) { colocation 804 lib/pacemaker/pcmk_sched_group.c pcmk__add_this_with(list, colocation, orig_rsc); colocation 847 lib/pacemaker/pcmk_sched_group.c const pcmk__colocation_t *colocation, colocation 855 lib/pacemaker/pcmk_sched_group.c && ((colocation != NULL) colocation 893 lib/pacemaker/pcmk_sched_group.c colocation, factor, flags); colocation 149 lib/pacemaker/pcmk_sched_instances.c const pcmk__colocation_t *colocation = iter->data; colocation 150 lib/pacemaker/pcmk_sched_instances.c pcmk_resource_t *other = colocation->primary; colocation 151 lib/pacemaker/pcmk_sched_instances.c float factor = colocation->score / (float) INFINITY; colocation 154 lib/pacemaker/pcmk_sched_instances.c colocation, factor, colocation 161 lib/pacemaker/pcmk_sched_instances.c const pcmk__colocation_t *colocation = iter->data; colocation 162 lib/pacemaker/pcmk_sched_instances.c pcmk_resource_t *other = colocation->dependent; colocation 163 lib/pacemaker/pcmk_sched_instances.c float factor = colocation->score / (float) INFINITY; colocation 165 lib/pacemaker/pcmk_sched_instances.c if (!pcmk__colocation_has_influence(colocation, rsc)) { colocation 169 lib/pacemaker/pcmk_sched_instances.c colocation, factor, colocation 299 lib/pacemaker/pcmk_sched_primitive.c apply_this_with(pcmk__colocation_t *colocation, pcmk_resource_t *rsc) colocation 302 lib/pacemaker/pcmk_sched_primitive.c pcmk_resource_t *other = colocation->primary; colocation 305 lib/pacemaker/pcmk_sched_primitive.c if ((colocation->dependent_role >= pcmk_role_promoted) colocation 306 lib/pacemaker/pcmk_sched_primitive.c || ((colocation->score < 0) && (colocation->score > -INFINITY))) { colocation 314 lib/pacemaker/pcmk_sched_primitive.c rsc->id, colocation->id, other->id, colocation 315 lib/pacemaker/pcmk_sched_primitive.c colocation->score, role2text(colocation->dependent_role)); colocation 320 lib/pacemaker/pcmk_sched_primitive.c rsc->cmds->apply_coloc_score(rsc, other, colocation, true); colocation 396 lib/pacemaker/pcmk_sched_primitive.c pcmk__colocation_t *colocation = NULL; colocation 434 lib/pacemaker/pcmk_sched_primitive.c colocation = iter->data; colocation 436 lib/pacemaker/pcmk_sched_primitive.c if ((colocation->score <= -CRM_SCORE_INFINITY) colocation 437 lib/pacemaker/pcmk_sched_primitive.c || (colocation->score >= CRM_SCORE_INFINITY)) { colocation 438 lib/pacemaker/pcmk_sched_primitive.c apply_this_with(colocation, rsc); colocation 442 lib/pacemaker/pcmk_sched_primitive.c colocation = iter->data; colocation 444 lib/pacemaker/pcmk_sched_primitive.c if ((colocation->score <= -CRM_SCORE_INFINITY) colocation 445 lib/pacemaker/pcmk_sched_primitive.c || (colocation->score >= CRM_SCORE_INFINITY)) { colocation 446 lib/pacemaker/pcmk_sched_primitive.c pcmk__add_dependent_scores(colocation, rsc); colocation 455 lib/pacemaker/pcmk_sched_primitive.c colocation = iter->data; colocation 457 lib/pacemaker/pcmk_sched_primitive.c if ((colocation->score > -CRM_SCORE_INFINITY) colocation 458 lib/pacemaker/pcmk_sched_primitive.c && (colocation->score < CRM_SCORE_INFINITY)) { colocation 459 lib/pacemaker/pcmk_sched_primitive.c apply_this_with(colocation, rsc); colocation 463 lib/pacemaker/pcmk_sched_primitive.c colocation = iter->data; colocation 465 lib/pacemaker/pcmk_sched_primitive.c if ((colocation->score > -CRM_SCORE_INFINITY) colocation 466 lib/pacemaker/pcmk_sched_primitive.c && (colocation->score < CRM_SCORE_INFINITY)) { colocation 467 lib/pacemaker/pcmk_sched_primitive.c pcmk__add_dependent_scores(colocation, rsc); colocation 1086 lib/pacemaker/pcmk_sched_primitive.c const pcmk__colocation_t *colocation, colocation 1092 lib/pacemaker/pcmk_sched_primitive.c && (colocation != NULL)); colocation 1096 lib/pacemaker/pcmk_sched_primitive.c primary->cmds->apply_coloc_score(dependent, primary, colocation, false); colocation 1100 lib/pacemaker/pcmk_sched_primitive.c filter_results = pcmk__colocation_affects(dependent, primary, colocation, colocation 1103 lib/pacemaker/pcmk_sched_primitive.c ((colocation->score > 0)? "Colocating" : "Anti-colocating"), colocation 1104 lib/pacemaker/pcmk_sched_primitive.c dependent->id, primary->id, colocation->id, colocation->score, colocation 1109 lib/pacemaker/pcmk_sched_primitive.c pcmk__apply_coloc_to_priority(dependent, primary, colocation); colocation 1112 lib/pacemaker/pcmk_sched_primitive.c pcmk__apply_coloc_to_scores(dependent, primary, colocation); colocation 1140 lib/pacemaker/pcmk_sched_primitive.c pcmk__colocation_t *colocation = iter->data; colocation 1142 lib/pacemaker/pcmk_sched_primitive.c if (pcmk_is_set(colocation->flags, pcmk__coloc_explicit)) { colocation 1143 lib/pacemaker/pcmk_sched_primitive.c pcmk__add_with_this(list, colocation, orig_rsc); colocation 1170 lib/pacemaker/pcmk_sched_primitive.c pcmk__colocation_t *colocation = iter->data; colocation 1172 lib/pacemaker/pcmk_sched_primitive.c if (pcmk_is_set(colocation->flags, pcmk__coloc_explicit)) { colocation 1173 lib/pacemaker/pcmk_sched_primitive.c pcmk__add_this_with(list, colocation, orig_rsc); colocation 349 lib/pacemaker/pcmk_sched_promotable.c pcmk__colocation_t *colocation = data; colocation 351 lib/pacemaker/pcmk_sched_promotable.c pcmk_resource_t *primary = colocation->primary; colocation 353 lib/pacemaker/pcmk_sched_promotable.c float factor = colocation->score / (float) INFINITY; colocation 355 lib/pacemaker/pcmk_sched_promotable.c if (colocation->dependent_role != pcmk_role_promoted) { colocation 358 lib/pacemaker/pcmk_sched_promotable.c if (colocation->score < INFINITY) { colocation 362 lib/pacemaker/pcmk_sched_promotable.c colocation->id, colocation->dependent->id, colocation 363 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, colocation 364 lib/pacemaker/pcmk_sched_promotable.c pcmk_readable_score(colocation->score)); colocation 366 lib/pacemaker/pcmk_sched_promotable.c &clone->allowed_nodes, colocation, colocation 380 lib/pacemaker/pcmk_sched_promotable.c pcmk__colocation_t *colocation = data; colocation 382 lib/pacemaker/pcmk_sched_promotable.c pcmk_resource_t *dependent = colocation->dependent; colocation 383 lib/pacemaker/pcmk_sched_promotable.c const float factor = colocation->score / (float) INFINITY; colocation 387 lib/pacemaker/pcmk_sched_promotable.c if ((colocation->primary_role != pcmk_role_promoted) colocation 388 lib/pacemaker/pcmk_sched_promotable.c || !pcmk__colocation_has_influence(colocation, NULL)) { colocation 393 lib/pacemaker/pcmk_sched_promotable.c colocation->id, colocation->dependent->id, colocation 394 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, colocation 395 lib/pacemaker/pcmk_sched_promotable.c pcmk_readable_score(colocation->score)); colocation 398 lib/pacemaker/pcmk_sched_promotable.c colocation, factor, flags); colocation 1171 lib/pacemaker/pcmk_sched_promotable.c const pcmk__colocation_t *colocation) colocation 1176 lib/pacemaker/pcmk_sched_promotable.c const char *attr = colocation->node_attribute; colocation 1178 lib/pacemaker/pcmk_sched_promotable.c if (colocation->score >= INFINITY) { colocation 1184 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(colocation->primary, colocation 1186 lib/pacemaker/pcmk_sched_promotable.c colocation->id, colocation->dependent->id, colocation 1187 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, pe__node_name(primary_node), attr, colocation 1188 lib/pacemaker/pcmk_sched_promotable.c colocation->score, dependent->id); colocation 1196 lib/pacemaker/pcmk_sched_promotable.c node->weight = pcmk__add_scores(node->weight, colocation->score); colocation 1197 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(colocation->primary, colocation 1199 lib/pacemaker/pcmk_sched_promotable.c colocation->id, pcmk_readable_score(colocation->score), colocation 1216 lib/pacemaker/pcmk_sched_promotable.c const pcmk__colocation_t *colocation) colocation 1231 lib/pacemaker/pcmk_sched_promotable.c if (instance->fns->state(instance, FALSE) == colocation->primary_role) { colocation 1233 lib/pacemaker/pcmk_sched_promotable.c colocation); colocation 1245 lib/pacemaker/pcmk_sched_promotable.c if ((colocation->score >= INFINITY) colocation 1246 lib/pacemaker/pcmk_sched_promotable.c && ((colocation->dependent_role != pcmk_role_promoted) colocation 1247 lib/pacemaker/pcmk_sched_promotable.c || (colocation->primary_role != pcmk_role_promoted))) { colocation 1249 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(colocation->primary, colocation 1251 lib/pacemaker/pcmk_sched_promotable.c colocation->id, colocation->dependent->id, colocation 1252 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, dependent->id); colocation 1253 lib/pacemaker/pcmk_sched_promotable.c pcmk__colocation_intersect_nodes(dependent, primary, colocation, colocation 1270 lib/pacemaker/pcmk_sched_promotable.c const pcmk__colocation_t *colocation) colocation 1276 lib/pacemaker/pcmk_sched_promotable.c colocation->primary_role, colocation 1282 lib/pacemaker/pcmk_sched_promotable.c colocation->score); colocation 1284 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(colocation->primary, colocation 1286 lib/pacemaker/pcmk_sched_promotable.c colocation->id, colocation->dependent->id, colocation 1287 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, dependent->id, colocation 1289 lib/pacemaker/pcmk_sched_promotable.c pcmk_readable_score(colocation->score), colocation 1293 lib/pacemaker/pcmk_sched_promotable.c } else if (colocation->score >= INFINITY) { colocation 1295 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(colocation->primary, colocation 1297 lib/pacemaker/pcmk_sched_promotable.c colocation->id, colocation->dependent->id, colocation 1298 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, dependent->id);