clone 32 include/crm/pengine/internal.h bool pe__clone_is_ordered(pe_resource_t *clone); clone 33 include/crm/pengine/internal.h int pe__set_clone_flag(pe_resource_t *clone, enum pe__clone_flags flag); clone 231 include/crm/pengine/internal.h int pe__clone_promoted_max(pe_resource_t *clone); clone 232 include/crm/pengine/internal.h int pe__clone_promoted_node_max(pe_resource_t *clone); clone 237 include/crm/pengine/internal.h void pe__create_promotable_pseudo_ops(pe_resource_t *clone, bool any_promoting, clone 533 lib/pacemaker/libpacemaker_private.h void pcmk__create_promotable_actions(pe_resource_t *clone); clone 539 lib/pacemaker/libpacemaker_private.h void pcmk__order_promotable_instances(pe_resource_t *clone); clone 1007 lib/pacemaker/pcmk_sched_clone.c find_instance_on(const pe_resource_t *clone, const pe_node_t *node) clone 1009 lib/pacemaker/pcmk_sched_clone.c for (GList *gIter = clone->children; gIter != NULL; gIter = gIter->next) { clone 26 lib/pacemaker/pcmk_sched_promotable.c order_instance_promotion(pe_resource_t *clone, pe_resource_t *child, clone 30 lib/pacemaker/pcmk_sched_promotable.c pcmk__order_resource_actions(clone, RSC_PROMOTE, child, RSC_PROMOTE, clone 32 lib/pacemaker/pcmk_sched_promotable.c pcmk__order_resource_actions(child, RSC_PROMOTE, clone, RSC_PROMOTED, clone 36 lib/pacemaker/pcmk_sched_promotable.c if ((last != NULL) && pe__clone_is_ordered(clone)) { clone 51 lib/pacemaker/pcmk_sched_promotable.c order_instance_demotion(pe_resource_t *clone, pe_resource_t *child, clone 55 lib/pacemaker/pcmk_sched_promotable.c pcmk__order_resource_actions(clone, RSC_DEMOTE, child, RSC_DEMOTE, clone 57 lib/pacemaker/pcmk_sched_promotable.c pcmk__order_resource_actions(child, RSC_DEMOTE, clone, RSC_DEMOTED, clone 61 lib/pacemaker/pcmk_sched_promotable.c if ((last != NULL) && pe__clone_is_ordered(clone)) { clone 300 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *clone = (pe_resource_t *) user_data; clone 306 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, "Not adding sort index of %s: negative", child->id); clone 312 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, "Not adding sort index of %s: inactive", child->id); clone 316 lib/pacemaker/pcmk_sched_promotable.c node = (pe_node_t *) pe_hash_table_lookup(clone->allowed_nodes, clone 320 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, "Adding sort index %s of %s to weight for %s", clone 337 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *clone = (pe_resource_t *) user_data; clone 348 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, "Applying colocation %s (promoted %s with %s) @%s", clone 352 lib/pacemaker/pcmk_sched_promotable.c pcmk__add_colocated_node_scores(primary, clone->id, &clone->allowed_nodes, clone 367 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *clone = (pe_resource_t *) user_data; clone 378 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, "Applying colocation %s (%s with promoted %s) @%s", clone 382 lib/pacemaker/pcmk_sched_promotable.c pcmk__add_colocated_node_scores(dependent, clone->id, &clone->allowed_nodes, clone 397 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *clone = (pe_resource_t *) user_data; clone 404 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, clone 409 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, clone 416 lib/pacemaker/pcmk_sched_promotable.c node = (pe_node_t *) pe_hash_table_lookup(clone->allowed_nodes, clone 421 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, clone 423 lib/pacemaker/pcmk_sched_promotable.c clone->id, child->id, child->sort_index); clone 434 lib/pacemaker/pcmk_sched_promotable.c sort_promotable_instances(pe_resource_t *clone) clone 436 lib/pacemaker/pcmk_sched_promotable.c if (pe__set_clone_flag(clone, pe__clone_promotion_constrained) clone 440 lib/pacemaker/pcmk_sched_promotable.c pe__set_resource_flags(clone, pe_rsc_merging); clone 442 lib/pacemaker/pcmk_sched_promotable.c for (GList *iter = clone->children; iter != NULL; iter = iter->next) { clone 445 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, clone 447 lib/pacemaker/pcmk_sched_promotable.c clone->id, child->id, child->sort_index); clone 449 lib/pacemaker/pcmk_sched_promotable.c pe__show_node_weights(true, clone, "Before", clone->allowed_nodes, clone 450 lib/pacemaker/pcmk_sched_promotable.c clone->cluster); clone 452 lib/pacemaker/pcmk_sched_promotable.c g_list_foreach(clone->children, add_sort_index_to_node_weight, clone); clone 453 lib/pacemaker/pcmk_sched_promotable.c g_list_foreach(clone->rsc_cons, apply_coloc_to_dependent, clone); clone 454 lib/pacemaker/pcmk_sched_promotable.c g_list_foreach(clone->rsc_cons_lhs, apply_coloc_to_primary, clone); clone 457 lib/pacemaker/pcmk_sched_promotable.c pcmk__require_promotion_tickets(clone); clone 459 lib/pacemaker/pcmk_sched_promotable.c pe__show_node_weights(true, clone, "After", clone->allowed_nodes, clone 460 lib/pacemaker/pcmk_sched_promotable.c clone->cluster); clone 463 lib/pacemaker/pcmk_sched_promotable.c g_list_foreach(clone->children, set_sort_index_to_node_weight, clone); clone 466 lib/pacemaker/pcmk_sched_promotable.c clone->children = g_list_sort(clone->children, cmp_promotable_instance); clone 467 lib/pacemaker/pcmk_sched_promotable.c pe__clear_resource_flags(clone, pe_rsc_merging); clone 481 lib/pacemaker/pcmk_sched_promotable.c find_active_anon_instance(pe_resource_t *clone, const char *id, clone 484 lib/pacemaker/pcmk_sched_promotable.c for (GList *iter = clone->children; iter; iter = iter->next) { clone 489 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 pe_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, pe_find_clone); clone 876 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *clone = (pe_resource_t *) user_data; clone 881 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, "Assigning priority for %s: %s", instance->id, clone 939 lib/pacemaker/pcmk_sched_promotable.c apply_promoted_locations(instance, clone->rsc_location, chosen); clone 952 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, "Assigning %s priority = %d", clone 969 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *clone = uber_parent(instance); clone 975 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, "Not supposed to promote instance %s", clone 979 lib/pacemaker/pcmk_sched_promotable.c || !pcmk_is_set(clone->flags, pe_rsc_managed)) { clone 998 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_info(clone, "Choosing %s (%s) on %s for promotion", clone 1044 lib/pacemaker/pcmk_sched_promotable.c create_promotable_instance_actions(pe_resource_t *clone, clone 1047 lib/pacemaker/pcmk_sched_promotable.c for (GList *iter = clone->children; iter != NULL; iter = iter->next) { clone 1066 lib/pacemaker/pcmk_sched_promotable.c reset_instance_priorities(pe_resource_t *clone) clone 1068 lib/pacemaker/pcmk_sched_promotable.c for (GList *iter = clone->children; iter != NULL; iter = iter->next) { clone 1071 lib/pacemaker/pcmk_sched_promotable.c instance->priority = clone->priority; clone 1082 lib/pacemaker/pcmk_sched_promotable.c pcmk__create_promotable_actions(pe_resource_t *clone) clone 1088 lib/pacemaker/pcmk_sched_promotable.c create_promotable_instance_actions(clone, &any_promoting, &any_demoting); clone 1091 lib/pacemaker/pcmk_sched_promotable.c pe__create_promotable_pseudo_ops(clone, any_promoting, any_demoting); clone 1094 lib/pacemaker/pcmk_sched_promotable.c reset_instance_priorities(clone); clone 1104 lib/pacemaker/pcmk_sched_promotable.c pcmk__order_promotable_instances(pe_resource_t *clone) clone 1108 lib/pacemaker/pcmk_sched_promotable.c pcmk__promotable_restart_ordering(clone); clone 1110 lib/pacemaker/pcmk_sched_promotable.c for (GList *iter = clone->children; iter != NULL; iter = iter->next) { clone 1118 lib/pacemaker/pcmk_sched_promotable.c order_instance_promotion(clone, instance, previous); clone 1119 lib/pacemaker/pcmk_sched_promotable.c order_instance_demotion(clone, instance, previous); clone 42 lib/pengine/clone.c pe__clone_promoted_max(pe_resource_t *clone) clone 46 lib/pengine/clone.c get_clone_variant_data(clone_data, uber_parent(clone)); clone 59 lib/pengine/clone.c pe__clone_promoted_node_max(pe_resource_t *clone) clone 63 lib/pengine/clone.c get_clone_variant_data(clone_data, uber_parent(clone)); clone 1216 lib/pengine/clone.c pe__clone_is_ordered(pe_resource_t *clone) clone 1220 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone 1235 lib/pengine/clone.c pe__set_clone_flag(pe_resource_t *clone, enum pe__clone_flags flag) clone 1239 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone 1244 lib/pengine/clone.c "Clone", clone->id, clone 1258 lib/pengine/clone.c pe__create_promotable_pseudo_ops(pe_resource_t *clone, bool any_promoting, clone 1265 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone 1268 lib/pengine/clone.c action = pe__new_rsc_pseudo_action(clone, RSC_PROMOTE, !any_promoting, clone 1272 lib/pengine/clone.c action_complete = pe__new_rsc_pseudo_action(clone, RSC_PROMOTED, clone 1278 lib/pengine/clone.c clone_data->promote_notify = pe__clone_notif_pseudo_ops(clone, clone 1285 lib/pengine/clone.c action = pe__new_rsc_pseudo_action(clone, RSC_DEMOTE, !any_demoting, true); clone 1288 lib/pengine/clone.c action_complete = pe__new_rsc_pseudo_action(clone, RSC_DEMOTED, clone 1294 lib/pengine/clone.c clone_data->demote_notify = pe__clone_notif_pseudo_ops(clone, clone 249 lib/pengine/complex.c const char *clone = NULL; clone 290 lib/pengine/complex.c clone = crm_element_value(xml_obj, XML_RSC_ATTR_INCARNATION); clone 291 lib/pengine/complex.c if(clone) { clone 292 lib/pengine/complex.c crm_xml_add(new_xml, XML_RSC_ATTR_INCARNATION, clone);