clone_data 684 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 686 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 732 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 838 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 840 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 842 lib/pacemaker/pcmk_sched_clone.c if (clone_data->ordered == FALSE) { clone_data 874 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 876 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 877 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 951 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 953 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 970 lib/pacemaker/pcmk_sched_clone.c if (clone_data->ordered) { clone_data 984 lib/pacemaker/pcmk_sched_clone.c if (clone_data->ordered && last_rsc) { clone_data 993 lib/pacemaker/pcmk_sched_clone.c if (clone_data->ordered && last_rsc) { clone_data 1327 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 1329 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 1333 lib/pacemaker/pcmk_sched_clone.c if (clone_data->start_notify) { clone_data 1334 lib/pacemaker/pcmk_sched_clone.c collect_notification_data(rsc, TRUE, TRUE, clone_data->start_notify); clone_data 1335 lib/pacemaker/pcmk_sched_clone.c pcmk__create_notification_keys(rsc, clone_data->start_notify, data_set); clone_data 1336 lib/pacemaker/pcmk_sched_clone.c create_notifications(rsc, clone_data->start_notify, data_set); clone_data 1339 lib/pacemaker/pcmk_sched_clone.c if (clone_data->stop_notify) { clone_data 1340 lib/pacemaker/pcmk_sched_clone.c collect_notification_data(rsc, TRUE, TRUE, clone_data->stop_notify); clone_data 1341 lib/pacemaker/pcmk_sched_clone.c pcmk__create_notification_keys(rsc, clone_data->stop_notify, data_set); clone_data 1342 lib/pacemaker/pcmk_sched_clone.c create_notifications(rsc, clone_data->stop_notify, data_set); clone_data 1345 lib/pacemaker/pcmk_sched_clone.c if (clone_data->promote_notify) { clone_data 1346 lib/pacemaker/pcmk_sched_clone.c collect_notification_data(rsc, TRUE, TRUE, clone_data->promote_notify); clone_data 1347 lib/pacemaker/pcmk_sched_clone.c pcmk__create_notification_keys(rsc, clone_data->promote_notify, data_set); clone_data 1348 lib/pacemaker/pcmk_sched_clone.c create_notifications(rsc, clone_data->promote_notify, data_set); clone_data 1351 lib/pacemaker/pcmk_sched_clone.c if (clone_data->demote_notify) { clone_data 1352 lib/pacemaker/pcmk_sched_clone.c collect_notification_data(rsc, TRUE, TRUE, clone_data->demote_notify); clone_data 1353 lib/pacemaker/pcmk_sched_clone.c pcmk__create_notification_keys(rsc, clone_data->demote_notify, data_set); clone_data 1354 lib/pacemaker/pcmk_sched_clone.c create_notifications(rsc, clone_data->demote_notify, data_set); clone_data 1369 lib/pacemaker/pcmk_sched_clone.c free_notification_data(clone_data->demote_notify); clone_data 1370 lib/pacemaker/pcmk_sched_clone.c clone_data->demote_notify = NULL; clone_data 1371 lib/pacemaker/pcmk_sched_clone.c free_notification_data(clone_data->stop_notify); clone_data 1372 lib/pacemaker/pcmk_sched_clone.c clone_data->stop_notify = NULL; clone_data 1373 lib/pacemaker/pcmk_sched_clone.c free_notification_data(clone_data->start_notify); clone_data 1374 lib/pacemaker/pcmk_sched_clone.c clone_data->start_notify = NULL; clone_data 1375 lib/pacemaker/pcmk_sched_clone.c free_notification_data(clone_data->promote_notify); clone_data 1376 lib/pacemaker/pcmk_sched_clone.c clone_data->promote_notify = NULL; clone_data 1518 lib/pacemaker/pcmk_sched_clone.c clone_variant_data_t *clone_data = NULL; clone_data 1520 lib/pacemaker/pcmk_sched_clone.c get_clone_variant_data(clone_data, rsc); clone_data 1531 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->clone_max); clone_data 1535 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->clone_node_max); clone_data 1540 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_max); clone_data 1544 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_node_max); clone_data 1551 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_max); clone_data 1555 lib/pacemaker/pcmk_sched_clone.c crm_xml_add_int(xml, name, clone_data->promoted_node_max); clone_data 25 lib/pacemaker/pcmk_sched_promotable.c child_promoting_constraints(clone_variant_data_t * clone_data, enum pe_ordering type, clone_data 30 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->ordered && last != NULL) { clone_data 47 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->ordered) { clone_data 65 lib/pacemaker/pcmk_sched_promotable.c child_demoting_constraints(clone_variant_data_t * clone_data, enum pe_ordering type, clone_data 70 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->ordered && last != NULL) { clone_data 87 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->ordered && last != NULL) { clone_data 94 lib/pacemaker/pcmk_sched_promotable.c } else if (clone_data->ordered) { clone_data 182 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 237 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, parent); clone_data 244 lib/pacemaker/pcmk_sched_promotable.c } else if ((local_node->count < clone_data->promoted_node_max) clone_data 296 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 300 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, rsc); clone_data 302 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->added_promoted_constraints) { clone_data 305 lib/pacemaker/pcmk_sched_promotable.c clone_data->added_promoted_constraints = true; clone_data 581 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 583 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, rsc); clone_data 585 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->added_promotion_scores) { clone_data 590 lib/pacemaker/pcmk_sched_promotable.c clone_data->added_promotion_scores = true; clone_data 674 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 676 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, rsc); clone_data 782 lib/pacemaker/pcmk_sched_promotable.c } else if ((promoted < clone_data->promoted_max) clone_data 810 lib/pacemaker/pcmk_sched_promotable.c rsc->id, promoted, clone_data->promoted_max); clone_data 826 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 828 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, rsc); clone_data 852 lib/pacemaker/pcmk_sched_promotable.c child_promoting_constraints(clone_data, pe_order_optional, clone_data 855 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->promote_notify == NULL) { clone_data 856 lib/pacemaker/pcmk_sched_promotable.c clone_data->promote_notify = clone_data 865 lib/pacemaker/pcmk_sched_promotable.c child_demoting_constraints(clone_data, pe_order_optional, rsc, NULL, last_demote_rsc, data_set); clone_data 867 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->demote_notify == NULL) { clone_data 868 lib/pacemaker/pcmk_sched_promotable.c clone_data->demote_notify = clone_data 871 lib/pacemaker/pcmk_sched_promotable.c if (clone_data->promote_notify) { clone_data 875 lib/pacemaker/pcmk_sched_promotable.c order_actions(clone_data->stop_notify->post_done, clone_data->promote_notify->pre, clone_data 877 lib/pacemaker/pcmk_sched_promotable.c order_actions(clone_data->start_notify->post_done, clone_data->promote_notify->pre, clone_data 879 lib/pacemaker/pcmk_sched_promotable.c order_actions(clone_data->demote_notify->post_done, clone_data->promote_notify->pre, clone_data 881 lib/pacemaker/pcmk_sched_promotable.c order_actions(clone_data->demote_notify->post_done, clone_data->start_notify->pre, clone_data 883 lib/pacemaker/pcmk_sched_promotable.c order_actions(clone_data->demote_notify->post_done, clone_data->stop_notify->pre, clone_data 936 lib/pacemaker/pcmk_sched_promotable.c clone_variant_data_t *clone_data = NULL; clone_data 938 lib/pacemaker/pcmk_sched_promotable.c get_clone_variant_data(clone_data, rsc); clone_data 949 lib/pacemaker/pcmk_sched_promotable.c child_promoting_constraints(clone_data, pe_order_optional, clone_data 952 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 846 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data); clone_data 870 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data); clone_data 901 lib/pengine/clone.c && (clone_data->clone_max > active_instances)) { clone_data 933 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data); clone_data 944 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data); clone_data 957 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 959 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 978 lib/pengine/clone.c if (clone_data) { clone_data 979 lib/pengine/clone.c CRM_ASSERT(clone_data->demote_notify == NULL); clone_data 980 lib/pengine/clone.c CRM_ASSERT(clone_data->stop_notify == NULL); clone_data 981 lib/pengine/clone.c CRM_ASSERT(clone_data->start_notify == NULL); clone_data 982 lib/pengine/clone.c CRM_ASSERT(clone_data->promote_notify == NULL); clone_data 1019 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1021 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1022 lib/pengine/clone.c if (clone_data->clone_max == g_list_length(data_set->nodes)) { clone_data 1033 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1038 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1039 lib/pengine/clone.c passes = pcmk__str_in_list(ID(clone_data->xml_obj_child), only_rsc, pcmk__str_star_matches);