clone_data 684 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 686 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 732 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 838 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 840 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 842 lib/pacemaker/pcmk_sched_clone.c if (clone_data->ordered == FALSE) { clone_data 874 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 876 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 877 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 955 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 957 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 974 lib/pacemaker/pcmk_sched_clone.c if (clone_data->ordered) { clone_data 988 lib/pacemaker/pcmk_sched_clone.c if (clone_data->ordered && last_rsc) { clone_data 997 lib/pacemaker/pcmk_sched_clone.c if (clone_data->ordered && last_rsc) { clone_data 1307 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 1309 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 1313 lib/pacemaker/pcmk_sched_clone.c pcmk__create_notifications(rsc, clone_data->start_notify); clone_data 1314 lib/pacemaker/pcmk_sched_clone.c pcmk__create_notifications(rsc, clone_data->stop_notify); clone_data 1315 lib/pacemaker/pcmk_sched_clone.c pcmk__create_notifications(rsc, clone_data->promote_notify); clone_data 1316 lib/pacemaker/pcmk_sched_clone.c pcmk__create_notifications(rsc, clone_data->demote_notify); clone_data 1330 lib/pacemaker/pcmk_sched_clone.c pcmk__free_notification_data(clone_data->demote_notify); clone_data 1331 lib/pacemaker/pcmk_sched_clone.c clone_data->demote_notify = NULL; clone_data 1332 lib/pacemaker/pcmk_sched_clone.c pcmk__free_notification_data(clone_data->stop_notify); clone_data 1333 lib/pacemaker/pcmk_sched_clone.c clone_data->stop_notify = NULL; clone_data 1334 lib/pacemaker/pcmk_sched_clone.c pcmk__free_notification_data(clone_data->start_notify); clone_data 1335 lib/pacemaker/pcmk_sched_clone.c clone_data->start_notify = NULL; clone_data 1336 lib/pacemaker/pcmk_sched_clone.c pcmk__free_notification_data(clone_data->promote_notify); clone_data 1337 lib/pacemaker/pcmk_sched_clone.c clone_data->promote_notify = NULL; clone_data 1479 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 1481 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 1492 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->clone_max); clone_data 1496 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->clone_node_max); clone_data 1501 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_max); clone_data 1505 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_node_max); clone_data 1512 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_max); clone_data 1516 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_node_max); clone_data 25 lib/pacemaker/pcmk_sched_promotable.c child_promoting_constraints(clone_variant_data_t * clone_data, enum pe_ordering type, clone_data 30 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->ordered && last != NULL) { clone_data 47 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->ordered) { clone_data 65 lib/pacemaker/pcmk_sched_promotable.c child_demoting_constraints(clone_variant_data_t * clone_data, enum pe_ordering type, clone_data 70 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->ordered && last != NULL) { clone_data 87 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->ordered && last != NULL) { clone_data 94 lib/pacemaker/pcmk_sched_promotable.c } else if (clone_data->ordered) { clone_data 182 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 237 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, parent); clone_data 244 lib/pacemaker/pcmk_sched_promotable.c } else if ((local_node->count < clone_data->promoted_node_max) clone_data 296 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 300 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, rsc); clone_data 302 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->added_promoted_constraints) { clone_data 305 lib/pacemaker/pcmk_sched_promotable.c clone_data->added_promoted_constraints = true; clone_data 581 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 583 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, rsc); clone_data 585 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->added_promotion_scores) { clone_data 590 lib/pacemaker/pcmk_sched_promotable.c clone_data->added_promotion_scores = true; clone_data 674 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 676 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, rsc); clone_data 782 lib/pacemaker/pcmk_sched_promotable.c } else if ((promoted < clone_data->promoted_max) clone_data 810 lib/pacemaker/pcmk_sched_promotable.c rsc->id, promoted, clone_data->promoted_max); clone_data 826 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 828 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, rsc); clone_data 854 lib/pacemaker/pcmk_sched_promotable.c child_promoting_constraints(clone_data, pe_order_optional, clone_data 857 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->promote_notify == NULL) { clone_data 858 lib/pacemaker/pcmk_sched_promotable.c clone_data->promote_notify = pcmk__clone_notif_pseudo_ops(rsc, clone_data 870 lib/pacemaker/pcmk_sched_promotable.c child_demoting_constraints(clone_data, pe_order_optional, rsc, NULL, last_demote_rsc, data_set); clone_data 872 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->demote_notify == NULL) { clone_data 873 lib/pacemaker/pcmk_sched_promotable.c clone_data->demote_notify = pcmk__clone_notif_pseudo_ops(rsc, clone_data 878 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->promote_notify) { clone_data 882 lib/pacemaker/pcmk_sched_promotable.c order_actions(clone_data->stop_notify->post_done, clone_data->promote_notify->pre, clone_data 884 lib/pacemaker/pcmk_sched_promotable.c order_actions(clone_data->start_notify->post_done, clone_data->promote_notify->pre, clone_data 886 lib/pacemaker/pcmk_sched_promotable.c order_actions(clone_data->demote_notify->post_done, clone_data->promote_notify->pre, clone_data 888 lib/pacemaker/pcmk_sched_promotable.c order_actions(clone_data->demote_notify->post_done, clone_data->start_notify->pre, clone_data 890 lib/pacemaker/pcmk_sched_promotable.c order_actions(clone_data->demote_notify->post_done, clone_data->stop_notify->pre, clone_data 943 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 945 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, rsc); clone_data 956 lib/pacemaker/pcmk_sched_promotable.c child_promoting_constraints(clone_data, pe_order_optional, clone_data 959 lib/pacemaker/pcmk_sched_promotable.c child_demoting_constraints(clone_data, pe_order_optional, clone_data 83 lib/pengine/clone.c clone_header(pcmk__output_t *out, int *rc, pe_resource_t *rsc, clone_variant_data_t *clone_data) clone_data 106 lib/pengine/clone.c rsc->id, ID(clone_data->xml_obj_child), clone_data 111 lib/pengine/clone.c rsc->id, ID(clone_data->xml_obj_child)) clone_data 120 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 122 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 128 lib/pengine/clone.c clone_data->clone_node_max = 1; clone_data 129 lib/pengine/clone.c clone_data->clone_max = QB_MIN(clone_data->clone_max, clone_data 140 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 142 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 144 lib/pengine/clone.c child_base = ID(clone_data->xml_obj_child); clone_data 160 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 162 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 164 lib/pengine/clone.c CRM_CHECK(clone_data->xml_obj_child != NULL, return FALSE); clone_data 166 lib/pengine/clone.c if (clone_data->total_clones >= clone_data->clone_max) { clone_data 172 lib/pengine/clone.c inc_num = pcmk__itoa(clone_data->total_clones); clone_data 173 lib/pengine/clone.c inc_max = pcmk__itoa(clone_data->clone_max); clone_data 175 lib/pengine/clone.c child_copy = copy_xml(clone_data->xml_obj_child); clone_data 187 lib/pengine/clone.c clone_data->total_clones += 1; clone_data 210 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 218 lib/pengine/clone.c clone_data = calloc(1, sizeof(clone_variant_data_t)); clone_data 219 lib/pengine/clone.c rsc->variant_opaque = clone_data; clone_data 243 lib/pengine/clone.c clone_data->promoted_max = 1; clone_data 245 lib/pengine/clone.c pcmk__scan_min_int(promoted_max, &(clone_data->promoted_max), 0); clone_data 250 lib/pengine/clone.c clone_data->promoted_node_max = 1; clone_data 253 lib/pengine/clone.c &(clone_data->promoted_node_max), 0); clone_data 262 lib/pengine/clone.c clone_data->clone_node_max = 1; clone_data 264 lib/pengine/clone.c pcmk__scan_min_int(max_clones_node, &(clone_data->clone_node_max), 0); clone_data 271 lib/pengine/clone.c clone_data->clone_max = QB_MAX(1, g_list_length(data_set->nodes)); clone_data 273 lib/pengine/clone.c pcmk__scan_min_int(max_clones, &(clone_data->clone_max), 0); clone_data 276 lib/pengine/clone.c clone_data->ordered = crm_is_true(ordered); clone_data 278 lib/pengine/clone.c if ((rsc->flags & pe_rsc_unique) == 0 && clone_data->clone_node_max > 1) { clone_data 282 lib/pengine/clone.c clone_data->clone_node_max = 1; clone_data 286 lib/pengine/clone.c pe_rsc_trace(rsc, "\tClone max: %d", clone_data->clone_max); clone_data 287 lib/pengine/clone.c pe_rsc_trace(rsc, "\tClone node max: %d", clone_data->clone_node_max); clone_data 298 lib/pengine/clone.c clone_data->xml_obj_child = a_child; clone_data 303 lib/pengine/clone.c if (clone_data->xml_obj_child == NULL) { clone_data 324 lib/pengine/clone.c if (clone_data->clone_max <= 0) { clone_data 334 lib/pengine/clone.c for (lpc = 0; lpc < clone_data->clone_max; lpc++) { clone_data 341 lib/pengine/clone.c pe_rsc_trace(rsc, "Added %d children to resource %s...", clone_data->clone_max, rsc->id); clone_data 491 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 503 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 508 lib/pengine/clone.c pre_text ? pre_text : "", rsc->id, ID(clone_data->xml_obj_child), clone_data 653 lib/pengine/clone.c && (clone_data->clone_max > active_instances)) { clone_data 773 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 778 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 869 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data); clone_data 900 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data); clone_data 924 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data); clone_data 948 lib/pengine/clone.c && (clone_data->clone_max > active_instances)) { clone_data 1001 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data); clone_data 1024 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data); clone_data 1037 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1039 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1058 lib/pengine/clone.c if (clone_data) { clone_data 1059 lib/pengine/clone.c CRM_ASSERT(clone_data->demote_notify == NULL); clone_data 1060 lib/pengine/clone.c CRM_ASSERT(clone_data->stop_notify == NULL); clone_data 1061 lib/pengine/clone.c CRM_ASSERT(clone_data->start_notify == NULL); clone_data 1062 lib/pengine/clone.c CRM_ASSERT(clone_data->promote_notify == NULL); clone_data 1099 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1101 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1102 lib/pengine/clone.c if (clone_data->clone_max == g_list_length(data_set->nodes)) { clone_data 1113 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1118 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1119 lib/pengine/clone.c passes = pcmk__str_in_list(ID(clone_data->xml_obj_child), only_rsc, pcmk__str_star_matches); clone_data 1139 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1140 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1141 lib/pengine/clone.c return ID(clone_data->xml_obj_child);