source_rsc 233 lib/pacemaker/libpacemaker_private.h void (*add_colocated_node_scores)(pcmk_resource_t *source_rsc, source_rsc 548 lib/pacemaker/libpacemaker_private.h void pcmk__add_colocated_node_scores(pcmk_resource_t *source_rsc, source_rsc 838 lib/pacemaker/libpacemaker_private.h void pcmk__group_add_colocated_node_scores(pcmk_resource_t *source_rsc, source_rsc 1610 lib/pacemaker/pcmk_sched_colocation.c pcmk_resource_t *source_rsc, source_rsc 1628 lib/pacemaker/pcmk_sched_colocation.c score = best_node_score_matching_attr(colocation, source_rsc, attr, value); source_rsc 1752 lib/pacemaker/pcmk_sched_colocation.c pcmk__add_colocated_node_scores(pcmk_resource_t *source_rsc, source_rsc 1761 lib/pacemaker/pcmk_sched_colocation.c CRM_ASSERT((source_rsc != NULL) && (nodes != NULL) source_rsc 1766 lib/pacemaker/pcmk_sched_colocation.c log_id = source_rsc->id; source_rsc 1770 lib/pacemaker/pcmk_sched_colocation.c if (pcmk_is_set(source_rsc->flags, pcmk_rsc_updating_nodes)) { source_rsc 1771 lib/pacemaker/pcmk_sched_colocation.c pcmk__rsc_info(source_rsc, "%s: Breaking dependency loop at %s", source_rsc 1772 lib/pacemaker/pcmk_sched_colocation.c log_id, source_rsc->id); source_rsc 1775 lib/pacemaker/pcmk_sched_colocation.c pcmk__set_rsc_flags(source_rsc, pcmk_rsc_updating_nodes); source_rsc 1778 lib/pacemaker/pcmk_sched_colocation.c work = pcmk__copy_node_table(source_rsc->allowed_nodes); source_rsc 1779 lib/pacemaker/pcmk_sched_colocation.c target_rsc = source_rsc; source_rsc 1783 lib/pacemaker/pcmk_sched_colocation.c pcmk__rsc_trace(source_rsc, "%s: Merging %s scores from %s (at %.6f)", source_rsc 1784 lib/pacemaker/pcmk_sched_colocation.c log_id, (pos? "positive" : "all"), source_rsc->id, factor); source_rsc 1786 lib/pacemaker/pcmk_sched_colocation.c add_node_scores_matching_attr(work, source_rsc, target_rsc, colocation, source_rsc 1791 lib/pacemaker/pcmk_sched_colocation.c pcmk__clear_rsc_flags(source_rsc, pcmk_rsc_updating_nodes); source_rsc 1799 lib/pacemaker/pcmk_sched_colocation.c colocations = pcmk__this_with_colocations(source_rsc); source_rsc 1800 lib/pacemaker/pcmk_sched_colocation.c pcmk__rsc_trace(source_rsc, source_rsc 1803 lib/pacemaker/pcmk_sched_colocation.c g_list_length(colocations), source_rsc->id); source_rsc 1805 lib/pacemaker/pcmk_sched_colocation.c colocations = pcmk__with_this_colocations(source_rsc); source_rsc 1806 lib/pacemaker/pcmk_sched_colocation.c pcmk__rsc_trace(source_rsc, source_rsc 1809 lib/pacemaker/pcmk_sched_colocation.c g_list_length(colocations), source_rsc->id); source_rsc 1828 lib/pacemaker/pcmk_sched_colocation.c pcmk__rsc_trace(source_rsc, source_rsc 1836 lib/pacemaker/pcmk_sched_colocation.c pe__show_node_scores(true, NULL, log_id, work, source_rsc->cluster); source_rsc 1841 lib/pacemaker/pcmk_sched_colocation.c pcmk__rsc_info(source_rsc, "%s: Rolling back optional scores from %s", source_rsc 1842 lib/pacemaker/pcmk_sched_colocation.c log_id, source_rsc->id); source_rsc 1844 lib/pacemaker/pcmk_sched_colocation.c pcmk__clear_rsc_flags(source_rsc, pcmk_rsc_updating_nodes); source_rsc 1866 lib/pacemaker/pcmk_sched_colocation.c pcmk__clear_rsc_flags(source_rsc, pcmk_rsc_updating_nodes); source_rsc 1882 lib/pacemaker/pcmk_sched_colocation.c pcmk_resource_t *source_rsc = colocation->dependent; source_rsc 1895 lib/pacemaker/pcmk_sched_colocation.c target_rsc->id, source_rsc->id, colocation->id); source_rsc 1896 lib/pacemaker/pcmk_sched_colocation.c source_rsc->cmds->add_colocated_node_scores(source_rsc, target_rsc, source_rsc 1897 lib/pacemaker/pcmk_sched_colocation.c source_rsc->id, source_rsc 899 lib/pacemaker/pcmk_sched_group.c pcmk__group_add_colocated_node_scores(pcmk_resource_t *source_rsc, source_rsc 907 lib/pacemaker/pcmk_sched_group.c CRM_ASSERT(pcmk__is_group(source_rsc) && (nodes != NULL) source_rsc 912 lib/pacemaker/pcmk_sched_group.c log_id = source_rsc->id; source_rsc 916 lib/pacemaker/pcmk_sched_group.c if (pcmk_is_set(source_rsc->flags, pcmk_rsc_updating_nodes)) { source_rsc 917 lib/pacemaker/pcmk_sched_group.c pcmk__rsc_info(source_rsc, "%s: Breaking dependency loop at %s", source_rsc 918 lib/pacemaker/pcmk_sched_group.c log_id, source_rsc->id); source_rsc 921 lib/pacemaker/pcmk_sched_group.c pcmk__set_rsc_flags(source_rsc, pcmk_rsc_updating_nodes); source_rsc 924 lib/pacemaker/pcmk_sched_group.c if (source_rsc->children == NULL) { source_rsc 939 lib/pacemaker/pcmk_sched_group.c member = pe__last_group_member(source_rsc); source_rsc 941 lib/pacemaker/pcmk_sched_group.c member = source_rsc->children->data; source_rsc 943 lib/pacemaker/pcmk_sched_group.c pcmk__rsc_trace(source_rsc, "%s: Merging scores from group %s using member %s " source_rsc 944 lib/pacemaker/pcmk_sched_group.c "(at %.6f)", log_id, source_rsc->id, member->id, factor); source_rsc 947 lib/pacemaker/pcmk_sched_group.c pcmk__clear_rsc_flags(source_rsc, pcmk_rsc_updating_nodes);