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 198 lib/pengine/clone.c pcmk__xe_id(clone_data->xml_obj_child), clone_data 205 lib/pengine/clone.c pcmk__xe_id(clone_data->xml_obj_child), clone_data 216 lib/pengine/clone.c clone_variant_data_t *clone_data = rsc->variant_opaque; clone_data 222 lib/pengine/clone.c clone_data->clone_node_max = 1; clone_data 223 lib/pengine/clone.c clone_data->clone_max = QB_MIN(clone_data->clone_max, clone_data 234 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 236 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 238 lib/pengine/clone.c child_base = pcmk__xe_id(clone_data->xml_obj_child); clone_data 254 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 256 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 258 lib/pengine/clone.c CRM_CHECK(clone_data->xml_obj_child != NULL, return FALSE); clone_data 260 lib/pengine/clone.c if (clone_data->total_clones >= clone_data->clone_max) { clone_data 266 lib/pengine/clone.c inc_num = pcmk__itoa(clone_data->total_clones); clone_data 267 lib/pengine/clone.c inc_max = pcmk__itoa(clone_data->clone_max); clone_data 269 lib/pengine/clone.c child_copy = pcmk__xml_copy(NULL, clone_data->xml_obj_child); clone_data 280 lib/pengine/clone.c clone_data->total_clones += 1; clone_data 353 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 357 lib/pengine/clone.c clone_data = pcmk__assert_alloc(1, sizeof(clone_variant_data_t)); clone_data 358 lib/pengine/clone.c rsc->variant_opaque = clone_data; clone_data 363 lib/pengine/clone.c clone_data->promoted_max = clone_data 369 lib/pengine/clone.c clone_data->promoted_node_max = clone_data 375 lib/pengine/clone.c clone_data->clone_node_max = unpack_meta_int(rsc, PCMK_META_CLONE_NODE_MAX, clone_data 381 lib/pengine/clone.c clone_data->clone_max = unpack_meta_int(rsc, PCMK_META_CLONE_MAX, NULL, clone_data 385 lib/pengine/clone.c clone_data->flags = pcmk__set_flags_as(__func__, __LINE__, LOG_TRACE, clone_data 387 lib/pengine/clone.c clone_data->flags, clone_data 393 lib/pengine/clone.c && (clone_data->clone_node_max > 1)) { clone_data 397 lib/pengine/clone.c "per node", clone_data->clone_node_max, rsc->id); clone_data 398 lib/pengine/clone.c clone_data->clone_node_max = 1; clone_data 402 lib/pengine/clone.c pcmk__rsc_trace(rsc, "\tClone max: %d", clone_data->clone_max); clone_data 403 lib/pengine/clone.c pcmk__rsc_trace(rsc, "\tClone node max: %d", clone_data->clone_node_max); clone_data 415 lib/pengine/clone.c clone_data->xml_obj_child = a_child; clone_data 420 lib/pengine/clone.c if (clone_data->xml_obj_child == NULL) { clone_data 442 lib/pengine/clone.c if (clone_data->clone_max <= 0) { clone_data 452 lib/pengine/clone.c for (lpc = 0; lpc < clone_data->clone_max; lpc++) { clone_data 460 lib/pengine/clone.c clone_data->clone_max, rsc->id); clone_data 634 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 646 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 652 lib/pengine/clone.c pcmk__xe_id(clone_data->xml_obj_child), clone_data 800 lib/pengine/clone.c && (clone_data->clone_max > active_instances)) { clone_data 949 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 956 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1049 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data, desc); clone_data 1080 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data, desc); clone_data 1103 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data, desc); clone_data 1130 lib/pengine/clone.c && (clone_data->clone_max > active_instances)) { clone_data 1186 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data, desc); clone_data 1212 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data, desc); clone_data 1225 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1227 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1246 lib/pengine/clone.c if (clone_data) { clone_data 1247 lib/pengine/clone.c pcmk__assert((clone_data->demote_notify == NULL) clone_data 1248 lib/pengine/clone.c && (clone_data->stop_notify == NULL) clone_data 1249 lib/pengine/clone.c && (clone_data->start_notify == NULL) clone_data 1250 lib/pengine/clone.c && (clone_data->promote_notify == NULL)); clone_data 1287 lib/pengine/clone.c clone_variant_data_t *clone_data = rsc->variant_opaque; clone_data 1289 lib/pengine/clone.c if (clone_data->clone_max == g_list_length(scheduler->nodes)) { clone_data 1301 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1306 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1307 lib/pengine/clone.c passes = pcmk__str_in_list(pcmk__xe_id(clone_data->xml_obj_child), clone_data 1330 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1331 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1332 lib/pengine/clone.c return pcmk__xe_id(clone_data->xml_obj_child); clone_data 1346 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1348 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1349 lib/pengine/clone.c return pcmk_is_set(clone_data->flags, pcmk__clone_ordered); clone_data 1365 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1367 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1368 lib/pengine/clone.c if (pcmk_is_set(clone_data->flags, flag)) { clone_data 1371 lib/pengine/clone.c clone_data->flags = pcmk__set_flags_as(__func__, __LINE__, LOG_TRACE, clone_data 1373 lib/pengine/clone.c clone_data->flags, flag, "flag"); clone_data 1389 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1391 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1392 lib/pengine/clone.c pcmk__assert(clone_data != NULL); clone_data 1394 lib/pengine/clone.c return pcmk_all_flags_set(clone_data->flags, flags); clone_data 1411 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1413 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1425 lib/pengine/clone.c if (clone_data->promote_notify == NULL) { clone_data 1426 lib/pengine/clone.c clone_data->promote_notify = pe__action_notif_pseudo_ops(clone, clone_data 1442 lib/pengine/clone.c if (clone_data->demote_notify == NULL) { clone_data 1443 lib/pengine/clone.c clone_data->demote_notify = pe__action_notif_pseudo_ops(clone, clone_data 1448 lib/pengine/clone.c if (clone_data->promote_notify != NULL) { clone_data 1449 lib/pengine/clone.c order_actions(clone_data->stop_notify->post_done, clone_data 1450 lib/pengine/clone.c clone_data->promote_notify->pre, pcmk__ar_ordered); clone_data 1451 lib/pengine/clone.c order_actions(clone_data->start_notify->post_done, clone_data 1452 lib/pengine/clone.c clone_data->promote_notify->pre, pcmk__ar_ordered); clone_data 1453 lib/pengine/clone.c order_actions(clone_data->demote_notify->post_done, clone_data 1454 lib/pengine/clone.c clone_data->promote_notify->pre, pcmk__ar_ordered); clone_data 1455 lib/pengine/clone.c order_actions(clone_data->demote_notify->post_done, clone_data 1456 lib/pengine/clone.c clone_data->start_notify->pre, pcmk__ar_ordered); clone_data 1457 lib/pengine/clone.c order_actions(clone_data->demote_notify->post_done, clone_data 1458 lib/pengine/clone.c clone_data->stop_notify->pre, pcmk__ar_ordered); clone_data 1472 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1474 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1476 lib/pengine/clone.c pe__create_action_notifications(clone, clone_data->start_notify); clone_data 1477 lib/pengine/clone.c pe__create_action_notifications(clone, clone_data->stop_notify); clone_data 1478 lib/pengine/clone.c pe__create_action_notifications(clone, clone_data->promote_notify); clone_data 1479 lib/pengine/clone.c pe__create_action_notifications(clone, clone_data->demote_notify); clone_data 1491 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1493 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1495 lib/pengine/clone.c pe__free_action_notification_data(clone_data->demote_notify); clone_data 1496 lib/pengine/clone.c clone_data->demote_notify = NULL; clone_data 1498 lib/pengine/clone.c pe__free_action_notification_data(clone_data->stop_notify); clone_data 1499 lib/pengine/clone.c clone_data->stop_notify = NULL; clone_data 1501 lib/pengine/clone.c pe__free_action_notification_data(clone_data->start_notify); clone_data 1502 lib/pengine/clone.c clone_data->start_notify = NULL; clone_data 1504 lib/pengine/clone.c pe__free_action_notification_data(clone_data->promote_notify); clone_data 1505 lib/pengine/clone.c clone_data->promote_notify = NULL; clone_data 1523 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1525 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1527 lib/pengine/clone.c if (clone_data->start_notify == NULL) { clone_data 1528 lib/pengine/clone.c clone_data->start_notify = pe__action_notif_pseudo_ops(clone, clone_data 1533 lib/pengine/clone.c if (clone_data->stop_notify == NULL) { clone_data 1534 lib/pengine/clone.c clone_data->stop_notify = pe__action_notif_pseudo_ops(clone, clone_data 1537 lib/pengine/clone.c if ((clone_data->start_notify != NULL) clone_data 1538 lib/pengine/clone.c && (clone_data->stop_notify != NULL)) { clone_data 1539 lib/pengine/clone.c order_actions(clone_data->stop_notify->post_done, clone_data 1540 lib/pengine/clone.c clone_data->start_notify->pre, pcmk__ar_ordered); clone_data 1556 lib/pengine/clone.c const clone_variant_data_t *clone_data = NULL; clone_data 1558 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1559 lib/pengine/clone.c return clone_data->clone_node_max;