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 796 lib/pacemaker/libpacemaker_private.h void pcmk__group_add_colocated_node_scores(pcmk_resource_t *source_rsc, source_rsc 1656 lib/pacemaker/pcmk_sched_colocation.c pcmk_resource_t *source_rsc, source_rsc 1674 lib/pacemaker/pcmk_sched_colocation.c score = best_node_score_matching_attr(colocation, source_rsc, attr, value); source_rsc 1798 lib/pacemaker/pcmk_sched_colocation.c pcmk__add_colocated_node_scores(pcmk_resource_t *source_rsc, source_rsc 1807 lib/pacemaker/pcmk_sched_colocation.c pcmk__assert((source_rsc != NULL) && (nodes != NULL) source_rsc 1812 lib/pacemaker/pcmk_sched_colocation.c log_id = source_rsc->id; source_rsc 1816 lib/pacemaker/pcmk_sched_colocation.c if (pcmk_is_set(source_rsc->flags, pcmk_rsc_updating_nodes)) { source_rsc 1817 lib/pacemaker/pcmk_sched_colocation.c pcmk__rsc_info(source_rsc, "%s: Breaking dependency loop at %s", source_rsc 1818 lib/pacemaker/pcmk_sched_colocation.c log_id, source_rsc->id); source_rsc 1821 lib/pacemaker/pcmk_sched_colocation.c pcmk__set_rsc_flags(source_rsc, pcmk_rsc_updating_nodes); source_rsc 1824 lib/pacemaker/pcmk_sched_colocation.c work = pcmk__copy_node_table(source_rsc->allowed_nodes); source_rsc 1825 lib/pacemaker/pcmk_sched_colocation.c target_rsc = source_rsc; source_rsc 1829 lib/pacemaker/pcmk_sched_colocation.c pcmk__rsc_trace(source_rsc, "%s: Merging %s scores from %s (at %.6f)", source_rsc 1830 lib/pacemaker/pcmk_sched_colocation.c log_id, (pos? "positive" : "all"), source_rsc->id, factor); source_rsc 1832 lib/pacemaker/pcmk_sched_colocation.c add_node_scores_matching_attr(work, source_rsc, target_rsc, colocation, source_rsc 1837 lib/pacemaker/pcmk_sched_colocation.c pcmk__clear_rsc_flags(source_rsc, pcmk_rsc_updating_nodes); source_rsc 1845 lib/pacemaker/pcmk_sched_colocation.c colocations = pcmk__this_with_colocations(source_rsc); source_rsc 1846 lib/pacemaker/pcmk_sched_colocation.c pcmk__rsc_trace(source_rsc, source_rsc 1849 lib/pacemaker/pcmk_sched_colocation.c g_list_length(colocations), source_rsc->id); source_rsc 1851 lib/pacemaker/pcmk_sched_colocation.c colocations = pcmk__with_this_colocations(source_rsc); source_rsc 1852 lib/pacemaker/pcmk_sched_colocation.c pcmk__rsc_trace(source_rsc, source_rsc 1855 lib/pacemaker/pcmk_sched_colocation.c g_list_length(colocations), source_rsc->id); source_rsc 1874 lib/pacemaker/pcmk_sched_colocation.c pcmk__rsc_trace(source_rsc, source_rsc 1882 lib/pacemaker/pcmk_sched_colocation.c pe__show_node_scores(true, NULL, log_id, work, source_rsc->cluster); source_rsc 1887 lib/pacemaker/pcmk_sched_colocation.c pcmk__rsc_info(source_rsc, "%s: Rolling back optional scores from %s", source_rsc 1888 lib/pacemaker/pcmk_sched_colocation.c log_id, source_rsc->id); source_rsc 1890 lib/pacemaker/pcmk_sched_colocation.c pcmk__clear_rsc_flags(source_rsc, pcmk_rsc_updating_nodes); source_rsc 1912 lib/pacemaker/pcmk_sched_colocation.c pcmk__clear_rsc_flags(source_rsc, pcmk_rsc_updating_nodes); source_rsc 1928 lib/pacemaker/pcmk_sched_colocation.c pcmk_resource_t *source_rsc = colocation->dependent; source_rsc 1941 lib/pacemaker/pcmk_sched_colocation.c target_rsc->id, source_rsc->id, colocation->id); source_rsc 1942 lib/pacemaker/pcmk_sched_colocation.c source_rsc->cmds->add_colocated_node_scores(source_rsc, target_rsc, source_rsc 1943 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 pcmk__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);