constraint 59 include/pcmki/pcmki_sched_allocate.h pcmk__colocation_t *constraint, constraint 62 include/pcmki/pcmki_sched_allocate.h pcmk__colocation_t *constraint, constraint 68 include/pcmki/pcmki_sched_allocate.h void native_rsc_location(pe_resource_t *rsc, pe__location_t *constraint); constraint 79 include/pcmki/pcmki_sched_allocate.h pcmk__colocation_t *constraint, constraint 82 include/pcmki/pcmki_sched_allocate.h pcmk__colocation_t *constraint, constraint 85 include/pcmki/pcmki_sched_allocate.h void group_rsc_location(pe_resource_t *rsc, pe__location_t *constraint); constraint 100 include/pcmki/pcmki_sched_allocate.h pcmk__colocation_t *constraint, constraint 104 include/pcmki/pcmki_sched_allocate.h pcmk__colocation_t *constraint, constraint 106 include/pcmki/pcmki_sched_allocate.h void pcmk__bundle_rsc_location(pe_resource_t *rsc, pe__location_t *constraint); constraint 117 include/pcmki/pcmki_sched_allocate.h pcmk__colocation_t *constraint, constraint 120 include/pcmki/pcmki_sched_allocate.h pcmk__colocation_t *constraint, constraint 122 include/pcmki/pcmki_sched_allocate.h void clone_rsc_location(pe_resource_t *rsc, pe__location_t *constraint); constraint 136 include/pcmki/pcmki_sched_allocate.h pcmk__colocation_t *constraint, constraint 22 include/pcmki/pcmki_sched_utils.h pcmk__colocation_t *invert_constraint(pcmk__colocation_t *constraint); constraint 24 include/pcmki/pcmki_sched_utils.h pe__location_t *copy_constraint(pe__location_t *constraint); constraint 73 include/pcmki/pcmki_sched_utils.h pcmk__colocation_t *constraint, gboolean preview); constraint 432 lib/pacemaker/pcmk_sched_bundle.c pcmk__colocation_t *constraint, constraint 485 lib/pacemaker/pcmk_sched_bundle.c pcmk__colocation_t *constraint, constraint 491 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(constraint != NULL, return); constraint 492 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc_lh != NULL, pe_err("rsc_lh was NULL for %s", constraint->id); return); constraint 493 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc != NULL, pe_err("rsc was NULL for %s", constraint->id); return); constraint 500 lib/pacemaker/pcmk_sched_bundle.c } else if(constraint->rsc_lh->variant > pe_group) { constraint 507 lib/pacemaker/pcmk_sched_bundle.c rsc_lh->cmds->rsc_colocation_lh(rsc_lh, rh_child, constraint, constraint 510 lib/pacemaker/pcmk_sched_bundle.c } else if (constraint->score >= INFINITY) { constraint 523 lib/pacemaker/pcmk_sched_bundle.c constraint->id, rsc_lh->id, rsc->id, constraint->score); constraint 529 lib/pacemaker/pcmk_sched_bundle.c if (constraint->score < INFINITY) { constraint 532 lib/pacemaker/pcmk_sched_bundle.c constraint, data_set); constraint 542 lib/pacemaker/pcmk_sched_bundle.c if ((constraint->role_rh >= RSC_ROLE_PROMOTED) constraint 546 lib/pacemaker/pcmk_sched_bundle.c if ((constraint->role_rh >= RSC_ROLE_PROMOTED) constraint 551 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_trace(rsc, "Allowing %s: %s %d", constraint->id, chosen->details->uname, chosen->weight); constraint 556 lib/pacemaker/pcmk_sched_bundle.c if (constraint->score >= INFINITY) { constraint 876 lib/pacemaker/pcmk_sched_bundle.c pcmk__bundle_rsc_location(pe_resource_t *rsc, pe__location_t *constraint) constraint 881 lib/pacemaker/pcmk_sched_bundle.c native_rsc_location(rsc, constraint); constraint 889 lib/pacemaker/pcmk_sched_bundle.c constraint); constraint 892 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->rsc_location(replica->ip, constraint); constraint 897 lib/pacemaker/pcmk_sched_bundle.c && ((constraint->role_filter == RSC_ROLE_UNPROMOTED) constraint 898 lib/pacemaker/pcmk_sched_bundle.c || (constraint->role_filter == RSC_ROLE_PROMOTED))) { constraint 899 lib/pacemaker/pcmk_sched_bundle.c bundle_data->child->cmds->rsc_location(bundle_data->child, constraint); constraint 901 lib/pacemaker/pcmk_sched_bundle.c constraint); constraint 123 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 125 lib/pacemaker/pcmk_sched_clone.c crm_trace("Applying %s to %s", constraint->id, rsc1->id); constraint 127 lib/pacemaker/pcmk_sched_clone.c hash1 = pcmk__native_merge_weights(constraint->rsc_rh, rsc1->id, hash1, constraint 128 lib/pacemaker/pcmk_sched_clone.c constraint->node_attribute, constraint 129 lib/pacemaker/pcmk_sched_clone.c constraint->score / (float) INFINITY, constraint 136 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 138 lib/pacemaker/pcmk_sched_clone.c if (!pcmk__colocation_has_influence(constraint, rsc1)) { constraint 141 lib/pacemaker/pcmk_sched_clone.c crm_trace("Applying %s to %s", constraint->id, rsc1->id); constraint 143 lib/pacemaker/pcmk_sched_clone.c hash1 = pcmk__native_merge_weights(constraint->rsc_lh, rsc1->id, hash1, constraint 144 lib/pacemaker/pcmk_sched_clone.c constraint->node_attribute, constraint 145 lib/pacemaker/pcmk_sched_clone.c constraint->score / (float) INFINITY, constraint 153 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 155 lib/pacemaker/pcmk_sched_clone.c crm_trace("Applying %s to %s", constraint->id, rsc2->id); constraint 157 lib/pacemaker/pcmk_sched_clone.c hash2 = pcmk__native_merge_weights(constraint->rsc_rh, rsc2->id, hash2, constraint 158 lib/pacemaker/pcmk_sched_clone.c constraint->node_attribute, constraint 159 lib/pacemaker/pcmk_sched_clone.c constraint->score / (float) INFINITY, constraint 166 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 168 lib/pacemaker/pcmk_sched_clone.c if (!pcmk__colocation_has_influence(constraint, rsc2)) { constraint 171 lib/pacemaker/pcmk_sched_clone.c crm_trace("Applying %s to %s", constraint->id, rsc2->id); constraint 173 lib/pacemaker/pcmk_sched_clone.c hash2 = pcmk__native_merge_weights(constraint->rsc_lh, rsc2->id, hash2, constraint 174 lib/pacemaker/pcmk_sched_clone.c constraint->node_attribute, constraint 175 lib/pacemaker/pcmk_sched_clone.c constraint->score / (float) INFINITY, constraint 704 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 707 lib/pacemaker/pcmk_sched_clone.c rsc->id, constraint->rsc_rh->id); constraint 708 lib/pacemaker/pcmk_sched_clone.c constraint->rsc_rh->cmds->allocate(constraint->rsc_rh, prefer, data_set); constraint 712 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 714 lib/pacemaker/pcmk_sched_clone.c if (!pcmk__colocation_has_influence(constraint, NULL)) { constraint 718 lib/pacemaker/pcmk_sched_clone.c constraint->rsc_lh->cmds->merge_weights(constraint->rsc_lh, rsc->id, rsc->allowed_nodes, constraint 719 lib/pacemaker/pcmk_sched_clone.c constraint->node_attribute, constraint 720 lib/pacemaker/pcmk_sched_clone.c (float)constraint->score / INFINITY, constraint 1112 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *constraint, constraint 1124 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *constraint, constraint 1131 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(constraint != NULL, return); constraint 1132 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(rsc_lh != NULL, pe_err("rsc_lh was NULL for %s", constraint->id); return); constraint 1133 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(rsc_rh != NULL, pe_err("rsc_rh was NULL for %s", constraint->id); return); constraint 1137 lib/pacemaker/pcmk_sched_clone.c constraint->id, rsc_lh->id, rsc_rh->id, constraint->score); constraint 1143 lib/pacemaker/pcmk_sched_clone.c } else if (constraint->role_rh == RSC_ROLE_UNKNOWN) { constraint 1144 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(rsc_rh, "Handling %s as a clone colocation", constraint->id); constraint 1146 lib/pacemaker/pcmk_sched_clone.c promotable_colocation_rh(rsc_lh, rsc_rh, constraint, data_set); constraint 1152 lib/pacemaker/pcmk_sched_clone.c interleave_s = g_hash_table_lookup(constraint->rsc_lh->meta, XML_RSC_ATTR_INTERLEAVE); constraint 1153 lib/pacemaker/pcmk_sched_clone.c if(crm_is_true(interleave_s) && constraint->rsc_lh->variant > pe_group) { constraint 1155 lib/pacemaker/pcmk_sched_clone.c if (copies_per_node(constraint->rsc_lh) != copies_per_node(constraint->rsc_rh)) { constraint 1158 lib/pacemaker/pcmk_sched_clone.c constraint->rsc_lh->id, constraint->rsc_rh->id); constraint 1177 lib/pacemaker/pcmk_sched_clone.c rsc_lh->cmds->rsc_colocation_lh(rsc_lh, rh_child, constraint, constraint 1180 lib/pacemaker/pcmk_sched_clone.c } else if (constraint->score >= INFINITY) { constraint 1190 lib/pacemaker/pcmk_sched_clone.c } else if (constraint->score >= INFINITY) { constraint 1199 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(rsc_rh, "Allowing %s: %s %d", constraint->id, chosen->details->uname, chosen->weight); constraint 1213 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->rsc_colocation_rh(rsc_lh, child_rsc, constraint, constraint 1313 lib/pacemaker/pcmk_sched_clone.c clone_rsc_location(pe_resource_t *rsc, pe__location_t *constraint) constraint 1317 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(rsc, "Processing location constraint %s for %s", constraint->id, rsc->id); constraint 1319 lib/pacemaker/pcmk_sched_clone.c native_rsc_location(rsc, constraint); constraint 1324 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->rsc_location(child_rsc, constraint); constraint 291 lib/pacemaker/pcmk_sched_group.c pcmk__colocation_t *constraint, constraint 298 lib/pacemaker/pcmk_sched_group.c pe_err("rsc_lh was NULL for %s", constraint->id); constraint 302 lib/pacemaker/pcmk_sched_group.c pe_err("rsc_rh was NULL for %s", constraint->id); constraint 313 lib/pacemaker/pcmk_sched_group.c rsc_rh, constraint, constraint 317 lib/pacemaker/pcmk_sched_group.c } else if (constraint->score >= INFINITY) { constraint 327 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_colocation_lh(child_rsc, rsc_rh, constraint, constraint 334 lib/pacemaker/pcmk_sched_group.c pcmk__colocation_t *constraint, constraint 344 lib/pacemaker/pcmk_sched_group.c rsc_rh->id, constraint->id, rsc_lh->id); constraint 350 lib/pacemaker/pcmk_sched_group.c if (constraint->score >= INFINITY) { constraint 354 lib/pacemaker/pcmk_sched_group.c constraint, constraint 360 lib/pacemaker/pcmk_sched_group.c constraint, constraint 366 lib/pacemaker/pcmk_sched_group.c } else if (constraint->score >= INFINITY) { constraint 375 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_colocation_rh(rsc_lh, child_rsc, constraint, constraint 452 lib/pacemaker/pcmk_sched_group.c group_rsc_location(pe_resource_t *rsc, pe__location_t *constraint) constraint 455 lib/pacemaker/pcmk_sched_group.c GList *saved = constraint->node_list_rh; constraint 456 lib/pacemaker/pcmk_sched_group.c GList *zero = pcmk__copy_node_list(constraint->node_list_rh, true); constraint 462 lib/pacemaker/pcmk_sched_group.c pe_rsc_debug(rsc, "Processing rsc_location %s for %s", constraint->id, rsc->id); constraint 464 lib/pacemaker/pcmk_sched_group.c native_rsc_location(rsc, constraint); constraint 469 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_location(child_rsc, constraint); constraint 472 lib/pacemaker/pcmk_sched_group.c constraint->node_list_rh = zero; constraint 476 lib/pacemaker/pcmk_sched_group.c constraint->node_list_rh = saved; constraint 517 lib/pacemaker/pcmk_sched_group.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 519 lib/pacemaker/pcmk_sched_group.c nodes = pcmk__native_merge_weights(constraint->rsc_lh, rsc->id, nodes, constraint 520 lib/pacemaker/pcmk_sched_group.c constraint->node_attribute, constraint 521 lib/pacemaker/pcmk_sched_group.c constraint->score / (float) INFINITY, constraint 441 lib/pacemaker/pcmk_sched_native.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 444 lib/pacemaker/pcmk_sched_native.c other = constraint->rsc_rh; constraint 445 lib/pacemaker/pcmk_sched_native.c } else if (!pcmk__colocation_has_influence(constraint, NULL)) { constraint 448 lib/pacemaker/pcmk_sched_native.c other = constraint->rsc_lh; constraint 452 lib/pacemaker/pcmk_sched_native.c constraint->id, constraint->rsc_lh->id, constraint 453 lib/pacemaker/pcmk_sched_native.c constraint->rsc_rh->id); constraint 455 lib/pacemaker/pcmk_sched_native.c constraint->node_attribute, constraint 456 lib/pacemaker/pcmk_sched_native.c multiplier * constraint->score / (float) INFINITY, constraint 531 lib/pacemaker/pcmk_sched_native.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 534 lib/pacemaker/pcmk_sched_native.c pe_resource_t *rsc_rh = constraint->rsc_rh; constraint 536 lib/pacemaker/pcmk_sched_native.c if ((constraint->role_lh >= RSC_ROLE_PROMOTED) constraint 537 lib/pacemaker/pcmk_sched_native.c || (constraint->score < 0 && constraint->score > -INFINITY)) { constraint 543 lib/pacemaker/pcmk_sched_native.c rsc->id, rsc_rh->id, constraint->id, constraint 544 lib/pacemaker/pcmk_sched_native.c constraint->score, role2text(constraint->role_lh)); constraint 546 lib/pacemaker/pcmk_sched_native.c rsc->cmds->rsc_colocation_lh(rsc, rsc_rh, constraint, data_set); constraint 561 lib/pacemaker/pcmk_sched_native.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 563 lib/pacemaker/pcmk_sched_native.c if (!pcmk__colocation_has_influence(constraint, NULL)) { constraint 567 lib/pacemaker/pcmk_sched_native.c constraint->id, constraint->rsc_lh->id, constraint 568 lib/pacemaker/pcmk_sched_native.c constraint->rsc_rh->id); constraint 570 lib/pacemaker/pcmk_sched_native.c constraint->rsc_lh->cmds->merge_weights(constraint->rsc_lh, rsc->id, rsc->allowed_nodes, constraint 571 lib/pacemaker/pcmk_sched_native.c constraint->node_attribute, constraint 572 lib/pacemaker/pcmk_sched_native.c (float)constraint->score / INFINITY, constraint 1718 lib/pacemaker/pcmk_sched_native.c pcmk__colocation_t *constraint, constraint 1722 lib/pacemaker/pcmk_sched_native.c pe_err("rsc_lh was NULL for %s", constraint->id); constraint 1725 lib/pacemaker/pcmk_sched_native.c } else if (constraint->rsc_rh == NULL) { constraint 1726 lib/pacemaker/pcmk_sched_native.c pe_err("rsc_rh was NULL for %s", constraint->id); constraint 1733 lib/pacemaker/pcmk_sched_native.c rsc_rh->cmds->rsc_colocation_rh(rsc_lh, rsc_rh, constraint, data_set); constraint 1738 lib/pacemaker/pcmk_sched_native.c pcmk__colocation_t *constraint, gboolean preview) constraint 1745 lib/pacemaker/pcmk_sched_native.c if ((constraint->role_lh >= RSC_ROLE_UNPROMOTED) && constraint 1763 lib/pacemaker/pcmk_sched_native.c if (constraint->score >= INFINITY) { constraint 1774 lib/pacemaker/pcmk_sched_native.c } else if (constraint->score <= -INFINITY) { constraint 1787 lib/pacemaker/pcmk_sched_native.c if (constraint->score > 0 constraint 1788 lib/pacemaker/pcmk_sched_native.c && constraint->role_lh != RSC_ROLE_UNKNOWN && constraint->role_lh != rsc_lh->next_role) { constraint 1790 lib/pacemaker/pcmk_sched_native.c role2text(constraint->role_lh), role2text(rsc_lh->next_role)); constraint 1794 lib/pacemaker/pcmk_sched_native.c if (constraint->score > 0 constraint 1795 lib/pacemaker/pcmk_sched_native.c && constraint->role_rh != RSC_ROLE_UNKNOWN && constraint->role_rh != rsc_rh->next_role) { constraint 1796 lib/pacemaker/pcmk_sched_native.c crm_trace("RH: Skipping constraint: \"%s\" state filter", role2text(constraint->role_rh)); constraint 1800 lib/pacemaker/pcmk_sched_native.c if (constraint->score < 0 constraint 1801 lib/pacemaker/pcmk_sched_native.c && constraint->role_lh != RSC_ROLE_UNKNOWN && constraint->role_lh == rsc_lh->next_role) { constraint 1803 lib/pacemaker/pcmk_sched_native.c role2text(constraint->role_lh)); constraint 1807 lib/pacemaker/pcmk_sched_native.c if (constraint->score < 0 constraint 1808 lib/pacemaker/pcmk_sched_native.c && constraint->role_rh != RSC_ROLE_UNKNOWN && constraint->role_rh == rsc_rh->next_role) { constraint 1810 lib/pacemaker/pcmk_sched_native.c role2text(constraint->role_rh)); constraint 1819 lib/pacemaker/pcmk_sched_native.c pcmk__colocation_t *constraint) constraint 1830 lib/pacemaker/pcmk_sched_native.c if (constraint->node_attribute != NULL) { constraint 1831 lib/pacemaker/pcmk_sched_native.c attribute = constraint->node_attribute; constraint 1838 lib/pacemaker/pcmk_sched_native.c if ((constraint->score == INFINITY) constraint 1839 lib/pacemaker/pcmk_sched_native.c && (constraint->role_lh == RSC_ROLE_PROMOTED)) { constraint 1845 lib/pacemaker/pcmk_sched_native.c if (constraint->role_rh && (constraint->role_rh != rsc_rh->next_role)) { constraint 1849 lib/pacemaker/pcmk_sched_native.c if (constraint->role_lh == RSC_ROLE_UNPROMOTED) { constraint 1853 lib/pacemaker/pcmk_sched_native.c rsc_lh->priority = pe__add_scores(score_multiplier * constraint->score, constraint 1859 lib/pacemaker/pcmk_sched_native.c pcmk__colocation_t *constraint) constraint 1867 lib/pacemaker/pcmk_sched_native.c if (constraint->node_attribute != NULL) { constraint 1868 lib/pacemaker/pcmk_sched_native.c attribute = constraint->node_attribute; constraint 1874 lib/pacemaker/pcmk_sched_native.c } else if (constraint->score < 0) { constraint 1885 lib/pacemaker/pcmk_sched_native.c constraint->id, rsc_lh->id, node->details->uname, constraint 1886 lib/pacemaker/pcmk_sched_native.c constraint->score, rsc_rh->id); constraint 1887 lib/pacemaker/pcmk_sched_native.c node->weight = pe__add_scores(-constraint->score, node->weight); constraint 1890 lib/pacemaker/pcmk_sched_native.c if (constraint->score < CRM_SCORE_INFINITY) { constraint 1892 lib/pacemaker/pcmk_sched_native.c constraint->id, rsc_lh->id, constraint 1893 lib/pacemaker/pcmk_sched_native.c node->details->uname, constraint->score); constraint 1894 lib/pacemaker/pcmk_sched_native.c node->weight = pe__add_scores(constraint->score, node->weight); constraint 1897 lib/pacemaker/pcmk_sched_native.c } else if (constraint->score >= CRM_SCORE_INFINITY) { constraint 1899 lib/pacemaker/pcmk_sched_native.c constraint->id, rsc_lh->id, node->details->uname, constraint 1900 lib/pacemaker/pcmk_sched_native.c constraint->score, attribute); constraint 1901 lib/pacemaker/pcmk_sched_native.c node->weight = pe__add_scores(-constraint->score, node->weight); constraint 1906 lib/pacemaker/pcmk_sched_native.c || constraint->score <= -INFINITY || constraint->score >= INFINITY) { constraint 1924 lib/pacemaker/pcmk_sched_native.c pcmk__colocation_t *constraint, constraint 1931 lib/pacemaker/pcmk_sched_native.c filter_results = filter_colocation_constraint(rsc_lh, rsc_rh, constraint, FALSE); constraint 1933 lib/pacemaker/pcmk_sched_native.c ((constraint->score > 0)? "Colocating" : "Anti-colocating"), constraint 1934 lib/pacemaker/pcmk_sched_native.c rsc_lh->id, rsc_rh->id, constraint->id, constraint->score, filter_results); constraint 1938 lib/pacemaker/pcmk_sched_native.c influence_priority(rsc_lh, rsc_rh, constraint); constraint 1941 lib/pacemaker/pcmk_sched_native.c colocation_match(rsc_lh, rsc_rh, constraint); constraint 2289 lib/pacemaker/pcmk_sched_native.c native_rsc_location(pe_resource_t *rsc, pe__location_t *constraint) constraint 2294 lib/pacemaker/pcmk_sched_native.c CRM_CHECK((constraint != NULL) && (rsc != NULL), return); constraint 2297 lib/pacemaker/pcmk_sched_native.c need_role = (constraint->role_filter > RSC_ROLE_UNKNOWN); constraint 2298 lib/pacemaker/pcmk_sched_native.c if (need_role && (constraint->role_filter != rsc->next_role)) { constraint 2301 lib/pacemaker/pcmk_sched_native.c constraint->id, rsc->id, role2text(rsc->next_role), constraint 2302 lib/pacemaker/pcmk_sched_native.c role2text(constraint->role_filter)); constraint 2306 lib/pacemaker/pcmk_sched_native.c if (constraint->node_list_rh == NULL) { constraint 2308 lib/pacemaker/pcmk_sched_native.c constraint->id, rsc->id); constraint 2312 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc, "Applying %s%s%s to %s", constraint->id, constraint 2314 lib/pacemaker/pcmk_sched_native.c (need_role? role2text(constraint->role_filter) : ""), rsc->id); constraint 2316 lib/pacemaker/pcmk_sched_native.c for (gIter = constraint->node_list_rh; gIter != NULL; gIter = gIter->next) { constraint 2335 lib/pacemaker/pcmk_sched_native.c if (other_node->rsc_discover_mode < constraint->discover_mode) { constraint 2336 lib/pacemaker/pcmk_sched_native.c if (constraint->discover_mode == pe_discover_exclusive) { constraint 2340 lib/pacemaker/pcmk_sched_native.c other_node->rsc_discover_mode = constraint->discover_mode; constraint 328 lib/pacemaker/pcmk_sched_promotable.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 333 lib/pacemaker/pcmk_sched_promotable.c if (constraint->role_lh == RSC_ROLE_PROMOTED) { constraint 334 lib/pacemaker/pcmk_sched_promotable.c enum pe_weights flags = constraint->score == INFINITY ? 0 : pe_weights_rollback; constraint 336 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "RHS: %s with %s: %d", constraint->rsc_lh->id, constraint->rsc_rh->id, constraint 337 lib/pacemaker/pcmk_sched_promotable.c constraint->score); constraint 339 lib/pacemaker/pcmk_sched_promotable.c constraint->rsc_rh->cmds->merge_weights(constraint->rsc_rh, rsc->id, constraint 341 lib/pacemaker/pcmk_sched_promotable.c constraint->node_attribute, constraint 342 lib/pacemaker/pcmk_sched_promotable.c (float)constraint->score / INFINITY, flags); constraint 348 lib/pacemaker/pcmk_sched_promotable.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 350 lib/pacemaker/pcmk_sched_promotable.c if (!pcmk__colocation_has_influence(constraint, NULL)) { constraint 357 lib/pacemaker/pcmk_sched_promotable.c if (constraint->role_rh == RSC_ROLE_PROMOTED) { constraint 358 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "LHS: %s with %s: %d", constraint->rsc_lh->id, constraint->rsc_rh->id, constraint 359 lib/pacemaker/pcmk_sched_promotable.c constraint->score); constraint 361 lib/pacemaker/pcmk_sched_promotable.c constraint->rsc_lh->cmds->merge_weights(constraint->rsc_lh, rsc->id, constraint 363 lib/pacemaker/pcmk_sched_promotable.c constraint->node_attribute, constraint 364 lib/pacemaker/pcmk_sched_promotable.c (float)constraint->score / INFINITY, constraint 975 lib/pacemaker/pcmk_sched_promotable.c pcmk__colocation_t *constraint, constraint 989 lib/pacemaker/pcmk_sched_promotable.c if (chosen != NULL && next_role == constraint->role_rh) { constraint 991 lib/pacemaker/pcmk_sched_promotable.c role2text(next_role), chosen->details->uname, constraint->score); constraint 992 lib/pacemaker/pcmk_sched_promotable.c if (constraint->score < INFINITY) { constraint 994 lib/pacemaker/pcmk_sched_promotable.c constraint->node_attribute, constraint->score); constraint 1004 lib/pacemaker/pcmk_sched_promotable.c if ((constraint->role_lh != RSC_ROLE_PROMOTED) constraint 1005 lib/pacemaker/pcmk_sched_promotable.c || (constraint->role_rh != RSC_ROLE_PROMOTED)) { constraint 1007 lib/pacemaker/pcmk_sched_promotable.c if (constraint->score >= INFINITY) { constraint 1013 lib/pacemaker/pcmk_sched_promotable.c } else if (constraint->role_lh == RSC_ROLE_PROMOTED) { constraint 1015 lib/pacemaker/pcmk_sched_promotable.c constraint->role_rh, constraint 1018 lib/pacemaker/pcmk_sched_promotable.c if (rh_child == NULL && constraint->score >= INFINITY) { constraint 1019 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc_lh, "%s can't be promoted %s", rsc_lh->id, constraint->id); constraint 1024 lib/pacemaker/pcmk_sched_promotable.c constraint->score); constraint 1026 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_debug(rsc_lh, "Applying %s to %s", constraint->id, rsc_lh->id); constraint 294 lib/pacemaker/pcmk_sched_utilization.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 295 lib/pacemaker/pcmk_sched_utilization.c pe_resource_t *rsc_rh = constraint->rsc_rh; constraint 302 lib/pacemaker/pcmk_sched_utilization.c if (constraint->score == INFINITY constraint 303 lib/pacemaker/pcmk_sched_utilization.c && filter_colocation_constraint(rsc, rsc_rh, constraint, TRUE) == influence_rsc_location) { constraint 316 lib/pacemaker/pcmk_sched_utilization.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 317 lib/pacemaker/pcmk_sched_utilization.c pe_resource_t *rsc_lh = constraint->rsc_lh; constraint 329 lib/pacemaker/pcmk_sched_utilization.c if (constraint->score == INFINITY constraint 330 lib/pacemaker/pcmk_sched_utilization.c && filter_colocation_constraint(rsc_lh, rsc, constraint, TRUE) == influence_rsc_location) {