dependent          25 include/pcmki/pcmki_scheduler.h     pe_resource_t *dependent;   // The resource being colocated
dependent         108 lib/pacemaker/libpacemaker_private.h     void (*apply_coloc_score) (pe_resource_t *dependent,
dependent         377 lib/pacemaker/libpacemaker_private.h enum pcmk__coloc_affects pcmk__colocation_affects(const pe_resource_t *dependent,
dependent         383 lib/pacemaker/libpacemaker_private.h void pcmk__apply_coloc_to_weights(pe_resource_t *dependent,
dependent         388 lib/pacemaker/libpacemaker_private.h void pcmk__apply_coloc_to_priority(pe_resource_t *dependent,
dependent         408 lib/pacemaker/libpacemaker_private.h                           pe_resource_t *dependent, pe_resource_t *primary,
dependent         448 lib/pacemaker/libpacemaker_private.h     if (pcmk_is_set(colocation->dependent->flags, pe_rsc_allow_remote_remotes)
dependent         543 lib/pacemaker/libpacemaker_private.h                                             pe_resource_t *dependent,
dependent         548 lib/pacemaker/libpacemaker_private.h                                                 pe_resource_t *dependent,
dependent         589 lib/pacemaker/libpacemaker_private.h void pcmk__primitive_apply_coloc_score(pe_resource_t *dependent,
dependent         622 lib/pacemaker/libpacemaker_private.h void pcmk__group_apply_coloc_score(pe_resource_t *dependent,
dependent         659 lib/pacemaker/libpacemaker_private.h void pcmk__clone_apply_coloc_score(pe_resource_t *dependent,
dependent         667 lib/pacemaker/libpacemaker_private.h void pcmk__bundle_apply_coloc_score(pe_resource_t *dependent,
dependent          47 lib/pacemaker/pcmk_output.c                                         "rsc", cons->dependent->id,
dependent         455 lib/pacemaker/pcmk_output.c         if (pcmk_is_set(cons->dependent->flags, pe_rsc_allocating)) {
dependent         457 lib/pacemaker/pcmk_output.c                            cons->dependent->id, cons->id);
dependent         461 lib/pacemaker/pcmk_output.c         hdr = colocations_header(cons->dependent, cons, true);
dependent         468 lib/pacemaker/pcmk_output.c         out->message(out, "locations-list", cons->dependent);
dependent         471 lib/pacemaker/pcmk_output.c                          cons->dependent, recursive);
dependent         497 lib/pacemaker/pcmk_output.c         if (pcmk_is_set(cons->dependent->flags, pe_rsc_allocating)) {
dependent         498 lib/pacemaker/pcmk_output.c             colocations_xml_node(out, cons->dependent, cons);
dependent         502 lib/pacemaker/pcmk_output.c         colocations_xml_node(out, cons->dependent, cons);
dependent         503 lib/pacemaker/pcmk_output.c         do_locations_list_xml(out, cons->dependent, false);
dependent         507 lib/pacemaker/pcmk_output.c                          cons->dependent, recursive);
dependent         455 lib/pacemaker/pcmk_sched_bundle.c pcmk__bundle_apply_coloc_score(pe_resource_t *dependent,
dependent         469 lib/pacemaker/pcmk_sched_bundle.c     CRM_CHECK((colocation != NULL) && (dependent != NULL) && (primary != NULL),
dependent         471 lib/pacemaker/pcmk_sched_bundle.c     CRM_ASSERT(dependent->variant == pe_native);
dependent         477 lib/pacemaker/pcmk_sched_bundle.c     } else if (colocation->dependent->variant > pe_group) {
dependent         478 lib/pacemaker/pcmk_sched_bundle.c         pe_resource_t *primary_replica = compatible_replica(dependent, primary,
dependent         481 lib/pacemaker/pcmk_sched_bundle.c                                                             dependent->cluster);
dependent         485 lib/pacemaker/pcmk_sched_bundle.c                          dependent->id, primary_replica->id);
dependent         486 lib/pacemaker/pcmk_sched_bundle.c             dependent->cmds->apply_coloc_score(dependent, primary_replica,
dependent         491 lib/pacemaker/pcmk_sched_bundle.c                        dependent->id, primary->id);
dependent         492 lib/pacemaker/pcmk_sched_bundle.c             pcmk__assign_resource(dependent, NULL, true);
dependent         496 lib/pacemaker/pcmk_sched_bundle.c                          dependent->id, primary->id);
dependent         504 lib/pacemaker/pcmk_sched_bundle.c                  colocation->id, dependent->id, primary->id, colocation->score);
dependent         511 lib/pacemaker/pcmk_sched_bundle.c             replica->container->cmds->apply_coloc_score(dependent,
dependent         539 lib/pacemaker/pcmk_sched_bundle.c         node_list_exclude(dependent->allowed_nodes, allocated_primaries, FALSE);
dependent         328 lib/pacemaker/pcmk_sched_clone.c             pe_resource_t *dependent = constraint->dependent;
dependent         334 lib/pacemaker/pcmk_sched_clone.c             pcmk__add_colocated_node_scores(dependent, rsc->id,
dependent         699 lib/pacemaker/pcmk_sched_clone.c pcmk__clone_apply_coloc_score(pe_resource_t *dependent,
dependent         714 lib/pacemaker/pcmk_sched_clone.c     CRM_CHECK((colocation != NULL) && (dependent != NULL) && (primary != NULL),
dependent         716 lib/pacemaker/pcmk_sched_clone.c     CRM_CHECK(dependent->variant == pe_native, return);
dependent         719 lib/pacemaker/pcmk_sched_clone.c                  colocation->id, dependent->id, primary->id, colocation->score);
dependent         732 lib/pacemaker/pcmk_sched_clone.c         } else if (pcmk_is_set(dependent->flags, pe_rsc_provisional)) {
dependent         734 lib/pacemaker/pcmk_sched_clone.c             pcmk__update_dependent_with_promotable(primary, dependent,
dependent         740 lib/pacemaker/pcmk_sched_clone.c             pcmk__update_promotable_dependent_priority(primary, dependent,
dependent         747 lib/pacemaker/pcmk_sched_clone.c     interleave_s = g_hash_table_lookup(colocation->dependent->meta,
dependent         750 lib/pacemaker/pcmk_sched_clone.c         && (colocation->dependent->variant > pe_group)) {
dependent         754 lib/pacemaker/pcmk_sched_clone.c         if (copies_per_node(colocation->dependent) != copies_per_node(colocation->primary)) {
dependent         757 lib/pacemaker/pcmk_sched_clone.c                              colocation->dependent->id,
dependent         772 lib/pacemaker/pcmk_sched_clone.c         primary_instance = find_compatible_child(dependent, primary,
dependent         776 lib/pacemaker/pcmk_sched_clone.c                          dependent->id, primary_instance->id);
dependent         777 lib/pacemaker/pcmk_sched_clone.c             dependent->cmds->apply_coloc_score(dependent, primary_instance,
dependent         782 lib/pacemaker/pcmk_sched_clone.c                        dependent->id, primary->id);
dependent         783 lib/pacemaker/pcmk_sched_clone.c             pcmk__assign_resource(dependent, NULL, true);
dependent         787 lib/pacemaker/pcmk_sched_clone.c                          dependent->id, primary->id);
dependent         808 lib/pacemaker/pcmk_sched_clone.c         node_list_exclude(dependent->allowed_nodes, affected_nodes, FALSE);
dependent         817 lib/pacemaker/pcmk_sched_clone.c         child_rsc->cmds->apply_coloc_score(dependent, child_rsc, colocation,
dependent          48 lib/pacemaker/pcmk_sched_colocation.c     CRM_ASSERT(rsc_constraint1->dependent != NULL);
dependent          51 lib/pacemaker/pcmk_sched_colocation.c     if (rsc_constraint1->dependent->priority > rsc_constraint2->dependent->priority) {
dependent          55 lib/pacemaker/pcmk_sched_colocation.c     if (rsc_constraint1->dependent->priority < rsc_constraint2->dependent->priority) {
dependent          60 lib/pacemaker/pcmk_sched_colocation.c     if (rsc_constraint1->dependent->variant > rsc_constraint2->dependent->variant) {
dependent          63 lib/pacemaker/pcmk_sched_colocation.c     if (rsc_constraint1->dependent->variant < rsc_constraint2->dependent->variant) {
dependent          71 lib/pacemaker/pcmk_sched_colocation.c     if (rsc_constraint1->dependent->variant == pe_clone) {
dependent          72 lib/pacemaker/pcmk_sched_colocation.c         if (pcmk_is_set(rsc_constraint1->dependent->flags, pe_rsc_promotable)
dependent          73 lib/pacemaker/pcmk_sched_colocation.c             && !pcmk_is_set(rsc_constraint2->dependent->flags, pe_rsc_promotable)) {
dependent          75 lib/pacemaker/pcmk_sched_colocation.c         } else if (!pcmk_is_set(rsc_constraint1->dependent->flags, pe_rsc_promotable)
dependent          76 lib/pacemaker/pcmk_sched_colocation.c             && pcmk_is_set(rsc_constraint2->dependent->flags, pe_rsc_promotable)) {
dependent          81 lib/pacemaker/pcmk_sched_colocation.c     return strcmp(rsc_constraint1->dependent->id,
dependent          82 lib/pacemaker/pcmk_sched_colocation.c                   rsc_constraint2->dependent->id);
dependent          98 lib/pacemaker/pcmk_sched_colocation.c     CRM_ASSERT(rsc_constraint1->dependent != NULL);
dependent         226 lib/pacemaker/pcmk_sched_colocation.c                      pe_resource_t *dependent, pe_resource_t *primary,
dependent         236 lib/pacemaker/pcmk_sched_colocation.c     if ((dependent == NULL) || (primary == NULL)) {
dependent         258 lib/pacemaker/pcmk_sched_colocation.c     new_con->dependent = dependent;
dependent         270 lib/pacemaker/pcmk_sched_colocation.c     pe_rsc_trace(dependent, "%s ==> %s (%s %d)",
dependent         271 lib/pacemaker/pcmk_sched_colocation.c                  dependent->id, primary->id, node_attr, score);
dependent         273 lib/pacemaker/pcmk_sched_colocation.c     pcmk__add_this_with(dependent, new_con);
dependent         280 lib/pacemaker/pcmk_sched_colocation.c         anti_colocation_order(dependent, new_con->dependent_role, primary,
dependent         282 lib/pacemaker/pcmk_sched_colocation.c         anti_colocation_order(primary, new_con->primary_role, dependent,
dependent         531 lib/pacemaker/pcmk_sched_colocation.c     pe_resource_t *dependent = pcmk__find_constraint_resource(data_set->resources,
dependent         548 lib/pacemaker/pcmk_sched_colocation.c     if (dependent == NULL) {
dependent         558 lib/pacemaker/pcmk_sched_colocation.c     } else if ((dependent_instance != NULL) && !pe_rsc_is_clone(dependent)) {
dependent         572 lib/pacemaker/pcmk_sched_colocation.c         dependent = find_clone_instance(dependent, dependent_instance, data_set);
dependent         573 lib/pacemaker/pcmk_sched_colocation.c         if (dependent == NULL) {
dependent         601 lib/pacemaker/pcmk_sched_colocation.c     pcmk__new_colocation(id, attr, score_i, dependent, primary,
dependent         603 lib/pacemaker/pcmk_sched_colocation.c                          unpack_influence(id, dependent, influence_s), data_set);
dependent         617 lib/pacemaker/pcmk_sched_colocation.c     pe_resource_t *dependent = NULL;
dependent         651 lib/pacemaker/pcmk_sched_colocation.c     if (!pcmk__valid_resource_or_tag(data_set, dependent_id, &dependent,
dependent         665 lib/pacemaker/pcmk_sched_colocation.c     if ((dependent != NULL) && (primary != NULL)) {
dependent         905 lib/pacemaker/pcmk_sched_colocation.c             mark_action_blocked(colocation->dependent, RSC_PROMOTE,
dependent         908 lib/pacemaker/pcmk_sched_colocation.c             mark_action_blocked(colocation->dependent, RSC_START, action->rsc);
dependent         932 lib/pacemaker/pcmk_sched_colocation.c pcmk__colocation_affects(const pe_resource_t *dependent,
dependent         942 lib/pacemaker/pcmk_sched_colocation.c         && (dependent->parent != NULL)
dependent         943 lib/pacemaker/pcmk_sched_colocation.c         && pcmk_is_set(dependent->parent->flags, pe_rsc_promotable)
dependent         944 lib/pacemaker/pcmk_sched_colocation.c         && !pcmk_is_set(dependent->flags, pe_rsc_provisional)) {
dependent         953 lib/pacemaker/pcmk_sched_colocation.c     if (!preview && !pcmk_is_set(dependent->flags, pe_rsc_provisional)) {
dependent         961 lib/pacemaker/pcmk_sched_colocation.c         if (dependent->allocated_to == NULL) {
dependent         963 lib/pacemaker/pcmk_sched_colocation.c                       colocation->id, dependent->id);
dependent         969 lib/pacemaker/pcmk_sched_colocation.c                 (primary_node->details != dependent->allocated_to->details)) {
dependent         971 lib/pacemaker/pcmk_sched_colocation.c                         dependent->id, primary->id,
dependent         972 lib/pacemaker/pcmk_sched_colocation.c                         pe__node_name(dependent->allocated_to),
dependent         980 lib/pacemaker/pcmk_sched_colocation.c                 (dependent->allocated_to->details == primary_node->details)) {
dependent         983 lib/pacemaker/pcmk_sched_colocation.c                         dependent->id, primary->id, pe__node_name(primary_node));
dependent         991 lib/pacemaker/pcmk_sched_colocation.c         && (colocation->dependent_role != dependent->next_role)) {
dependent         996 lib/pacemaker/pcmk_sched_colocation.c                   dependent->id, role2text(dependent->next_role));
dependent        1013 lib/pacemaker/pcmk_sched_colocation.c         && (colocation->dependent_role == dependent->next_role)) {
dependent        1042 lib/pacemaker/pcmk_sched_colocation.c pcmk__apply_coloc_to_weights(pe_resource_t *dependent,
dependent        1064 lib/pacemaker/pcmk_sched_colocation.c     work = pcmk__copy_node_table(dependent->allowed_nodes);
dependent        1069 lib/pacemaker/pcmk_sched_colocation.c             pe_rsc_trace(dependent, "%s: %s@%s -= %d (%s inactive)",
dependent        1070 lib/pacemaker/pcmk_sched_colocation.c                          colocation->id, dependent->id, pe__node_name(node),
dependent        1077 lib/pacemaker/pcmk_sched_colocation.c                 pe_rsc_trace(dependent, "%s: %s@%s += %d",
dependent        1078 lib/pacemaker/pcmk_sched_colocation.c                              colocation->id, dependent->id,
dependent        1085 lib/pacemaker/pcmk_sched_colocation.c             pe_rsc_trace(dependent, "%s: %s@%s -= %d (%s mismatch)",
dependent        1086 lib/pacemaker/pcmk_sched_colocation.c                          colocation->id, dependent->id, pe__node_name(node),
dependent        1095 lib/pacemaker/pcmk_sched_colocation.c         g_hash_table_destroy(dependent->allowed_nodes);
dependent        1096 lib/pacemaker/pcmk_sched_colocation.c         dependent->allowed_nodes = work;
dependent        1100 lib/pacemaker/pcmk_sched_colocation.c         pe_rsc_info(dependent,
dependent        1102 lib/pacemaker/pcmk_sched_colocation.c                     dependent->id, primary->id);
dependent        1122 lib/pacemaker/pcmk_sched_colocation.c pcmk__apply_coloc_to_priority(pe_resource_t *dependent,
dependent        1131 lib/pacemaker/pcmk_sched_colocation.c     if ((primary->allocated_to == NULL) || (dependent->allocated_to == NULL)) {
dependent        1139 lib/pacemaker/pcmk_sched_colocation.c     dependent_value = pe_node_attribute_raw(dependent->allocated_to, attribute);
dependent        1145 lib/pacemaker/pcmk_sched_colocation.c             dependent->priority = -INFINITY;
dependent        1159 lib/pacemaker/pcmk_sched_colocation.c     dependent->priority = pcmk__add_scores(score_multiplier * colocation->score,
dependent        1160 lib/pacemaker/pcmk_sched_colocation.c                                            dependent->priority);
dependent        1477 lib/pacemaker/pcmk_sched_colocation.c                 other = constraint->dependent;
dependent        1481 lib/pacemaker/pcmk_sched_colocation.c                          constraint->id, constraint->dependent->id,
dependent         372 lib/pacemaker/pcmk_sched_group.c colocate_group_with(pe_resource_t *dependent, const pe_resource_t *primary,
dependent         377 lib/pacemaker/pcmk_sched_group.c     if (dependent->children == NULL) {
dependent         382 lib/pacemaker/pcmk_sched_group.c                  colocation->id, dependent->id, primary->id);
dependent         384 lib/pacemaker/pcmk_sched_group.c     if (pe__group_flag_is_set(dependent, pe__group_colocated)) {
dependent         386 lib/pacemaker/pcmk_sched_group.c         member = (pe_resource_t *) dependent->children->data;
dependent         394 lib/pacemaker/pcmk_sched_group.c                          dependent->id, primary->id);
dependent         399 lib/pacemaker/pcmk_sched_group.c     for (GList *iter = dependent->children; iter != NULL; iter = iter->next) {
dependent         418 lib/pacemaker/pcmk_sched_group.c colocate_with_group(pe_resource_t *dependent, const pe_resource_t *primary,
dependent         425 lib/pacemaker/pcmk_sched_group.c                  colocation->id, dependent->id, primary->id);
dependent         450 lib/pacemaker/pcmk_sched_group.c         member->cmds->apply_coloc_score(dependent, member, colocation, false);
dependent         457 lib/pacemaker/pcmk_sched_group.c                          dependent->id, primary->id);
dependent         464 lib/pacemaker/pcmk_sched_group.c         member->cmds->apply_coloc_score(dependent, member, colocation, false);
dependent         482 lib/pacemaker/pcmk_sched_group.c pcmk__group_apply_coloc_score(pe_resource_t *dependent,
dependent         487 lib/pacemaker/pcmk_sched_group.c     CRM_ASSERT((dependent != NULL) && (primary != NULL)
dependent         491 lib/pacemaker/pcmk_sched_group.c         colocate_group_with(dependent, primary, colocation);
dependent         495 lib/pacemaker/pcmk_sched_group.c         CRM_ASSERT(dependent->variant == pe_native);
dependent         497 lib/pacemaker/pcmk_sched_group.c         colocate_with_group(dependent, primary, colocation);
dependent         327 lib/pacemaker/pcmk_sched_primitive.c     pe_resource_t *other = colocation->dependent;
dependent        1015 lib/pacemaker/pcmk_sched_primitive.c pcmk__primitive_apply_coloc_score(pe_resource_t *dependent,
dependent        1022 lib/pacemaker/pcmk_sched_primitive.c     CRM_CHECK((colocation != NULL) && (dependent != NULL) && (primary != NULL),
dependent        1027 lib/pacemaker/pcmk_sched_primitive.c         primary->cmds->apply_coloc_score(dependent, primary, colocation, false);
dependent        1031 lib/pacemaker/pcmk_sched_primitive.c     filter_results = pcmk__colocation_affects(dependent, primary, colocation,
dependent        1033 lib/pacemaker/pcmk_sched_primitive.c     pe_rsc_trace(dependent, "%s %s with %s (%s, score=%d, filter=%d)",
dependent        1035 lib/pacemaker/pcmk_sched_primitive.c                  dependent->id, primary->id, colocation->id, colocation->score,
dependent        1040 lib/pacemaker/pcmk_sched_primitive.c             pcmk__apply_coloc_to_priority(dependent, primary, colocation);
dependent        1043 lib/pacemaker/pcmk_sched_primitive.c             pcmk__apply_coloc_to_weights(dependent, primary, colocation);
dependent         349 lib/pacemaker/pcmk_sched_promotable.c                  constraint->id, constraint->dependent->id,
dependent         368 lib/pacemaker/pcmk_sched_promotable.c     pe_resource_t *dependent = constraint->dependent;
dependent         379 lib/pacemaker/pcmk_sched_promotable.c                  constraint->id, constraint->dependent->id,
dependent         382 lib/pacemaker/pcmk_sched_promotable.c     pcmk__add_colocated_node_scores(dependent, clone->id, &clone->allowed_nodes,
dependent        1133 lib/pacemaker/pcmk_sched_promotable.c update_dependent_allowed_nodes(pe_resource_t *dependent,
dependent        1155 lib/pacemaker/pcmk_sched_promotable.c                  colocation->id, colocation->dependent->id,
dependent        1157 lib/pacemaker/pcmk_sched_promotable.c                  colocation->score, dependent->id);
dependent        1159 lib/pacemaker/pcmk_sched_promotable.c     g_hash_table_iter_init(&iter, dependent->allowed_nodes);
dependent        1180 lib/pacemaker/pcmk_sched_promotable.c                                        pe_resource_t *dependent,
dependent        1197 lib/pacemaker/pcmk_sched_promotable.c             update_dependent_allowed_nodes(dependent, node, colocation);
dependent        1215 lib/pacemaker/pcmk_sched_promotable.c                      colocation->id, colocation->dependent->id,
dependent        1216 lib/pacemaker/pcmk_sched_promotable.c                      colocation->primary->id, dependent->id);
dependent        1217 lib/pacemaker/pcmk_sched_promotable.c         node_list_exclude(dependent->allowed_nodes, affected_nodes,
dependent        1233 lib/pacemaker/pcmk_sched_promotable.c                                            pe_resource_t *dependent,
dependent        1239 lib/pacemaker/pcmk_sched_promotable.c     primary_instance = find_compatible_child(dependent, primary,
dependent        1244 lib/pacemaker/pcmk_sched_promotable.c         int new_priority = pcmk__add_scores(dependent->priority,
dependent        1249 lib/pacemaker/pcmk_sched_promotable.c                      colocation->id, colocation->dependent->id,
dependent        1250 lib/pacemaker/pcmk_sched_promotable.c                      colocation->primary->id, dependent->id,
dependent        1251 lib/pacemaker/pcmk_sched_promotable.c                      pcmk_readable_score(dependent->priority),
dependent        1254 lib/pacemaker/pcmk_sched_promotable.c         dependent->priority = new_priority;
dependent        1260 lib/pacemaker/pcmk_sched_promotable.c                      colocation->id, colocation->dependent->id,
dependent        1261 lib/pacemaker/pcmk_sched_promotable.c                      colocation->primary->id, dependent->id);
dependent        1262 lib/pacemaker/pcmk_sched_promotable.c         dependent->priority = -INFINITY;
dependent         250 lib/pacemaker/pcmk_sched_resource.c         pe_resource_t *dependent = constraint->dependent;
dependent         252 lib/pacemaker/pcmk_sched_resource.c         if (dependent == orig_rsc) {
dependent         256 lib/pacemaker/pcmk_sched_resource.c         if (pe_rsc_is_clone(rsc) && !pe_rsc_is_clone(dependent)) {
dependent         261 lib/pacemaker/pcmk_sched_resource.c             (pcmk__colocation_affects(dependent, rsc, constraint,
dependent         264 lib/pacemaker/pcmk_sched_resource.c             colocated_rscs = dependent->cmds->colocated_resources(dependent,
dependent         753 lib/pacemaker/pcmk_sched_resource.c         pcmk__add_colocated_node_scores(colocation->dependent, rsc->id, nodes,
dependent         385 tools/crm_resource_runtime.c                     && !pcmk_is_set(cons->dependent->flags, pe_rsc_allocating)) {
dependent         388 tools/crm_resource_runtime.c                               attr_name, attr_value, cons->dependent->id);
dependent         389 tools/crm_resource_runtime.c                     cli_resource_update_attribute(cons->dependent,
dependent         390 tools/crm_resource_runtime.c                                                   cons->dependent->id, NULL,