source_rsc 231 lib/pacemaker/libpacemaker_private.h void (*add_colocated_node_scores)(pcmk_resource_t *source_rsc, source_rsc 542 lib/pacemaker/libpacemaker_private.h void pcmk__add_colocated_node_scores(pcmk_resource_t *source_rsc, source_rsc 832 lib/pacemaker/libpacemaker_private.h void pcmk__group_add_colocated_node_scores(pcmk_resource_t *source_rsc, source_rsc 1524 lib/pacemaker/pcmk_sched_colocation.c const pcmk_resource_t *source_rsc, source_rsc 1542 lib/pacemaker/pcmk_sched_colocation.c score = best_node_score_matching_attr(source_rsc, attr, value); source_rsc 1666 lib/pacemaker/pcmk_sched_colocation.c pcmk__add_colocated_node_scores(pcmk_resource_t *source_rsc, source_rsc 1675 lib/pacemaker/pcmk_sched_colocation.c CRM_ASSERT((source_rsc != NULL) && (nodes != NULL) source_rsc 1680 lib/pacemaker/pcmk_sched_colocation.c log_id = source_rsc->id; source_rsc 1684 lib/pacemaker/pcmk_sched_colocation.c if (pcmk_is_set(source_rsc->flags, pcmk_rsc_updating_nodes)) { source_rsc 1685 lib/pacemaker/pcmk_sched_colocation.c pe_rsc_info(source_rsc, "%s: Breaking dependency loop at %s", source_rsc 1686 lib/pacemaker/pcmk_sched_colocation.c log_id, source_rsc->id); source_rsc 1689 lib/pacemaker/pcmk_sched_colocation.c pe__set_resource_flags(source_rsc, pcmk_rsc_updating_nodes); source_rsc 1692 lib/pacemaker/pcmk_sched_colocation.c work = pcmk__copy_node_table(source_rsc->allowed_nodes); source_rsc 1693 lib/pacemaker/pcmk_sched_colocation.c target_rsc = source_rsc; source_rsc 1697 lib/pacemaker/pcmk_sched_colocation.c pe_rsc_trace(source_rsc, "%s: Merging %s scores from %s (at %.6f)", source_rsc 1698 lib/pacemaker/pcmk_sched_colocation.c log_id, (pos? "positive" : "all"), source_rsc->id, factor); source_rsc 1700 lib/pacemaker/pcmk_sched_colocation.c add_node_scores_matching_attr(work, source_rsc, target_rsc, colocation, source_rsc 1705 lib/pacemaker/pcmk_sched_colocation.c pe__clear_resource_flags(source_rsc, pcmk_rsc_updating_nodes); source_rsc 1713 lib/pacemaker/pcmk_sched_colocation.c colocations = pcmk__this_with_colocations(source_rsc); source_rsc 1714 lib/pacemaker/pcmk_sched_colocation.c pe_rsc_trace(source_rsc, source_rsc 1717 lib/pacemaker/pcmk_sched_colocation.c g_list_length(colocations), source_rsc->id); source_rsc 1719 lib/pacemaker/pcmk_sched_colocation.c colocations = pcmk__with_this_colocations(source_rsc); source_rsc 1720 lib/pacemaker/pcmk_sched_colocation.c pe_rsc_trace(source_rsc, source_rsc 1723 lib/pacemaker/pcmk_sched_colocation.c g_list_length(colocations), source_rsc->id); source_rsc 1741 lib/pacemaker/pcmk_sched_colocation.c pe_rsc_trace(source_rsc, source_rsc 1749 lib/pacemaker/pcmk_sched_colocation.c pe__show_node_scores(true, NULL, log_id, work, source_rsc->cluster); source_rsc 1754 lib/pacemaker/pcmk_sched_colocation.c pe_rsc_info(source_rsc, "%s: Rolling back optional scores from %s", source_rsc 1755 lib/pacemaker/pcmk_sched_colocation.c log_id, source_rsc->id); source_rsc 1757 lib/pacemaker/pcmk_sched_colocation.c pe__clear_resource_flags(source_rsc, pcmk_rsc_updating_nodes); source_rsc 1779 lib/pacemaker/pcmk_sched_colocation.c pe__clear_resource_flags(source_rsc, pcmk_rsc_updating_nodes); source_rsc 1795 lib/pacemaker/pcmk_sched_colocation.c pcmk_resource_t *source_rsc = colocation->dependent; source_rsc 1808 lib/pacemaker/pcmk_sched_colocation.c target_rsc->id, source_rsc->id, colocation->id); source_rsc 1809 lib/pacemaker/pcmk_sched_colocation.c source_rsc->cmds->add_colocated_node_scores(source_rsc, target_rsc, source_rsc 1810 lib/pacemaker/pcmk_sched_colocation.c source_rsc->id, source_rsc 844 lib/pacemaker/pcmk_sched_group.c pcmk__group_add_colocated_node_scores(pcmk_resource_t *source_rsc, source_rsc 852 lib/pacemaker/pcmk_sched_group.c CRM_ASSERT((source_rsc != NULL) source_rsc 853 lib/pacemaker/pcmk_sched_group.c && (source_rsc->variant == pcmk_rsc_variant_group) source_rsc 859 lib/pacemaker/pcmk_sched_group.c log_id = source_rsc->id; source_rsc 863 lib/pacemaker/pcmk_sched_group.c if (pcmk_is_set(source_rsc->flags, pcmk_rsc_updating_nodes)) { source_rsc 864 lib/pacemaker/pcmk_sched_group.c pe_rsc_info(source_rsc, "%s: Breaking dependency loop at %s", source_rsc 865 lib/pacemaker/pcmk_sched_group.c log_id, source_rsc->id); source_rsc 868 lib/pacemaker/pcmk_sched_group.c pe__set_resource_flags(source_rsc, pcmk_rsc_updating_nodes); source_rsc 871 lib/pacemaker/pcmk_sched_group.c if (source_rsc->children == NULL) { source_rsc 886 lib/pacemaker/pcmk_sched_group.c member = pe__last_group_member(source_rsc); source_rsc 888 lib/pacemaker/pcmk_sched_group.c member = source_rsc->children->data; source_rsc 890 lib/pacemaker/pcmk_sched_group.c pe_rsc_trace(source_rsc, "%s: Merging scores from group %s using member %s " source_rsc 891 lib/pacemaker/pcmk_sched_group.c "(at %.6f)", log_id, source_rsc->id, member->id, factor); source_rsc 894 lib/pacemaker/pcmk_sched_group.c pe__clear_resource_flags(source_rsc, pcmk_rsc_updating_nodes);