clone_data 65 lib/pengine/clone.c const clone_variant_data_t *clone_data = NULL; clone_data 67 lib/pengine/clone.c get_clone_variant_data(clone_data, pe__const_top_resource(clone, false)); clone_data 68 lib/pengine/clone.c return clone_data->clone_max; clone_data 82 lib/pengine/clone.c const clone_variant_data_t *clone_data = NULL; clone_data 84 lib/pengine/clone.c get_clone_variant_data(clone_data, pe__const_top_resource(clone, false)); clone_data 85 lib/pengine/clone.c return clone_data->clone_node_max; clone_data 99 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 101 lib/pengine/clone.c get_clone_variant_data(clone_data, pe__const_top_resource(clone, false)); clone_data 102 lib/pengine/clone.c return clone_data->promoted_max; clone_data 116 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 118 lib/pengine/clone.c get_clone_variant_data(clone_data, pe__const_top_resource(clone, false)); clone_data 119 lib/pengine/clone.c return clone_data->promoted_node_max; clone_data 172 lib/pengine/clone.c clone_variant_data_t *clone_data, const char *desc) clone_data 197 lib/pengine/clone.c rsc->id, ID(clone_data->xml_obj_child), clone_data 203 lib/pengine/clone.c rsc->id, ID(clone_data->xml_obj_child), clone_data 214 lib/pengine/clone.c clone_variant_data_t *clone_data = rsc->variant_opaque; clone_data 220 lib/pengine/clone.c clone_data->clone_node_max = 1; clone_data 221 lib/pengine/clone.c clone_data->clone_max = QB_MIN(clone_data->clone_max, clone_data 232 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 234 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 236 lib/pengine/clone.c child_base = ID(clone_data->xml_obj_child); clone_data 252 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 254 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 256 lib/pengine/clone.c CRM_CHECK(clone_data->xml_obj_child != NULL, return FALSE); clone_data 258 lib/pengine/clone.c if (clone_data->total_clones >= clone_data->clone_max) { clone_data 264 lib/pengine/clone.c inc_num = pcmk__itoa(clone_data->total_clones); clone_data 265 lib/pengine/clone.c inc_max = pcmk__itoa(clone_data->clone_max); clone_data 267 lib/pengine/clone.c child_copy = copy_xml(clone_data->xml_obj_child); clone_data 278 lib/pengine/clone.c clone_data->total_clones += 1; clone_data 330 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 334 lib/pengine/clone.c clone_data = calloc(1, sizeof(clone_variant_data_t)); clone_data 335 lib/pengine/clone.c rsc->variant_opaque = clone_data; clone_data 340 lib/pengine/clone.c clone_data->promoted_max = unpack_meta_int(rsc, PCMK_META_PROMOTED_MAX, clone_data 346 lib/pengine/clone.c clone_data->promoted_node_max = clone_data 355 lib/pengine/clone.c clone_data->clone_node_max = unpack_meta_int(rsc, PCMK_META_CLONE_NODE_MAX, clone_data 361 lib/pengine/clone.c clone_data->clone_max = unpack_meta_int(rsc, PCMK_META_CLONE_MAX, NULL, clone_data 365 lib/pengine/clone.c clone_data->flags = pcmk__set_flags_as(__func__, __LINE__, LOG_TRACE, clone_data 367 lib/pengine/clone.c clone_data->flags, clone_data 373 lib/pengine/clone.c && (clone_data->clone_node_max > 1)) { clone_data 377 lib/pengine/clone.c "per node", clone_data->clone_node_max, rsc->id); 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 604 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 616 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 621 lib/pengine/clone.c pre_text ? pre_text : "", rsc->id, ID(clone_data->xml_obj_child), clone_data 769 lib/pengine/clone.c && (clone_data->clone_max > active_instances)) { clone_data 910 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 917 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1010 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data, desc); clone_data 1041 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data, desc); clone_data 1064 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data, desc); clone_data 1090 lib/pengine/clone.c && (clone_data->clone_max > active_instances)) { clone_data 1143 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data, desc); clone_data 1169 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data, desc); clone_data 1182 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1184 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1203 lib/pengine/clone.c if (clone_data) { clone_data 1204 lib/pengine/clone.c CRM_ASSERT(clone_data->demote_notify == NULL); clone_data 1205 lib/pengine/clone.c CRM_ASSERT(clone_data->stop_notify == NULL); clone_data 1206 lib/pengine/clone.c CRM_ASSERT(clone_data->start_notify == NULL); clone_data 1207 lib/pengine/clone.c CRM_ASSERT(clone_data->promote_notify == NULL); clone_data 1244 lib/pengine/clone.c clone_variant_data_t *clone_data = rsc->variant_opaque; clone_data 1246 lib/pengine/clone.c if (clone_data->clone_max == g_list_length(scheduler->nodes)) { clone_data 1258 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1263 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1264 lib/pengine/clone.c passes = pcmk__str_in_list(ID(clone_data->xml_obj_child), only_rsc, pcmk__str_star_matches); clone_data 1286 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1287 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1288 lib/pengine/clone.c return ID(clone_data->xml_obj_child); clone_data 1302 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1304 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1305 lib/pengine/clone.c return pcmk_is_set(clone_data->flags, pcmk__clone_ordered); clone_data 1321 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1323 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1324 lib/pengine/clone.c if (pcmk_is_set(clone_data->flags, flag)) { clone_data 1327 lib/pengine/clone.c clone_data->flags = pcmk__set_flags_as(__func__, __LINE__, LOG_TRACE, clone_data 1329 lib/pengine/clone.c clone_data->flags, flag, "flag"); clone_data 1345 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1347 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1348 lib/pengine/clone.c CRM_ASSERT(clone_data != NULL); clone_data 1350 lib/pengine/clone.c return pcmk_all_flags_set(clone_data->flags, flags); clone_data 1367 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1369 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1381 lib/pengine/clone.c if (clone_data->promote_notify == NULL) { clone_data 1382 lib/pengine/clone.c clone_data->promote_notify = pe__action_notif_pseudo_ops(clone, clone_data 1398 lib/pengine/clone.c if (clone_data->demote_notify == NULL) { clone_data 1399 lib/pengine/clone.c clone_data->demote_notify = pe__action_notif_pseudo_ops(clone, clone_data 1404 lib/pengine/clone.c if (clone_data->promote_notify != NULL) { clone_data 1405 lib/pengine/clone.c order_actions(clone_data->stop_notify->post_done, clone_data 1406 lib/pengine/clone.c clone_data->promote_notify->pre, pcmk__ar_ordered); clone_data 1407 lib/pengine/clone.c order_actions(clone_data->start_notify->post_done, clone_data 1408 lib/pengine/clone.c clone_data->promote_notify->pre, pcmk__ar_ordered); clone_data 1409 lib/pengine/clone.c order_actions(clone_data->demote_notify->post_done, clone_data 1410 lib/pengine/clone.c clone_data->promote_notify->pre, pcmk__ar_ordered); clone_data 1411 lib/pengine/clone.c order_actions(clone_data->demote_notify->post_done, clone_data 1412 lib/pengine/clone.c clone_data->start_notify->pre, pcmk__ar_ordered); clone_data 1413 lib/pengine/clone.c order_actions(clone_data->demote_notify->post_done, clone_data 1414 lib/pengine/clone.c clone_data->stop_notify->pre, pcmk__ar_ordered); clone_data 1428 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1430 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1432 lib/pengine/clone.c pe__create_action_notifications(clone, clone_data->start_notify); clone_data 1433 lib/pengine/clone.c pe__create_action_notifications(clone, clone_data->stop_notify); clone_data 1434 lib/pengine/clone.c pe__create_action_notifications(clone, clone_data->promote_notify); clone_data 1435 lib/pengine/clone.c pe__create_action_notifications(clone, clone_data->demote_notify); clone_data 1447 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1449 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1451 lib/pengine/clone.c pe__free_action_notification_data(clone_data->demote_notify); clone_data 1452 lib/pengine/clone.c clone_data->demote_notify = NULL; clone_data 1454 lib/pengine/clone.c pe__free_action_notification_data(clone_data->stop_notify); clone_data 1455 lib/pengine/clone.c clone_data->stop_notify = NULL; clone_data 1457 lib/pengine/clone.c pe__free_action_notification_data(clone_data->start_notify); clone_data 1458 lib/pengine/clone.c clone_data->start_notify = NULL; clone_data 1460 lib/pengine/clone.c pe__free_action_notification_data(clone_data->promote_notify); clone_data 1461 lib/pengine/clone.c clone_data->promote_notify = NULL; clone_data 1479 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1481 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1483 lib/pengine/clone.c if (clone_data->start_notify == NULL) { clone_data 1484 lib/pengine/clone.c clone_data->start_notify = pe__action_notif_pseudo_ops(clone, clone_data 1489 lib/pengine/clone.c if (clone_data->stop_notify == NULL) { clone_data 1490 lib/pengine/clone.c clone_data->stop_notify = pe__action_notif_pseudo_ops(clone, clone_data 1493 lib/pengine/clone.c if ((clone_data->start_notify != NULL) clone_data 1494 lib/pengine/clone.c && (clone_data->stop_notify != NULL)) { clone_data 1495 lib/pengine/clone.c order_actions(clone_data->stop_notify->post_done, clone_data 1496 lib/pengine/clone.c clone_data->start_notify->pre, pcmk__ar_ordered); clone_data 1512 lib/pengine/clone.c const clone_variant_data_t *clone_data = NULL; clone_data 1514 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1515 lib/pengine/clone.c return clone_data->clone_node_max;