clone_data 295 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 297 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 346 lib/pacemaker/pcmk_sched_clone.c distribute_children(rsc, rsc->children, nodes, clone_data->clone_max, clone_data 347 lib/pacemaker/pcmk_sched_clone.c clone_data->clone_node_max, rsc->cluster); clone_data 487 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 489 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 492 lib/pacemaker/pcmk_sched_clone.c clone_create_pseudo_actions(rsc, rsc->children, &clone_data->start_notify, clone_data 493 lib/pacemaker/pcmk_sched_clone.c &clone_data->stop_notify); clone_data 943 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 945 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 949 lib/pacemaker/pcmk_sched_clone.c pe__create_notifications(rsc, clone_data->start_notify); clone_data 950 lib/pacemaker/pcmk_sched_clone.c pe__create_notifications(rsc, clone_data->stop_notify); clone_data 951 lib/pacemaker/pcmk_sched_clone.c pe__create_notifications(rsc, clone_data->promote_notify); clone_data 952 lib/pacemaker/pcmk_sched_clone.c pe__create_notifications(rsc, clone_data->demote_notify); clone_data 966 lib/pacemaker/pcmk_sched_clone.c pe__free_notification_data(clone_data->demote_notify); clone_data 967 lib/pacemaker/pcmk_sched_clone.c clone_data->demote_notify = NULL; clone_data 968 lib/pacemaker/pcmk_sched_clone.c pe__free_notification_data(clone_data->stop_notify); clone_data 969 lib/pacemaker/pcmk_sched_clone.c clone_data->stop_notify = NULL; clone_data 970 lib/pacemaker/pcmk_sched_clone.c pe__free_notification_data(clone_data->start_notify); clone_data 971 lib/pacemaker/pcmk_sched_clone.c clone_data->start_notify = NULL; clone_data 972 lib/pacemaker/pcmk_sched_clone.c pe__free_notification_data(clone_data->promote_notify); clone_data 973 lib/pacemaker/pcmk_sched_clone.c clone_data->promote_notify = NULL; clone_data 1101 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 1103 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 1114 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->clone_max); clone_data 1118 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->clone_node_max); clone_data 44 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 46 lib/pengine/clone.c get_clone_variant_data(clone_data, uber_parent(clone)); clone_data 47 lib/pengine/clone.c return clone_data->promoted_max; clone_data 61 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 63 lib/pengine/clone.c get_clone_variant_data(clone_data, uber_parent(clone)); clone_data 64 lib/pengine/clone.c return clone_data->promoted_node_max; clone_data 116 lib/pengine/clone.c clone_header(pcmk__output_t *out, int *rc, pe_resource_t *rsc, clone_variant_data_t *clone_data) clone_data 138 lib/pengine/clone.c rsc->id, ID(clone_data->xml_obj_child), clone_data 143 lib/pengine/clone.c rsc->id, ID(clone_data->xml_obj_child)) clone_data 152 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 154 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 160 lib/pengine/clone.c clone_data->clone_node_max = 1; clone_data 161 lib/pengine/clone.c clone_data->clone_max = QB_MIN(clone_data->clone_max, clone_data 172 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 174 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 176 lib/pengine/clone.c child_base = ID(clone_data->xml_obj_child); clone_data 192 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 194 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 196 lib/pengine/clone.c CRM_CHECK(clone_data->xml_obj_child != NULL, return FALSE); clone_data 198 lib/pengine/clone.c if (clone_data->total_clones >= clone_data->clone_max) { clone_data 204 lib/pengine/clone.c inc_num = pcmk__itoa(clone_data->total_clones); clone_data 205 lib/pengine/clone.c inc_max = pcmk__itoa(clone_data->clone_max); clone_data 207 lib/pengine/clone.c child_copy = copy_xml(clone_data->xml_obj_child); clone_data 218 lib/pengine/clone.c clone_data->total_clones += 1; clone_data 241 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 248 lib/pengine/clone.c clone_data = calloc(1, sizeof(clone_variant_data_t)); clone_data 249 lib/pengine/clone.c rsc->variant_opaque = clone_data; clone_data 274 lib/pengine/clone.c clone_data->promoted_max = 1; clone_data 276 lib/pengine/clone.c pcmk__scan_min_int(promoted_max, &(clone_data->promoted_max), 0); clone_data 281 lib/pengine/clone.c clone_data->promoted_node_max = 1; clone_data 284 lib/pengine/clone.c &(clone_data->promoted_node_max), 0); clone_data 293 lib/pengine/clone.c clone_data->clone_node_max = 1; clone_data 295 lib/pengine/clone.c pcmk__scan_min_int(max_clones_node, &(clone_data->clone_node_max), 0); clone_data 302 lib/pengine/clone.c clone_data->clone_max = QB_MAX(1, g_list_length(data_set->nodes)); clone_data 304 lib/pengine/clone.c pcmk__scan_min_int(max_clones, &(clone_data->clone_max), 0); clone_data 308 lib/pengine/clone.c clone_data->flags = pcmk__set_flags_as(__func__, __LINE__, LOG_TRACE, clone_data 310 lib/pengine/clone.c clone_data->flags, clone_data 315 lib/pengine/clone.c if ((rsc->flags & pe_rsc_unique) == 0 && clone_data->clone_node_max > 1) { clone_data 319 lib/pengine/clone.c clone_data->clone_node_max = 1; clone_data 323 lib/pengine/clone.c pe_rsc_trace(rsc, "\tClone max: %d", clone_data->clone_max); clone_data 324 lib/pengine/clone.c pe_rsc_trace(rsc, "\tClone node max: %d", clone_data->clone_node_max); clone_data 335 lib/pengine/clone.c clone_data->xml_obj_child = a_child; clone_data 340 lib/pengine/clone.c if (clone_data->xml_obj_child == NULL) { clone_data 361 lib/pengine/clone.c if (clone_data->clone_max <= 0) { clone_data 371 lib/pengine/clone.c for (lpc = 0; lpc < clone_data->clone_max; lpc++) { clone_data 378 lib/pengine/clone.c pe_rsc_trace(rsc, "Added %d children to resource %s...", clone_data->clone_max, rsc->id); clone_data 542 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 554 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 559 lib/pengine/clone.c pre_text ? pre_text : "", rsc->id, ID(clone_data->xml_obj_child), clone_data 705 lib/pengine/clone.c && (clone_data->clone_max > active_instances)) { clone_data 832 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 837 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 928 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data); clone_data 959 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data); clone_data 982 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data); clone_data 1008 lib/pengine/clone.c && (clone_data->clone_max > active_instances)) { clone_data 1061 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data); clone_data 1087 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data); clone_data 1100 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1102 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1121 lib/pengine/clone.c if (clone_data) { clone_data 1122 lib/pengine/clone.c CRM_ASSERT(clone_data->demote_notify == NULL); clone_data 1123 lib/pengine/clone.c CRM_ASSERT(clone_data->stop_notify == NULL); clone_data 1124 lib/pengine/clone.c CRM_ASSERT(clone_data->start_notify == NULL); clone_data 1125 lib/pengine/clone.c CRM_ASSERT(clone_data->promote_notify == NULL); clone_data 1162 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1164 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1165 lib/pengine/clone.c if (clone_data->clone_max == g_list_length(data_set->nodes)) { clone_data 1176 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1181 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1182 lib/pengine/clone.c passes = pcmk__str_in_list(ID(clone_data->xml_obj_child), only_rsc, pcmk__str_star_matches); clone_data 1202 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1203 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1204 lib/pengine/clone.c return ID(clone_data->xml_obj_child); clone_data 1218 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1220 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1221 lib/pengine/clone.c return pcmk_is_set(clone_data->flags, pe__clone_ordered); clone_data 1237 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1239 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1240 lib/pengine/clone.c if (pcmk_is_set(clone_data->flags, flag)) { clone_data 1243 lib/pengine/clone.c clone_data->flags = pcmk__set_flags_as(__func__, __LINE__, LOG_TRACE, clone_data 1245 lib/pengine/clone.c clone_data->flags, flag, "flag"); clone_data 1263 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1265 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1277 lib/pengine/clone.c if (clone_data->promote_notify == NULL) { clone_data 1278 lib/pengine/clone.c clone_data->promote_notify = pe__clone_notif_pseudo_ops(clone, clone_data 1293 lib/pengine/clone.c if (clone_data->demote_notify == NULL) { clone_data 1294 lib/pengine/clone.c clone_data->demote_notify = pe__clone_notif_pseudo_ops(clone, clone_data 1299 lib/pengine/clone.c if (clone_data->promote_notify != NULL) { clone_data 1300 lib/pengine/clone.c order_actions(clone_data->stop_notify->post_done, clone_data 1301 lib/pengine/clone.c clone_data->promote_notify->pre, clone_data 1303 lib/pengine/clone.c order_actions(clone_data->start_notify->post_done, clone_data 1304 lib/pengine/clone.c clone_data->promote_notify->pre, clone_data 1306 lib/pengine/clone.c order_actions(clone_data->demote_notify->post_done, clone_data 1307 lib/pengine/clone.c clone_data->promote_notify->pre, clone_data 1309 lib/pengine/clone.c order_actions(clone_data->demote_notify->post_done, clone_data 1310 lib/pengine/clone.c clone_data->start_notify->pre, clone_data 1312 lib/pengine/clone.c order_actions(clone_data->demote_notify->post_done, clone_data 1313 lib/pengine/clone.c clone_data->stop_notify->pre,