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 1111 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *constraint, constraint 1123 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *constraint, constraint 1130 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(constraint != NULL, return); constraint 1131 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(rsc_lh != NULL, pe_err("rsc_lh was NULL for %s", constraint->id); return); constraint 1132 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(rsc_rh != NULL, pe_err("rsc_rh was NULL for %s", constraint->id); return); constraint 1136 lib/pacemaker/pcmk_sched_clone.c constraint->id, rsc_lh->id, rsc_rh->id, constraint->score); constraint 1142 lib/pacemaker/pcmk_sched_clone.c } else if (constraint->role_rh == RSC_ROLE_UNKNOWN) { constraint 1143 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(rsc_rh, "Handling %s as a clone colocation", constraint->id); constraint 1145 lib/pacemaker/pcmk_sched_clone.c promotable_colocation_rh(rsc_lh, rsc_rh, constraint, data_set); constraint 1151 lib/pacemaker/pcmk_sched_clone.c interleave_s = g_hash_table_lookup(constraint->rsc_lh->meta, XML_RSC_ATTR_INTERLEAVE); constraint 1152 lib/pacemaker/pcmk_sched_clone.c if(crm_is_true(interleave_s) && constraint->rsc_lh->variant > pe_group) { constraint 1154 lib/pacemaker/pcmk_sched_clone.c if (copies_per_node(constraint->rsc_lh) != copies_per_node(constraint->rsc_rh)) { constraint 1157 lib/pacemaker/pcmk_sched_clone.c constraint->rsc_lh->id, constraint->rsc_rh->id); constraint 1176 lib/pacemaker/pcmk_sched_clone.c rsc_lh->cmds->rsc_colocation_lh(rsc_lh, rh_child, constraint, constraint 1179 lib/pacemaker/pcmk_sched_clone.c } else if (constraint->score >= INFINITY) { constraint 1189 lib/pacemaker/pcmk_sched_clone.c } else if (constraint->score >= INFINITY) { constraint 1198 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(rsc_rh, "Allowing %s: %s %d", constraint->id, chosen->details->uname, chosen->weight); constraint 1212 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->rsc_colocation_rh(rsc_lh, child_rsc, constraint, constraint 1312 lib/pacemaker/pcmk_sched_clone.c clone_rsc_location(pe_resource_t *rsc, pe__location_t *constraint) constraint 1316 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(rsc, "Processing location constraint %s for %s", constraint->id, rsc->id); constraint 1318 lib/pacemaker/pcmk_sched_clone.c native_rsc_location(rsc, constraint); constraint 1323 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->rsc_location(child_rsc, constraint); constraint 61 lib/pacemaker/pcmk_sched_group.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) cons_iter->data; constraint 63 lib/pacemaker/pcmk_sched_group.c if (constraint->score == INFINITY) { constraint 64 lib/pacemaker/pcmk_sched_group.c member->rsc_cons = g_list_prepend(member->rsc_cons, constraint); constraint 335 lib/pacemaker/pcmk_sched_group.c pcmk__colocation_t *constraint, constraint 342 lib/pacemaker/pcmk_sched_group.c pe_err("rsc_lh was NULL for %s", constraint->id); constraint 346 lib/pacemaker/pcmk_sched_group.c pe_err("rsc_rh was NULL for %s", constraint->id); constraint 357 lib/pacemaker/pcmk_sched_group.c rsc_rh, constraint, constraint 361 lib/pacemaker/pcmk_sched_group.c } else if (constraint->score >= INFINITY) { constraint 371 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_colocation_lh(child_rsc, rsc_rh, constraint, constraint 378 lib/pacemaker/pcmk_sched_group.c pcmk__colocation_t *constraint, constraint 388 lib/pacemaker/pcmk_sched_group.c rsc_rh->id, constraint->id, rsc_lh->id); constraint 394 lib/pacemaker/pcmk_sched_group.c if (constraint->score >= INFINITY) { constraint 398 lib/pacemaker/pcmk_sched_group.c constraint, constraint 404 lib/pacemaker/pcmk_sched_group.c constraint, constraint 410 lib/pacemaker/pcmk_sched_group.c } else if (constraint->score >= INFINITY) { constraint 419 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_colocation_rh(rsc_lh, child_rsc, constraint, constraint 496 lib/pacemaker/pcmk_sched_group.c group_rsc_location(pe_resource_t *rsc, pe__location_t *constraint) constraint 499 lib/pacemaker/pcmk_sched_group.c GList *saved = constraint->node_list_rh; constraint 500 lib/pacemaker/pcmk_sched_group.c GList *zero = pcmk__copy_node_list(constraint->node_list_rh, true); constraint 506 lib/pacemaker/pcmk_sched_group.c pe_rsc_debug(rsc, "Processing rsc_location %s for %s", constraint->id, rsc->id); constraint 508 lib/pacemaker/pcmk_sched_group.c native_rsc_location(rsc, constraint); constraint 513 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_location(child_rsc, constraint); constraint 516 lib/pacemaker/pcmk_sched_group.c constraint->node_list_rh = zero; constraint 520 lib/pacemaker/pcmk_sched_group.c constraint->node_list_rh = saved; constraint 561 lib/pacemaker/pcmk_sched_group.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 563 lib/pacemaker/pcmk_sched_group.c nodes = pcmk__native_merge_weights(constraint->rsc_lh, rsc->id, nodes, constraint 564 lib/pacemaker/pcmk_sched_group.c constraint->node_attribute, constraint 565 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 1711 lib/pacemaker/pcmk_sched_native.c pcmk__colocation_t *constraint, constraint 1715 lib/pacemaker/pcmk_sched_native.c pe_err("rsc_lh was NULL for %s", constraint->id); constraint 1718 lib/pacemaker/pcmk_sched_native.c } else if (constraint->rsc_rh == NULL) { constraint 1719 lib/pacemaker/pcmk_sched_native.c pe_err("rsc_rh was NULL for %s", constraint->id); constraint 1726 lib/pacemaker/pcmk_sched_native.c rsc_rh->cmds->rsc_colocation_rh(rsc_lh, rsc_rh, constraint, data_set); constraint 1731 lib/pacemaker/pcmk_sched_native.c pcmk__colocation_t *constraint, gboolean preview) constraint 1738 lib/pacemaker/pcmk_sched_native.c if ((constraint->role_lh >= RSC_ROLE_UNPROMOTED) && constraint 1756 lib/pacemaker/pcmk_sched_native.c if (constraint->score >= INFINITY) { constraint 1767 lib/pacemaker/pcmk_sched_native.c } else if (constraint->score <= -INFINITY) { constraint 1780 lib/pacemaker/pcmk_sched_native.c if (constraint->score > 0 constraint 1781 lib/pacemaker/pcmk_sched_native.c && constraint->role_lh != RSC_ROLE_UNKNOWN && constraint->role_lh != rsc_lh->next_role) { constraint 1783 lib/pacemaker/pcmk_sched_native.c role2text(constraint->role_lh), role2text(rsc_lh->next_role)); constraint 1787 lib/pacemaker/pcmk_sched_native.c if (constraint->score > 0 constraint 1788 lib/pacemaker/pcmk_sched_native.c && constraint->role_rh != RSC_ROLE_UNKNOWN && constraint->role_rh != rsc_rh->next_role) { constraint 1789 lib/pacemaker/pcmk_sched_native.c crm_trace("RH: Skipping constraint: \"%s\" state filter", role2text(constraint->role_rh)); constraint 1793 lib/pacemaker/pcmk_sched_native.c if (constraint->score < 0 constraint 1794 lib/pacemaker/pcmk_sched_native.c && constraint->role_lh != RSC_ROLE_UNKNOWN && constraint->role_lh == rsc_lh->next_role) { constraint 1796 lib/pacemaker/pcmk_sched_native.c role2text(constraint->role_lh)); constraint 1800 lib/pacemaker/pcmk_sched_native.c if (constraint->score < 0 constraint 1801 lib/pacemaker/pcmk_sched_native.c && constraint->role_rh != RSC_ROLE_UNKNOWN && constraint->role_rh == rsc_rh->next_role) { constraint 1803 lib/pacemaker/pcmk_sched_native.c role2text(constraint->role_rh)); constraint 1812 lib/pacemaker/pcmk_sched_native.c pcmk__colocation_t *constraint) constraint 1823 lib/pacemaker/pcmk_sched_native.c if (constraint->node_attribute != NULL) { constraint 1824 lib/pacemaker/pcmk_sched_native.c attribute = constraint->node_attribute; constraint 1831 lib/pacemaker/pcmk_sched_native.c if ((constraint->score == INFINITY) constraint 1832 lib/pacemaker/pcmk_sched_native.c && (constraint->role_lh == RSC_ROLE_PROMOTED)) { constraint 1838 lib/pacemaker/pcmk_sched_native.c if (constraint->role_rh && (constraint->role_rh != rsc_rh->next_role)) { constraint 1842 lib/pacemaker/pcmk_sched_native.c if (constraint->role_lh == RSC_ROLE_UNPROMOTED) { constraint 1846 lib/pacemaker/pcmk_sched_native.c rsc_lh->priority = pe__add_scores(score_multiplier * constraint->score, constraint 1852 lib/pacemaker/pcmk_sched_native.c pcmk__colocation_t *constraint) constraint 1860 lib/pacemaker/pcmk_sched_native.c if (constraint->node_attribute != NULL) { constraint 1861 lib/pacemaker/pcmk_sched_native.c attribute = constraint->node_attribute; constraint 1867 lib/pacemaker/pcmk_sched_native.c } else if (constraint->score < 0) { constraint 1878 lib/pacemaker/pcmk_sched_native.c constraint->id, rsc_lh->id, node->details->uname, constraint 1879 lib/pacemaker/pcmk_sched_native.c constraint->score, rsc_rh->id); constraint 1880 lib/pacemaker/pcmk_sched_native.c node->weight = pe__add_scores(-constraint->score, node->weight); constraint 1883 lib/pacemaker/pcmk_sched_native.c if (constraint->score < CRM_SCORE_INFINITY) { constraint 1885 lib/pacemaker/pcmk_sched_native.c constraint->id, rsc_lh->id, constraint 1886 lib/pacemaker/pcmk_sched_native.c node->details->uname, constraint->score); 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 } else if (constraint->score >= CRM_SCORE_INFINITY) { constraint 1892 lib/pacemaker/pcmk_sched_native.c constraint->id, rsc_lh->id, node->details->uname, constraint 1893 lib/pacemaker/pcmk_sched_native.c constraint->score, attribute); constraint 1894 lib/pacemaker/pcmk_sched_native.c node->weight = pe__add_scores(-constraint->score, node->weight); constraint 1899 lib/pacemaker/pcmk_sched_native.c || constraint->score <= -INFINITY || constraint->score >= INFINITY) { constraint 1917 lib/pacemaker/pcmk_sched_native.c pcmk__colocation_t *constraint, constraint 1924 lib/pacemaker/pcmk_sched_native.c filter_results = filter_colocation_constraint(rsc_lh, rsc_rh, constraint, FALSE); constraint 1926 lib/pacemaker/pcmk_sched_native.c ((constraint->score > 0)? "Colocating" : "Anti-colocating"), constraint 1927 lib/pacemaker/pcmk_sched_native.c rsc_lh->id, rsc_rh->id, constraint->id, constraint->score, filter_results); constraint 1931 lib/pacemaker/pcmk_sched_native.c influence_priority(rsc_lh, rsc_rh, constraint); constraint 1934 lib/pacemaker/pcmk_sched_native.c colocation_match(rsc_lh, rsc_rh, constraint); constraint 2288 lib/pacemaker/pcmk_sched_native.c native_rsc_location(pe_resource_t *rsc, pe__location_t *constraint) constraint 2293 lib/pacemaker/pcmk_sched_native.c CRM_CHECK((constraint != NULL) && (rsc != NULL), return); constraint 2296 lib/pacemaker/pcmk_sched_native.c need_role = (constraint->role_filter > RSC_ROLE_UNKNOWN); constraint 2297 lib/pacemaker/pcmk_sched_native.c if (need_role && (constraint->role_filter != rsc->next_role)) { constraint 2300 lib/pacemaker/pcmk_sched_native.c constraint->id, rsc->id, role2text(rsc->next_role), constraint 2301 lib/pacemaker/pcmk_sched_native.c role2text(constraint->role_filter)); constraint 2305 lib/pacemaker/pcmk_sched_native.c if (constraint->node_list_rh == NULL) { constraint 2307 lib/pacemaker/pcmk_sched_native.c constraint->id, rsc->id); constraint 2311 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc, "Applying %s%s%s to %s", constraint->id, constraint 2313 lib/pacemaker/pcmk_sched_native.c (need_role? role2text(constraint->role_filter) : ""), rsc->id); constraint 2315 lib/pacemaker/pcmk_sched_native.c for (gIter = constraint->node_list_rh; gIter != NULL; gIter = gIter->next) { constraint 2334 lib/pacemaker/pcmk_sched_native.c if (other_node->rsc_discover_mode < constraint->discover_mode) { constraint 2335 lib/pacemaker/pcmk_sched_native.c if (constraint->discover_mode == pe_discover_exclusive) { constraint 2339 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) {