constraint 59 include/pcmki/pcmki_sched_allocate.h rsc_colocation_t *constraint, constraint 62 include/pcmki/pcmki_sched_allocate.h rsc_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 rsc_colocation_t *constraint, constraint 82 include/pcmki/pcmki_sched_allocate.h rsc_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 rsc_colocation_t *constraint, constraint 104 include/pcmki/pcmki_sched_allocate.h rsc_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 rsc_colocation_t *constraint, constraint 120 include/pcmki/pcmki_sched_allocate.h rsc_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 rsc_colocation_t *constraint, constraint 23 include/pcmki/pcmki_sched_utils.h extern rsc_colocation_t *invert_constraint(rsc_colocation_t * constraint); constraint 25 include/pcmki/pcmki_sched_utils.h pe__location_t *copy_constraint(pe__location_t *constraint); constraint 74 include/pcmki/pcmki_sched_utils.h rsc_colocation_t * constraint, gboolean preview); constraint 428 lib/pacemaker/pcmk_sched_bundle.c rsc_colocation_t *constraint, constraint 472 lib/pacemaker/pcmk_sched_bundle.c rsc_colocation_t *constraint, constraint 478 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(constraint != NULL, return); constraint 479 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc_lh != NULL, pe_err("rsc_lh was NULL for %s", constraint->id); return); constraint 480 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(rsc != NULL, pe_err("rsc was NULL for %s", constraint->id); return); constraint 483 lib/pacemaker/pcmk_sched_bundle.c if (constraint->score == 0) { constraint 490 lib/pacemaker/pcmk_sched_bundle.c } else if(constraint->rsc_lh->variant > pe_group) { constraint 497 lib/pacemaker/pcmk_sched_bundle.c rsc_lh->cmds->rsc_colocation_lh(rsc_lh, rh_child, constraint, constraint 500 lib/pacemaker/pcmk_sched_bundle.c } else if (constraint->score >= INFINITY) { constraint 513 lib/pacemaker/pcmk_sched_bundle.c constraint->id, rsc_lh->id, rsc->id, constraint->score); constraint 519 lib/pacemaker/pcmk_sched_bundle.c if (constraint->score < INFINITY) { constraint 522 lib/pacemaker/pcmk_sched_bundle.c constraint, data_set); constraint 532 lib/pacemaker/pcmk_sched_bundle.c if ((constraint->role_rh >= RSC_ROLE_MASTER) constraint 536 lib/pacemaker/pcmk_sched_bundle.c if ((constraint->role_rh >= RSC_ROLE_MASTER) constraint 541 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_trace(rsc, "Allowing %s: %s %d", constraint->id, chosen->details->uname, chosen->weight); constraint 546 lib/pacemaker/pcmk_sched_bundle.c if (constraint->score >= INFINITY) { constraint 866 lib/pacemaker/pcmk_sched_bundle.c pcmk__bundle_rsc_location(pe_resource_t *rsc, pe__location_t *constraint) constraint 871 lib/pacemaker/pcmk_sched_bundle.c native_rsc_location(rsc, constraint); constraint 879 lib/pacemaker/pcmk_sched_bundle.c constraint); constraint 882 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->rsc_location(replica->ip, constraint); constraint 887 lib/pacemaker/pcmk_sched_bundle.c && ((constraint->role_filter == RSC_ROLE_SLAVE) constraint 888 lib/pacemaker/pcmk_sched_bundle.c || (constraint->role_filter == RSC_ROLE_MASTER))) { constraint 889 lib/pacemaker/pcmk_sched_bundle.c bundle_data->child->cmds->rsc_location(bundle_data->child, constraint); constraint 891 lib/pacemaker/pcmk_sched_bundle.c constraint); constraint 240 lib/pacemaker/pcmk_sched_clone.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; constraint 242 lib/pacemaker/pcmk_sched_clone.c if (constraint->score == 0) { constraint 245 lib/pacemaker/pcmk_sched_clone.c crm_trace("Applying %s to %s", constraint->id, resource1->id); constraint 247 lib/pacemaker/pcmk_sched_clone.c hash1 = pcmk__native_merge_weights(constraint->rsc_rh, constraint 249 lib/pacemaker/pcmk_sched_clone.c constraint->node_attribute, constraint 250 lib/pacemaker/pcmk_sched_clone.c constraint->score / (float) INFINITY, constraint 255 lib/pacemaker/pcmk_sched_clone.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; constraint 257 lib/pacemaker/pcmk_sched_clone.c if (constraint->score == 0) { constraint 260 lib/pacemaker/pcmk_sched_clone.c crm_trace("Applying %s to %s", constraint->id, resource1->id); constraint 262 lib/pacemaker/pcmk_sched_clone.c hash1 = pcmk__native_merge_weights(constraint->rsc_lh, constraint 264 lib/pacemaker/pcmk_sched_clone.c constraint->node_attribute, constraint 265 lib/pacemaker/pcmk_sched_clone.c constraint->score / (float) INFINITY, constraint 272 lib/pacemaker/pcmk_sched_clone.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; constraint 274 lib/pacemaker/pcmk_sched_clone.c crm_trace("Applying %s to %s", constraint->id, resource2->id); constraint 276 lib/pacemaker/pcmk_sched_clone.c hash2 = pcmk__native_merge_weights(constraint->rsc_rh, constraint 278 lib/pacemaker/pcmk_sched_clone.c constraint->node_attribute, constraint 279 lib/pacemaker/pcmk_sched_clone.c constraint->score / (float) INFINITY, constraint 284 lib/pacemaker/pcmk_sched_clone.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; constraint 286 lib/pacemaker/pcmk_sched_clone.c crm_trace("Applying %s to %s", constraint->id, resource2->id); constraint 288 lib/pacemaker/pcmk_sched_clone.c hash2 = pcmk__native_merge_weights(constraint->rsc_lh, constraint 290 lib/pacemaker/pcmk_sched_clone.c constraint->node_attribute, constraint 291 lib/pacemaker/pcmk_sched_clone.c constraint->score / (float) INFINITY, constraint 648 lib/pacemaker/pcmk_sched_clone.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; constraint 650 lib/pacemaker/pcmk_sched_clone.c if (constraint->score == 0) { constraint 654 lib/pacemaker/pcmk_sched_clone.c rsc->id, constraint->rsc_rh->id); constraint 655 lib/pacemaker/pcmk_sched_clone.c constraint->rsc_rh->cmds->allocate(constraint->rsc_rh, prefer, data_set); constraint 659 lib/pacemaker/pcmk_sched_clone.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; constraint 661 lib/pacemaker/pcmk_sched_clone.c if (constraint->score == 0) { constraint 665 lib/pacemaker/pcmk_sched_clone.c constraint->rsc_lh->cmds->merge_weights(constraint->rsc_lh, rsc->id, rsc->allowed_nodes, constraint 666 lib/pacemaker/pcmk_sched_clone.c constraint->node_attribute, constraint 667 lib/pacemaker/pcmk_sched_clone.c (float)constraint->score / INFINITY, constraint 1058 lib/pacemaker/pcmk_sched_clone.c rsc_colocation_t *constraint, constraint 1070 lib/pacemaker/pcmk_sched_clone.c rsc_colocation_t *constraint, constraint 1077 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(constraint != NULL, return); constraint 1078 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(rsc_lh != NULL, pe_err("rsc_lh was NULL for %s", constraint->id); return); constraint 1079 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(rsc_rh != NULL, pe_err("rsc_rh was NULL for %s", constraint->id); return); constraint 1082 lib/pacemaker/pcmk_sched_clone.c if (constraint->score == 0) { constraint 1086 lib/pacemaker/pcmk_sched_clone.c constraint->id, rsc_lh->id, rsc_rh->id, constraint->score); constraint 1092 lib/pacemaker/pcmk_sched_clone.c } else if (constraint->role_rh == RSC_ROLE_UNKNOWN) { constraint 1093 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(rsc_rh, "Handling %s as a clone colocation", constraint->id); constraint 1095 lib/pacemaker/pcmk_sched_clone.c promotable_colocation_rh(rsc_lh, rsc_rh, constraint, data_set); constraint 1101 lib/pacemaker/pcmk_sched_clone.c interleave_s = g_hash_table_lookup(constraint->rsc_lh->meta, XML_RSC_ATTR_INTERLEAVE); constraint 1102 lib/pacemaker/pcmk_sched_clone.c if(crm_is_true(interleave_s) && constraint->rsc_lh->variant > pe_group) { constraint 1104 lib/pacemaker/pcmk_sched_clone.c if (copies_per_node(constraint->rsc_lh) != copies_per_node(constraint->rsc_rh)) { constraint 1107 lib/pacemaker/pcmk_sched_clone.c constraint->rsc_lh->id, constraint->rsc_rh->id); constraint 1126 lib/pacemaker/pcmk_sched_clone.c rsc_lh->cmds->rsc_colocation_lh(rsc_lh, rh_child, constraint, constraint 1129 lib/pacemaker/pcmk_sched_clone.c } else if (constraint->score >= INFINITY) { constraint 1139 lib/pacemaker/pcmk_sched_clone.c } else if (constraint->score >= INFINITY) { constraint 1148 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(rsc_rh, "Allowing %s: %s %d", constraint->id, chosen->details->uname, chosen->weight); constraint 1162 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->rsc_colocation_rh(rsc_lh, child_rsc, constraint, constraint 1262 lib/pacemaker/pcmk_sched_clone.c clone_rsc_location(pe_resource_t *rsc, pe__location_t *constraint) constraint 1266 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(rsc, "Processing location constraint %s for %s", constraint->id, rsc->id); constraint 1268 lib/pacemaker/pcmk_sched_clone.c native_rsc_location(rsc, constraint); constraint 1273 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->rsc_location(child_rsc, constraint); constraint 285 lib/pacemaker/pcmk_sched_group.c rsc_colocation_t *constraint, constraint 292 lib/pacemaker/pcmk_sched_group.c pe_err("rsc_lh was NULL for %s", constraint->id); constraint 296 lib/pacemaker/pcmk_sched_group.c pe_err("rsc_rh was NULL for %s", constraint->id); constraint 299 lib/pacemaker/pcmk_sched_group.c if (constraint->score == 0) { constraint 310 lib/pacemaker/pcmk_sched_group.c rsc_rh, constraint, constraint 314 lib/pacemaker/pcmk_sched_group.c } else if (constraint->score >= INFINITY) { constraint 324 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_colocation_lh(child_rsc, rsc_rh, constraint, constraint 331 lib/pacemaker/pcmk_sched_group.c rsc_colocation_t *constraint, constraint 340 lib/pacemaker/pcmk_sched_group.c if (constraint->score == 0) { 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 GListPtr saved = constraint->node_list_rh; constraint 456 lib/pacemaker/pcmk_sched_group.c GListPtr 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 rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; constraint 519 lib/pacemaker/pcmk_sched_group.c if (constraint->score == 0) { constraint 522 lib/pacemaker/pcmk_sched_group.c nodes = pcmk__native_merge_weights(constraint->rsc_lh, rsc->id, nodes, constraint 523 lib/pacemaker/pcmk_sched_group.c constraint->node_attribute, constraint 524 lib/pacemaker/pcmk_sched_group.c constraint->score / (float) INFINITY, constraint 437 lib/pacemaker/pcmk_sched_native.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; constraint 439 lib/pacemaker/pcmk_sched_native.c if (constraint->score == 0) { constraint 444 lib/pacemaker/pcmk_sched_native.c other = constraint->rsc_rh; constraint 446 lib/pacemaker/pcmk_sched_native.c other = constraint->rsc_lh; constraint 450 lib/pacemaker/pcmk_sched_native.c constraint->id, constraint->rsc_lh->id, constraint 451 lib/pacemaker/pcmk_sched_native.c constraint->rsc_rh->id); constraint 453 lib/pacemaker/pcmk_sched_native.c constraint->node_attribute, constraint 454 lib/pacemaker/pcmk_sched_native.c multiplier * constraint->score / (float) INFINITY, constraint 529 lib/pacemaker/pcmk_sched_native.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; constraint 532 lib/pacemaker/pcmk_sched_native.c pe_resource_t *rsc_rh = constraint->rsc_rh; constraint 534 lib/pacemaker/pcmk_sched_native.c if (constraint->score == 0) { constraint 538 lib/pacemaker/pcmk_sched_native.c if (constraint->role_lh >= RSC_ROLE_MASTER constraint 539 lib/pacemaker/pcmk_sched_native.c || (constraint->score < 0 && constraint->score > -INFINITY)) { constraint 545 lib/pacemaker/pcmk_sched_native.c rsc->id, rsc_rh->id, constraint->id, constraint 546 lib/pacemaker/pcmk_sched_native.c constraint->score, role2text(constraint->role_lh)); constraint 548 lib/pacemaker/pcmk_sched_native.c rsc->cmds->rsc_colocation_lh(rsc, rsc_rh, constraint, data_set); constraint 563 lib/pacemaker/pcmk_sched_native.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; constraint 565 lib/pacemaker/pcmk_sched_native.c if (constraint->score == 0) { constraint 569 lib/pacemaker/pcmk_sched_native.c constraint->id, constraint->rsc_lh->id, constraint 570 lib/pacemaker/pcmk_sched_native.c constraint->rsc_rh->id); constraint 572 lib/pacemaker/pcmk_sched_native.c constraint->rsc_lh->cmds->merge_weights(constraint->rsc_lh, rsc->id, rsc->allowed_nodes, constraint 573 lib/pacemaker/pcmk_sched_native.c constraint->node_attribute, constraint 574 lib/pacemaker/pcmk_sched_native.c (float)constraint->score / INFINITY, constraint 1713 lib/pacemaker/pcmk_sched_native.c rsc_colocation_t *constraint, constraint 1717 lib/pacemaker/pcmk_sched_native.c pe_err("rsc_lh was NULL for %s", constraint->id); constraint 1720 lib/pacemaker/pcmk_sched_native.c } else if (constraint->rsc_rh == NULL) { constraint 1721 lib/pacemaker/pcmk_sched_native.c pe_err("rsc_rh was NULL for %s", constraint->id); constraint 1725 lib/pacemaker/pcmk_sched_native.c if (constraint->score == 0) { constraint 1731 lib/pacemaker/pcmk_sched_native.c rsc_rh->cmds->rsc_colocation_rh(rsc_lh, rsc_rh, constraint, data_set); constraint 1736 lib/pacemaker/pcmk_sched_native.c rsc_colocation_t * constraint, gboolean preview) constraint 1738 lib/pacemaker/pcmk_sched_native.c if (constraint->score == 0) { constraint 1747 lib/pacemaker/pcmk_sched_native.c if ((constraint->role_lh >= RSC_ROLE_SLAVE) && constraint 1765 lib/pacemaker/pcmk_sched_native.c if (constraint->score >= INFINITY) { constraint 1776 lib/pacemaker/pcmk_sched_native.c } else if (constraint->score <= -INFINITY) { constraint 1789 lib/pacemaker/pcmk_sched_native.c if (constraint->score > 0 constraint 1790 lib/pacemaker/pcmk_sched_native.c && constraint->role_lh != RSC_ROLE_UNKNOWN && constraint->role_lh != rsc_lh->next_role) { constraint 1792 lib/pacemaker/pcmk_sched_native.c role2text(constraint->role_lh), role2text(rsc_lh->next_role)); constraint 1796 lib/pacemaker/pcmk_sched_native.c if (constraint->score > 0 constraint 1797 lib/pacemaker/pcmk_sched_native.c && constraint->role_rh != RSC_ROLE_UNKNOWN && constraint->role_rh != rsc_rh->next_role) { constraint 1798 lib/pacemaker/pcmk_sched_native.c crm_trace("RH: Skipping constraint: \"%s\" state filter", role2text(constraint->role_rh)); constraint 1802 lib/pacemaker/pcmk_sched_native.c if (constraint->score < 0 constraint 1803 lib/pacemaker/pcmk_sched_native.c && constraint->role_lh != RSC_ROLE_UNKNOWN && constraint->role_lh == rsc_lh->next_role) { constraint 1805 lib/pacemaker/pcmk_sched_native.c role2text(constraint->role_lh)); constraint 1809 lib/pacemaker/pcmk_sched_native.c if (constraint->score < 0 constraint 1810 lib/pacemaker/pcmk_sched_native.c && constraint->role_rh != RSC_ROLE_UNKNOWN && constraint->role_rh == rsc_rh->next_role) { constraint 1812 lib/pacemaker/pcmk_sched_native.c role2text(constraint->role_rh)); constraint 1820 lib/pacemaker/pcmk_sched_native.c influence_priority(pe_resource_t * rsc_lh, pe_resource_t * rsc_rh, rsc_colocation_t * constraint) constraint 1827 lib/pacemaker/pcmk_sched_native.c if (constraint->score == 0) { constraint 1834 lib/pacemaker/pcmk_sched_native.c if (constraint->node_attribute != NULL) { constraint 1835 lib/pacemaker/pcmk_sched_native.c attribute = constraint->node_attribute; constraint 1842 lib/pacemaker/pcmk_sched_native.c if(constraint->score == INFINITY && constraint->role_lh == RSC_ROLE_MASTER) { constraint 1848 lib/pacemaker/pcmk_sched_native.c if (constraint->role_rh && (constraint->role_rh != rsc_rh->next_role)) { constraint 1852 lib/pacemaker/pcmk_sched_native.c if (constraint->role_lh == RSC_ROLE_SLAVE) { constraint 1856 lib/pacemaker/pcmk_sched_native.c rsc_lh->priority = pe__add_scores(score_multiplier * constraint->score, constraint 1861 lib/pacemaker/pcmk_sched_native.c colocation_match(pe_resource_t * rsc_lh, pe_resource_t * rsc_rh, rsc_colocation_t * constraint) constraint 1869 lib/pacemaker/pcmk_sched_native.c if (constraint->score == 0) { constraint 1872 lib/pacemaker/pcmk_sched_native.c if (constraint->node_attribute != NULL) { constraint 1873 lib/pacemaker/pcmk_sched_native.c attribute = constraint->node_attribute; constraint 1879 lib/pacemaker/pcmk_sched_native.c } else if (constraint->score < 0) { constraint 1890 lib/pacemaker/pcmk_sched_native.c constraint->id, rsc_lh->id, node->details->uname, constraint 1891 lib/pacemaker/pcmk_sched_native.c constraint->score, rsc_rh->id); constraint 1892 lib/pacemaker/pcmk_sched_native.c node->weight = pe__add_scores(-constraint->score, node->weight); constraint 1895 lib/pacemaker/pcmk_sched_native.c if (constraint->score < CRM_SCORE_INFINITY) { constraint 1897 lib/pacemaker/pcmk_sched_native.c constraint->id, rsc_lh->id, constraint 1898 lib/pacemaker/pcmk_sched_native.c node->details->uname, constraint->score); constraint 1899 lib/pacemaker/pcmk_sched_native.c node->weight = pe__add_scores(constraint->score, node->weight); constraint 1902 lib/pacemaker/pcmk_sched_native.c } else if (constraint->score >= CRM_SCORE_INFINITY) { constraint 1904 lib/pacemaker/pcmk_sched_native.c constraint->id, rsc_lh->id, node->details->uname, constraint 1905 lib/pacemaker/pcmk_sched_native.c constraint->score, attribute); constraint 1906 lib/pacemaker/pcmk_sched_native.c node->weight = pe__add_scores(-constraint->score, node->weight); constraint 1911 lib/pacemaker/pcmk_sched_native.c || constraint->score <= -INFINITY || constraint->score >= INFINITY) { constraint 1929 lib/pacemaker/pcmk_sched_native.c rsc_colocation_t *constraint, constraint 1936 lib/pacemaker/pcmk_sched_native.c filter_results = filter_colocation_constraint(rsc_lh, rsc_rh, constraint, FALSE); constraint 1938 lib/pacemaker/pcmk_sched_native.c ((constraint->score >= 0)? "Colocating" : "Anti-colocating"), constraint 1939 lib/pacemaker/pcmk_sched_native.c rsc_lh->id, rsc_rh->id, constraint->id, constraint->score, filter_results); constraint 1943 lib/pacemaker/pcmk_sched_native.c influence_priority(rsc_lh, rsc_rh, constraint); constraint 1946 lib/pacemaker/pcmk_sched_native.c colocation_match(rsc_lh, rsc_rh, constraint); constraint 2292 lib/pacemaker/pcmk_sched_native.c native_rsc_location(pe_resource_t *rsc, pe__location_t *constraint) constraint 2297 lib/pacemaker/pcmk_sched_native.c CRM_CHECK((constraint != NULL) && (rsc != NULL), return); constraint 2300 lib/pacemaker/pcmk_sched_native.c need_role = (constraint->role_filter > RSC_ROLE_UNKNOWN); constraint 2301 lib/pacemaker/pcmk_sched_native.c if (need_role && (constraint->role_filter != rsc->next_role)) { constraint 2304 lib/pacemaker/pcmk_sched_native.c constraint->id, rsc->id, role2text(rsc->next_role), constraint 2305 lib/pacemaker/pcmk_sched_native.c role2text(constraint->role_filter)); constraint 2309 lib/pacemaker/pcmk_sched_native.c if (constraint->node_list_rh == NULL) { constraint 2311 lib/pacemaker/pcmk_sched_native.c constraint->id, rsc->id); constraint 2315 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(rsc, "Applying %s%s%s to %s", constraint->id, constraint 2317 lib/pacemaker/pcmk_sched_native.c (need_role? role2text(constraint->role_filter) : ""), rsc->id); constraint 2319 lib/pacemaker/pcmk_sched_native.c for (gIter = constraint->node_list_rh; gIter != NULL; gIter = gIter->next) { constraint 2338 lib/pacemaker/pcmk_sched_native.c if (other_node->rsc_discover_mode < constraint->discover_mode) { constraint 2339 lib/pacemaker/pcmk_sched_native.c if (constraint->discover_mode == pe_discover_exclusive) { constraint 2343 lib/pacemaker/pcmk_sched_native.c other_node->rsc_discover_mode = constraint->discover_mode; constraint 322 lib/pacemaker/pcmk_sched_promotable.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; constraint 324 lib/pacemaker/pcmk_sched_promotable.c if (constraint->score == 0) { constraint 331 lib/pacemaker/pcmk_sched_promotable.c if (constraint->role_lh == RSC_ROLE_MASTER) { constraint 332 lib/pacemaker/pcmk_sched_promotable.c enum pe_weights flags = constraint->score == INFINITY ? 0 : pe_weights_rollback; constraint 334 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "RHS: %s with %s: %d", constraint->rsc_lh->id, constraint->rsc_rh->id, constraint 335 lib/pacemaker/pcmk_sched_promotable.c constraint->score); constraint 337 lib/pacemaker/pcmk_sched_promotable.c constraint->rsc_rh->cmds->merge_weights(constraint->rsc_rh, rsc->id, constraint 339 lib/pacemaker/pcmk_sched_promotable.c constraint->node_attribute, constraint 340 lib/pacemaker/pcmk_sched_promotable.c (float)constraint->score / INFINITY, flags); constraint 346 lib/pacemaker/pcmk_sched_promotable.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; constraint 348 lib/pacemaker/pcmk_sched_promotable.c if (constraint->score == 0) { constraint 355 lib/pacemaker/pcmk_sched_promotable.c if (constraint->role_rh == RSC_ROLE_MASTER) { constraint 356 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "LHS: %s with %s: %d", constraint->rsc_lh->id, constraint->rsc_rh->id, constraint 357 lib/pacemaker/pcmk_sched_promotable.c constraint->score); constraint 359 lib/pacemaker/pcmk_sched_promotable.c constraint->rsc_lh->cmds->merge_weights(constraint->rsc_lh, rsc->id, constraint 361 lib/pacemaker/pcmk_sched_promotable.c constraint->node_attribute, constraint 362 lib/pacemaker/pcmk_sched_promotable.c (float)constraint->score / INFINITY, constraint 984 lib/pacemaker/pcmk_sched_promotable.c rsc_colocation_t *constraint, constraint 989 lib/pacemaker/pcmk_sched_promotable.c if (constraint->score == 0) { constraint 1001 lib/pacemaker/pcmk_sched_promotable.c if (chosen != NULL && next_role == constraint->role_rh) { constraint 1003 lib/pacemaker/pcmk_sched_promotable.c role2text(next_role), chosen->details->uname, constraint->score); constraint 1004 lib/pacemaker/pcmk_sched_promotable.c if (constraint->score < INFINITY) { constraint 1006 lib/pacemaker/pcmk_sched_promotable.c constraint->node_attribute, constraint->score); constraint 1015 lib/pacemaker/pcmk_sched_promotable.c if (constraint->role_lh != RSC_ROLE_MASTER || constraint->role_rh != RSC_ROLE_MASTER) { constraint 1016 lib/pacemaker/pcmk_sched_promotable.c if (constraint->score >= INFINITY) { constraint 1022 lib/pacemaker/pcmk_sched_promotable.c } else if (constraint->role_lh == RSC_ROLE_MASTER) { constraint 1024 lib/pacemaker/pcmk_sched_promotable.c constraint->role_rh, constraint 1027 lib/pacemaker/pcmk_sched_promotable.c if (rh_child == NULL && constraint->score >= INFINITY) { constraint 1028 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc_lh, "%s can't be promoted %s", rsc_lh->id, constraint->id); constraint 1033 lib/pacemaker/pcmk_sched_promotable.c constraint->score); constraint 1035 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_debug(rsc_lh, "Applying %s to %s", constraint->id, rsc_lh->id); constraint 279 lib/pacemaker/pcmk_sched_utilization.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; constraint 280 lib/pacemaker/pcmk_sched_utilization.c pe_resource_t *rsc_rh = constraint->rsc_rh; constraint 287 lib/pacemaker/pcmk_sched_utilization.c if (constraint->score == INFINITY constraint 288 lib/pacemaker/pcmk_sched_utilization.c && filter_colocation_constraint(rsc, rsc_rh, constraint, TRUE) == influence_rsc_location) { constraint 301 lib/pacemaker/pcmk_sched_utilization.c rsc_colocation_t *constraint = (rsc_colocation_t *) gIter->data; constraint 302 lib/pacemaker/pcmk_sched_utilization.c pe_resource_t *rsc_lh = constraint->rsc_lh; constraint 314 lib/pacemaker/pcmk_sched_utilization.c if (constraint->score == INFINITY constraint 315 lib/pacemaker/pcmk_sched_utilization.c && filter_colocation_constraint(rsc_lh, rsc, constraint, TRUE) == influence_rsc_location) {