clone_data 64 lib/pengine/clone.c const clone_variant_data_t *clone_data = NULL; clone_data 66 lib/pengine/clone.c get_clone_variant_data(clone_data, pe__const_top_resource(clone, false)); clone_data 67 lib/pengine/clone.c return clone_data->clone_max; clone_data 81 lib/pengine/clone.c const clone_variant_data_t *clone_data = NULL; clone_data 83 lib/pengine/clone.c get_clone_variant_data(clone_data, pe__const_top_resource(clone, false)); clone_data 84 lib/pengine/clone.c return clone_data->clone_node_max; clone_data 98 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 100 lib/pengine/clone.c get_clone_variant_data(clone_data, pe__const_top_resource(clone, false)); clone_data 101 lib/pengine/clone.c return clone_data->promoted_max; clone_data 115 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 117 lib/pengine/clone.c get_clone_variant_data(clone_data, pe__const_top_resource(clone, false)); clone_data 118 lib/pengine/clone.c return clone_data->promoted_node_max; clone_data 171 lib/pengine/clone.c clone_variant_data_t *clone_data, const char *desc) clone_data 196 lib/pengine/clone.c rsc->id, ID(clone_data->xml_obj_child), clone_data 202 lib/pengine/clone.c rsc->id, ID(clone_data->xml_obj_child), clone_data 213 lib/pengine/clone.c clone_variant_data_t *clone_data = rsc->variant_opaque; clone_data 219 lib/pengine/clone.c clone_data->clone_node_max = 1; clone_data 220 lib/pengine/clone.c clone_data->clone_max = QB_MIN(clone_data->clone_max, clone_data 231 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 233 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 235 lib/pengine/clone.c child_base = ID(clone_data->xml_obj_child); clone_data 251 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 253 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 255 lib/pengine/clone.c CRM_CHECK(clone_data->xml_obj_child != NULL, return FALSE); clone_data 257 lib/pengine/clone.c if (clone_data->total_clones >= clone_data->clone_max) { clone_data 263 lib/pengine/clone.c inc_num = pcmk__itoa(clone_data->total_clones); clone_data 264 lib/pengine/clone.c inc_max = pcmk__itoa(clone_data->clone_max); clone_data 266 lib/pengine/clone.c child_copy = copy_xml(clone_data->xml_obj_child); clone_data 277 lib/pengine/clone.c clone_data->total_clones += 1; clone_data 300 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 307 lib/pengine/clone.c clone_data = calloc(1, sizeof(clone_variant_data_t)); clone_data 308 lib/pengine/clone.c rsc->variant_opaque = clone_data; clone_data 333 lib/pengine/clone.c clone_data->promoted_max = 1; clone_data 335 lib/pengine/clone.c pcmk__scan_min_int(promoted_max, &(clone_data->promoted_max), 0); clone_data 340 lib/pengine/clone.c clone_data->promoted_node_max = 1; clone_data 343 lib/pengine/clone.c &(clone_data->promoted_node_max), 0); clone_data 352 lib/pengine/clone.c clone_data->clone_node_max = 1; clone_data 354 lib/pengine/clone.c pcmk__scan_min_int(max_clones_node, &(clone_data->clone_node_max), 0); clone_data 361 lib/pengine/clone.c clone_data->clone_max = QB_MAX(1, g_list_length(data_set->nodes)); clone_data 363 lib/pengine/clone.c pcmk__scan_min_int(max_clones, &(clone_data->clone_max), 0); clone_data 367 lib/pengine/clone.c clone_data->flags = pcmk__set_flags_as(__func__, __LINE__, LOG_TRACE, clone_data 369 lib/pengine/clone.c clone_data->flags, clone_data 374 lib/pengine/clone.c if ((rsc->flags & pe_rsc_unique) == 0 && clone_data->clone_node_max > 1) { clone_data 378 lib/pengine/clone.c clone_data->clone_node_max = 1; clone_data 382 lib/pengine/clone.c pe_rsc_trace(rsc, "\tClone max: %d", clone_data->clone_max); clone_data 383 lib/pengine/clone.c pe_rsc_trace(rsc, "\tClone node max: %d", clone_data->clone_node_max); clone_data 394 lib/pengine/clone.c clone_data->xml_obj_child = a_child; clone_data 399 lib/pengine/clone.c if (clone_data->xml_obj_child == NULL) { clone_data 420 lib/pengine/clone.c if (clone_data->clone_max <= 0) { clone_data 430 lib/pengine/clone.c for (lpc = 0; lpc < clone_data->clone_max; lpc++) { clone_data 437 lib/pengine/clone.c pe_rsc_trace(rsc, "Added %d children to resource %s...", clone_data->clone_max, rsc->id); clone_data 601 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 613 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 618 lib/pengine/clone.c pre_text ? pre_text : "", rsc->id, ID(clone_data->xml_obj_child), clone_data 764 lib/pengine/clone.c && (clone_data->clone_max > active_instances)) { clone_data 901 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 908 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 999 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data, desc); clone_data 1030 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data, desc); clone_data 1053 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data, desc); clone_data 1079 lib/pengine/clone.c && (clone_data->clone_max > active_instances)) { clone_data 1132 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data, desc); clone_data 1158 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data, desc); clone_data 1171 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1173 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1192 lib/pengine/clone.c if (clone_data) { clone_data 1193 lib/pengine/clone.c CRM_ASSERT(clone_data->demote_notify == NULL); clone_data 1194 lib/pengine/clone.c CRM_ASSERT(clone_data->stop_notify == NULL); clone_data 1195 lib/pengine/clone.c CRM_ASSERT(clone_data->start_notify == NULL); clone_data 1196 lib/pengine/clone.c CRM_ASSERT(clone_data->promote_notify == NULL); clone_data 1233 lib/pengine/clone.c clone_variant_data_t *clone_data = rsc->variant_opaque; clone_data 1235 lib/pengine/clone.c if (clone_data->clone_max == g_list_length(data_set->nodes)) { clone_data 1247 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1252 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1253 lib/pengine/clone.c passes = pcmk__str_in_list(ID(clone_data->xml_obj_child), only_rsc, pcmk__str_star_matches); clone_data 1275 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1276 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1277 lib/pengine/clone.c return ID(clone_data->xml_obj_child); clone_data 1291 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1293 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1294 lib/pengine/clone.c return pcmk_is_set(clone_data->flags, pe__clone_ordered); clone_data 1310 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1312 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1313 lib/pengine/clone.c if (pcmk_is_set(clone_data->flags, flag)) { clone_data 1316 lib/pengine/clone.c clone_data->flags = pcmk__set_flags_as(__func__, __LINE__, LOG_TRACE, clone_data 1318 lib/pengine/clone.c clone_data->flags, flag, "flag"); clone_data 1336 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1338 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1350 lib/pengine/clone.c if (clone_data->promote_notify == NULL) { clone_data 1351 lib/pengine/clone.c clone_data->promote_notify = pe__action_notif_pseudo_ops(clone, clone_data 1366 lib/pengine/clone.c if (clone_data->demote_notify == NULL) { clone_data 1367 lib/pengine/clone.c clone_data->demote_notify = pe__action_notif_pseudo_ops(clone, clone_data 1372 lib/pengine/clone.c if (clone_data->promote_notify != NULL) { clone_data 1373 lib/pengine/clone.c order_actions(clone_data->stop_notify->post_done, clone_data 1374 lib/pengine/clone.c clone_data->promote_notify->pre, clone_data 1376 lib/pengine/clone.c order_actions(clone_data->start_notify->post_done, clone_data 1377 lib/pengine/clone.c clone_data->promote_notify->pre, clone_data 1379 lib/pengine/clone.c order_actions(clone_data->demote_notify->post_done, clone_data 1380 lib/pengine/clone.c clone_data->promote_notify->pre, clone_data 1382 lib/pengine/clone.c order_actions(clone_data->demote_notify->post_done, clone_data 1383 lib/pengine/clone.c clone_data->start_notify->pre, clone_data 1385 lib/pengine/clone.c order_actions(clone_data->demote_notify->post_done, clone_data 1386 lib/pengine/clone.c clone_data->stop_notify->pre, clone_data 1401 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1403 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1405 lib/pengine/clone.c pe__create_action_notifications(clone, clone_data->start_notify); clone_data 1406 lib/pengine/clone.c pe__create_action_notifications(clone, clone_data->stop_notify); clone_data 1407 lib/pengine/clone.c pe__create_action_notifications(clone, clone_data->promote_notify); clone_data 1408 lib/pengine/clone.c pe__create_action_notifications(clone, clone_data->demote_notify); clone_data 1420 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1422 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1424 lib/pengine/clone.c pe__free_action_notification_data(clone_data->demote_notify); clone_data 1425 lib/pengine/clone.c clone_data->demote_notify = NULL; clone_data 1427 lib/pengine/clone.c pe__free_action_notification_data(clone_data->stop_notify); clone_data 1428 lib/pengine/clone.c clone_data->stop_notify = NULL; clone_data 1430 lib/pengine/clone.c pe__free_action_notification_data(clone_data->start_notify); clone_data 1431 lib/pengine/clone.c clone_data->start_notify = NULL; clone_data 1433 lib/pengine/clone.c pe__free_action_notification_data(clone_data->promote_notify); clone_data 1434 lib/pengine/clone.c clone_data->promote_notify = NULL; clone_data 1452 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1454 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1456 lib/pengine/clone.c if (clone_data->start_notify == NULL) { clone_data 1457 lib/pengine/clone.c clone_data->start_notify = pe__action_notif_pseudo_ops(clone, RSC_START, clone_data 1461 lib/pengine/clone.c if (clone_data->stop_notify == NULL) { clone_data 1462 lib/pengine/clone.c clone_data->stop_notify = pe__action_notif_pseudo_ops(clone, RSC_STOP, clone_data 1464 lib/pengine/clone.c if ((clone_data->start_notify != NULL) clone_data 1465 lib/pengine/clone.c && (clone_data->stop_notify != NULL)) { clone_data 1466 lib/pengine/clone.c order_actions(clone_data->stop_notify->post_done, clone_data 1467 lib/pengine/clone.c clone_data->start_notify->pre, pe_order_optional);