orig_rsc          158 lib/pacemaker/libpacemaker_private.h                                   const pcmk_resource_t *orig_rsc,
orig_rsc          179 lib/pacemaker/libpacemaker_private.h                                   const pcmk_resource_t *orig_rsc,
orig_rsc          201 lib/pacemaker/libpacemaker_private.h                                   const pcmk_resource_t *orig_rsc,
orig_rsc          335 lib/pacemaker/libpacemaker_private.h                             const pcmk_resource_t *orig_rsc, GList *all_rscs,
orig_rsc          743 lib/pacemaker/libpacemaker_private.h                                       const pcmk_resource_t *orig_rsc,
orig_rsc          748 lib/pacemaker/libpacemaker_private.h                                       const pcmk_resource_t *orig_rsc,
orig_rsc          760 lib/pacemaker/libpacemaker_private.h                                      const pcmk_resource_t *orig_rsc,
orig_rsc          787 lib/pacemaker/libpacemaker_private.h                                   const pcmk_resource_t *orig_rsc,
orig_rsc          792 lib/pacemaker/libpacemaker_private.h                                   const pcmk_resource_t *orig_rsc,
orig_rsc          821 lib/pacemaker/libpacemaker_private.h                                        const pcmk_resource_t *orig_rsc,
orig_rsc          826 lib/pacemaker/libpacemaker_private.h                                  const pcmk_resource_t *orig_rsc,
orig_rsc          856 lib/pacemaker/libpacemaker_private.h                                   const pcmk_resource_t *orig_rsc,
orig_rsc          861 lib/pacemaker/libpacemaker_private.h                                   const pcmk_resource_t *orig_rsc,
orig_rsc          880 lib/pacemaker/libpacemaker_private.h                                  const pcmk_resource_t *orig_rsc,
orig_rsc          909 lib/pacemaker/libpacemaker_private.h                                    const pcmk_resource_t *orig_rsc,
orig_rsc          914 lib/pacemaker/libpacemaker_private.h                                    const pcmk_resource_t *orig_rsc,
orig_rsc          933 lib/pacemaker/libpacemaker_private.h                                   const pcmk_resource_t *orig_rsc,
orig_rsc         1045 lib/pacemaker/libpacemaker_private.h                                  const pcmk_resource_t *orig_rsc,
orig_rsc          595 lib/pacemaker/pcmk_sched_bundle.c                               const pcmk_resource_t *orig_rsc, GList **list)
orig_rsc          599 lib/pacemaker/pcmk_sched_bundle.c     pcmk__assert(pcmk__is_bundle(rsc) && (orig_rsc != NULL) && (list != NULL));
orig_rsc          602 lib/pacemaker/pcmk_sched_bundle.c     if ((orig_rsc == rsc)
orig_rsc          603 lib/pacemaker/pcmk_sched_bundle.c         || pcmk_is_set(orig_rsc->flags, pcmk_rsc_replica_container)) {
orig_rsc          605 lib/pacemaker/pcmk_sched_bundle.c         pcmk__add_with_this_list(list, rsc->rsc_cons_lhs, orig_rsc);
orig_rsc          615 lib/pacemaker/pcmk_sched_bundle.c         || (pe__const_top_resource(orig_rsc, false) != bundled_rsc)) {
orig_rsc          619 lib/pacemaker/pcmk_sched_bundle.c     if (orig_rsc == bundled_rsc) {
orig_rsc          620 lib/pacemaker/pcmk_sched_bundle.c         if (pe__clone_flag_is_set(orig_rsc,
orig_rsc          625 lib/pacemaker/pcmk_sched_bundle.c             pcmk__add_with_this_list(list, rsc->rsc_cons_lhs, orig_rsc);
orig_rsc          628 lib/pacemaker/pcmk_sched_bundle.c     } else if (!pcmk_is_set(orig_rsc->flags, pcmk_rsc_unassigned)) {
orig_rsc          632 lib/pacemaker/pcmk_sched_bundle.c         pcmk__add_with_this_list(list, rsc->rsc_cons_lhs, orig_rsc);
orig_rsc          639 lib/pacemaker/pcmk_sched_bundle.c                               const pcmk_resource_t *orig_rsc, GList **list)
orig_rsc          643 lib/pacemaker/pcmk_sched_bundle.c     pcmk__assert(pcmk__is_bundle(rsc) && (orig_rsc != NULL) && (list != NULL));
orig_rsc          646 lib/pacemaker/pcmk_sched_bundle.c     if ((orig_rsc == rsc)
orig_rsc          647 lib/pacemaker/pcmk_sched_bundle.c         || pcmk_is_set(orig_rsc->flags, pcmk_rsc_replica_container)) {
orig_rsc          649 lib/pacemaker/pcmk_sched_bundle.c         pcmk__add_this_with_list(list, rsc->rsc_cons, orig_rsc);
orig_rsc          659 lib/pacemaker/pcmk_sched_bundle.c         || (pe__const_top_resource(orig_rsc, false) != bundled_rsc)) {
orig_rsc          663 lib/pacemaker/pcmk_sched_bundle.c     if (orig_rsc == bundled_rsc) {
orig_rsc          664 lib/pacemaker/pcmk_sched_bundle.c         if (pe__clone_flag_is_set(orig_rsc,
orig_rsc          669 lib/pacemaker/pcmk_sched_bundle.c             pcmk__add_this_with_list(list, rsc->rsc_cons, orig_rsc);
orig_rsc          672 lib/pacemaker/pcmk_sched_bundle.c     } else if (!pcmk_is_set(orig_rsc->flags, pcmk_rsc_unassigned)) {
orig_rsc          676 lib/pacemaker/pcmk_sched_bundle.c         pcmk__add_this_with_list(list, rsc->rsc_cons, orig_rsc);
orig_rsc         1034 lib/pacemaker/pcmk_sched_bundle.c                              const pcmk_resource_t *orig_rsc, GList *all_rscs,
orig_rsc         1051 lib/pacemaker/pcmk_sched_bundle.c         container->cmds->add_utilization(container, orig_rsc, all_rscs,
orig_rsc          363 lib/pacemaker/pcmk_sched_clone.c                              const pcmk_resource_t *orig_rsc, GList **list)
orig_rsc          365 lib/pacemaker/pcmk_sched_clone.c     CRM_CHECK((rsc != NULL) && (orig_rsc != NULL) && (list != NULL), return);
orig_rsc          367 lib/pacemaker/pcmk_sched_clone.c     pcmk__add_with_this_list(list, rsc->rsc_cons_lhs, orig_rsc);
orig_rsc          370 lib/pacemaker/pcmk_sched_clone.c         rsc->parent->cmds->with_this_colocations(rsc->parent, orig_rsc, list);
orig_rsc          377 lib/pacemaker/pcmk_sched_clone.c                              const pcmk_resource_t *orig_rsc, GList **list)
orig_rsc          379 lib/pacemaker/pcmk_sched_clone.c     CRM_CHECK((rsc != NULL) && (orig_rsc != NULL) && (list != NULL), return);
orig_rsc          381 lib/pacemaker/pcmk_sched_clone.c     pcmk__add_this_with_list(list, rsc->rsc_cons, orig_rsc);
orig_rsc          384 lib/pacemaker/pcmk_sched_clone.c         rsc->parent->cmds->this_with_colocations(rsc->parent, orig_rsc, list);
orig_rsc          666 lib/pacemaker/pcmk_sched_clone.c                             const pcmk_resource_t *orig_rsc, GList *all_rscs,
orig_rsc          672 lib/pacemaker/pcmk_sched_clone.c     pcmk__assert(pcmk__is_clone(rsc) && (orig_rsc != NULL)
orig_rsc          693 lib/pacemaker/pcmk_sched_clone.c                     child->cmds->add_utilization(child, orig_rsc, all_rscs,
orig_rsc          706 lib/pacemaker/pcmk_sched_clone.c         child->cmds->add_utilization(child, orig_rsc, all_rscs, utilization);
orig_rsc          706 lib/pacemaker/pcmk_sched_group.c                                 const pcmk_resource_t *orig_rsc,
orig_rsc          713 lib/pacemaker/pcmk_sched_group.c     if (orig_rsc == NULL) {
orig_rsc          714 lib/pacemaker/pcmk_sched_group.c         orig_rsc = rsc;
orig_rsc          728 lib/pacemaker/pcmk_sched_group.c             colocated_rscs = member->cmds->colocated_resources(member, orig_rsc,
orig_rsc          736 lib/pacemaker/pcmk_sched_group.c         colocated_rscs = pcmk__colocated_resources(rsc, orig_rsc,
orig_rsc          746 lib/pacemaker/pcmk_sched_group.c                              const pcmk_resource_t *orig_rsc, GList **list)
orig_rsc          749 lib/pacemaker/pcmk_sched_group.c     pcmk__assert((orig_rsc != NULL) && (list != NULL) && pcmk__is_group(rsc));
orig_rsc          760 lib/pacemaker/pcmk_sched_group.c     if ((orig_rsc != rsc) && (orig_rsc != pe__last_group_member(rsc))) {
orig_rsc          765 lib/pacemaker/pcmk_sched_group.c                     rsc->id, orig_rsc->id);
orig_rsc          768 lib/pacemaker/pcmk_sched_group.c     pcmk__add_with_this_list(list, rsc->rsc_cons_lhs, orig_rsc);
orig_rsc          772 lib/pacemaker/pcmk_sched_group.c         rsc->parent->cmds->with_this_colocations(rsc->parent, orig_rsc,
orig_rsc          785 lib/pacemaker/pcmk_sched_group.c         if (member != orig_rsc) {
orig_rsc          786 lib/pacemaker/pcmk_sched_group.c             member->cmds->with_this_colocations(member, orig_rsc, list);
orig_rsc          794 lib/pacemaker/pcmk_sched_group.c                              const pcmk_resource_t *orig_rsc, GList **list)
orig_rsc          798 lib/pacemaker/pcmk_sched_group.c     pcmk__assert((orig_rsc != NULL) && (list != NULL) && pcmk__is_group(rsc));
orig_rsc          808 lib/pacemaker/pcmk_sched_group.c     if ((rsc == orig_rsc)
orig_rsc          809 lib/pacemaker/pcmk_sched_group.c         || (orig_rsc == (const pcmk_resource_t *) rsc->children->data)) {
orig_rsc          811 lib/pacemaker/pcmk_sched_group.c                         rsc->id, orig_rsc->id);
orig_rsc          814 lib/pacemaker/pcmk_sched_group.c         pcmk__add_this_with_list(list, rsc->rsc_cons, orig_rsc);
orig_rsc          818 lib/pacemaker/pcmk_sched_group.c             rsc->parent->cmds->this_with_colocations(rsc->parent, orig_rsc,
orig_rsc          831 lib/pacemaker/pcmk_sched_group.c             if (member != orig_rsc) {
orig_rsc          832 lib/pacemaker/pcmk_sched_group.c                 member->cmds->this_with_colocations(member, orig_rsc, list);
orig_rsc          845 lib/pacemaker/pcmk_sched_group.c         if (orig_rsc == member) {
orig_rsc          852 lib/pacemaker/pcmk_sched_group.c                       rsc->id, orig_rsc->id, member->id);
orig_rsc          859 lib/pacemaker/pcmk_sched_group.c                     pcmk__add_this_with(list, colocation, orig_rsc);
orig_rsc          953 lib/pacemaker/pcmk_sched_group.c                             const pcmk_resource_t *orig_rsc, GList *all_rscs,
orig_rsc          958 lib/pacemaker/pcmk_sched_group.c     pcmk__assert((orig_rsc != NULL) && (utilization != NULL)
orig_rsc          965 lib/pacemaker/pcmk_sched_group.c     pcmk__rsc_trace(orig_rsc, "%s: Adding group %s as colocated utilization",
orig_rsc          966 lib/pacemaker/pcmk_sched_group.c                     orig_rsc->id, rsc->id);
orig_rsc          975 lib/pacemaker/pcmk_sched_group.c                 member->cmds->add_utilization(member, orig_rsc, all_rscs,
orig_rsc          987 lib/pacemaker/pcmk_sched_group.c             member->cmds->add_utilization(member, orig_rsc, all_rscs,
orig_rsc         1141 lib/pacemaker/pcmk_sched_primitive.c                                  const pcmk_resource_t *orig_rsc, GList **list)
orig_rsc         1145 lib/pacemaker/pcmk_sched_primitive.c     if (rsc == orig_rsc) {
orig_rsc         1149 lib/pacemaker/pcmk_sched_primitive.c         pcmk__add_with_this_list(list, rsc->rsc_cons_lhs, orig_rsc);
orig_rsc         1151 lib/pacemaker/pcmk_sched_primitive.c             rsc->parent->cmds->with_this_colocations(rsc->parent, orig_rsc, list);
orig_rsc         1159 lib/pacemaker/pcmk_sched_primitive.c                 pcmk__add_with_this(list, colocation, orig_rsc);
orig_rsc         1170 lib/pacemaker/pcmk_sched_primitive.c                                  const pcmk_resource_t *orig_rsc, GList **list)
orig_rsc         1174 lib/pacemaker/pcmk_sched_primitive.c     if (rsc == orig_rsc) {
orig_rsc         1178 lib/pacemaker/pcmk_sched_primitive.c         pcmk__add_this_with_list(list, rsc->rsc_cons, orig_rsc);
orig_rsc         1180 lib/pacemaker/pcmk_sched_primitive.c             rsc->parent->cmds->this_with_colocations(rsc->parent, orig_rsc, list);
orig_rsc         1188 lib/pacemaker/pcmk_sched_primitive.c                 pcmk__add_this_with(list, colocation, orig_rsc);
orig_rsc         1553 lib/pacemaker/pcmk_sched_primitive.c                                 const pcmk_resource_t *orig_rsc,
orig_rsc         1556 lib/pacemaker/pcmk_sched_primitive.c     pcmk__assert(pcmk__is_primitive(rsc) && (orig_rsc != NULL)
orig_rsc         1563 lib/pacemaker/pcmk_sched_primitive.c     pcmk__rsc_trace(orig_rsc,
orig_rsc         1565 lib/pacemaker/pcmk_sched_primitive.c                     orig_rsc->id, rsc->id);
orig_rsc          235 lib/pacemaker/pcmk_sched_resource.c                         const pcmk_resource_t *orig_rsc, GList **list)
orig_rsc          237 lib/pacemaker/pcmk_sched_resource.c     *list = rsc->cmds->colocated_resources(rsc, orig_rsc, *list);
orig_rsc          243 lib/pacemaker/pcmk_sched_resource.c                           const pcmk_resource_t *orig_rsc,
orig_rsc          249 lib/pacemaker/pcmk_sched_resource.c     if (orig_rsc == NULL) {
orig_rsc          250 lib/pacemaker/pcmk_sched_resource.c         orig_rsc = rsc;
orig_rsc          257 lib/pacemaker/pcmk_sched_resource.c     pcmk__rsc_trace(orig_rsc, "%s is in colocation chain with %s",
orig_rsc          258 lib/pacemaker/pcmk_sched_resource.c                     rsc->id, orig_rsc->id);
orig_rsc          267 lib/pacemaker/pcmk_sched_resource.c         if (primary == orig_rsc) {
orig_rsc          274 lib/pacemaker/pcmk_sched_resource.c             add_colocated_resources(primary, orig_rsc, &colocated_rscs);
orig_rsc          285 lib/pacemaker/pcmk_sched_resource.c         if (dependent == orig_rsc) {
orig_rsc          296 lib/pacemaker/pcmk_sched_resource.c             add_colocated_resources(dependent, orig_rsc, &colocated_rscs);
orig_rsc          278 lib/pacemaker/pcmk_sched_utilization.c sum_resource_utilization(const pcmk_resource_t *orig_rsc, GList *rscs)
orig_rsc          285 lib/pacemaker/pcmk_sched_utilization.c         rsc->cmds->add_utilization(rsc, orig_rsc, rscs, utilization);