rsc_rh             32 include/pcmki/pcmki_sched_utils.h                                    pe_resource_t * rsc_lh, pe_resource_t * rsc_rh,
rsc_rh             73 include/pcmki/pcmki_sched_utils.h filter_colocation_constraint(pe_resource_t * rsc_lh, pe_resource_t * rsc_rh,
rsc_rh             44 include/pcmki/pcmki_scheduler.h     pe_resource_t *rsc_rh;
rsc_rh            427 lib/pacemaker/pcmk_sched_bundle.c pcmk__bundle_rsc_colocation_lh(pe_resource_t *rsc, pe_resource_t *rsc_rh,
rsc_rh            247 lib/pacemaker/pcmk_sched_clone.c                 hash1 = pcmk__native_merge_weights(constraint->rsc_rh,
rsc_rh            276 lib/pacemaker/pcmk_sched_clone.c                 hash2 = pcmk__native_merge_weights(constraint->rsc_rh,
rsc_rh            654 lib/pacemaker/pcmk_sched_clone.c                      rsc->id, constraint->rsc_rh->id);
rsc_rh            655 lib/pacemaker/pcmk_sched_clone.c         constraint->rsc_rh->cmds->allocate(constraint->rsc_rh, prefer, data_set);
rsc_rh           1057 lib/pacemaker/pcmk_sched_clone.c clone_rsc_colocation_lh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh,
rsc_rh           1069 lib/pacemaker/pcmk_sched_clone.c clone_rsc_colocation_rh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh,
rsc_rh           1079 lib/pacemaker/pcmk_sched_clone.c     CRM_CHECK(rsc_rh != NULL, pe_err("rsc_rh was NULL for %s", constraint->id); return);
rsc_rh           1085 lib/pacemaker/pcmk_sched_clone.c     pe_rsc_trace(rsc_rh, "Processing constraint %s: %s -> %s %d",
rsc_rh           1086 lib/pacemaker/pcmk_sched_clone.c                  constraint->id, rsc_lh->id, rsc_rh->id, constraint->score);
rsc_rh           1088 lib/pacemaker/pcmk_sched_clone.c     if (pcmk_is_set(rsc_rh->flags, pe_rsc_promotable)) {
rsc_rh           1089 lib/pacemaker/pcmk_sched_clone.c         if (pcmk_is_set(rsc_rh->flags, pe_rsc_provisional)) {
rsc_rh           1090 lib/pacemaker/pcmk_sched_clone.c             pe_rsc_trace(rsc_rh, "%s is still provisional", rsc_rh->id);
rsc_rh           1093 lib/pacemaker/pcmk_sched_clone.c             pe_rsc_trace(rsc_rh, "Handling %s as a clone colocation", constraint->id);
rsc_rh           1095 lib/pacemaker/pcmk_sched_clone.c             promotable_colocation_rh(rsc_lh, rsc_rh, constraint, data_set);
rsc_rh           1104 lib/pacemaker/pcmk_sched_clone.c         if (copies_per_node(constraint->rsc_lh) != copies_per_node(constraint->rsc_rh)) {
rsc_rh           1107 lib/pacemaker/pcmk_sched_clone.c                              constraint->rsc_lh->id, constraint->rsc_rh->id);
rsc_rh           1114 lib/pacemaker/pcmk_sched_clone.c     if (pcmk_is_set(rsc_rh->flags, pe_rsc_provisional)) {
rsc_rh           1115 lib/pacemaker/pcmk_sched_clone.c         pe_rsc_trace(rsc_rh, "%s is still provisional", rsc_rh->id);
rsc_rh           1121 lib/pacemaker/pcmk_sched_clone.c         rh_child = find_compatible_child(rsc_lh, rsc_rh, RSC_ROLE_UNKNOWN,
rsc_rh           1125 lib/pacemaker/pcmk_sched_clone.c             pe_rsc_debug(rsc_rh, "Pairing %s with %s", rsc_lh->id, rh_child->id);
rsc_rh           1130 lib/pacemaker/pcmk_sched_clone.c             crm_notice("Cannot pair %s with instance of %s", rsc_lh->id, rsc_rh->id);
rsc_rh           1134 lib/pacemaker/pcmk_sched_clone.c             pe_rsc_debug(rsc_rh, "Cannot pair %s with instance of %s", rsc_lh->id, rsc_rh->id);
rsc_rh           1142 lib/pacemaker/pcmk_sched_clone.c         gIter = rsc_rh->children;
rsc_rh           1148 lib/pacemaker/pcmk_sched_clone.c                 pe_rsc_trace(rsc_rh, "Allowing %s: %s %d", constraint->id, chosen->details->uname, chosen->weight);
rsc_rh           1158 lib/pacemaker/pcmk_sched_clone.c     gIter = rsc_rh->children;
rsc_rh           1220 lib/pacemaker/pcmk_sched_constraints.c     CRM_ASSERT(rsc_constraint1->rsc_rh != NULL);
rsc_rh           1268 lib/pacemaker/pcmk_sched_constraints.c     CRM_ASSERT(rsc_constraint1->rsc_rh != NULL);
rsc_rh           1270 lib/pacemaker/pcmk_sched_constraints.c     if (rsc_constraint1->rsc_rh->priority > rsc_constraint2->rsc_rh->priority) {
rsc_rh           1274 lib/pacemaker/pcmk_sched_constraints.c     if (rsc_constraint1->rsc_rh->priority < rsc_constraint2->rsc_rh->priority) {
rsc_rh           1279 lib/pacemaker/pcmk_sched_constraints.c     if (rsc_constraint1->rsc_rh->variant > rsc_constraint2->rsc_rh->variant) {
rsc_rh           1281 lib/pacemaker/pcmk_sched_constraints.c     } else if (rsc_constraint1->rsc_rh->variant < rsc_constraint2->rsc_rh->variant) {
rsc_rh           1289 lib/pacemaker/pcmk_sched_constraints.c     if (rsc_constraint1->rsc_rh->variant == pe_clone) {
rsc_rh           1290 lib/pacemaker/pcmk_sched_constraints.c         if (pcmk_is_set(rsc_constraint1->rsc_rh->flags, pe_rsc_promotable)
rsc_rh           1291 lib/pacemaker/pcmk_sched_constraints.c             && !pcmk_is_set(rsc_constraint2->rsc_rh->flags, pe_rsc_promotable)) {
rsc_rh           1293 lib/pacemaker/pcmk_sched_constraints.c         } else if (!pcmk_is_set(rsc_constraint1->rsc_rh->flags, pe_rsc_promotable)
rsc_rh           1294 lib/pacemaker/pcmk_sched_constraints.c             && pcmk_is_set(rsc_constraint2->rsc_rh->flags, pe_rsc_promotable)) {
rsc_rh           1299 lib/pacemaker/pcmk_sched_constraints.c     return strcmp(rsc_constraint1->rsc_rh->id, rsc_constraint2->rsc_rh->id);
rsc_rh           1346 lib/pacemaker/pcmk_sched_constraints.c                    pe_resource_t * rsc_lh, pe_resource_t * rsc_rh,
rsc_rh           1351 lib/pacemaker/pcmk_sched_constraints.c     if ((rsc_lh == NULL) || (rsc_rh == NULL)) {
rsc_rh           1372 lib/pacemaker/pcmk_sched_constraints.c     new_con->rsc_rh = rsc_rh;
rsc_rh           1382 lib/pacemaker/pcmk_sched_constraints.c     pe_rsc_trace(rsc_lh, "%s ==> %s (%s %d)", rsc_lh->id, rsc_rh->id, node_attr, score);
rsc_rh           1386 lib/pacemaker/pcmk_sched_constraints.c     rsc_rh->rsc_cons_lhs =
rsc_rh           1387 lib/pacemaker/pcmk_sched_constraints.c         g_list_insert_sorted(rsc_rh->rsc_cons_lhs, new_con, sort_cons_priority_lh);
rsc_rh           1392 lib/pacemaker/pcmk_sched_constraints.c         anti_colocation_order(rsc_lh, new_con->role_lh, rsc_rh, new_con->role_rh, data_set);
rsc_rh           1393 lib/pacemaker/pcmk_sched_constraints.c         anti_colocation_order(rsc_rh, new_con->role_rh, rsc_lh, new_con->role_lh, data_set);
rsc_rh           2484 lib/pacemaker/pcmk_sched_constraints.c     pe_resource_t *rsc_rh = pe_find_constraint_resource(data_set->resources, id_rh);
rsc_rh           2491 lib/pacemaker/pcmk_sched_constraints.c     } else if (rsc_rh == NULL) {
rsc_rh           2502 lib/pacemaker/pcmk_sched_constraints.c     } else if (instance_rh && pe_rsc_is_clone(rsc_rh) == FALSE) {
rsc_rh           2520 lib/pacemaker/pcmk_sched_constraints.c         rsc_rh = find_clone_instance(rsc_rh, instance_rh, data_set);
rsc_rh           2521 lib/pacemaker/pcmk_sched_constraints.c         if (rsc_rh == NULL) {
rsc_rh           2539 lib/pacemaker/pcmk_sched_constraints.c     rsc_colocation_new(id, attr, score_i, rsc_lh, rsc_rh, state_lh, state_rh, data_set);
rsc_rh           2553 lib/pacemaker/pcmk_sched_constraints.c     pe_resource_t *rsc_rh = NULL;
rsc_rh           2595 lib/pacemaker/pcmk_sched_constraints.c     if (valid_resource_or_tag(data_set, id_rh, &rsc_rh, &tag_rh) == FALSE) {
rsc_rh           2601 lib/pacemaker/pcmk_sched_constraints.c     if (rsc_lh && rsc_rh) {
rsc_rh            284 lib/pacemaker/pcmk_sched_group.c group_rsc_colocation_lh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh,
rsc_rh            295 lib/pacemaker/pcmk_sched_group.c     } else if (rsc_rh == NULL) {
rsc_rh            310 lib/pacemaker/pcmk_sched_group.c                                                          rsc_rh, constraint,
rsc_rh            317 lib/pacemaker/pcmk_sched_group.c                          rsc_lh->id, rsc_rh->id);
rsc_rh            324 lib/pacemaker/pcmk_sched_group.c         child_rsc->cmds->rsc_colocation_lh(child_rsc, rsc_rh, constraint,
rsc_rh            330 lib/pacemaker/pcmk_sched_group.c group_rsc_colocation_rh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh,
rsc_rh            334 lib/pacemaker/pcmk_sched_group.c     GListPtr gIter = rsc_rh->children;
rsc_rh            337 lib/pacemaker/pcmk_sched_group.c     get_group_variant_data(group_data, rsc_rh);
rsc_rh            343 lib/pacemaker/pcmk_sched_group.c     pe_rsc_trace(rsc_rh, "Processing RH %s of constraint %s (LH is %s)",
rsc_rh            344 lib/pacemaker/pcmk_sched_group.c                  rsc_rh->id, constraint->id, rsc_lh->id);
rsc_rh            346 lib/pacemaker/pcmk_sched_group.c     if (pcmk_is_set(rsc_rh->flags, pe_rsc_provisional)) {
rsc_rh            368 lib/pacemaker/pcmk_sched_group.c                          " non-colocated group %s", rsc_lh->id, rsc_rh->id);
rsc_rh            444 lib/pacemaker/pcmk_sched_native.c                 other = constraint->rsc_rh;
rsc_rh            451 lib/pacemaker/pcmk_sched_native.c                          constraint->rsc_rh->id);
rsc_rh            532 lib/pacemaker/pcmk_sched_native.c         pe_resource_t *rsc_rh = constraint->rsc_rh;
rsc_rh            545 lib/pacemaker/pcmk_sched_native.c                      rsc->id, rsc_rh->id, constraint->id,
rsc_rh            547 lib/pacemaker/pcmk_sched_native.c         rsc_rh->cmds->allocate(rsc_rh, NULL, data_set);
rsc_rh            548 lib/pacemaker/pcmk_sched_native.c         rsc->cmds->rsc_colocation_lh(rsc, rsc_rh, constraint, data_set);
rsc_rh            550 lib/pacemaker/pcmk_sched_native.c             pe_rsc_info(rsc, "%s: Rolling back scores from %s", rsc->id, rsc_rh->id);
rsc_rh            570 lib/pacemaker/pcmk_sched_native.c                      constraint->rsc_rh->id);
rsc_rh           1712 lib/pacemaker/pcmk_sched_native.c native_rsc_colocation_lh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh,
rsc_rh           1720 lib/pacemaker/pcmk_sched_native.c     } else if (constraint->rsc_rh == NULL) {
rsc_rh           1729 lib/pacemaker/pcmk_sched_native.c                  rsc_rh->id);
rsc_rh           1731 lib/pacemaker/pcmk_sched_native.c     rsc_rh->cmds->rsc_colocation_rh(rsc_lh, rsc_rh, constraint, data_set);
rsc_rh           1735 lib/pacemaker/pcmk_sched_native.c filter_colocation_constraint(pe_resource_t * rsc_lh, pe_resource_t * rsc_rh,
rsc_rh           1743 lib/pacemaker/pcmk_sched_native.c     if (!preview && pcmk_is_set(rsc_rh->flags, pe_rsc_provisional)) {
rsc_rh           1758 lib/pacemaker/pcmk_sched_native.c         const pe_node_t *rh_node = rsc_rh->allocated_to;
rsc_rh           1771 lib/pacemaker/pcmk_sched_native.c                         rsc_lh->id, rsc_rh->id,
rsc_rh           1783 lib/pacemaker/pcmk_sched_native.c                         rsc_lh->id, rsc_rh->id, rh_node->details->uname);
rsc_rh           1797 lib/pacemaker/pcmk_sched_native.c         && constraint->role_rh != RSC_ROLE_UNKNOWN && constraint->role_rh != rsc_rh->next_role) {
rsc_rh           1810 lib/pacemaker/pcmk_sched_native.c         && constraint->role_rh != RSC_ROLE_UNKNOWN && constraint->role_rh == rsc_rh->next_role) {
rsc_rh           1820 lib/pacemaker/pcmk_sched_native.c influence_priority(pe_resource_t * rsc_lh, pe_resource_t * rsc_rh, rsc_colocation_t * constraint)
rsc_rh           1830 lib/pacemaker/pcmk_sched_native.c     if (!rsc_rh->allocated_to || !rsc_lh->allocated_to) {
rsc_rh           1839 lib/pacemaker/pcmk_sched_native.c     rh_value = pe_node_attribute_raw(rsc_rh->allocated_to, attribute);
rsc_rh           1848 lib/pacemaker/pcmk_sched_native.c     if (constraint->role_rh && (constraint->role_rh != rsc_rh->next_role)) {
rsc_rh           1861 lib/pacemaker/pcmk_sched_native.c colocation_match(pe_resource_t * rsc_lh, pe_resource_t * rsc_rh, rsc_colocation_t * constraint)
rsc_rh           1876 lib/pacemaker/pcmk_sched_native.c     if (rsc_rh->allocated_to) {
rsc_rh           1877 lib/pacemaker/pcmk_sched_native.c         value = pe_node_attribute_raw(rsc_rh->allocated_to, attribute);
rsc_rh           1888 lib/pacemaker/pcmk_sched_native.c         if (rsc_rh->allocated_to == NULL) {
rsc_rh           1891 lib/pacemaker/pcmk_sched_native.c                          constraint->score, rsc_rh->id);
rsc_rh           1919 lib/pacemaker/pcmk_sched_native.c                     rsc_lh->id, rsc_rh->id);
rsc_rh           1928 lib/pacemaker/pcmk_sched_native.c native_rsc_colocation_rh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh,
rsc_rh           1935 lib/pacemaker/pcmk_sched_native.c     CRM_ASSERT(rsc_rh);
rsc_rh           1936 lib/pacemaker/pcmk_sched_native.c     filter_results = filter_colocation_constraint(rsc_lh, rsc_rh, constraint, FALSE);
rsc_rh           1939 lib/pacemaker/pcmk_sched_native.c                  rsc_lh->id, rsc_rh->id, constraint->id, constraint->score, filter_results);
rsc_rh           1943 lib/pacemaker/pcmk_sched_native.c             influence_priority(rsc_lh, rsc_rh, constraint);
rsc_rh           1946 lib/pacemaker/pcmk_sched_native.c             colocation_match(rsc_lh, rsc_rh, constraint);
rsc_rh            334 lib/pacemaker/pcmk_sched_promotable.c             pe_rsc_trace(rsc, "RHS: %s with %s: %d", constraint->rsc_lh->id, constraint->rsc_rh->id,
rsc_rh            337 lib/pacemaker/pcmk_sched_promotable.c                 constraint->rsc_rh->cmds->merge_weights(constraint->rsc_rh, rsc->id,
rsc_rh            356 lib/pacemaker/pcmk_sched_promotable.c             pe_rsc_trace(rsc, "LHS: %s with %s: %d", constraint->rsc_lh->id, constraint->rsc_rh->id,
rsc_rh            746 lib/pacemaker/pcmk_sched_promotable.c             child_rsc->cmds->rsc_colocation_lh(child_rsc, cons->rsc_rh, cons,
rsc_rh            983 lib/pacemaker/pcmk_sched_promotable.c promotable_colocation_rh(pe_resource_t *rsc_lh, pe_resource_t *rsc_rh,
rsc_rh            995 lib/pacemaker/pcmk_sched_promotable.c         for (gIter = rsc_rh->children; gIter != NULL; gIter = gIter->next) {
rsc_rh           1000 lib/pacemaker/pcmk_sched_promotable.c             pe_rsc_trace(rsc_rh, "Processing: %s", child_rsc->id);
rsc_rh           1002 lib/pacemaker/pcmk_sched_promotable.c                 pe_rsc_trace(rsc_rh, "Applying: %s %s %s %d", child_rsc->id,
rsc_rh           1023 lib/pacemaker/pcmk_sched_promotable.c         pe_resource_t *rh_child = find_compatible_child(rsc_lh, rsc_rh,
rsc_rh            280 lib/pacemaker/pcmk_sched_utilization.c         pe_resource_t *rsc_rh = constraint->rsc_rh;
rsc_rh            283 lib/pacemaker/pcmk_sched_utilization.c         if (rsc_rh == orig_rsc) {
rsc_rh            288 lib/pacemaker/pcmk_sched_utilization.c             && filter_colocation_constraint(rsc, rsc_rh, constraint, TRUE) == influence_rsc_location) {
rsc_rh            290 lib/pacemaker/pcmk_sched_utilization.c             if (rsc_rh->variant == pe_group) {
rsc_rh            292 lib/pacemaker/pcmk_sched_utilization.c                 colocated_rscs = group_find_colocated_rscs(colocated_rscs, rsc_rh, orig_rsc);
rsc_rh            295 lib/pacemaker/pcmk_sched_utilization.c                 colocated_rscs = find_colocated_rscs(colocated_rscs, rsc_rh, orig_rsc);
rsc_rh            227 tools/crm_resource_print.c         pe_resource_t *peer = cons->rsc_rh;