clone_data 626 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 628 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 676 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 810 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 812 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 814 lib/pacemaker/pcmk_sched_clone.c if (clone_data->ordered == FALSE) { clone_data 846 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 848 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 849 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 924 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 926 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 938 lib/pacemaker/pcmk_sched_clone.c if (clone_data->ordered) { clone_data 950 lib/pacemaker/pcmk_sched_clone.c if (clone_data->ordered && last_rsc) { clone_data 957 lib/pacemaker/pcmk_sched_clone.c if (clone_data->ordered && last_rsc) { clone_data 1281 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 1283 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 1292 lib/pacemaker/pcmk_sched_clone.c if (clone_data->start_notify) { clone_data 1293 lib/pacemaker/pcmk_sched_clone.c collect_notification_data(rsc, TRUE, TRUE, clone_data->start_notify); clone_data 1294 lib/pacemaker/pcmk_sched_clone.c pcmk__create_notification_keys(rsc, clone_data->start_notify, data_set); clone_data 1295 lib/pacemaker/pcmk_sched_clone.c create_notifications(rsc, clone_data->start_notify, data_set); clone_data 1298 lib/pacemaker/pcmk_sched_clone.c if (clone_data->stop_notify) { clone_data 1299 lib/pacemaker/pcmk_sched_clone.c collect_notification_data(rsc, TRUE, TRUE, clone_data->stop_notify); clone_data 1300 lib/pacemaker/pcmk_sched_clone.c pcmk__create_notification_keys(rsc, clone_data->stop_notify, data_set); clone_data 1301 lib/pacemaker/pcmk_sched_clone.c create_notifications(rsc, clone_data->stop_notify, data_set); clone_data 1304 lib/pacemaker/pcmk_sched_clone.c if (clone_data->promote_notify) { clone_data 1305 lib/pacemaker/pcmk_sched_clone.c collect_notification_data(rsc, TRUE, TRUE, clone_data->promote_notify); clone_data 1306 lib/pacemaker/pcmk_sched_clone.c pcmk__create_notification_keys(rsc, clone_data->promote_notify, data_set); clone_data 1307 lib/pacemaker/pcmk_sched_clone.c create_notifications(rsc, clone_data->promote_notify, data_set); clone_data 1310 lib/pacemaker/pcmk_sched_clone.c if (clone_data->demote_notify) { clone_data 1311 lib/pacemaker/pcmk_sched_clone.c collect_notification_data(rsc, TRUE, TRUE, clone_data->demote_notify); clone_data 1312 lib/pacemaker/pcmk_sched_clone.c pcmk__create_notification_keys(rsc, clone_data->demote_notify, data_set); clone_data 1313 lib/pacemaker/pcmk_sched_clone.c create_notifications(rsc, clone_data->demote_notify, data_set); clone_data 1328 lib/pacemaker/pcmk_sched_clone.c free_notification_data(clone_data->demote_notify); clone_data 1329 lib/pacemaker/pcmk_sched_clone.c clone_data->demote_notify = NULL; clone_data 1330 lib/pacemaker/pcmk_sched_clone.c free_notification_data(clone_data->stop_notify); clone_data 1331 lib/pacemaker/pcmk_sched_clone.c clone_data->stop_notify = NULL; clone_data 1332 lib/pacemaker/pcmk_sched_clone.c free_notification_data(clone_data->start_notify); clone_data 1333 lib/pacemaker/pcmk_sched_clone.c clone_data->start_notify = NULL; clone_data 1334 lib/pacemaker/pcmk_sched_clone.c free_notification_data(clone_data->promote_notify); clone_data 1335 lib/pacemaker/pcmk_sched_clone.c clone_data->promote_notify = NULL; clone_data 1477 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 1479 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 1490 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->clone_max); clone_data 1494 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->clone_node_max); clone_data 1499 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_max); clone_data 1503 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_node_max); clone_data 1510 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_max); clone_data 1514 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_node_max); clone_data 21 lib/pacemaker/pcmk_sched_promotable.c child_promoting_constraints(clone_variant_data_t * clone_data, enum pe_ordering type, clone_data 26 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->ordered && last != NULL) { clone_data 40 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->ordered) { clone_data 57 lib/pacemaker/pcmk_sched_promotable.c child_demoting_constraints(clone_variant_data_t * clone_data, enum pe_ordering type, clone_data 62 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->ordered && last != NULL) { clone_data 76 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->ordered && last != NULL) { clone_data 82 lib/pacemaker/pcmk_sched_promotable.c } else if (clone_data->ordered) { clone_data 167 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 221 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, parent); clone_data 228 lib/pacemaker/pcmk_sched_promotable.c } else if ((local_node->count < clone_data->promoted_node_max) clone_data 279 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 283 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, rsc); clone_data 285 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->merged_master_weights) { clone_data 288 lib/pacemaker/pcmk_sched_promotable.c clone_data->merged_master_weights = TRUE; clone_data 569 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 571 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, rsc); clone_data 573 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->applied_master_prefs) { clone_data 578 lib/pacemaker/pcmk_sched_promotable.c clone_data->applied_master_prefs = 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 787 lib/pacemaker/pcmk_sched_promotable.c } else if ((promoted < clone_data->promoted_max) clone_data 815 lib/pacemaker/pcmk_sched_promotable.c rsc->id, promoted, clone_data->promoted_max); clone_data 831 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 833 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, rsc); clone_data 857 lib/pacemaker/pcmk_sched_promotable.c child_promoting_constraints(clone_data, pe_order_optional, clone_data 860 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->promote_notify == NULL) { clone_data 861 lib/pacemaker/pcmk_sched_promotable.c clone_data->promote_notify = 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 = clone_data 876 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->promote_notify) { clone_data 880 lib/pacemaker/pcmk_sched_promotable.c order_actions(clone_data->stop_notify->post_done, clone_data->promote_notify->pre, clone_data 882 lib/pacemaker/pcmk_sched_promotable.c order_actions(clone_data->start_notify->post_done, clone_data->promote_notify->pre, clone_data 884 lib/pacemaker/pcmk_sched_promotable.c order_actions(clone_data->demote_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->start_notify->pre, clone_data 888 lib/pacemaker/pcmk_sched_promotable.c order_actions(clone_data->demote_notify->post_done, clone_data->stop_notify->pre, clone_data 934 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 936 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, rsc); clone_data 946 lib/pacemaker/pcmk_sched_promotable.c child_promoting_constraints(clone_data, pe_order_optional, clone_data 949 lib/pacemaker/pcmk_sched_promotable.c child_demoting_constraints(clone_data, pe_order_optional, clone_data 27 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 29 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 35 lib/pengine/clone.c clone_data->clone_node_max = 1; clone_data 36 lib/pengine/clone.c clone_data->clone_max = QB_MIN(clone_data->clone_max, clone_data 47 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 49 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 51 lib/pengine/clone.c child_base = ID(clone_data->xml_obj_child); clone_data 67 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 69 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 71 lib/pengine/clone.c CRM_CHECK(clone_data->xml_obj_child != NULL, return FALSE); clone_data 73 lib/pengine/clone.c if (clone_data->total_clones >= clone_data->clone_max) { clone_data 79 lib/pengine/clone.c inc_num = crm_itoa(clone_data->total_clones); clone_data 80 lib/pengine/clone.c inc_max = crm_itoa(clone_data->clone_max); clone_data 82 lib/pengine/clone.c child_copy = copy_xml(clone_data->xml_obj_child); clone_data 94 lib/pengine/clone.c clone_data->total_clones += 1; clone_data 117 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 125 lib/pengine/clone.c clone_data = calloc(1, sizeof(clone_variant_data_t)); clone_data 126 lib/pengine/clone.c rsc->variant_opaque = clone_data; clone_data 148 lib/pengine/clone.c clone_data->promoted_max = crm_parse_int(promoted_max, "1"); clone_data 149 lib/pengine/clone.c clone_data->promoted_node_max = crm_parse_int(promoted_node_max, "1"); clone_data 155 lib/pengine/clone.c clone_data->clone_node_max = crm_parse_int(max_clones_node, "1"); clone_data 158 lib/pengine/clone.c clone_data->clone_max = crm_parse_int(max_clones, "1"); clone_data 161 lib/pengine/clone.c clone_data->clone_max = g_list_length(data_set->nodes); clone_data 164 lib/pengine/clone.c clone_data->clone_max = 1; /* Handy during crm_verify */ clone_data 167 lib/pengine/clone.c clone_data->ordered = crm_is_true(ordered); clone_data 169 lib/pengine/clone.c if ((rsc->flags & pe_rsc_unique) == 0 && clone_data->clone_node_max > 1) { clone_data 173 lib/pengine/clone.c clone_data->clone_node_max = 1; clone_data 177 lib/pengine/clone.c pe_rsc_trace(rsc, "\tClone max: %d", clone_data->clone_max); clone_data 178 lib/pengine/clone.c pe_rsc_trace(rsc, "\tClone node max: %d", clone_data->clone_node_max); clone_data 189 lib/pengine/clone.c clone_data->xml_obj_child = a_child; clone_data 194 lib/pengine/clone.c if (clone_data->xml_obj_child == NULL) { clone_data 215 lib/pengine/clone.c if (clone_data->clone_max <= 0) { clone_data 225 lib/pengine/clone.c for (lpc = 0; lpc < clone_data->clone_max; lpc++) { clone_data 232 lib/pengine/clone.c pe_rsc_trace(rsc, "Added %d children to resource %s...", clone_data->clone_max, rsc->id); clone_data 382 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 394 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 399 lib/pengine/clone.c pre_text ? pre_text : "", rsc->id, ID(clone_data->xml_obj_child), clone_data 540 lib/pengine/clone.c && (clone_data->clone_max > active_instances)) { clone_data 656 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 661 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 671 lib/pengine/clone.c rsc->id, ID(clone_data->xml_obj_child), clone_data 833 lib/pengine/clone.c && (clone_data->clone_max > active_instances)) { clone_data 893 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 898 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 908 lib/pengine/clone.c rsc->id, ID(clone_data->xml_obj_child), clone_data 1068 lib/pengine/clone.c && (clone_data->clone_max > active_instances)) { clone_data 1112 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1114 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1133 lib/pengine/clone.c if (clone_data) { clone_data 1134 lib/pengine/clone.c CRM_ASSERT(clone_data->demote_notify == NULL); clone_data 1135 lib/pengine/clone.c CRM_ASSERT(clone_data->stop_notify == NULL); clone_data 1136 lib/pengine/clone.c CRM_ASSERT(clone_data->start_notify == NULL); clone_data 1137 lib/pengine/clone.c CRM_ASSERT(clone_data->promote_notify == NULL); clone_data 1174 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1176 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1177 lib/pengine/clone.c if (clone_data->clone_max == g_list_length(data_set->nodes)) { clone_data 1188 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1193 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1194 lib/pengine/clone.c passes = pcmk__str_in_list(only_rsc, ID(clone_data->xml_obj_child));