constraint 108 include/pcmki/pcmki_sched_allocate.h pcmk__colocation_t *constraint, constraint 111 include/pcmki/pcmki_sched_allocate.h pcmk__colocation_t *constraint, constraint 115 include/pcmki/pcmki_sched_allocate.h void native_rsc_location(pe_resource_t *rsc, pe__location_t *constraint); constraint 130 include/pcmki/pcmki_sched_allocate.h pcmk__colocation_t *constraint, constraint 133 include/pcmki/pcmki_sched_allocate.h pcmk__colocation_t *constraint, constraint 136 include/pcmki/pcmki_sched_allocate.h void group_rsc_location(pe_resource_t *rsc, pe__location_t *constraint); constraint 154 include/pcmki/pcmki_sched_allocate.h pcmk__colocation_t *constraint, constraint 158 include/pcmki/pcmki_sched_allocate.h pcmk__colocation_t *constraint, constraint 160 include/pcmki/pcmki_sched_allocate.h void pcmk__bundle_rsc_location(pe_resource_t *rsc, pe__location_t *constraint); constraint 174 include/pcmki/pcmki_sched_allocate.h pcmk__colocation_t *constraint, constraint 177 include/pcmki/pcmki_sched_allocate.h pcmk__colocation_t *constraint, constraint 179 include/pcmki/pcmki_sched_allocate.h void clone_rsc_location(pe_resource_t *rsc, pe__location_t *constraint); constraint 196 include/pcmki/pcmki_sched_allocate.h pcmk__colocation_t *constraint, constraint 25 include/pcmki/pcmki_sched_utils.h pcmk__colocation_t *invert_constraint(pcmk__colocation_t *constraint); constraint 27 include/pcmki/pcmki_sched_utils.h pe__location_t *copy_constraint(pe__location_t *constraint); constraint 132 lib/pacemaker/libpacemaker_private.h void pcmk__apply_location(pe__location_t *constraint, pe_resource_t *rsc); constraint 146 lib/pacemaker/libpacemaker_private.h pcmk__colocation_t *constraint, constraint 152 lib/pacemaker/libpacemaker_private.h pcmk__colocation_t *constraint); constraint 157 lib/pacemaker/libpacemaker_private.h pcmk__colocation_t *constraint); constraint 413 lib/pacemaker/pcmk_sched_bundle.c pcmk__colocation_t *constraint, constraint 466 lib/pacemaker/pcmk_sched_bundle.c pcmk__colocation_t *constraint, constraint 472 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(constraint != NULL, return); constraint 474 lib/pacemaker/pcmk_sched_bundle.c pe_err("dependent was NULL for %s", constraint->id); return); constraint 476 lib/pacemaker/pcmk_sched_bundle.c pe_err("primary was NULL for %s", constraint->id); return); constraint 483 lib/pacemaker/pcmk_sched_bundle.c } else if(constraint->dependent->variant > pe_group) { constraint 492 lib/pacemaker/pcmk_sched_bundle.c constraint, data_set); constraint 494 lib/pacemaker/pcmk_sched_bundle.c } else if (constraint->score >= INFINITY) { constraint 509 lib/pacemaker/pcmk_sched_bundle.c constraint->id, dependent->id, primary->id, constraint->score); constraint 515 lib/pacemaker/pcmk_sched_bundle.c if (constraint->score < INFINITY) { constraint 518 lib/pacemaker/pcmk_sched_bundle.c constraint, data_set); constraint 528 lib/pacemaker/pcmk_sched_bundle.c if ((constraint->primary_role >= RSC_ROLE_PROMOTED) constraint 532 lib/pacemaker/pcmk_sched_bundle.c if ((constraint->primary_role >= RSC_ROLE_PROMOTED) constraint 538 lib/pacemaker/pcmk_sched_bundle.c constraint->id, chosen->details->uname, constraint 544 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 pcmk__apply_location(constraint, rsc); 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_UNPROMOTED) constraint 888 lib/pacemaker/pcmk_sched_bundle.c || (constraint->role_filter == RSC_ROLE_PROMOTED))) { 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 125 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 127 lib/pacemaker/pcmk_sched_clone.c crm_trace("Applying %s to %s", constraint->id, rsc1->id); constraint 129 lib/pacemaker/pcmk_sched_clone.c hash1 = pcmk__native_merge_weights(constraint->primary, rsc1->id, hash1, constraint 130 lib/pacemaker/pcmk_sched_clone.c constraint->node_attribute, constraint 131 lib/pacemaker/pcmk_sched_clone.c constraint->score / (float) INFINITY, constraint 138 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 140 lib/pacemaker/pcmk_sched_clone.c if (!pcmk__colocation_has_influence(constraint, rsc1)) { constraint 143 lib/pacemaker/pcmk_sched_clone.c crm_trace("Applying %s to %s", constraint->id, rsc1->id); constraint 145 lib/pacemaker/pcmk_sched_clone.c hash1 = pcmk__native_merge_weights(constraint->dependent, rsc1->id, constraint 146 lib/pacemaker/pcmk_sched_clone.c hash1, constraint->node_attribute, constraint 147 lib/pacemaker/pcmk_sched_clone.c constraint->score / (float) INFINITY, constraint 155 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 157 lib/pacemaker/pcmk_sched_clone.c crm_trace("Applying %s to %s", constraint->id, rsc2->id); constraint 159 lib/pacemaker/pcmk_sched_clone.c hash2 = pcmk__native_merge_weights(constraint->primary, rsc2->id, hash2, constraint 160 lib/pacemaker/pcmk_sched_clone.c constraint->node_attribute, constraint 161 lib/pacemaker/pcmk_sched_clone.c constraint->score / (float) INFINITY, constraint 168 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 170 lib/pacemaker/pcmk_sched_clone.c if (!pcmk__colocation_has_influence(constraint, rsc2)) { constraint 173 lib/pacemaker/pcmk_sched_clone.c crm_trace("Applying %s to %s", constraint->id, rsc2->id); constraint 175 lib/pacemaker/pcmk_sched_clone.c hash2 = pcmk__native_merge_weights(constraint->dependent, rsc2->id, constraint 176 lib/pacemaker/pcmk_sched_clone.c hash2, constraint->node_attribute, constraint 177 lib/pacemaker/pcmk_sched_clone.c constraint->score / (float) INFINITY, constraint 706 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 709 lib/pacemaker/pcmk_sched_clone.c rsc->id, constraint->primary->id); constraint 710 lib/pacemaker/pcmk_sched_clone.c constraint->primary->cmds->allocate(constraint->primary, prefer, constraint 715 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 717 lib/pacemaker/pcmk_sched_clone.c if (!pcmk__colocation_has_influence(constraint, NULL)) { constraint 720 lib/pacemaker/pcmk_sched_clone.c rsc->allowed_nodes = constraint->dependent->cmds->merge_weights( constraint 721 lib/pacemaker/pcmk_sched_clone.c constraint->dependent, rsc->id, rsc->allowed_nodes, constraint 722 lib/pacemaker/pcmk_sched_clone.c constraint->node_attribute, (float)constraint->score / INFINITY, constraint 1074 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *constraint, constraint 1086 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_t *constraint, constraint 1093 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(constraint != NULL, return); constraint 1095 lib/pacemaker/pcmk_sched_clone.c pe_err("dependent was NULL for %s", constraint->id); return); constraint 1097 lib/pacemaker/pcmk_sched_clone.c pe_err("primary was NULL for %s", constraint->id); return); constraint 1101 lib/pacemaker/pcmk_sched_clone.c constraint->id, dependent->id, primary->id, constraint->score); constraint 1107 lib/pacemaker/pcmk_sched_clone.c } else if (constraint->primary_role == RSC_ROLE_UNKNOWN) { constraint 1109 lib/pacemaker/pcmk_sched_clone.c constraint->id); constraint 1111 lib/pacemaker/pcmk_sched_clone.c promotable_colocation_rh(dependent, primary, constraint, data_set); constraint 1117 lib/pacemaker/pcmk_sched_clone.c interleave_s = g_hash_table_lookup(constraint->dependent->meta, constraint 1120 lib/pacemaker/pcmk_sched_clone.c && (constraint->dependent->variant > pe_group)) { constraint 1124 lib/pacemaker/pcmk_sched_clone.c if (copies_per_node(constraint->dependent) != copies_per_node(constraint->primary)) { constraint 1127 lib/pacemaker/pcmk_sched_clone.c constraint->dependent->id, constraint 1128 lib/pacemaker/pcmk_sched_clone.c constraint->primary->id); constraint 1149 lib/pacemaker/pcmk_sched_clone.c constraint, data_set); constraint 1151 lib/pacemaker/pcmk_sched_clone.c } else if (constraint->score >= INFINITY) { constraint 1163 lib/pacemaker/pcmk_sched_clone.c } else if (constraint->score >= INFINITY) { constraint 1173 lib/pacemaker/pcmk_sched_clone.c constraint->id, chosen->details->uname, constraint 1188 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->rsc_colocation_rh(dependent, child_rsc, constraint, constraint 1288 lib/pacemaker/pcmk_sched_clone.c clone_rsc_location(pe_resource_t *rsc, pe__location_t *constraint) constraint 1292 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(rsc, "Processing location constraint %s for %s", constraint->id, rsc->id); constraint 1294 lib/pacemaker/pcmk_sched_clone.c pcmk__apply_location(constraint, rsc); constraint 1299 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->rsc_location(child_rsc, constraint); constraint 840 lib/pacemaker/pcmk_sched_colocation.c pcmk__colocation_t *constraint, bool preview) constraint 847 lib/pacemaker/pcmk_sched_colocation.c if ((constraint->dependent_role >= RSC_ROLE_UNPROMOTED) constraint 869 lib/pacemaker/pcmk_sched_colocation.c constraint->id, dependent->id); constraint 871 lib/pacemaker/pcmk_sched_colocation.c } else if (constraint->score >= INFINITY) { constraint 882 lib/pacemaker/pcmk_sched_colocation.c } else if (constraint->score <= -CRM_SCORE_INFINITY) { constraint 895 lib/pacemaker/pcmk_sched_colocation.c if ((constraint->score > 0) constraint 896 lib/pacemaker/pcmk_sched_colocation.c && (constraint->dependent_role != RSC_ROLE_UNKNOWN) constraint 897 lib/pacemaker/pcmk_sched_colocation.c && (constraint->dependent_role != dependent->next_role)) { constraint 901 lib/pacemaker/pcmk_sched_colocation.c constraint->id, role2text(constraint->dependent_role), constraint 906 lib/pacemaker/pcmk_sched_colocation.c if ((constraint->score > 0) constraint 907 lib/pacemaker/pcmk_sched_colocation.c && (constraint->primary_role != RSC_ROLE_UNKNOWN) constraint 908 lib/pacemaker/pcmk_sched_colocation.c && (constraint->primary_role != primary->next_role)) { constraint 912 lib/pacemaker/pcmk_sched_colocation.c constraint->id, role2text(constraint->primary_role), constraint 917 lib/pacemaker/pcmk_sched_colocation.c if ((constraint->score < 0) constraint 918 lib/pacemaker/pcmk_sched_colocation.c && (constraint->dependent_role != RSC_ROLE_UNKNOWN) constraint 919 lib/pacemaker/pcmk_sched_colocation.c && (constraint->dependent_role == dependent->next_role)) { constraint 921 lib/pacemaker/pcmk_sched_colocation.c constraint->id, role2text(constraint->dependent_role)); constraint 925 lib/pacemaker/pcmk_sched_colocation.c if ((constraint->score < 0) constraint 926 lib/pacemaker/pcmk_sched_colocation.c && (constraint->primary_role != RSC_ROLE_UNKNOWN) constraint 927 lib/pacemaker/pcmk_sched_colocation.c && (constraint->primary_role == primary->next_role)) { constraint 929 lib/pacemaker/pcmk_sched_colocation.c constraint->id, role2text(constraint->primary_role)); constraint 949 lib/pacemaker/pcmk_sched_colocation.c pcmk__colocation_t *constraint) constraint 957 lib/pacemaker/pcmk_sched_colocation.c if (constraint->node_attribute != NULL) { constraint 958 lib/pacemaker/pcmk_sched_colocation.c attribute = constraint->node_attribute; constraint 964 lib/pacemaker/pcmk_sched_colocation.c } else if (constraint->score < 0) { constraint 975 lib/pacemaker/pcmk_sched_colocation.c constraint->id, dependent->id, node->details->uname, constraint 976 lib/pacemaker/pcmk_sched_colocation.c constraint->score, primary->id); constraint 977 lib/pacemaker/pcmk_sched_colocation.c node->weight = pcmk__add_scores(-constraint->score, node->weight); constraint 981 lib/pacemaker/pcmk_sched_colocation.c if (constraint->score < CRM_SCORE_INFINITY) { constraint 983 lib/pacemaker/pcmk_sched_colocation.c constraint->id, dependent->id, constraint 984 lib/pacemaker/pcmk_sched_colocation.c node->details->uname, constraint->score); constraint 985 lib/pacemaker/pcmk_sched_colocation.c node->weight = pcmk__add_scores(constraint->score, constraint 989 lib/pacemaker/pcmk_sched_colocation.c } else if (constraint->score >= CRM_SCORE_INFINITY) { constraint 991 lib/pacemaker/pcmk_sched_colocation.c constraint->id, dependent->id, node->details->uname, constraint 992 lib/pacemaker/pcmk_sched_colocation.c constraint->score, attribute); constraint 993 lib/pacemaker/pcmk_sched_colocation.c node->weight = pcmk__add_scores(-constraint->score, node->weight); constraint 997 lib/pacemaker/pcmk_sched_colocation.c if ((constraint->score <= -INFINITY) || (constraint->score >= INFINITY) constraint 1028 lib/pacemaker/pcmk_sched_colocation.c pcmk__colocation_t *constraint) constraint 1039 lib/pacemaker/pcmk_sched_colocation.c if (constraint->node_attribute != NULL) { constraint 1040 lib/pacemaker/pcmk_sched_colocation.c attribute = constraint->node_attribute; constraint 1047 lib/pacemaker/pcmk_sched_colocation.c if ((constraint->score == INFINITY) constraint 1048 lib/pacemaker/pcmk_sched_colocation.c && (constraint->dependent_role == RSC_ROLE_PROMOTED)) { constraint 1054 lib/pacemaker/pcmk_sched_colocation.c if ((constraint->primary_role != RSC_ROLE_UNKNOWN) constraint 1055 lib/pacemaker/pcmk_sched_colocation.c && (constraint->primary_role != primary->next_role)) { constraint 1059 lib/pacemaker/pcmk_sched_colocation.c if (constraint->dependent_role == RSC_ROLE_UNPROMOTED) { constraint 1063 lib/pacemaker/pcmk_sched_colocation.c dependent->priority = pcmk__add_scores(score_multiplier * constraint->score, constraint 64 lib/pacemaker/pcmk_sched_group.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) cons_iter->data; constraint 66 lib/pacemaker/pcmk_sched_group.c if (constraint->score == INFINITY) { constraint 67 lib/pacemaker/pcmk_sched_group.c member->rsc_cons = g_list_prepend(member->rsc_cons, constraint); constraint 360 lib/pacemaker/pcmk_sched_group.c pcmk__colocation_t *constraint, constraint 367 lib/pacemaker/pcmk_sched_group.c pe_err("dependent was NULL for %s", constraint->id); constraint 371 lib/pacemaker/pcmk_sched_group.c pe_err("primary was NULL for %s", constraint->id); constraint 382 lib/pacemaker/pcmk_sched_group.c primary, constraint, constraint 386 lib/pacemaker/pcmk_sched_group.c } else if (constraint->score >= INFINITY) { constraint 396 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_colocation_lh(child_rsc, primary, constraint, constraint 403 lib/pacemaker/pcmk_sched_group.c pcmk__colocation_t *constraint, constraint 413 lib/pacemaker/pcmk_sched_group.c primary->id, constraint->id, dependent->id); constraint 419 lib/pacemaker/pcmk_sched_group.c if (constraint->score >= INFINITY) { constraint 423 lib/pacemaker/pcmk_sched_group.c constraint, constraint 429 lib/pacemaker/pcmk_sched_group.c constraint, constraint 435 lib/pacemaker/pcmk_sched_group.c } else if (constraint->score >= INFINITY) { constraint 444 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_colocation_rh(dependent, child_rsc, constraint, constraint 521 lib/pacemaker/pcmk_sched_group.c group_rsc_location(pe_resource_t *rsc, pe__location_t *constraint) constraint 524 lib/pacemaker/pcmk_sched_group.c GList *saved = constraint->node_list_rh; constraint 525 lib/pacemaker/pcmk_sched_group.c GList *zero = pcmk__copy_node_list(constraint->node_list_rh, true); constraint 531 lib/pacemaker/pcmk_sched_group.c pe_rsc_debug(rsc, "Processing rsc_location %s for %s", constraint->id, rsc->id); constraint 533 lib/pacemaker/pcmk_sched_group.c pcmk__apply_location(constraint, rsc); constraint 538 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_location(child_rsc, constraint); constraint 541 lib/pacemaker/pcmk_sched_group.c constraint->node_list_rh = zero; constraint 545 lib/pacemaker/pcmk_sched_group.c constraint->node_list_rh = saved; constraint 587 lib/pacemaker/pcmk_sched_group.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 589 lib/pacemaker/pcmk_sched_group.c nodes = pcmk__native_merge_weights(constraint->dependent, rsc->id, constraint 590 lib/pacemaker/pcmk_sched_group.c nodes, constraint->node_attribute, constraint 591 lib/pacemaker/pcmk_sched_group.c constraint->score / (float) INFINITY, constraint 616 lib/pacemaker/pcmk_sched_location.c pcmk__apply_location(pe__location_t *constraint, pe_resource_t *rsc) constraint 620 lib/pacemaker/pcmk_sched_location.c CRM_CHECK((constraint != NULL) && (rsc != NULL), return); constraint 623 lib/pacemaker/pcmk_sched_location.c need_role = (constraint->role_filter > RSC_ROLE_UNKNOWN); constraint 624 lib/pacemaker/pcmk_sched_location.c if (need_role && (constraint->role_filter != rsc->next_role)) { constraint 627 lib/pacemaker/pcmk_sched_location.c constraint->id, rsc->id, role2text(rsc->next_role), constraint 628 lib/pacemaker/pcmk_sched_location.c role2text(constraint->role_filter)); constraint 632 lib/pacemaker/pcmk_sched_location.c if (constraint->node_list_rh == NULL) { constraint 634 lib/pacemaker/pcmk_sched_location.c constraint->id, rsc->id); constraint 638 lib/pacemaker/pcmk_sched_location.c pe_rsc_trace(rsc, "Applying %s%s%s to %s", constraint->id, constraint 640 lib/pacemaker/pcmk_sched_location.c (need_role? role2text(constraint->role_filter) : ""), rsc->id); constraint 642 lib/pacemaker/pcmk_sched_location.c for (GList *gIter = constraint->node_list_rh; gIter != NULL; constraint 664 lib/pacemaker/pcmk_sched_location.c if (weighted_node->rsc_discover_mode < constraint->discover_mode) { constraint 665 lib/pacemaker/pcmk_sched_location.c if (constraint->discover_mode == pe_discover_exclusive) { constraint 669 lib/pacemaker/pcmk_sched_location.c weighted_node->rsc_discover_mode = constraint->discover_mode; constraint 443 lib/pacemaker/pcmk_sched_native.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 446 lib/pacemaker/pcmk_sched_native.c other = constraint->primary; constraint 447 lib/pacemaker/pcmk_sched_native.c } else if (!pcmk__colocation_has_influence(constraint, NULL)) { constraint 450 lib/pacemaker/pcmk_sched_native.c other = constraint->dependent; constraint 454 lib/pacemaker/pcmk_sched_native.c constraint->id, constraint->dependent->id, constraint 455 lib/pacemaker/pcmk_sched_native.c constraint->primary->id); constraint 457 lib/pacemaker/pcmk_sched_native.c constraint->node_attribute, constraint 458 lib/pacemaker/pcmk_sched_native.c multiplier * constraint->score / (float) INFINITY, constraint 518 lib/pacemaker/pcmk_sched_native.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 521 lib/pacemaker/pcmk_sched_native.c pe_resource_t *primary = constraint->primary; constraint 523 lib/pacemaker/pcmk_sched_native.c if ((constraint->dependent_role >= RSC_ROLE_PROMOTED) constraint 524 lib/pacemaker/pcmk_sched_native.c || (constraint->score < 0 && constraint->score > -INFINITY)) { constraint 530 lib/pacemaker/pcmk_sched_native.c rsc->id, primary->id, constraint->id, constraint 531 lib/pacemaker/pcmk_sched_native.c constraint->score, role2text(constraint->dependent_role)); constraint 533 lib/pacemaker/pcmk_sched_native.c rsc->cmds->rsc_colocation_lh(rsc, primary, constraint, data_set); constraint 549 lib/pacemaker/pcmk_sched_native.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 551 lib/pacemaker/pcmk_sched_native.c if (!pcmk__colocation_has_influence(constraint, NULL)) { constraint 555 lib/pacemaker/pcmk_sched_native.c constraint->id, constraint->dependent->id, constraint 556 lib/pacemaker/pcmk_sched_native.c constraint->primary->id); constraint 557 lib/pacemaker/pcmk_sched_native.c rsc->allowed_nodes = constraint->dependent->cmds->merge_weights( constraint 558 lib/pacemaker/pcmk_sched_native.c constraint->dependent, rsc->id, rsc->allowed_nodes, constraint 559 lib/pacemaker/pcmk_sched_native.c constraint->node_attribute, constraint->score / (float) INFINITY, constraint 1695 lib/pacemaker/pcmk_sched_native.c pcmk__colocation_t *constraint, constraint 1699 lib/pacemaker/pcmk_sched_native.c pe_err("dependent was NULL for %s", constraint->id); constraint 1702 lib/pacemaker/pcmk_sched_native.c } else if (constraint->primary == NULL) { constraint 1703 lib/pacemaker/pcmk_sched_native.c pe_err("primary was NULL for %s", constraint->id); constraint 1711 lib/pacemaker/pcmk_sched_native.c primary->cmds->rsc_colocation_rh(dependent, primary, constraint, data_set); constraint 1716 lib/pacemaker/pcmk_sched_native.c pcmk__colocation_t *constraint, constraint 1722 lib/pacemaker/pcmk_sched_native.c filter_results = pcmk__colocation_affects(dependent, primary, constraint, constraint 1725 lib/pacemaker/pcmk_sched_native.c ((constraint->score > 0)? "Colocating" : "Anti-colocating"), constraint 1726 lib/pacemaker/pcmk_sched_native.c dependent->id, primary->id, constraint->id, constraint->score, constraint 1731 lib/pacemaker/pcmk_sched_native.c pcmk__apply_coloc_to_priority(dependent, primary, constraint); constraint 1734 lib/pacemaker/pcmk_sched_native.c pcmk__apply_coloc_to_weights(dependent, primary, constraint); constraint 1986 lib/pacemaker/pcmk_sched_native.c native_rsc_location(pe_resource_t *rsc, pe__location_t *constraint) constraint 1988 lib/pacemaker/pcmk_sched_native.c pcmk__apply_location(constraint, rsc); constraint 339 lib/pacemaker/pcmk_sched_promotable.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 344 lib/pacemaker/pcmk_sched_promotable.c if (constraint->dependent_role == RSC_ROLE_PROMOTED) { constraint 345 lib/pacemaker/pcmk_sched_promotable.c enum pe_weights flags = constraint->score == INFINITY ? 0 : pe_weights_rollback; constraint 348 lib/pacemaker/pcmk_sched_promotable.c constraint->dependent->id, constraint->primary->id, constraint 349 lib/pacemaker/pcmk_sched_promotable.c constraint->score); constraint 350 lib/pacemaker/pcmk_sched_promotable.c rsc->allowed_nodes = constraint->primary->cmds->merge_weights( constraint 351 lib/pacemaker/pcmk_sched_promotable.c constraint->primary, rsc->id, rsc->allowed_nodes, constraint 352 lib/pacemaker/pcmk_sched_promotable.c constraint->node_attribute, constraint 353 lib/pacemaker/pcmk_sched_promotable.c constraint->score / (float) INFINITY, flags); constraint 359 lib/pacemaker/pcmk_sched_promotable.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 361 lib/pacemaker/pcmk_sched_promotable.c if (!pcmk__colocation_has_influence(constraint, NULL)) { constraint 368 lib/pacemaker/pcmk_sched_promotable.c if (constraint->primary_role == RSC_ROLE_PROMOTED) { constraint 370 lib/pacemaker/pcmk_sched_promotable.c constraint->dependent->id, constraint->primary->id, constraint 371 lib/pacemaker/pcmk_sched_promotable.c constraint->score); constraint 372 lib/pacemaker/pcmk_sched_promotable.c rsc->allowed_nodes = constraint->dependent->cmds->merge_weights( constraint 373 lib/pacemaker/pcmk_sched_promotable.c constraint->dependent, rsc->id, rsc->allowed_nodes, constraint 374 lib/pacemaker/pcmk_sched_promotable.c constraint->node_attribute, constraint 375 lib/pacemaker/pcmk_sched_promotable.c constraint->score / (float) INFINITY, constraint 994 lib/pacemaker/pcmk_sched_promotable.c pcmk__colocation_t *constraint, constraint 1008 lib/pacemaker/pcmk_sched_promotable.c if ((chosen != NULL) && (next_role == constraint->primary_role)) { constraint 1010 lib/pacemaker/pcmk_sched_promotable.c role2text(next_role), chosen->details->uname, constraint->score); constraint 1011 lib/pacemaker/pcmk_sched_promotable.c if (constraint->score < INFINITY) { constraint 1013 lib/pacemaker/pcmk_sched_promotable.c constraint->node_attribute, constraint->score); constraint 1023 lib/pacemaker/pcmk_sched_promotable.c if ((constraint->dependent_role != RSC_ROLE_PROMOTED) constraint 1024 lib/pacemaker/pcmk_sched_promotable.c || (constraint->primary_role != RSC_ROLE_PROMOTED)) { constraint 1026 lib/pacemaker/pcmk_sched_promotable.c if (constraint->score >= INFINITY) { constraint 1033 lib/pacemaker/pcmk_sched_promotable.c } else if (constraint->dependent_role == RSC_ROLE_PROMOTED) { constraint 1037 lib/pacemaker/pcmk_sched_promotable.c constraint->primary_role, constraint 1039 lib/pacemaker/pcmk_sched_promotable.c if ((primary_instance == NULL) && (constraint->score >= INFINITY)) { constraint 1041 lib/pacemaker/pcmk_sched_promotable.c dependent->id, constraint->id); constraint 1046 lib/pacemaker/pcmk_sched_promotable.c constraint->score); constraint 1049 lib/pacemaker/pcmk_sched_promotable.c constraint->id, dependent->id); constraint 235 lib/pacemaker/pcmk_sched_resource.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 236 lib/pacemaker/pcmk_sched_resource.c pe_resource_t *primary = constraint->primary; constraint 242 lib/pacemaker/pcmk_sched_resource.c if ((constraint->score == INFINITY) && constraint 243 lib/pacemaker/pcmk_sched_resource.c (pcmk__colocation_affects(rsc, primary, constraint, constraint 254 lib/pacemaker/pcmk_sched_resource.c pcmk__colocation_t *constraint = (pcmk__colocation_t *) gIter->data; constraint 255 lib/pacemaker/pcmk_sched_resource.c pe_resource_t *dependent = constraint->dependent; constraint 265 lib/pacemaker/pcmk_sched_resource.c if ((constraint->score == INFINITY) && constraint 266 lib/pacemaker/pcmk_sched_resource.c (pcmk__colocation_affects(dependent, rsc, constraint, constraint 187 maint/gnulib/lib/dfa.c newline_constraint (int constraint) constraint 189 maint/gnulib/lib/dfa.c return (constraint >> 6) & 7; constraint 192 maint/gnulib/lib/dfa.c letter_constraint (int constraint) constraint 194 maint/gnulib/lib/dfa.c return (constraint >> 3) & 7; constraint 197 maint/gnulib/lib/dfa.c other_constraint (int constraint) constraint 199 maint/gnulib/lib/dfa.c return constraint & 7; constraint 203 maint/gnulib/lib/dfa.c succeeds_in_context (int constraint, int prev, int curr) constraint 205 maint/gnulib/lib/dfa.c return !! (((curr & CTX_NONE ? other_constraint (constraint) : 0) \ constraint 206 maint/gnulib/lib/dfa.c | (curr & CTX_LETTER ? letter_constraint (constraint) : 0) \ constraint 207 maint/gnulib/lib/dfa.c | (curr & CTX_NEWLINE ? newline_constraint (constraint) : 0)) \ constraint 213 maint/gnulib/lib/dfa.c prev_newline_dependent (int constraint) constraint 215 maint/gnulib/lib/dfa.c return ((constraint ^ constraint >> 2) & 0111) != 0; constraint 218 maint/gnulib/lib/dfa.c prev_letter_dependent (int constraint) constraint 220 maint/gnulib/lib/dfa.c return ((constraint ^ constraint >> 1) & 0111) != 0; constraint 355 maint/gnulib/lib/dfa.c unsigned int constraint; /* Constraint for matching this position. */ constraint 374 maint/gnulib/lib/dfa.c unsigned short constraint; /* Constraint for this state to accept. */ constraint 605 maint/gnulib/lib/dfa.c return r->states[s].constraint != 0; constraint 612 maint/gnulib/lib/dfa.c return succeeds_in_context (dfa->states[state].constraint, prev, curr); constraint 2038 maint/gnulib/lib/dfa.c s->elems[mid].constraint |= p.constraint; constraint 2082 maint/gnulib/lib/dfa.c ? s2->elems[j++].constraint & c2 constraint 2085 maint/gnulib/lib/dfa.c m->elems[m->nelem++].constraint = s1->elems[i++].constraint | c; constraint 2089 maint/gnulib/lib/dfa.c if (s2->elems[j].constraint & c2) constraint 2092 maint/gnulib/lib/dfa.c m->elems[m->nelem++].constraint = s2->elems[j].constraint & c2; constraint 2137 maint/gnulib/lib/dfa.c unsigned int c = s->elems[mid].constraint; constraint 2153 maint/gnulib/lib/dfa.c unsigned int constraint, position_set *tmp) constraint 2155 maint/gnulib/lib/dfa.c unsigned int c = delete (del, dst) & constraint; constraint 2171 maint/gnulib/lib/dfa.c int constraint = 0; constraint 2177 maint/gnulib/lib/dfa.c hash ^= ind + s->elems[i].constraint; constraint 2188 maint/gnulib/lib/dfa.c if (s->elems[j].constraint != d->states[i].elems.elems[j].constraint constraint 2224 maint/gnulib/lib/dfa.c constraint |= c; constraint 2227 maint/gnulib/lib/dfa.c constraint = NO_CONSTRAINT; constraint 2238 maint/gnulib/lib/dfa.c d->states[i].constraint = constraint; constraint 2262 maint/gnulib/lib/dfa.c unsigned int constraint; constraint 2269 maint/gnulib/lib/dfa.c constraint = BEGLINE_CONSTRAINT; constraint 2272 maint/gnulib/lib/dfa.c constraint = ENDLINE_CONSTRAINT; constraint 2275 maint/gnulib/lib/dfa.c constraint = BEGWORD_CONSTRAINT; constraint 2278 maint/gnulib/lib/dfa.c constraint = ENDWORD_CONSTRAINT; constraint 2281 maint/gnulib/lib/dfa.c constraint = LIMWORD_CONSTRAINT; constraint 2284 maint/gnulib/lib/dfa.c constraint = NOTLIMWORD_CONSTRAINT; constraint 2287 maint/gnulib/lib/dfa.c constraint = NO_CONSTRAINT; constraint 2295 maint/gnulib/lib/dfa.c constraint, &tmp); constraint 2373 maint/gnulib/lib/dfa.c unsigned int iconstraint = follows[tindex].elems[i].constraint; constraint 2379 maint/gnulib/lib/dfa.c d->constraints[tindex] |= follows[tindex].elems[i].constraint; constraint 2394 maint/gnulib/lib/dfa.c if (follows[tindex].elems[j].constraint != iconstraint) constraint 2744 maint/gnulib/lib/dfa.c firstpos->constraint = lastpos->constraint = NO_CONSTRAINT; constraint 2804 maint/gnulib/lib/dfa.c pos.constraint = NO_CONSTRAINT; constraint 2821 maint/gnulib/lib/dfa.c if (prev_newline_dependent (d->follows[i].elems[j].constraint)) constraint 2823 maint/gnulib/lib/dfa.c if (prev_letter_dependent (d->follows[i].elems[j].constraint)) constraint 3016 maint/gnulib/lib/dfa.c if (succeeds_in_context (pos.constraint, d->states[s].context, constraint 3029 maint/gnulib/lib/dfa.c if (pos.constraint != NO_CONSTRAINT) constraint 3031 maint/gnulib/lib/dfa.c if (!succeeds_in_context (pos.constraint, constraint 3035 maint/gnulib/lib/dfa.c if (!succeeds_in_context (pos.constraint, constraint 3039 maint/gnulib/lib/dfa.c if (!succeeds_in_context (pos.constraint, constraint 48 maint/gnulib/lib/regcomp.c static Idx duplicate_node (re_dfa_t *dfa, Idx org_idx, unsigned int constraint); constraint 50 maint/gnulib/lib/regcomp.c unsigned int constraint); constraint 1359 maint/gnulib/lib/regcomp.c dfa->nodes[node->node_idx].constraint = node->token.opr.ctx_type; constraint 1454 maint/gnulib/lib/regcomp.c unsigned int constraint = init_constraint; constraint 1466 maint/gnulib/lib/regcomp.c clone_dest = duplicate_node (dfa, org_dest, constraint); constraint 1498 maint/gnulib/lib/regcomp.c constraint |= dfa->nodes[org_node].constraint; constraint 1499 maint/gnulib/lib/regcomp.c clone_dest = duplicate_node (dfa, org_dest, constraint); constraint 1513 maint/gnulib/lib/regcomp.c clone_dest = search_duplicated_node (dfa, org_dest, constraint); constraint 1518 maint/gnulib/lib/regcomp.c clone_dest = duplicate_node (dfa, org_dest, constraint); constraint 1525 maint/gnulib/lib/regcomp.c root_node, constraint); constraint 1539 maint/gnulib/lib/regcomp.c clone_dest = duplicate_node (dfa, org_dest, constraint); constraint 1557 maint/gnulib/lib/regcomp.c unsigned int constraint) constraint 1563 maint/gnulib/lib/regcomp.c && constraint == dfa->nodes[idx].constraint) constraint 1574 maint/gnulib/lib/regcomp.c duplicate_node (re_dfa_t *dfa, Idx org_idx, unsigned int constraint) constraint 1579 maint/gnulib/lib/regcomp.c dfa->nodes[dup_idx].constraint = constraint; constraint 1580 maint/gnulib/lib/regcomp.c dfa->nodes[dup_idx].constraint |= dfa->nodes[org_idx].constraint; constraint 1674 maint/gnulib/lib/regcomp.c if (dfa->nodes[node].constraint constraint 1679 maint/gnulib/lib/regcomp.c dfa->nodes[node].constraint); constraint 1419 maint/gnulib/lib/regex_internal.c dfa->nodes[dfa->nodes_len].constraint = 0; constraint 1616 maint/gnulib/lib/regex_internal.c if (type == CHARACTER && !node->constraint) constraint 1625 maint/gnulib/lib/regex_internal.c else if (type == ANCHOR || node->constraint) constraint 1666 maint/gnulib/lib/regex_internal.c unsigned int constraint = node->constraint; constraint 1668 maint/gnulib/lib/regex_internal.c if (type == CHARACTER && !constraint) constraint 1678 maint/gnulib/lib/regex_internal.c if (constraint) constraint 1699 maint/gnulib/lib/regex_internal.c if (NOT_SATISFY_PREV_CONSTRAINT (constraint,context)) constraint 350 maint/gnulib/lib/regex_internal.h unsigned int constraint : 10; /* context constraint */ constraint 501 maint/gnulib/lib/regex_internal.h #define NOT_SATISFY_PREV_CONSTRAINT(constraint,context) \ constraint 502 maint/gnulib/lib/regex_internal.h ((((constraint) & PREV_WORD_CONSTRAINT) && !IS_WORD_CONTEXT (context)) \ constraint 503 maint/gnulib/lib/regex_internal.h || ((constraint & PREV_NOTWORD_CONSTRAINT) && IS_WORD_CONTEXT (context)) \ constraint 504 maint/gnulib/lib/regex_internal.h || ((constraint & PREV_NEWLINE_CONSTRAINT) && !IS_NEWLINE_CONTEXT (context))\ constraint 505 maint/gnulib/lib/regex_internal.h || ((constraint & PREV_BEGBUF_CONSTRAINT) && !IS_BEGBUF_CONTEXT (context))) constraint 507 maint/gnulib/lib/regex_internal.h #define NOT_SATISFY_NEXT_CONSTRAINT(constraint,context) \ constraint 508 maint/gnulib/lib/regex_internal.h ((((constraint) & NEXT_WORD_CONSTRAINT) && !IS_WORD_CONTEXT (context)) \ constraint 509 maint/gnulib/lib/regex_internal.h || (((constraint) & NEXT_NOTWORD_CONSTRAINT) && IS_WORD_CONTEXT (context)) \ constraint 510 maint/gnulib/lib/regex_internal.h || (((constraint) & NEXT_NEWLINE_CONSTRAINT) && !IS_NEWLINE_CONTEXT (context)) \ constraint 511 maint/gnulib/lib/regex_internal.h || (((constraint) & NEXT_ENDBUF_CONSTRAINT) && !IS_ENDBUF_CONTEXT (context))) constraint 1165 maint/gnulib/lib/regexec.c unsigned int constraint = dfa->nodes[node].constraint; constraint 1168 maint/gnulib/lib/regexec.c if (!constraint) constraint 1170 maint/gnulib/lib/regexec.c if (NOT_SATISFY_NEXT_CONSTRAINT (constraint, context)) constraint 2444 maint/gnulib/lib/regexec.c if (dfa->nodes[cur_node_idx].constraint) constraint 2449 maint/gnulib/lib/regexec.c if (NOT_SATISFY_NEXT_CONSTRAINT (dfa->nodes[cur_node_idx].constraint, constraint 2513 maint/gnulib/lib/regexec.c if (node->constraint) constraint 2517 maint/gnulib/lib/regexec.c if (NOT_SATISFY_NEXT_CONSTRAINT (node->constraint, context)) constraint 3440 maint/gnulib/lib/regexec.c unsigned int constraint = node->constraint; constraint 3476 maint/gnulib/lib/regexec.c if (constraint) constraint 3478 maint/gnulib/lib/regexec.c if (constraint & NEXT_NEWLINE_CONSTRAINT) constraint 3487 maint/gnulib/lib/regexec.c if (constraint & NEXT_ENDBUF_CONSTRAINT) constraint 3493 maint/gnulib/lib/regexec.c if (constraint & NEXT_WORD_CONSTRAINT) constraint 3510 maint/gnulib/lib/regexec.c if (constraint & NEXT_NOTWORD_CONSTRAINT) constraint 3930 maint/gnulib/lib/regexec.c if (node->constraint) constraint 3936 maint/gnulib/lib/regexec.c if (NOT_SATISFY_NEXT_CONSTRAINT (node->constraint, context))