clone              27 include/crm/pengine/internal.h bool pe__clone_is_ordered(const pcmk_resource_t *clone);
clone              28 include/crm/pengine/internal.h int pe__set_clone_flag(pcmk_resource_t *clone, enum pcmk__clone_flags flag);
clone              29 include/crm/pengine/internal.h bool pe__clone_flag_is_set(const pcmk_resource_t *clone, uint32_t flags);
clone              37 include/crm/pengine/internal.h int pe__clone_max(const pcmk_resource_t *clone);
clone              38 include/crm/pengine/internal.h int pe__clone_node_max(const pcmk_resource_t *clone);
clone              39 include/crm/pengine/internal.h int pe__clone_promoted_max(const pcmk_resource_t *clone);
clone              40 include/crm/pengine/internal.h int pe__clone_promoted_node_max(const pcmk_resource_t *clone);
clone              41 include/crm/pengine/internal.h void pe__create_clone_notifications(pcmk_resource_t *clone);
clone              42 include/crm/pengine/internal.h void pe__free_clone_notification_data(pcmk_resource_t *clone);
clone              43 include/crm/pengine/internal.h void pe__create_clone_notif_pseudo_ops(pcmk_resource_t *clone,
clone              52 include/crm/pengine/internal.h void pe__create_promotable_pseudo_ops(pcmk_resource_t *clone,
clone             674 lib/pacemaker/libpacemaker_private.h void pcmk__create_promotable_actions(pcmk_resource_t *clone);
clone             680 lib/pacemaker/libpacemaker_private.h void pcmk__order_promotable_instances(pcmk_resource_t *clone);
clone             510 lib/pacemaker/pcmk_sched_clone.c find_probed_instance_on(const pcmk_resource_t *clone, const pcmk_node_t *node)
clone             512 lib/pacemaker/pcmk_sched_clone.c     for (GList *iter = clone->children; iter != NULL; iter = iter->next) {
clone             530 lib/pacemaker/pcmk_sched_clone.c probe_anonymous_clone(pcmk_resource_t *clone, pcmk_node_t *node)
clone             533 lib/pacemaker/pcmk_sched_clone.c     pcmk_resource_t *child = find_probed_instance_on(clone, node);
clone             536 lib/pacemaker/pcmk_sched_clone.c     for (GList *iter = clone->children; (iter != NULL) && (child == NULL);
clone             549 lib/pacemaker/pcmk_sched_clone.c         child = clone->children->data;
clone              26 lib/pacemaker/pcmk_sched_promotable.c order_instance_promotion(pcmk_resource_t *clone, pcmk_resource_t *child,
clone              30 lib/pacemaker/pcmk_sched_promotable.c     pcmk__order_resource_actions(clone, PCMK_ACTION_PROMOTE,
clone              34 lib/pacemaker/pcmk_sched_promotable.c                                  clone, PCMK_ACTION_PROMOTED,
clone              38 lib/pacemaker/pcmk_sched_promotable.c     if ((last != NULL) && pe__clone_is_ordered(clone)) {
clone              54 lib/pacemaker/pcmk_sched_promotable.c order_instance_demotion(pcmk_resource_t *clone, pcmk_resource_t *child,
clone              58 lib/pacemaker/pcmk_sched_promotable.c     pcmk__order_resource_actions(clone, PCMK_ACTION_DEMOTE, child,
clone              62 lib/pacemaker/pcmk_sched_promotable.c                                  clone, PCMK_ACTION_DEMOTED,
clone              66 lib/pacemaker/pcmk_sched_promotable.c     if ((last != NULL) && pe__clone_is_ordered(clone)) {
clone             314 lib/pacemaker/pcmk_sched_promotable.c     pcmk_resource_t *clone = (pcmk_resource_t *) user_data;
clone             320 lib/pacemaker/pcmk_sched_promotable.c         pcmk__rsc_trace(clone, "Not adding sort index of %s: negative",
clone             327 lib/pacemaker/pcmk_sched_promotable.c         pcmk__rsc_trace(clone, "Not adding sort index of %s: inactive",
clone             332 lib/pacemaker/pcmk_sched_promotable.c     node = g_hash_table_lookup(clone->allowed_nodes, chosen->details->id);
clone             336 lib/pacemaker/pcmk_sched_promotable.c     pcmk__rsc_trace(clone,
clone             354 lib/pacemaker/pcmk_sched_promotable.c     pcmk_resource_t *clone = user_data;
clone             365 lib/pacemaker/pcmk_sched_promotable.c     pcmk__rsc_trace(clone, "Applying colocation %s (%s with promoted %s) @%s",
clone             369 lib/pacemaker/pcmk_sched_promotable.c     dependent->cmds->add_colocated_node_scores(dependent, clone, clone->id,
clone             370 lib/pacemaker/pcmk_sched_promotable.c                                                &clone->allowed_nodes,
clone             385 lib/pacemaker/pcmk_sched_promotable.c     const pcmk_resource_t *clone = (const pcmk_resource_t *) user_data;
clone             392 lib/pacemaker/pcmk_sched_promotable.c         pcmk__rsc_trace(clone,
clone             399 lib/pacemaker/pcmk_sched_promotable.c         pcmk__rsc_trace(clone,
clone             405 lib/pacemaker/pcmk_sched_promotable.c         pcmk__rsc_trace(clone,
clone             410 lib/pacemaker/pcmk_sched_promotable.c         const pcmk_node_t *node = g_hash_table_lookup(clone->allowed_nodes,
clone             415 lib/pacemaker/pcmk_sched_promotable.c         pcmk__rsc_trace(clone,
clone             417 lib/pacemaker/pcmk_sched_promotable.c                         clone->id, child->id, child->sort_index);
clone             428 lib/pacemaker/pcmk_sched_promotable.c sort_promotable_instances(pcmk_resource_t *clone)
clone             432 lib/pacemaker/pcmk_sched_promotable.c     if (pe__set_clone_flag(clone, pcmk__clone_promotion_constrained)
clone             436 lib/pacemaker/pcmk_sched_promotable.c     pcmk__set_rsc_flags(clone, pcmk_rsc_updating_nodes);
clone             438 lib/pacemaker/pcmk_sched_promotable.c     for (GList *iter = clone->children; iter != NULL; iter = iter->next) {
clone             441 lib/pacemaker/pcmk_sched_promotable.c         pcmk__rsc_trace(clone,
clone             443 lib/pacemaker/pcmk_sched_promotable.c                         clone->id, child->id, child->sort_index);
clone             445 lib/pacemaker/pcmk_sched_promotable.c     pe__show_node_scores(true, clone, "Before", clone->allowed_nodes,
clone             446 lib/pacemaker/pcmk_sched_promotable.c                          clone->cluster);
clone             448 lib/pacemaker/pcmk_sched_promotable.c     g_list_foreach(clone->children, add_sort_index_to_node_score, clone);
clone             451 lib/pacemaker/pcmk_sched_promotable.c     colocations = pcmk__with_this_colocations(clone);
clone             452 lib/pacemaker/pcmk_sched_promotable.c     g_list_foreach(colocations, apply_coloc_to_primary, clone);
clone             456 lib/pacemaker/pcmk_sched_promotable.c     pcmk__require_promotion_tickets(clone);
clone             458 lib/pacemaker/pcmk_sched_promotable.c     pe__show_node_scores(true, clone, "After", clone->allowed_nodes,
clone             459 lib/pacemaker/pcmk_sched_promotable.c                          clone->cluster);
clone             462 lib/pacemaker/pcmk_sched_promotable.c     g_list_foreach(clone->children, set_sort_index_to_node_score, clone);
clone             465 lib/pacemaker/pcmk_sched_promotable.c     clone->children = g_list_sort(clone->children, cmp_promotable_instance);
clone             466 lib/pacemaker/pcmk_sched_promotable.c     pcmk__clear_rsc_flags(clone, pcmk_rsc_updating_nodes);
clone             480 lib/pacemaker/pcmk_sched_promotable.c find_active_anon_instance(const pcmk_resource_t *clone, const char *id,
clone             483 lib/pacemaker/pcmk_sched_promotable.c     for (GList *iter = clone->children; iter; iter = iter->next) {
clone             488 lib/pacemaker/pcmk_sched_promotable.c         active = clone->fns->find_rsc(child, id, node,
clone             509 lib/pacemaker/pcmk_sched_promotable.c anonymous_known_on(const pcmk_resource_t *clone, const char *id,
clone             512 lib/pacemaker/pcmk_sched_promotable.c     for (GList *iter = clone->children; iter; iter = iter->next) {
clone             518 lib/pacemaker/pcmk_sched_promotable.c         child = clone->fns->find_rsc(child, id, NULL,
clone             906 lib/pacemaker/pcmk_sched_promotable.c     const pcmk_resource_t *clone = (const pcmk_resource_t *) user_data;
clone             911 lib/pacemaker/pcmk_sched_promotable.c     pcmk__rsc_trace(clone, "Assigning priority for %s: %s", instance->id,
clone             968 lib/pacemaker/pcmk_sched_promotable.c     apply_promoted_locations(instance, clone->rsc_location, chosen);
clone             983 lib/pacemaker/pcmk_sched_promotable.c     pcmk__rsc_trace(clone, "Assigning %s priority = %d",
clone            1000 lib/pacemaker/pcmk_sched_promotable.c     const pcmk_resource_t *clone = pe__const_top_resource(instance, false);
clone            1006 lib/pacemaker/pcmk_sched_promotable.c         pcmk__rsc_trace(clone, "Not supposed to promote instance %s",
clone            1010 lib/pacemaker/pcmk_sched_promotable.c                || !pcmk_is_set(clone->flags, pcmk_rsc_managed)) {
clone            1029 lib/pacemaker/pcmk_sched_promotable.c     pcmk__rsc_info(clone, "Choosing %s (%s) on %s for promotion",
clone            1075 lib/pacemaker/pcmk_sched_promotable.c create_promotable_instance_actions(pcmk_resource_t *clone,
clone            1078 lib/pacemaker/pcmk_sched_promotable.c     for (GList *iter = clone->children; iter != NULL; iter = iter->next) {
clone            1097 lib/pacemaker/pcmk_sched_promotable.c reset_instance_priorities(pcmk_resource_t *clone)
clone            1099 lib/pacemaker/pcmk_sched_promotable.c     for (GList *iter = clone->children; iter != NULL; iter = iter->next) {
clone            1102 lib/pacemaker/pcmk_sched_promotable.c         instance->priority = clone->priority;
clone            1113 lib/pacemaker/pcmk_sched_promotable.c pcmk__create_promotable_actions(pcmk_resource_t *clone)
clone            1119 lib/pacemaker/pcmk_sched_promotable.c     create_promotable_instance_actions(clone, &any_promoting, &any_demoting);
clone            1122 lib/pacemaker/pcmk_sched_promotable.c     pe__create_promotable_pseudo_ops(clone, any_promoting, any_demoting);
clone            1125 lib/pacemaker/pcmk_sched_promotable.c     reset_instance_priorities(clone);
clone            1135 lib/pacemaker/pcmk_sched_promotable.c pcmk__order_promotable_instances(pcmk_resource_t *clone)
clone            1139 lib/pacemaker/pcmk_sched_promotable.c     pcmk__promotable_restart_ordering(clone);
clone            1141 lib/pacemaker/pcmk_sched_promotable.c     for (GList *iter = clone->children; iter != NULL; iter = iter->next) {
clone            1149 lib/pacemaker/pcmk_sched_promotable.c         order_instance_promotion(clone, instance, previous);
clone            1150 lib/pacemaker/pcmk_sched_promotable.c         order_instance_demotion(clone, instance, previous);
clone              63 lib/pengine/clone.c pe__clone_max(const pcmk_resource_t *clone)
clone              67 lib/pengine/clone.c     get_clone_variant_data(clone_data, pe__const_top_resource(clone, false));
clone              80 lib/pengine/clone.c pe__clone_node_max(const pcmk_resource_t *clone)
clone              84 lib/pengine/clone.c     get_clone_variant_data(clone_data, pe__const_top_resource(clone, false));
clone              97 lib/pengine/clone.c pe__clone_promoted_max(const pcmk_resource_t *clone)
clone             101 lib/pengine/clone.c     get_clone_variant_data(clone_data, pe__const_top_resource(clone, false));
clone             114 lib/pengine/clone.c pe__clone_promoted_node_max(const pcmk_resource_t *clone)
clone             118 lib/pengine/clone.c     get_clone_variant_data(clone_data, pe__const_top_resource(clone, false));
clone            1344 lib/pengine/clone.c pe__clone_is_ordered(const pcmk_resource_t *clone)
clone            1348 lib/pengine/clone.c     get_clone_variant_data(clone_data, clone);
clone            1363 lib/pengine/clone.c pe__set_clone_flag(pcmk_resource_t *clone, enum pcmk__clone_flags flag)
clone            1367 lib/pengine/clone.c     get_clone_variant_data(clone_data, clone);
clone            1372 lib/pengine/clone.c                                            "Clone", clone->id,
clone            1387 lib/pengine/clone.c pe__clone_flag_is_set(const pcmk_resource_t *clone, uint32_t flags)
clone            1391 lib/pengine/clone.c     get_clone_variant_data(clone_data, clone);
clone            1406 lib/pengine/clone.c pe__create_promotable_pseudo_ops(pcmk_resource_t *clone, bool any_promoting,
clone            1413 lib/pengine/clone.c     get_clone_variant_data(clone_data, clone);
clone            1416 lib/pengine/clone.c     action = pe__new_rsc_pseudo_action(clone, PCMK_ACTION_PROMOTE,
clone            1420 lib/pengine/clone.c     action_complete = pe__new_rsc_pseudo_action(clone, PCMK_ACTION_PROMOTED,
clone            1426 lib/pengine/clone.c         clone_data->promote_notify = pe__action_notif_pseudo_ops(clone,
clone            1433 lib/pengine/clone.c     action = pe__new_rsc_pseudo_action(clone, PCMK_ACTION_DEMOTE,
clone            1437 lib/pengine/clone.c     action_complete = pe__new_rsc_pseudo_action(clone, PCMK_ACTION_DEMOTED,
clone            1443 lib/pengine/clone.c         clone_data->demote_notify = pe__action_notif_pseudo_ops(clone,
clone            1470 lib/pengine/clone.c pe__create_clone_notifications(pcmk_resource_t *clone)
clone            1474 lib/pengine/clone.c     get_clone_variant_data(clone_data, clone);
clone            1476 lib/pengine/clone.c     pe__create_action_notifications(clone, clone_data->start_notify);
clone            1477 lib/pengine/clone.c     pe__create_action_notifications(clone, clone_data->stop_notify);
clone            1478 lib/pengine/clone.c     pe__create_action_notifications(clone, clone_data->promote_notify);
clone            1479 lib/pengine/clone.c     pe__create_action_notifications(clone, clone_data->demote_notify);
clone            1489 lib/pengine/clone.c pe__free_clone_notification_data(pcmk_resource_t *clone)
clone            1493 lib/pengine/clone.c     get_clone_variant_data(clone_data, clone);
clone            1519 lib/pengine/clone.c pe__create_clone_notif_pseudo_ops(pcmk_resource_t *clone,
clone            1525 lib/pengine/clone.c     get_clone_variant_data(clone_data, clone);
clone            1528 lib/pengine/clone.c         clone_data->start_notify = pe__action_notif_pseudo_ops(clone,
clone            1534 lib/pengine/clone.c         clone_data->stop_notify = pe__action_notif_pseudo_ops(clone,