clone_data 682 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 684 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 730 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 864 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 866 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 868 lib/pacemaker/pcmk_sched_clone.c if (clone_data->ordered == FALSE) { clone_data 900 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 902 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 903 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 977 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 979 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 991 lib/pacemaker/pcmk_sched_clone.c if (clone_data->ordered) { clone_data 1003 lib/pacemaker/pcmk_sched_clone.c if (clone_data->ordered && last_rsc) { clone_data 1010 lib/pacemaker/pcmk_sched_clone.c if (clone_data->ordered && last_rsc) { clone_data 1331 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 1333 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 1342 lib/pacemaker/pcmk_sched_clone.c if (clone_data->start_notify) { clone_data 1343 lib/pacemaker/pcmk_sched_clone.c collect_notification_data(rsc, TRUE, TRUE, clone_data->start_notify); clone_data 1344 lib/pacemaker/pcmk_sched_clone.c pcmk__create_notification_keys(rsc, clone_data->start_notify, data_set); clone_data 1345 lib/pacemaker/pcmk_sched_clone.c create_notifications(rsc, clone_data->start_notify, data_set); clone_data 1348 lib/pacemaker/pcmk_sched_clone.c if (clone_data->stop_notify) { clone_data 1349 lib/pacemaker/pcmk_sched_clone.c collect_notification_data(rsc, TRUE, TRUE, clone_data->stop_notify); clone_data 1350 lib/pacemaker/pcmk_sched_clone.c pcmk__create_notification_keys(rsc, clone_data->stop_notify, data_set); clone_data 1351 lib/pacemaker/pcmk_sched_clone.c create_notifications(rsc, clone_data->stop_notify, data_set); clone_data 1354 lib/pacemaker/pcmk_sched_clone.c if (clone_data->promote_notify) { clone_data 1355 lib/pacemaker/pcmk_sched_clone.c collect_notification_data(rsc, TRUE, TRUE, clone_data->promote_notify); clone_data 1356 lib/pacemaker/pcmk_sched_clone.c pcmk__create_notification_keys(rsc, clone_data->promote_notify, data_set); clone_data 1357 lib/pacemaker/pcmk_sched_clone.c create_notifications(rsc, clone_data->promote_notify, data_set); clone_data 1360 lib/pacemaker/pcmk_sched_clone.c if (clone_data->demote_notify) { clone_data 1361 lib/pacemaker/pcmk_sched_clone.c collect_notification_data(rsc, TRUE, TRUE, clone_data->demote_notify); clone_data 1362 lib/pacemaker/pcmk_sched_clone.c pcmk__create_notification_keys(rsc, clone_data->demote_notify, data_set); clone_data 1363 lib/pacemaker/pcmk_sched_clone.c create_notifications(rsc, clone_data->demote_notify, data_set); clone_data 1378 lib/pacemaker/pcmk_sched_clone.c free_notification_data(clone_data->demote_notify); clone_data 1379 lib/pacemaker/pcmk_sched_clone.c clone_data->demote_notify = NULL; clone_data 1380 lib/pacemaker/pcmk_sched_clone.c free_notification_data(clone_data->stop_notify); clone_data 1381 lib/pacemaker/pcmk_sched_clone.c clone_data->stop_notify = NULL; clone_data 1382 lib/pacemaker/pcmk_sched_clone.c free_notification_data(clone_data->start_notify); clone_data 1383 lib/pacemaker/pcmk_sched_clone.c clone_data->start_notify = NULL; clone_data 1384 lib/pacemaker/pcmk_sched_clone.c free_notification_data(clone_data->promote_notify); clone_data 1385 lib/pacemaker/pcmk_sched_clone.c clone_data->promote_notify = NULL; clone_data 1527 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 1529 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 1540 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->clone_max); clone_data 1544 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->clone_node_max); clone_data 1549 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_max); clone_data 1553 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_node_max); clone_data 1560 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_max); clone_data 1564 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_node_max); clone_data 23 lib/pacemaker/pcmk_sched_promotable.c child_promoting_constraints(clone_variant_data_t * clone_data, enum pe_ordering type, clone_data 28 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->ordered && last != NULL) { clone_data 42 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->ordered) { clone_data 59 lib/pacemaker/pcmk_sched_promotable.c child_demoting_constraints(clone_variant_data_t * clone_data, enum pe_ordering type, clone_data 64 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->ordered && last != NULL) { clone_data 78 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->ordered && last != NULL) { clone_data 84 lib/pacemaker/pcmk_sched_promotable.c } else if (clone_data->ordered) { clone_data 171 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 226 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, parent); clone_data 233 lib/pacemaker/pcmk_sched_promotable.c } else if ((local_node->count < clone_data->promoted_node_max) clone_data 285 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 289 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, rsc); clone_data 291 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->added_promoted_constraints) { clone_data 294 lib/pacemaker/pcmk_sched_promotable.c clone_data->added_promoted_constraints = true; clone_data 571 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 573 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, rsc); clone_data 575 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->added_promotion_scores) { clone_data 580 lib/pacemaker/pcmk_sched_promotable.c clone_data->added_promotion_scores = true; clone_data 670 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 672 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, rsc); clone_data 778 lib/pacemaker/pcmk_sched_promotable.c } else if ((promoted < clone_data->promoted_max) clone_data 806 lib/pacemaker/pcmk_sched_promotable.c rsc->id, promoted, clone_data->promoted_max); clone_data 822 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 824 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, rsc); clone_data 848 lib/pacemaker/pcmk_sched_promotable.c child_promoting_constraints(clone_data, pe_order_optional, clone_data 851 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->promote_notify == NULL) { clone_data 852 lib/pacemaker/pcmk_sched_promotable.c clone_data->promote_notify = clone_data 861 lib/pacemaker/pcmk_sched_promotable.c child_demoting_constraints(clone_data, pe_order_optional, rsc, NULL, last_demote_rsc, data_set); clone_data 863 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->demote_notify == NULL) { clone_data 864 lib/pacemaker/pcmk_sched_promotable.c clone_data->demote_notify = clone_data 867 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->promote_notify) { clone_data 871 lib/pacemaker/pcmk_sched_promotable.c order_actions(clone_data->stop_notify->post_done, clone_data->promote_notify->pre, clone_data 873 lib/pacemaker/pcmk_sched_promotable.c order_actions(clone_data->start_notify->post_done, clone_data->promote_notify->pre, clone_data 875 lib/pacemaker/pcmk_sched_promotable.c order_actions(clone_data->demote_notify->post_done, clone_data->promote_notify->pre, clone_data 877 lib/pacemaker/pcmk_sched_promotable.c order_actions(clone_data->demote_notify->post_done, clone_data->start_notify->pre, clone_data 879 lib/pacemaker/pcmk_sched_promotable.c order_actions(clone_data->demote_notify->post_done, clone_data->stop_notify->pre, clone_data 925 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 927 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, rsc); clone_data 937 lib/pacemaker/pcmk_sched_promotable.c child_promoting_constraints(clone_data, pe_order_optional, clone_data 940 lib/pacemaker/pcmk_sched_promotable.c child_demoting_constraints(clone_data, pe_order_optional, clone_data 32 lib/pengine/clone.c clone_header(pcmk__output_t *out, int *rc, pe_resource_t *rsc, clone_variant_data_t *clone_data) clone_data 55 lib/pengine/clone.c rsc->id, ID(clone_data->xml_obj_child), clone_data 60 lib/pengine/clone.c rsc->id, ID(clone_data->xml_obj_child)) clone_data 69 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 71 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 77 lib/pengine/clone.c clone_data->clone_node_max = 1; clone_data 78 lib/pengine/clone.c clone_data->clone_max = QB_MIN(clone_data->clone_max, clone_data 89 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 91 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 93 lib/pengine/clone.c child_base = ID(clone_data->xml_obj_child); clone_data 109 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 111 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 113 lib/pengine/clone.c CRM_CHECK(clone_data->xml_obj_child != NULL, return FALSE); clone_data 115 lib/pengine/clone.c if (clone_data->total_clones >= clone_data->clone_max) { clone_data 121 lib/pengine/clone.c inc_num = pcmk__itoa(clone_data->total_clones); clone_data 122 lib/pengine/clone.c inc_max = pcmk__itoa(clone_data->clone_max); clone_data 124 lib/pengine/clone.c child_copy = copy_xml(clone_data->xml_obj_child); clone_data 136 lib/pengine/clone.c clone_data->total_clones += 1; clone_data 159 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 167 lib/pengine/clone.c clone_data = calloc(1, sizeof(clone_variant_data_t)); clone_data 168 lib/pengine/clone.c rsc->variant_opaque = clone_data; clone_data 192 lib/pengine/clone.c clone_data->promoted_max = 1; clone_data 194 lib/pengine/clone.c pcmk__scan_min_int(promoted_max, &(clone_data->promoted_max), 0); clone_data 199 lib/pengine/clone.c clone_data->promoted_node_max = 1; clone_data 202 lib/pengine/clone.c &(clone_data->promoted_node_max), 0); clone_data 211 lib/pengine/clone.c clone_data->clone_node_max = 1; clone_data 213 lib/pengine/clone.c pcmk__scan_min_int(max_clones_node, &(clone_data->clone_node_max), 0); clone_data 220 lib/pengine/clone.c clone_data->clone_max = QB_MAX(1, g_list_length(data_set->nodes)); clone_data 222 lib/pengine/clone.c pcmk__scan_min_int(max_clones, &(clone_data->clone_max), 0); clone_data 225 lib/pengine/clone.c clone_data->ordered = crm_is_true(ordered); clone_data 227 lib/pengine/clone.c if ((rsc->flags & pe_rsc_unique) == 0 && clone_data->clone_node_max > 1) { clone_data 231 lib/pengine/clone.c clone_data->clone_node_max = 1; clone_data 235 lib/pengine/clone.c pe_rsc_trace(rsc, "\tClone max: %d", clone_data->clone_max); clone_data 236 lib/pengine/clone.c pe_rsc_trace(rsc, "\tClone node max: %d", clone_data->clone_node_max); clone_data 247 lib/pengine/clone.c clone_data->xml_obj_child = a_child; clone_data 252 lib/pengine/clone.c if (clone_data->xml_obj_child == NULL) { clone_data 273 lib/pengine/clone.c if (clone_data->clone_max <= 0) { clone_data 283 lib/pengine/clone.c for (lpc = 0; lpc < clone_data->clone_max; lpc++) { clone_data 290 lib/pengine/clone.c pe_rsc_trace(rsc, "Added %d children to resource %s...", clone_data->clone_max, rsc->id); clone_data 440 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 452 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 457 lib/pengine/clone.c pre_text ? pre_text : "", rsc->id, ID(clone_data->xml_obj_child), clone_data 602 lib/pengine/clone.c && (clone_data->clone_max > active_instances)) { clone_data 722 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 727 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 814 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data); clone_data 845 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data); clone_data 868 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data); clone_data 899 lib/pengine/clone.c && (clone_data->clone_max > active_instances)) { clone_data 930 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data); clone_data 941 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data); clone_data 954 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 975 lib/pengine/clone.c if (clone_data) { clone_data 976 lib/pengine/clone.c CRM_ASSERT(clone_data->demote_notify == NULL); clone_data 977 lib/pengine/clone.c CRM_ASSERT(clone_data->stop_notify == NULL); clone_data 978 lib/pengine/clone.c CRM_ASSERT(clone_data->start_notify == NULL); clone_data 979 lib/pengine/clone.c CRM_ASSERT(clone_data->promote_notify == NULL); clone_data 1016 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1018 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1019 lib/pengine/clone.c if (clone_data->clone_max == g_list_length(data_set->nodes)) { clone_data 1030 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1035 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1036 lib/pengine/clone.c passes = pcmk__str_in_list(only_rsc, ID(clone_data->xml_obj_child), pcmk__str_none);