orig_rsc 156 lib/pacemaker/libpacemaker_private.h const pcmk_resource_t *orig_rsc, orig_rsc 177 lib/pacemaker/libpacemaker_private.h const pcmk_resource_t *orig_rsc, orig_rsc 199 lib/pacemaker/libpacemaker_private.h const pcmk_resource_t *orig_rsc, orig_rsc 333 lib/pacemaker/libpacemaker_private.h const pcmk_resource_t *orig_rsc, GList *all_rscs, orig_rsc 779 lib/pacemaker/libpacemaker_private.h const pcmk_resource_t *orig_rsc, orig_rsc 784 lib/pacemaker/libpacemaker_private.h const pcmk_resource_t *orig_rsc, orig_rsc 796 lib/pacemaker/libpacemaker_private.h const pcmk_resource_t *orig_rsc, orig_rsc 823 lib/pacemaker/libpacemaker_private.h const pcmk_resource_t *orig_rsc, orig_rsc 828 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 891 lib/pacemaker/libpacemaker_private.h const pcmk_resource_t *orig_rsc, orig_rsc 896 lib/pacemaker/libpacemaker_private.h const pcmk_resource_t *orig_rsc, orig_rsc 915 lib/pacemaker/libpacemaker_private.h const pcmk_resource_t *orig_rsc, orig_rsc 944 lib/pacemaker/libpacemaker_private.h const pcmk_resource_t *orig_rsc, orig_rsc 949 lib/pacemaker/libpacemaker_private.h const pcmk_resource_t *orig_rsc, orig_rsc 968 lib/pacemaker/libpacemaker_private.h const pcmk_resource_t *orig_rsc, orig_rsc 1080 lib/pacemaker/libpacemaker_private.h const pcmk_resource_t *orig_rsc, orig_rsc 585 lib/pacemaker/pcmk_sched_bundle.c const pcmk_resource_t *orig_rsc, GList **list) orig_rsc 590 lib/pacemaker/pcmk_sched_bundle.c && (orig_rsc != NULL) && (list != NULL)); orig_rsc 593 lib/pacemaker/pcmk_sched_bundle.c if ((orig_rsc == rsc) orig_rsc 594 lib/pacemaker/pcmk_sched_bundle.c || pcmk_is_set(orig_rsc->flags, pcmk_rsc_replica_container)) { orig_rsc 596 lib/pacemaker/pcmk_sched_bundle.c pcmk__add_with_this_list(list, rsc->rsc_cons_lhs, orig_rsc); orig_rsc 606 lib/pacemaker/pcmk_sched_bundle.c || (pe__const_top_resource(orig_rsc, false) != bundled_rsc)) { orig_rsc 610 lib/pacemaker/pcmk_sched_bundle.c if (orig_rsc == bundled_rsc) { orig_rsc 611 lib/pacemaker/pcmk_sched_bundle.c if (pe__clone_flag_is_set(orig_rsc, orig_rsc 616 lib/pacemaker/pcmk_sched_bundle.c pcmk__add_with_this_list(list, rsc->rsc_cons_lhs, orig_rsc); orig_rsc 619 lib/pacemaker/pcmk_sched_bundle.c } else if (!pcmk_is_set(orig_rsc->flags, pcmk_rsc_unassigned)) { orig_rsc 623 lib/pacemaker/pcmk_sched_bundle.c pcmk__add_with_this_list(list, rsc->rsc_cons_lhs, orig_rsc); orig_rsc 630 lib/pacemaker/pcmk_sched_bundle.c const pcmk_resource_t *orig_rsc, GList **list) orig_rsc 635 lib/pacemaker/pcmk_sched_bundle.c && (orig_rsc != NULL) && (list != NULL)); orig_rsc 638 lib/pacemaker/pcmk_sched_bundle.c if ((orig_rsc == rsc) orig_rsc 639 lib/pacemaker/pcmk_sched_bundle.c || pcmk_is_set(orig_rsc->flags, pcmk_rsc_replica_container)) { orig_rsc 641 lib/pacemaker/pcmk_sched_bundle.c pcmk__add_this_with_list(list, rsc->rsc_cons, orig_rsc); orig_rsc 651 lib/pacemaker/pcmk_sched_bundle.c || (pe__const_top_resource(orig_rsc, false) != bundled_rsc)) { orig_rsc 655 lib/pacemaker/pcmk_sched_bundle.c if (orig_rsc == bundled_rsc) { orig_rsc 656 lib/pacemaker/pcmk_sched_bundle.c if (pe__clone_flag_is_set(orig_rsc, orig_rsc 661 lib/pacemaker/pcmk_sched_bundle.c pcmk__add_this_with_list(list, rsc->rsc_cons, orig_rsc); orig_rsc 664 lib/pacemaker/pcmk_sched_bundle.c } else if (!pcmk_is_set(orig_rsc->flags, pcmk_rsc_unassigned)) { orig_rsc 668 lib/pacemaker/pcmk_sched_bundle.c pcmk__add_this_with_list(list, rsc->rsc_cons, orig_rsc); orig_rsc 1030 lib/pacemaker/pcmk_sched_bundle.c const pcmk_resource_t *orig_rsc, GList *all_rscs, orig_rsc 1047 lib/pacemaker/pcmk_sched_bundle.c container->cmds->add_utilization(container, orig_rsc, all_rscs, orig_rsc 356 lib/pacemaker/pcmk_sched_clone.c const pcmk_resource_t *orig_rsc, GList **list) orig_rsc 358 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK((rsc != NULL) && (orig_rsc != NULL) && (list != NULL), return); orig_rsc 360 lib/pacemaker/pcmk_sched_clone.c pcmk__add_with_this_list(list, rsc->rsc_cons_lhs, orig_rsc); orig_rsc 363 lib/pacemaker/pcmk_sched_clone.c rsc->parent->cmds->with_this_colocations(rsc->parent, orig_rsc, list); orig_rsc 370 lib/pacemaker/pcmk_sched_clone.c const pcmk_resource_t *orig_rsc, GList **list) orig_rsc 372 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK((rsc != NULL) && (orig_rsc != NULL) && (list != NULL), return); orig_rsc 374 lib/pacemaker/pcmk_sched_clone.c pcmk__add_this_with_list(list, rsc->rsc_cons, orig_rsc); orig_rsc 377 lib/pacemaker/pcmk_sched_clone.c rsc->parent->cmds->this_with_colocations(rsc->parent, orig_rsc, list); orig_rsc 659 lib/pacemaker/pcmk_sched_clone.c const pcmk_resource_t *orig_rsc, GList *all_rscs, orig_rsc 665 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT(pe_rsc_is_clone(rsc) && (orig_rsc != NULL) orig_rsc 686 lib/pacemaker/pcmk_sched_clone.c child->cmds->add_utilization(child, orig_rsc, all_rscs, orig_rsc 699 lib/pacemaker/pcmk_sched_clone.c child->cmds->add_utilization(child, orig_rsc, all_rscs, utilization); orig_rsc 649 lib/pacemaker/pcmk_sched_group.c const pcmk_resource_t *orig_rsc, orig_rsc 656 lib/pacemaker/pcmk_sched_group.c if (orig_rsc == NULL) { orig_rsc 657 lib/pacemaker/pcmk_sched_group.c orig_rsc = rsc; orig_rsc 671 lib/pacemaker/pcmk_sched_group.c colocated_rscs = member->cmds->colocated_resources(member, orig_rsc, orig_rsc 679 lib/pacemaker/pcmk_sched_group.c colocated_rscs = pcmk__colocated_resources(rsc, orig_rsc, orig_rsc 689 lib/pacemaker/pcmk_sched_group.c const pcmk_resource_t *orig_rsc, GList **list) orig_rsc 693 lib/pacemaker/pcmk_sched_group.c && (orig_rsc != NULL) && (list != NULL)); orig_rsc 704 lib/pacemaker/pcmk_sched_group.c if ((orig_rsc != rsc) && (orig_rsc != pe__last_group_member(rsc))) { orig_rsc 709 lib/pacemaker/pcmk_sched_group.c rsc->id, orig_rsc->id); orig_rsc 712 lib/pacemaker/pcmk_sched_group.c pcmk__add_with_this_list(list, rsc->rsc_cons_lhs, orig_rsc); orig_rsc 716 lib/pacemaker/pcmk_sched_group.c rsc->parent->cmds->with_this_colocations(rsc->parent, orig_rsc, orig_rsc 729 lib/pacemaker/pcmk_sched_group.c if (member != orig_rsc) { orig_rsc 730 lib/pacemaker/pcmk_sched_group.c member->cmds->with_this_colocations(member, orig_rsc, list); orig_rsc 738 lib/pacemaker/pcmk_sched_group.c const pcmk_resource_t *orig_rsc, GList **list) orig_rsc 743 lib/pacemaker/pcmk_sched_group.c && (orig_rsc != NULL) && (list != NULL)); orig_rsc 753 lib/pacemaker/pcmk_sched_group.c if ((rsc == orig_rsc) orig_rsc 754 lib/pacemaker/pcmk_sched_group.c || (orig_rsc == (const pcmk_resource_t *) rsc->children->data)) { orig_rsc 756 lib/pacemaker/pcmk_sched_group.c rsc->id, orig_rsc->id); orig_rsc 759 lib/pacemaker/pcmk_sched_group.c pcmk__add_this_with_list(list, rsc->rsc_cons, orig_rsc); orig_rsc 763 lib/pacemaker/pcmk_sched_group.c rsc->parent->cmds->this_with_colocations(rsc->parent, orig_rsc, orig_rsc 776 lib/pacemaker/pcmk_sched_group.c if (member != orig_rsc) { orig_rsc 777 lib/pacemaker/pcmk_sched_group.c member->cmds->this_with_colocations(member, orig_rsc, list); orig_rsc 790 lib/pacemaker/pcmk_sched_group.c if (orig_rsc == member) { orig_rsc 797 lib/pacemaker/pcmk_sched_group.c rsc->id, orig_rsc->id, member->id); orig_rsc 804 lib/pacemaker/pcmk_sched_group.c pcmk__add_this_with(list, colocation, orig_rsc); orig_rsc 900 lib/pacemaker/pcmk_sched_group.c const pcmk_resource_t *orig_rsc, GList *all_rscs, orig_rsc 906 lib/pacemaker/pcmk_sched_group.c && (orig_rsc != NULL) && (utilization != NULL)); orig_rsc 912 lib/pacemaker/pcmk_sched_group.c pe_rsc_trace(orig_rsc, "%s: Adding group %s as colocated utilization", orig_rsc 913 lib/pacemaker/pcmk_sched_group.c orig_rsc->id, rsc->id); orig_rsc 922 lib/pacemaker/pcmk_sched_group.c member->cmds->add_utilization(member, orig_rsc, all_rscs, orig_rsc 934 lib/pacemaker/pcmk_sched_group.c member->cmds->add_utilization(member, orig_rsc, all_rscs, orig_rsc 1124 lib/pacemaker/pcmk_sched_primitive.c const pcmk_resource_t *orig_rsc, GList **list) orig_rsc 1129 lib/pacemaker/pcmk_sched_primitive.c if (rsc == orig_rsc) { orig_rsc 1133 lib/pacemaker/pcmk_sched_primitive.c pcmk__add_with_this_list(list, rsc->rsc_cons_lhs, orig_rsc); orig_rsc 1135 lib/pacemaker/pcmk_sched_primitive.c rsc->parent->cmds->with_this_colocations(rsc->parent, orig_rsc, list); orig_rsc 1143 lib/pacemaker/pcmk_sched_primitive.c pcmk__add_with_this(list, colocation, orig_rsc); orig_rsc 1154 lib/pacemaker/pcmk_sched_primitive.c const pcmk_resource_t *orig_rsc, GList **list) orig_rsc 1159 lib/pacemaker/pcmk_sched_primitive.c if (rsc == orig_rsc) { orig_rsc 1163 lib/pacemaker/pcmk_sched_primitive.c pcmk__add_this_with_list(list, rsc->rsc_cons, orig_rsc); orig_rsc 1165 lib/pacemaker/pcmk_sched_primitive.c rsc->parent->cmds->this_with_colocations(rsc->parent, orig_rsc, list); orig_rsc 1173 lib/pacemaker/pcmk_sched_primitive.c pcmk__add_this_with(list, colocation, orig_rsc); orig_rsc 1537 lib/pacemaker/pcmk_sched_primitive.c const pcmk_resource_t *orig_rsc, orig_rsc 1541 lib/pacemaker/pcmk_sched_primitive.c && (orig_rsc != NULL) && (utilization != NULL)); orig_rsc 1547 lib/pacemaker/pcmk_sched_primitive.c pe_rsc_trace(orig_rsc, "%s: Adding primitive %s as colocated utilization", orig_rsc 1548 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 pe_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 274 lib/pacemaker/pcmk_sched_utilization.c sum_resource_utilization(const pcmk_resource_t *orig_rsc, GList *rscs) orig_rsc 281 lib/pacemaker/pcmk_sched_utilization.c rsc->cmds->add_utilization(rsc, orig_rsc, rscs, utilization);