clone 35 include/crm/pengine/internal.h bool pe__clone_is_ordered(const pe_resource_t *clone); clone 36 include/crm/pengine/internal.h int pe__set_clone_flag(pe_resource_t *clone, enum pe__clone_flags flag); clone 217 include/crm/pengine/internal.h int pe__clone_max(const pe_resource_t *clone); clone 218 include/crm/pengine/internal.h int pe__clone_node_max(const pe_resource_t *clone); clone 219 include/crm/pengine/internal.h int pe__clone_promoted_max(const pe_resource_t *clone); clone 220 include/crm/pengine/internal.h int pe__clone_promoted_node_max(const pe_resource_t *clone); clone 221 include/crm/pengine/internal.h void pe__create_clone_notifications(pe_resource_t *clone); clone 222 include/crm/pengine/internal.h void pe__free_clone_notification_data(pe_resource_t *clone); clone 223 include/crm/pengine/internal.h void pe__create_clone_notif_pseudo_ops(pe_resource_t *clone, clone 231 include/crm/pengine/internal.h void pe__create_promotable_pseudo_ops(pe_resource_t *clone, bool any_promoting, clone 608 lib/pacemaker/libpacemaker_private.h void pcmk__create_promotable_actions(pe_resource_t *clone); clone 614 lib/pacemaker/libpacemaker_private.h void pcmk__order_promotable_instances(pe_resource_t *clone); clone 458 lib/pacemaker/pcmk_sched_clone.c find_instance_on(const pe_resource_t *clone, const pe_node_t *node) clone 460 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 304 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *clone = (pe_resource_t *) user_data; clone 310 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, "Not adding sort index of %s: negative", child->id); clone 316 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, "Not adding sort index of %s: inactive", child->id); clone 320 lib/pacemaker/pcmk_sched_promotable.c node = (pe_node_t *) pe_hash_table_lookup(clone->allowed_nodes, clone 325 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, clone 342 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *clone = (pe_resource_t *) user_data; clone 353 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, "Applying colocation %s (promoted %s with %s) @%s", clone 357 lib/pacemaker/pcmk_sched_promotable.c primary->cmds->add_colocated_node_scores(primary, clone->id, clone 358 lib/pacemaker/pcmk_sched_promotable.c &clone->allowed_nodes, clone 374 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *clone = (pe_resource_t *) user_data; clone 385 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, "Applying colocation %s (%s with promoted %s) @%s", clone 389 lib/pacemaker/pcmk_sched_promotable.c dependent->cmds->add_colocated_node_scores(dependent, clone->id, clone 390 lib/pacemaker/pcmk_sched_promotable.c &clone->allowed_nodes, clone 406 lib/pacemaker/pcmk_sched_promotable.c const pe_resource_t *clone = (const pe_resource_t *) user_data; clone 413 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, clone 418 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, clone 425 lib/pacemaker/pcmk_sched_promotable.c node = pe_hash_table_lookup(clone->allowed_nodes, chosen->details->id); clone 429 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, clone 431 lib/pacemaker/pcmk_sched_promotable.c clone->id, child->id, child->sort_index); clone 442 lib/pacemaker/pcmk_sched_promotable.c sort_promotable_instances(pe_resource_t *clone) clone 444 lib/pacemaker/pcmk_sched_promotable.c if (pe__set_clone_flag(clone, pe__clone_promotion_constrained) clone 448 lib/pacemaker/pcmk_sched_promotable.c pe__set_resource_flags(clone, pe_rsc_merging); clone 450 lib/pacemaker/pcmk_sched_promotable.c for (GList *iter = clone->children; iter != NULL; iter = iter->next) { clone 453 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, clone 455 lib/pacemaker/pcmk_sched_promotable.c clone->id, child->id, child->sort_index); clone 457 lib/pacemaker/pcmk_sched_promotable.c pe__show_node_weights(true, clone, "Before", clone->allowed_nodes, clone 458 lib/pacemaker/pcmk_sched_promotable.c clone->cluster); clone 464 lib/pacemaker/pcmk_sched_promotable.c g_list_foreach(clone->children, add_sort_index_to_node_weight, clone); clone 465 lib/pacemaker/pcmk_sched_promotable.c g_list_foreach(clone->rsc_cons, apply_coloc_to_dependent, clone); clone 466 lib/pacemaker/pcmk_sched_promotable.c g_list_foreach(clone->rsc_cons_lhs, apply_coloc_to_primary, clone); clone 469 lib/pacemaker/pcmk_sched_promotable.c pcmk__require_promotion_tickets(clone); clone 471 lib/pacemaker/pcmk_sched_promotable.c pe__show_node_weights(true, clone, "After", clone->allowed_nodes, clone 472 lib/pacemaker/pcmk_sched_promotable.c clone->cluster); clone 475 lib/pacemaker/pcmk_sched_promotable.c g_list_foreach(clone->children, set_sort_index_to_node_weight, clone); clone 478 lib/pacemaker/pcmk_sched_promotable.c clone->children = g_list_sort(clone->children, cmp_promotable_instance); clone 479 lib/pacemaker/pcmk_sched_promotable.c pe__clear_resource_flags(clone, pe_rsc_merging); clone 493 lib/pacemaker/pcmk_sched_promotable.c find_active_anon_instance(const pe_resource_t *clone, const char *id, clone 496 lib/pacemaker/pcmk_sched_promotable.c for (GList *iter = clone->children; iter; iter = iter->next) { clone 501 lib/pacemaker/pcmk_sched_promotable.c active = clone->fns->find_rsc(child, id, node, clone 521 lib/pacemaker/pcmk_sched_promotable.c anonymous_known_on(const pe_resource_t *clone, const char *id, clone 524 lib/pacemaker/pcmk_sched_promotable.c for (GList *iter = clone->children; iter; iter = iter->next) { clone 530 lib/pacemaker/pcmk_sched_promotable.c child = clone->fns->find_rsc(child, id, NULL, pe_find_clone); clone 892 lib/pacemaker/pcmk_sched_promotable.c const pe_resource_t *clone = (const pe_resource_t *) user_data; clone 897 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, "Assigning priority for %s: %s", instance->id, clone 955 lib/pacemaker/pcmk_sched_promotable.c apply_promoted_locations(instance, clone->rsc_location, chosen); clone 970 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, "Assigning %s priority = %d", clone 987 lib/pacemaker/pcmk_sched_promotable.c const pe_resource_t *clone = pe__const_top_resource(instance, false); clone 993 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, "Not supposed to promote instance %s", clone 997 lib/pacemaker/pcmk_sched_promotable.c || !pcmk_is_set(clone->flags, pe_rsc_managed)) { clone 1016 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_info(clone, "Choosing %s (%s) on %s for promotion", clone 1062 lib/pacemaker/pcmk_sched_promotable.c create_promotable_instance_actions(pe_resource_t *clone, clone 1065 lib/pacemaker/pcmk_sched_promotable.c for (GList *iter = clone->children; iter != NULL; iter = iter->next) { clone 1084 lib/pacemaker/pcmk_sched_promotable.c reset_instance_priorities(pe_resource_t *clone) clone 1086 lib/pacemaker/pcmk_sched_promotable.c for (GList *iter = clone->children; iter != NULL; iter = iter->next) { clone 1089 lib/pacemaker/pcmk_sched_promotable.c instance->priority = clone->priority; clone 1100 lib/pacemaker/pcmk_sched_promotable.c pcmk__create_promotable_actions(pe_resource_t *clone) clone 1106 lib/pacemaker/pcmk_sched_promotable.c create_promotable_instance_actions(clone, &any_promoting, &any_demoting); clone 1109 lib/pacemaker/pcmk_sched_promotable.c pe__create_promotable_pseudo_ops(clone, any_promoting, any_demoting); clone 1112 lib/pacemaker/pcmk_sched_promotable.c reset_instance_priorities(clone); clone 1122 lib/pacemaker/pcmk_sched_promotable.c pcmk__order_promotable_instances(pe_resource_t *clone) clone 1126 lib/pacemaker/pcmk_sched_promotable.c pcmk__promotable_restart_ordering(clone); clone 1128 lib/pacemaker/pcmk_sched_promotable.c for (GList *iter = clone->children; iter != NULL; iter = iter->next) { clone 1136 lib/pacemaker/pcmk_sched_promotable.c order_instance_promotion(clone, instance, previous); clone 1137 lib/pacemaker/pcmk_sched_promotable.c order_instance_demotion(clone, instance, previous); clone 62 lib/pengine/clone.c pe__clone_max(const pe_resource_t *clone) clone 66 lib/pengine/clone.c get_clone_variant_data(clone_data, pe__const_top_resource(clone, false)); clone 79 lib/pengine/clone.c pe__clone_node_max(const pe_resource_t *clone) clone 83 lib/pengine/clone.c get_clone_variant_data(clone_data, pe__const_top_resource(clone, false)); clone 96 lib/pengine/clone.c pe__clone_promoted_max(const pe_resource_t *clone) clone 100 lib/pengine/clone.c get_clone_variant_data(clone_data, pe__const_top_resource(clone, false)); clone 113 lib/pengine/clone.c pe__clone_promoted_node_max(const pe_resource_t *clone) clone 117 lib/pengine/clone.c get_clone_variant_data(clone_data, pe__const_top_resource(clone, false)); clone 1289 lib/pengine/clone.c pe__clone_is_ordered(const pe_resource_t *clone) clone 1293 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone 1308 lib/pengine/clone.c pe__set_clone_flag(pe_resource_t *clone, enum pe__clone_flags flag) clone 1312 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone 1317 lib/pengine/clone.c "Clone", clone->id, clone 1331 lib/pengine/clone.c pe__create_promotable_pseudo_ops(pe_resource_t *clone, bool any_promoting, clone 1338 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone 1341 lib/pengine/clone.c action = pe__new_rsc_pseudo_action(clone, RSC_PROMOTE, !any_promoting, clone 1345 lib/pengine/clone.c action_complete = pe__new_rsc_pseudo_action(clone, RSC_PROMOTED, clone 1351 lib/pengine/clone.c clone_data->promote_notify = pe__action_notif_pseudo_ops(clone, clone 1358 lib/pengine/clone.c action = pe__new_rsc_pseudo_action(clone, RSC_DEMOTE, !any_demoting, true); clone 1361 lib/pengine/clone.c action_complete = pe__new_rsc_pseudo_action(clone, RSC_DEMOTED, clone 1367 lib/pengine/clone.c clone_data->demote_notify = pe__action_notif_pseudo_ops(clone, clone 1399 lib/pengine/clone.c pe__create_clone_notifications(pe_resource_t *clone) clone 1403 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone 1405 lib/pengine/clone.c pe__create_action_notifications(clone, clone_data->start_notify); clone 1406 lib/pengine/clone.c pe__create_action_notifications(clone, clone_data->stop_notify); clone 1407 lib/pengine/clone.c pe__create_action_notifications(clone, clone_data->promote_notify); clone 1408 lib/pengine/clone.c pe__create_action_notifications(clone, clone_data->demote_notify); clone 1418 lib/pengine/clone.c pe__free_clone_notification_data(pe_resource_t *clone) clone 1422 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone 1448 lib/pengine/clone.c pe__create_clone_notif_pseudo_ops(pe_resource_t *clone, clone 1454 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone 1457 lib/pengine/clone.c clone_data->start_notify = pe__action_notif_pseudo_ops(clone, RSC_START, clone 1462 lib/pengine/clone.c clone_data->stop_notify = pe__action_notif_pseudo_ops(clone, RSC_STOP, clone 256 lib/pengine/complex.c const char *clone = NULL; clone 297 lib/pengine/complex.c clone = crm_element_value(xml_obj, XML_RSC_ATTR_INCARNATION); clone 298 lib/pengine/complex.c if(clone) { clone 299 lib/pengine/complex.c crm_xml_add(new_xml, XML_RSC_ATTR_INCARNATION, clone);