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 599 lib/pacemaker/libpacemaker_private.h bool pcmk__colocation_has_influence(const pcmk__colocation_t *colocation, colocation 686 lib/pacemaker/libpacemaker_private.h *colocation); colocation 692 lib/pacemaker/libpacemaker_private.h *colocation); colocation 738 lib/pacemaker/libpacemaker_private.h const pcmk__colocation_t *colocation, colocation 782 lib/pacemaker/libpacemaker_private.h const pcmk__colocation_t *colocation, colocation 800 lib/pacemaker/libpacemaker_private.h const pcmk__colocation_t *colocation, colocation 851 lib/pacemaker/libpacemaker_private.h const pcmk__colocation_t *colocation, colocation 904 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 259 lib/pacemaker/pcmk_sched_clone.c pcmk__assert(!for_dependent && (colocation != NULL) 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 289 lib/pacemaker/pcmk_sched_clone.c colocation); colocation 294 lib/pacemaker/pcmk_sched_clone.c if (can_interleave(colocation)) { colocation 306 lib/pacemaker/pcmk_sched_clone.c colocation, true); colocation 309 lib/pacemaker/pcmk_sched_clone.c if (colocation->score >= PCMK_SCORE_INFINITY) { colocation 325 lib/pacemaker/pcmk_sched_clone.c if (colocation->score >= PCMK_SCORE_INFINITY) { colocation 336 lib/pacemaker/pcmk_sched_clone.c colocation->id, pcmk__node_name(chosen), colocation 341 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_intersect_nodes(dependent, primary, colocation, colocation 352 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 pcmk__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 pcmk__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 1040 lib/pacemaker/pcmk_sched_colocation.c pcmk__colocation_has_influence(const pcmk__colocation_t *colocation, colocation 1044 lib/pacemaker/pcmk_sched_colocation.c rsc = colocation->primary; colocation 1059 lib/pacemaker/pcmk_sched_colocation.c if (pcmk_is_set(colocation->dependent->flags, colocation 1069 lib/pacemaker/pcmk_sched_colocation.c return pcmk_is_set(colocation->flags, pcmk__coloc_influence) colocation 1168 lib/pacemaker/pcmk_sched_colocation.c pcmk__colocation_t *colocation = iter->data; colocation 1170 lib/pacemaker/pcmk_sched_colocation.c if (colocation->score < PCMK_SCORE_INFINITY) { colocation 1180 lib/pacemaker/pcmk_sched_colocation.c if (!is_start && (colocation->primary_role != pcmk_role_promoted)) { colocation 1185 lib/pacemaker/pcmk_sched_colocation.c if (colocation->dependent_role == pcmk_role_promoted) { colocation 1186 lib/pacemaker/pcmk_sched_colocation.c mark_action_blocked(colocation->dependent, PCMK_ACTION_PROMOTE, colocation 1189 lib/pacemaker/pcmk_sched_colocation.c mark_action_blocked(colocation->dependent, PCMK_ACTION_START, colocation 1248 lib/pacemaker/pcmk_sched_colocation.c const pcmk__colocation_t *colocation, bool preview) colocation 1254 lib/pacemaker/pcmk_sched_colocation.c && (colocation != NULL)); colocation 1264 lib/pacemaker/pcmk_sched_colocation.c if ((colocation->dependent_role >= pcmk_role_unpromoted) colocation 1286 lib/pacemaker/pcmk_sched_colocation.c colocation->id, dependent->id); colocation 1288 lib/pacemaker/pcmk_sched_colocation.c } else if (colocation->score >= PCMK_SCORE_INFINITY) { colocation 1299 lib/pacemaker/pcmk_sched_colocation.c } else if (colocation->score <= -PCMK_SCORE_INFINITY) { colocation 1312 lib/pacemaker/pcmk_sched_colocation.c if ((colocation->dependent_role != pcmk_role_unknown) colocation 1313 lib/pacemaker/pcmk_sched_colocation.c && (colocation->dependent_role != dependent_role_rsc->next_role)) { colocation 1317 lib/pacemaker/pcmk_sched_colocation.c ((colocation->score < 0)? "anti-" : ""), colocation 1318 lib/pacemaker/pcmk_sched_colocation.c colocation->id, pcmk_role_text(colocation->dependent_role), colocation 1324 lib/pacemaker/pcmk_sched_colocation.c if ((colocation->primary_role != pcmk_role_unknown) colocation 1325 lib/pacemaker/pcmk_sched_colocation.c && (colocation->primary_role != primary_role_rsc->next_role)) { colocation 1328 lib/pacemaker/pcmk_sched_colocation.c ((colocation->score < 0)? "anti-" : ""), colocation 1329 lib/pacemaker/pcmk_sched_colocation.c colocation->id, pcmk_role_text(colocation->primary_role), colocation 1352 lib/pacemaker/pcmk_sched_colocation.c const pcmk__colocation_t *colocation) colocation 1354 lib/pacemaker/pcmk_sched_colocation.c const char *attr = colocation->node_attribute; colocation 1364 lib/pacemaker/pcmk_sched_colocation.c } else if (colocation->score < 0) { colocation 1374 lib/pacemaker/pcmk_sched_colocation.c node->weight = pcmk__add_scores(-colocation->score, node->weight); colocation 1378 lib/pacemaker/pcmk_sched_colocation.c colocation->id, dependent->id, colocation 1381 lib/pacemaker/pcmk_sched_colocation.c pcmk_readable_score(colocation->score), primary->id); colocation 1394 lib/pacemaker/pcmk_sched_colocation.c if (colocation->score < PCMK_SCORE_INFINITY) { colocation 1395 lib/pacemaker/pcmk_sched_colocation.c node->weight = pcmk__add_scores(colocation->score, colocation 1400 lib/pacemaker/pcmk_sched_colocation.c colocation->id, dependent->id, colocation 1403 lib/pacemaker/pcmk_sched_colocation.c pcmk_readable_score(colocation->score)); colocation 1408 lib/pacemaker/pcmk_sched_colocation.c if (colocation->score >= PCMK_SCORE_INFINITY) { colocation 1419 lib/pacemaker/pcmk_sched_colocation.c colocation->id, attr); colocation 1423 lib/pacemaker/pcmk_sched_colocation.c if ((colocation->score <= -PCMK_SCORE_INFINITY) colocation 1424 lib/pacemaker/pcmk_sched_colocation.c || (colocation->score >= PCMK_SCORE_INFINITY) colocation 1458 lib/pacemaker/pcmk_sched_colocation.c const pcmk__colocation_t *colocation) colocation 1462 lib/pacemaker/pcmk_sched_colocation.c const char *attr = colocation->node_attribute; colocation 1467 lib/pacemaker/pcmk_sched_colocation.c && (colocation != NULL)); colocation 1474 lib/pacemaker/pcmk_sched_colocation.c && (colocation->primary_role != pcmk_role_unknown)) { colocation 1485 lib/pacemaker/pcmk_sched_colocation.c if (colocation->primary_role != role_rsc->next_role) { colocation 1496 lib/pacemaker/pcmk_sched_colocation.c if ((colocation->score == PCMK_SCORE_INFINITY) colocation 1497 lib/pacemaker/pcmk_sched_colocation.c && (colocation->dependent_role == pcmk_role_promoted)) { colocation 1510 lib/pacemaker/pcmk_sched_colocation.c } else if (colocation->dependent_role == pcmk_role_unpromoted) { colocation 1517 lib/pacemaker/pcmk_sched_colocation.c priority_delta = score_multiplier * colocation->score; colocation 1521 lib/pacemaker/pcmk_sched_colocation.c colocation->id, dependent->id, colocation 1524 lib/pacemaker/pcmk_sched_colocation.c colocation->score); colocation 1539 lib/pacemaker/pcmk_sched_colocation.c best_node_score_matching_attr(const pcmk__colocation_t *colocation, colocation 1549 lib/pacemaker/pcmk_sched_colocation.c if ((colocation != NULL) && (rsc == colocation->dependent) colocation 1550 lib/pacemaker/pcmk_sched_colocation.c && pcmk_is_set(colocation->flags, pcmk__coloc_explicit) colocation 1658 lib/pacemaker/pcmk_sched_colocation.c const pcmk__colocation_t *colocation, colocation 1663 lib/pacemaker/pcmk_sched_colocation.c const char *attr = colocation->node_attribute; colocation 1674 lib/pacemaker/pcmk_sched_colocation.c score = best_node_score_matching_attr(colocation, source_rsc, attr, value); colocation 1710 lib/pacemaker/pcmk_sched_colocation.c if ((colocation->primary->stickiness >= -score) colocation 1711 lib/pacemaker/pcmk_sched_colocation.c || !pcmk__colocation_has_influence(colocation, NULL) colocation 1712 lib/pacemaker/pcmk_sched_colocation.c || !allowed_on_one(colocation->dependent)) { colocation 1802 lib/pacemaker/pcmk_sched_colocation.c const pcmk__colocation_t *colocation, colocation 1808 lib/pacemaker/pcmk_sched_colocation.c && ((colocation != NULL) colocation 1832 lib/pacemaker/pcmk_sched_colocation.c add_node_scores_matching_attr(work, source_rsc, target_rsc, colocation, colocation 1925 lib/pacemaker/pcmk_sched_colocation.c pcmk__colocation_t *colocation = data; colocation 1928 lib/pacemaker/pcmk_sched_colocation.c pcmk_resource_t *source_rsc = colocation->dependent; colocation 1929 lib/pacemaker/pcmk_sched_colocation.c const float factor = colocation->score / (float) PCMK_SCORE_INFINITY; colocation 1932 lib/pacemaker/pcmk_sched_colocation.c if (!pcmk__colocation_has_influence(colocation, NULL)) { colocation 1941 lib/pacemaker/pcmk_sched_colocation.c target_rsc->id, source_rsc->id, colocation->id); colocation 1945 lib/pacemaker/pcmk_sched_colocation.c colocation, factor, flags); colocation 1968 lib/pacemaker/pcmk_sched_colocation.c const pcmk__colocation_t *colocation, colocation 1975 lib/pacemaker/pcmk_sched_colocation.c && (colocation != NULL)); colocation 1988 lib/pacemaker/pcmk_sched_colocation.c colocation->id); colocation 1999 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 1168 lib/pacemaker/pcmk_sched_promotable.c const pcmk__colocation_t *colocation) colocation 1173 lib/pacemaker/pcmk_sched_promotable.c const char *attr = colocation->node_attribute; colocation 1175 lib/pacemaker/pcmk_sched_promotable.c if (colocation->score >= PCMK_SCORE_INFINITY) { colocation 1181 lib/pacemaker/pcmk_sched_promotable.c pcmk__rsc_trace(colocation->primary, colocation 1183 lib/pacemaker/pcmk_sched_promotable.c colocation->id, colocation->dependent->id, colocation 1184 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, pcmk__node_name(primary_node), colocation 1185 lib/pacemaker/pcmk_sched_promotable.c attr, colocation->score, dependent->id); colocation 1193 lib/pacemaker/pcmk_sched_promotable.c node->weight = pcmk__add_scores(node->weight, colocation->score); colocation 1194 lib/pacemaker/pcmk_sched_promotable.c pcmk__rsc_trace(colocation->primary, colocation 1196 lib/pacemaker/pcmk_sched_promotable.c colocation->id, colocation 1197 lib/pacemaker/pcmk_sched_promotable.c pcmk_readable_score(colocation->score), colocation 1214 lib/pacemaker/pcmk_sched_promotable.c const pcmk__colocation_t *colocation) colocation 1229 lib/pacemaker/pcmk_sched_promotable.c if (instance->fns->state(instance, FALSE) == colocation->primary_role) { colocation 1231 lib/pacemaker/pcmk_sched_promotable.c colocation); colocation 1243 lib/pacemaker/pcmk_sched_promotable.c if ((colocation->score >= PCMK_SCORE_INFINITY) colocation 1244 lib/pacemaker/pcmk_sched_promotable.c && ((colocation->dependent_role != pcmk_role_promoted) colocation 1245 lib/pacemaker/pcmk_sched_promotable.c || (colocation->primary_role != pcmk_role_promoted))) { colocation 1247 lib/pacemaker/pcmk_sched_promotable.c pcmk__rsc_trace(colocation->primary, colocation 1249 lib/pacemaker/pcmk_sched_promotable.c colocation->id, colocation->dependent->id, colocation 1250 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, dependent->id); colocation 1251 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 pcmk__rsc_trace(colocation->primary, colocation 1287 lib/pacemaker/pcmk_sched_promotable.c colocation->id, colocation->dependent->id, colocation 1288 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, dependent->id, colocation 1290 lib/pacemaker/pcmk_sched_promotable.c pcmk_readable_score(colocation->score), colocation 1293 lib/pacemaker/pcmk_sched_promotable.c return colocation->score; colocation 1296 lib/pacemaker/pcmk_sched_promotable.c if (colocation->score >= PCMK_SCORE_INFINITY) { colocation 1298 lib/pacemaker/pcmk_sched_promotable.c pcmk__rsc_trace(colocation->primary, colocation 1300 lib/pacemaker/pcmk_sched_promotable.c colocation->id, colocation->dependent->id, colocation 1301 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, dependent->id);