clone_data 682 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 684 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 730 lib/pacemaker/pcmk_sched_clone.c distribute_children(rsc, rsc->children, nodes, clone_data->clone_max, clone_data->clone_node_max, data_set); clone_data 864 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 866 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 868 lib/pacemaker/pcmk_sched_clone.c if (clone_data->ordered == FALSE) { clone_data 900 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 902 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 903 lib/pacemaker/pcmk_sched_clone.c clone_create_pseudo_actions(rsc, rsc->children, &clone_data->start_notify, &clone_data->stop_notify,data_set); clone_data 978 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 980 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 992 lib/pacemaker/pcmk_sched_clone.c if (clone_data->ordered) { clone_data 1004 lib/pacemaker/pcmk_sched_clone.c if (clone_data->ordered && last_rsc) { clone_data 1011 lib/pacemaker/pcmk_sched_clone.c if (clone_data->ordered && last_rsc) { clone_data 1332 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 1334 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 1343 lib/pacemaker/pcmk_sched_clone.c if (clone_data->start_notify) { clone_data 1344 lib/pacemaker/pcmk_sched_clone.c collect_notification_data(rsc, TRUE, TRUE, clone_data->start_notify); clone_data 1345 lib/pacemaker/pcmk_sched_clone.c pcmk__create_notification_keys(rsc, clone_data->start_notify, data_set); clone_data 1346 lib/pacemaker/pcmk_sched_clone.c create_notifications(rsc, clone_data->start_notify, data_set); clone_data 1349 lib/pacemaker/pcmk_sched_clone.c if (clone_data->stop_notify) { clone_data 1350 lib/pacemaker/pcmk_sched_clone.c collect_notification_data(rsc, TRUE, TRUE, clone_data->stop_notify); clone_data 1351 lib/pacemaker/pcmk_sched_clone.c pcmk__create_notification_keys(rsc, clone_data->stop_notify, data_set); clone_data 1352 lib/pacemaker/pcmk_sched_clone.c create_notifications(rsc, clone_data->stop_notify, data_set); clone_data 1355 lib/pacemaker/pcmk_sched_clone.c if (clone_data->promote_notify) { clone_data 1356 lib/pacemaker/pcmk_sched_clone.c collect_notification_data(rsc, TRUE, TRUE, clone_data->promote_notify); clone_data 1357 lib/pacemaker/pcmk_sched_clone.c pcmk__create_notification_keys(rsc, clone_data->promote_notify, data_set); clone_data 1358 lib/pacemaker/pcmk_sched_clone.c create_notifications(rsc, clone_data->promote_notify, data_set); clone_data 1361 lib/pacemaker/pcmk_sched_clone.c if (clone_data->demote_notify) { clone_data 1362 lib/pacemaker/pcmk_sched_clone.c collect_notification_data(rsc, TRUE, TRUE, clone_data->demote_notify); clone_data 1363 lib/pacemaker/pcmk_sched_clone.c pcmk__create_notification_keys(rsc, clone_data->demote_notify, data_set); clone_data 1364 lib/pacemaker/pcmk_sched_clone.c create_notifications(rsc, clone_data->demote_notify, data_set); clone_data 1379 lib/pacemaker/pcmk_sched_clone.c free_notification_data(clone_data->demote_notify); clone_data 1380 lib/pacemaker/pcmk_sched_clone.c clone_data->demote_notify = NULL; clone_data 1381 lib/pacemaker/pcmk_sched_clone.c free_notification_data(clone_data->stop_notify); clone_data 1382 lib/pacemaker/pcmk_sched_clone.c clone_data->stop_notify = NULL; clone_data 1383 lib/pacemaker/pcmk_sched_clone.c free_notification_data(clone_data->start_notify); clone_data 1384 lib/pacemaker/pcmk_sched_clone.c clone_data->start_notify = NULL; clone_data 1385 lib/pacemaker/pcmk_sched_clone.c free_notification_data(clone_data->promote_notify); clone_data 1386 lib/pacemaker/pcmk_sched_clone.c clone_data->promote_notify = NULL; clone_data 1528 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 1530 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 1541 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->clone_max); clone_data 1545 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->clone_node_max); clone_data 1550 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_max); clone_data 1554 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_node_max); clone_data 1561 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_max); clone_data 1565 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_node_max); clone_data 23 lib/pacemaker/pcmk_sched_promotable.c child_promoting_constraints(clone_variant_data_t * clone_data, enum pe_ordering type, clone_data 28 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->ordered && last != NULL) { clone_data 42 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->ordered) { clone_data 59 lib/pacemaker/pcmk_sched_promotable.c child_demoting_constraints(clone_variant_data_t * clone_data, enum pe_ordering type, clone_data 64 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->ordered && last != NULL) { clone_data 78 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->ordered && last != NULL) { clone_data 84 lib/pacemaker/pcmk_sched_promotable.c } else if (clone_data->ordered) { clone_data 171 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 226 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, parent); clone_data 233 lib/pacemaker/pcmk_sched_promotable.c } else if ((local_node->count < clone_data->promoted_node_max) clone_data 285 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 289 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, rsc); clone_data 291 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->added_promoted_constraints) { clone_data 294 lib/pacemaker/pcmk_sched_promotable.c clone_data->added_promoted_constraints = true; clone_data 571 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 573 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, rsc); clone_data 575 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->added_promotion_scores) { clone_data 580 lib/pacemaker/pcmk_sched_promotable.c clone_data->added_promotion_scores = true; clone_data 670 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 672 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, rsc); clone_data 778 lib/pacemaker/pcmk_sched_promotable.c } else if ((promoted < clone_data->promoted_max) clone_data 806 lib/pacemaker/pcmk_sched_promotable.c rsc->id, promoted, clone_data->promoted_max); clone_data 822 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 824 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, rsc); clone_data 848 lib/pacemaker/pcmk_sched_promotable.c child_promoting_constraints(clone_data, pe_order_optional, clone_data 851 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->promote_notify == NULL) { clone_data 852 lib/pacemaker/pcmk_sched_promotable.c clone_data->promote_notify = clone_data 861 lib/pacemaker/pcmk_sched_promotable.c child_demoting_constraints(clone_data, pe_order_optional, rsc, NULL, last_demote_rsc, data_set); clone_data 863 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->demote_notify == NULL) { clone_data 864 lib/pacemaker/pcmk_sched_promotable.c clone_data->demote_notify = clone_data 867 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->promote_notify) { clone_data 871 lib/pacemaker/pcmk_sched_promotable.c order_actions(clone_data->stop_notify->post_done, clone_data->promote_notify->pre, clone_data 873 lib/pacemaker/pcmk_sched_promotable.c order_actions(clone_data->start_notify->post_done, clone_data->promote_notify->pre, clone_data 875 lib/pacemaker/pcmk_sched_promotable.c order_actions(clone_data->demote_notify->post_done, clone_data->promote_notify->pre, clone_data 877 lib/pacemaker/pcmk_sched_promotable.c order_actions(clone_data->demote_notify->post_done, clone_data->start_notify->pre, clone_data 879 lib/pacemaker/pcmk_sched_promotable.c order_actions(clone_data->demote_notify->post_done, clone_data->stop_notify->pre, clone_data 925 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 927 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, rsc); clone_data 937 lib/pacemaker/pcmk_sched_promotable.c child_promoting_constraints(clone_data, pe_order_optional, clone_data 940 lib/pacemaker/pcmk_sched_promotable.c child_demoting_constraints(clone_data, pe_order_optional, clone_data 35 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 37 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 43 lib/pengine/clone.c clone_data->clone_node_max = 1; clone_data 44 lib/pengine/clone.c clone_data->clone_max = QB_MIN(clone_data->clone_max, clone_data 55 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 57 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 59 lib/pengine/clone.c child_base = ID(clone_data->xml_obj_child); clone_data 75 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 77 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 79 lib/pengine/clone.c CRM_CHECK(clone_data->xml_obj_child != NULL, return FALSE); clone_data 81 lib/pengine/clone.c if (clone_data->total_clones >= clone_data->clone_max) { clone_data 87 lib/pengine/clone.c inc_num = pcmk__itoa(clone_data->total_clones); clone_data 88 lib/pengine/clone.c inc_max = pcmk__itoa(clone_data->clone_max); clone_data 90 lib/pengine/clone.c child_copy = copy_xml(clone_data->xml_obj_child); clone_data 102 lib/pengine/clone.c clone_data->total_clones += 1; clone_data 125 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 133 lib/pengine/clone.c clone_data = calloc(1, sizeof(clone_variant_data_t)); clone_data 134 lib/pengine/clone.c rsc->variant_opaque = clone_data; clone_data 158 lib/pengine/clone.c clone_data->promoted_max = 1; clone_data 160 lib/pengine/clone.c pcmk__scan_min_int(promoted_max, &(clone_data->promoted_max), 0); clone_data 165 lib/pengine/clone.c clone_data->promoted_node_max = 1; clone_data 168 lib/pengine/clone.c &(clone_data->promoted_node_max), 0); clone_data 177 lib/pengine/clone.c clone_data->clone_node_max = 1; clone_data 179 lib/pengine/clone.c pcmk__scan_min_int(max_clones_node, &(clone_data->clone_node_max), 0); clone_data 186 lib/pengine/clone.c clone_data->clone_max = QB_MAX(1, g_list_length(data_set->nodes)); clone_data 188 lib/pengine/clone.c pcmk__scan_min_int(max_clones, &(clone_data->clone_max), 0); clone_data 191 lib/pengine/clone.c clone_data->ordered = crm_is_true(ordered); clone_data 193 lib/pengine/clone.c if ((rsc->flags & pe_rsc_unique) == 0 && clone_data->clone_node_max > 1) { clone_data 197 lib/pengine/clone.c clone_data->clone_node_max = 1; clone_data 201 lib/pengine/clone.c pe_rsc_trace(rsc, "\tClone max: %d", clone_data->clone_max); clone_data 202 lib/pengine/clone.c pe_rsc_trace(rsc, "\tClone node max: %d", clone_data->clone_node_max); clone_data 213 lib/pengine/clone.c clone_data->xml_obj_child = a_child; clone_data 218 lib/pengine/clone.c if (clone_data->xml_obj_child == NULL) { clone_data 239 lib/pengine/clone.c if (clone_data->clone_max <= 0) { clone_data 249 lib/pengine/clone.c for (lpc = 0; lpc < clone_data->clone_max; lpc++) { clone_data 256 lib/pengine/clone.c pe_rsc_trace(rsc, "Added %d children to resource %s...", clone_data->clone_max, rsc->id); clone_data 406 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 418 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 423 lib/pengine/clone.c pre_text ? pre_text : "", rsc->id, ID(clone_data->xml_obj_child), clone_data 568 lib/pengine/clone.c && (clone_data->clone_max > active_instances)) { clone_data 684 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 689 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 699 lib/pengine/clone.c rsc->id, ID(clone_data->xml_obj_child), clone_data 864 lib/pengine/clone.c && (clone_data->clone_max > active_instances)) { clone_data 924 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 929 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 939 lib/pengine/clone.c rsc->id, ID(clone_data->xml_obj_child), clone_data 1100 lib/pengine/clone.c && (clone_data->clone_max > active_instances)) { clone_data 1144 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1146 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1165 lib/pengine/clone.c if (clone_data) { clone_data 1166 lib/pengine/clone.c CRM_ASSERT(clone_data->demote_notify == NULL); clone_data 1167 lib/pengine/clone.c CRM_ASSERT(clone_data->stop_notify == NULL); clone_data 1168 lib/pengine/clone.c CRM_ASSERT(clone_data->start_notify == NULL); clone_data 1169 lib/pengine/clone.c CRM_ASSERT(clone_data->promote_notify == NULL); clone_data 1206 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1208 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1209 lib/pengine/clone.c if (clone_data->clone_max == g_list_length(data_set->nodes)) { clone_data 1220 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1225 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1226 lib/pengine/clone.c passes = pcmk__str_in_list(only_rsc, ID(clone_data->xml_obj_child));