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 184 include/crm/pengine/internal.h int pe__clone_max(const pcmk_resource_t *clone); clone 185 include/crm/pengine/internal.h int pe__clone_node_max(const pcmk_resource_t *clone); clone 186 include/crm/pengine/internal.h int pe__clone_promoted_max(const pcmk_resource_t *clone); clone 187 include/crm/pengine/internal.h int pe__clone_promoted_node_max(const pcmk_resource_t *clone); clone 188 include/crm/pengine/internal.h void pe__create_clone_notifications(pcmk_resource_t *clone); clone 189 include/crm/pengine/internal.h void pe__free_clone_notification_data(pcmk_resource_t *clone); clone 190 include/crm/pengine/internal.h void pe__create_clone_notif_pseudo_ops(pcmk_resource_t *clone, clone 199 include/crm/pengine/internal.h void pe__create_promotable_pseudo_ops(pcmk_resource_t *clone, clone 710 lib/pacemaker/libpacemaker_private.h void pcmk__create_promotable_actions(pcmk_resource_t *clone); clone 716 lib/pacemaker/libpacemaker_private.h void pcmk__order_promotable_instances(pcmk_resource_t *clone); clone 503 lib/pacemaker/pcmk_sched_clone.c find_probed_instance_on(const pcmk_resource_t *clone, const pcmk_node_t *node) clone 505 lib/pacemaker/pcmk_sched_clone.c for (GList *iter = clone->children; iter != NULL; iter = iter->next) { clone 523 lib/pacemaker/pcmk_sched_clone.c probe_anonymous_clone(pcmk_resource_t *clone, pcmk_node_t *node) clone 526 lib/pacemaker/pcmk_sched_clone.c pcmk_resource_t *child = find_probed_instance_on(clone, node); clone 529 lib/pacemaker/pcmk_sched_clone.c for (GList *iter = clone->children; (iter != NULL) && (child == NULL); clone 542 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 313 lib/pacemaker/pcmk_sched_promotable.c pcmk_resource_t *clone = (pcmk_resource_t *) user_data; clone 319 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, "Not adding sort index of %s: negative", child->id); clone 325 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, "Not adding sort index of %s: inactive", child->id); clone 329 lib/pacemaker/pcmk_sched_promotable.c node = g_hash_table_lookup(clone->allowed_nodes, chosen->details->id); clone 333 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, clone 350 lib/pacemaker/pcmk_sched_promotable.c pcmk_resource_t *clone = user_data; clone 361 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, "Applying colocation %s (promoted %s with %s) @%s", clone 365 lib/pacemaker/pcmk_sched_promotable.c primary->cmds->add_colocated_node_scores(primary, clone, clone->id, clone 366 lib/pacemaker/pcmk_sched_promotable.c &clone->allowed_nodes, colocation, clone 381 lib/pacemaker/pcmk_sched_promotable.c pcmk_resource_t *clone = user_data; clone 392 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, "Applying colocation %s (%s with promoted %s) @%s", clone 396 lib/pacemaker/pcmk_sched_promotable.c dependent->cmds->add_colocated_node_scores(dependent, clone, clone->id, clone 397 lib/pacemaker/pcmk_sched_promotable.c &clone->allowed_nodes, clone 412 lib/pacemaker/pcmk_sched_promotable.c const pcmk_resource_t *clone = (const pcmk_resource_t *) user_data; clone 419 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, clone 424 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, clone 429 lib/pacemaker/pcmk_sched_promotable.c const pcmk_node_t *node = g_hash_table_lookup(clone->allowed_nodes, clone 434 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, clone 436 lib/pacemaker/pcmk_sched_promotable.c clone->id, child->id, child->sort_index); clone 447 lib/pacemaker/pcmk_sched_promotable.c sort_promotable_instances(pcmk_resource_t *clone) clone 451 lib/pacemaker/pcmk_sched_promotable.c if (pe__set_clone_flag(clone, pcmk__clone_promotion_constrained) clone 455 lib/pacemaker/pcmk_sched_promotable.c pe__set_resource_flags(clone, pcmk_rsc_updating_nodes); clone 457 lib/pacemaker/pcmk_sched_promotable.c for (GList *iter = clone->children; iter != NULL; iter = iter->next) { clone 460 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, clone 462 lib/pacemaker/pcmk_sched_promotable.c clone->id, child->id, child->sort_index); clone 464 lib/pacemaker/pcmk_sched_promotable.c pe__show_node_scores(true, clone, "Before", clone->allowed_nodes, clone 465 lib/pacemaker/pcmk_sched_promotable.c clone->cluster); clone 467 lib/pacemaker/pcmk_sched_promotable.c g_list_foreach(clone->children, add_sort_index_to_node_score, clone); clone 469 lib/pacemaker/pcmk_sched_promotable.c colocations = pcmk__this_with_colocations(clone); clone 470 lib/pacemaker/pcmk_sched_promotable.c g_list_foreach(colocations, apply_coloc_to_dependent, clone); clone 473 lib/pacemaker/pcmk_sched_promotable.c colocations = pcmk__with_this_colocations(clone); clone 474 lib/pacemaker/pcmk_sched_promotable.c g_list_foreach(colocations, apply_coloc_to_primary, clone); clone 478 lib/pacemaker/pcmk_sched_promotable.c pcmk__require_promotion_tickets(clone); clone 480 lib/pacemaker/pcmk_sched_promotable.c pe__show_node_scores(true, clone, "After", clone->allowed_nodes, clone 481 lib/pacemaker/pcmk_sched_promotable.c clone->cluster); clone 484 lib/pacemaker/pcmk_sched_promotable.c g_list_foreach(clone->children, set_sort_index_to_node_score, clone); clone 487 lib/pacemaker/pcmk_sched_promotable.c clone->children = g_list_sort(clone->children, cmp_promotable_instance); clone 488 lib/pacemaker/pcmk_sched_promotable.c pe__clear_resource_flags(clone, pcmk_rsc_updating_nodes); clone 502 lib/pacemaker/pcmk_sched_promotable.c find_active_anon_instance(const pcmk_resource_t *clone, const char *id, clone 505 lib/pacemaker/pcmk_sched_promotable.c for (GList *iter = clone->children; iter; iter = iter->next) { clone 510 lib/pacemaker/pcmk_sched_promotable.c active = clone->fns->find_rsc(child, id, node, clone 531 lib/pacemaker/pcmk_sched_promotable.c anonymous_known_on(const pcmk_resource_t *clone, const char *id, clone 534 lib/pacemaker/pcmk_sched_promotable.c for (GList *iter = clone->children; iter; iter = iter->next) { clone 540 lib/pacemaker/pcmk_sched_promotable.c child = clone->fns->find_rsc(child, id, NULL, clone 908 lib/pacemaker/pcmk_sched_promotable.c const pcmk_resource_t *clone = (const pcmk_resource_t *) user_data; clone 913 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, "Assigning priority for %s: %s", instance->id, clone 971 lib/pacemaker/pcmk_sched_promotable.c apply_promoted_locations(instance, clone->rsc_location, chosen); clone 986 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, "Assigning %s priority = %d", clone 1003 lib/pacemaker/pcmk_sched_promotable.c const pcmk_resource_t *clone = pe__const_top_resource(instance, false); clone 1009 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(clone, "Not supposed to promote instance %s", clone 1013 lib/pacemaker/pcmk_sched_promotable.c || !pcmk_is_set(clone->flags, pcmk_rsc_managed)) { clone 1032 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_info(clone, "Choosing %s (%s) on %s for promotion", clone 1078 lib/pacemaker/pcmk_sched_promotable.c create_promotable_instance_actions(pcmk_resource_t *clone, clone 1081 lib/pacemaker/pcmk_sched_promotable.c for (GList *iter = clone->children; iter != NULL; iter = iter->next) { clone 1100 lib/pacemaker/pcmk_sched_promotable.c reset_instance_priorities(pcmk_resource_t *clone) clone 1102 lib/pacemaker/pcmk_sched_promotable.c for (GList *iter = clone->children; iter != NULL; iter = iter->next) { clone 1105 lib/pacemaker/pcmk_sched_promotable.c instance->priority = clone->priority; clone 1116 lib/pacemaker/pcmk_sched_promotable.c pcmk__create_promotable_actions(pcmk_resource_t *clone) clone 1122 lib/pacemaker/pcmk_sched_promotable.c create_promotable_instance_actions(clone, &any_promoting, &any_demoting); clone 1125 lib/pacemaker/pcmk_sched_promotable.c pe__create_promotable_pseudo_ops(clone, any_promoting, any_demoting); clone 1128 lib/pacemaker/pcmk_sched_promotable.c reset_instance_priorities(clone); clone 1138 lib/pacemaker/pcmk_sched_promotable.c pcmk__order_promotable_instances(pcmk_resource_t *clone) clone 1142 lib/pacemaker/pcmk_sched_promotable.c pcmk__promotable_restart_ordering(clone); clone 1144 lib/pacemaker/pcmk_sched_promotable.c for (GList *iter = clone->children; iter != NULL; iter = iter->next) { clone 1152 lib/pacemaker/pcmk_sched_promotable.c order_instance_promotion(clone, instance, previous); clone 1153 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 1300 lib/pengine/clone.c pe__clone_is_ordered(const pcmk_resource_t *clone) clone 1304 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone 1319 lib/pengine/clone.c pe__set_clone_flag(pcmk_resource_t *clone, enum pcmk__clone_flags flag) clone 1323 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone 1328 lib/pengine/clone.c "Clone", clone->id, clone 1343 lib/pengine/clone.c pe__clone_flag_is_set(const pcmk_resource_t *clone, uint32_t flags) clone 1347 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone 1362 lib/pengine/clone.c pe__create_promotable_pseudo_ops(pcmk_resource_t *clone, bool any_promoting, clone 1369 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone 1372 lib/pengine/clone.c action = pe__new_rsc_pseudo_action(clone, PCMK_ACTION_PROMOTE, clone 1376 lib/pengine/clone.c action_complete = pe__new_rsc_pseudo_action(clone, PCMK_ACTION_PROMOTED, clone 1382 lib/pengine/clone.c clone_data->promote_notify = pe__action_notif_pseudo_ops(clone, clone 1389 lib/pengine/clone.c action = pe__new_rsc_pseudo_action(clone, PCMK_ACTION_DEMOTE, clone 1393 lib/pengine/clone.c action_complete = pe__new_rsc_pseudo_action(clone, PCMK_ACTION_DEMOTED, clone 1399 lib/pengine/clone.c clone_data->demote_notify = pe__action_notif_pseudo_ops(clone, clone 1426 lib/pengine/clone.c pe__create_clone_notifications(pcmk_resource_t *clone) clone 1430 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone 1432 lib/pengine/clone.c pe__create_action_notifications(clone, clone_data->start_notify); clone 1433 lib/pengine/clone.c pe__create_action_notifications(clone, clone_data->stop_notify); clone 1434 lib/pengine/clone.c pe__create_action_notifications(clone, clone_data->promote_notify); clone 1435 lib/pengine/clone.c pe__create_action_notifications(clone, clone_data->demote_notify); clone 1445 lib/pengine/clone.c pe__free_clone_notification_data(pcmk_resource_t *clone) clone 1449 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone 1475 lib/pengine/clone.c pe__create_clone_notif_pseudo_ops(pcmk_resource_t *clone, clone 1481 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone 1484 lib/pengine/clone.c clone_data->start_notify = pe__action_notif_pseudo_ops(clone, clone 1490 lib/pengine/clone.c clone_data->stop_notify = pe__action_notif_pseudo_ops(clone, clone 266 lib/pengine/complex.c const char *clone = NULL; clone 308 lib/pengine/complex.c clone = crm_element_value(xml_obj, XML_RSC_ATTR_INCARNATION); clone 309 lib/pengine/complex.c if(clone) { clone 310 lib/pengine/complex.c crm_xml_add(new_xml, XML_RSC_ATTR_INCARNATION, clone);