clone_data 51 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 53 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 59 lib/pengine/clone.c clone_data->clone_node_max = 1; clone_data 60 lib/pengine/clone.c clone_data->clone_max = g_list_length(data_set->nodes); clone_data 71 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 73 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 75 lib/pengine/clone.c child_base = ID(clone_data->xml_obj_child); clone_data 91 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 93 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 95 lib/pengine/clone.c CRM_CHECK(clone_data->xml_obj_child != NULL, return FALSE); clone_data 99 lib/pengine/clone.c sub_id = clone_data->total_clones; clone_data 102 lib/pengine/clone.c inc_max = crm_itoa(clone_data->clone_max); clone_data 104 lib/pengine/clone.c child_copy = copy_xml(clone_data->xml_obj_child); clone_data 116 lib/pengine/clone.c clone_data->total_clones += 1; clone_data 142 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 144 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 145 lib/pengine/clone.c clone_data->master_max = crm_parse_int(master_max, "1"); clone_data 146 lib/pengine/clone.c clone_data->master_node_max = crm_parse_int(master_node_max, "1"); clone_data 158 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 170 lib/pengine/clone.c clone_data->active_clones = 0; clone_data 171 lib/pengine/clone.c clone_data->xml_obj_child = NULL; clone_data 172 lib/pengine/clone.c clone_data->clone_node_max = crm_parse_int(max_clones_node, "1"); clone_data 175 lib/pengine/clone.c clone_data->clone_max = crm_parse_int(max_clones, "1"); clone_data 178 lib/pengine/clone.c clone_data->clone_max = g_list_length(data_set->nodes); clone_data 181 lib/pengine/clone.c clone_data->clone_max = 1; /* Handy during crm_verify */ clone_data 184 lib/pengine/clone.c clone_data->interleave = crm_is_true(interleave); clone_data 185 lib/pengine/clone.c clone_data->ordered = crm_is_true(ordered); clone_data 187 lib/pengine/clone.c if ((rsc->flags & pe_rsc_unique) == 0 && clone_data->clone_node_max > 1) { clone_data 189 lib/pengine/clone.c clone_data->clone_node_max = 1; clone_data 193 lib/pengine/clone.c pe_rsc_trace(rsc, "\tClone max: %d", clone_data->clone_max); clone_data 194 lib/pengine/clone.c pe_rsc_trace(rsc, "\tClone node max: %d", clone_data->clone_node_max); clone_data 204 lib/pengine/clone.c clone_data->xml_obj_child = a_child; clone_data 209 lib/pengine/clone.c if (clone_data->xml_obj_child == NULL) { clone_data 226 lib/pengine/clone.c clone_data->notify_confirm = is_set(rsc->flags, pe_rsc_notify); clone_data 230 lib/pengine/clone.c for (lpc = 0; lpc < clone_data->clone_max; lpc++) { clone_data 236 lib/pengine/clone.c if (clone_data->clone_max == 0) { clone_data 245 lib/pengine/clone.c pe_rsc_trace(rsc, "Added %d children to resource %s...", clone_data->clone_max, rsc->id); clone_data 394 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 406 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 415 lib/pengine/clone.c pre_text ? pre_text : "", type, rsc->id, ID(clone_data->xml_obj_child), clone_data 547 lib/pengine/clone.c && (clone_data->clone_max > active_instances)) { clone_data 588 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 590 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 609 lib/pengine/clone.c if (clone_data) { clone_data 610 lib/pengine/clone.c CRM_ASSERT(clone_data->demote_notify == NULL); clone_data 611 lib/pengine/clone.c CRM_ASSERT(clone_data->stop_notify == NULL); clone_data 612 lib/pengine/clone.c CRM_ASSERT(clone_data->start_notify == NULL); clone_data 613 lib/pengine/clone.c CRM_ASSERT(clone_data->promote_notify == NULL); clone_data 601 pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 603 pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 641 pengine/clone.c distribute_children(rsc, rsc->children, nodes, clone_data->clone_max, clone_data->clone_node_max, data_set); clone_data 771 pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 773 pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 775 pengine/clone.c if (clone_data->ordered == FALSE) { clone_data 813 pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 815 pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 816 pengine/clone.c clone_create_pseudo_actions(rsc, rsc->children, &clone_data->start_notify, &clone_data->stop_notify,data_set); clone_data 887 pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 889 pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 901 pengine/clone.c if (clone_data->ordered) { clone_data 913 pengine/clone.c if (clone_data->ordered && last_rsc) { clone_data 920 pengine/clone.c if (clone_data->ordered && last_rsc) { clone_data 1211 pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1213 pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1222 pengine/clone.c if (clone_data->start_notify) { clone_data 1223 pengine/clone.c collect_notification_data(rsc, TRUE, TRUE, clone_data->start_notify); clone_data 1224 pengine/clone.c expand_notification_data(rsc, clone_data->start_notify, data_set); clone_data 1225 pengine/clone.c create_notifications(rsc, clone_data->start_notify, data_set); clone_data 1228 pengine/clone.c if (clone_data->stop_notify) { clone_data 1229 pengine/clone.c collect_notification_data(rsc, TRUE, TRUE, clone_data->stop_notify); clone_data 1230 pengine/clone.c expand_notification_data(rsc, clone_data->stop_notify, data_set); clone_data 1231 pengine/clone.c create_notifications(rsc, clone_data->stop_notify, data_set); clone_data 1234 pengine/clone.c if (clone_data->promote_notify) { clone_data 1235 pengine/clone.c collect_notification_data(rsc, TRUE, TRUE, clone_data->promote_notify); clone_data 1236 pengine/clone.c expand_notification_data(rsc, clone_data->promote_notify, data_set); clone_data 1237 pengine/clone.c create_notifications(rsc, clone_data->promote_notify, data_set); clone_data 1240 pengine/clone.c if (clone_data->demote_notify) { clone_data 1241 pengine/clone.c collect_notification_data(rsc, TRUE, TRUE, clone_data->demote_notify); clone_data 1242 pengine/clone.c expand_notification_data(rsc, clone_data->demote_notify, data_set); clone_data 1243 pengine/clone.c create_notifications(rsc, clone_data->demote_notify, data_set); clone_data 1258 pengine/clone.c free_notification_data(clone_data->demote_notify); clone_data 1259 pengine/clone.c clone_data->demote_notify = NULL; clone_data 1260 pengine/clone.c free_notification_data(clone_data->stop_notify); clone_data 1261 pengine/clone.c clone_data->stop_notify = NULL; clone_data 1262 pengine/clone.c free_notification_data(clone_data->start_notify); clone_data 1263 pengine/clone.c clone_data->start_notify = NULL; clone_data 1264 pengine/clone.c free_notification_data(clone_data->promote_notify); clone_data 1265 pengine/clone.c clone_data->promote_notify = NULL; clone_data 1343 pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1346 pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1372 pengine/clone.c && clone_data->clone_node_max == 1) { clone_data 1414 pengine/clone.c && clone_data->clone_node_max == 1) { clone_data 1427 pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1429 pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1440 pengine/clone.c crm_xml_add_int(xml, name, clone_data->clone_max); clone_data 1444 pengine/clone.c crm_xml_add_int(xml, name, clone_data->clone_node_max); clone_data 32 pengine/master.c child_promoting_constraints(clone_variant_data_t * clone_data, enum pe_ordering type, clone_data 37 pengine/master.c if (clone_data->ordered && last != NULL) { clone_data 51 pengine/master.c if (clone_data->ordered) { clone_data 68 pengine/master.c child_demoting_constraints(clone_variant_data_t * clone_data, enum pe_ordering type, clone_data 73 pengine/master.c if (clone_data->ordered && last != NULL) { clone_data 87 pengine/master.c if (clone_data->ordered && last != NULL) { clone_data 93 pengine/master.c } else if (clone_data->ordered) { clone_data 168 pengine/master.c clone_variant_data_t *clone_data = NULL; clone_data 213 pengine/master.c get_clone_variant_data(clone_data, parent); clone_data 220 pengine/master.c } else if (local_node->count < clone_data->master_node_max clone_data 278 pengine/master.c clone_variant_data_t *clone_data = NULL; clone_data 282 pengine/master.c get_clone_variant_data(clone_data, rsc); clone_data 284 pengine/master.c if (clone_data->merged_master_weights) { clone_data 287 pengine/master.c clone_data->merged_master_weights = TRUE; clone_data 557 pengine/master.c clone_variant_data_t *clone_data = NULL; clone_data 559 pengine/master.c get_clone_variant_data(clone_data, rsc); clone_data 561 pengine/master.c if (clone_data->applied_master_prefs) { clone_data 566 pengine/master.c clone_data->applied_master_prefs = TRUE; clone_data 665 pengine/master.c clone_variant_data_t *clone_data = NULL; clone_data 667 pengine/master.c get_clone_variant_data(clone_data, rsc); clone_data 787 pengine/master.c } else if (promoted < clone_data->master_max || is_not_set(rsc->flags, pe_rsc_managed)) { clone_data 813 pengine/master.c clone_data->masters_allocated = promoted; clone_data 815 pengine/master.c rsc->id, promoted, clone_data->master_max); clone_data 834 pengine/master.c clone_variant_data_t *clone_data = NULL; clone_data 836 pengine/master.c get_clone_variant_data(clone_data, rsc); clone_data 863 pengine/master.c child_promoting_constraints(clone_data, pe_order_optional, clone_data 866 pengine/master.c if (clone_data->promote_notify == NULL) { clone_data 867 pengine/master.c clone_data->promote_notify = clone_data 876 pengine/master.c child_demoting_constraints(clone_data, pe_order_optional, rsc, NULL, last_demote_rsc, data_set); clone_data 878 pengine/master.c if (clone_data->demote_notify == NULL) { clone_data 879 pengine/master.c clone_data->demote_notify = clone_data 882 pengine/master.c if (clone_data->promote_notify) { clone_data 886 pengine/master.c order_actions(clone_data->stop_notify->post_done, clone_data->promote_notify->pre, clone_data 888 pengine/master.c order_actions(clone_data->start_notify->post_done, clone_data->promote_notify->pre, clone_data 890 pengine/master.c order_actions(clone_data->demote_notify->post_done, clone_data->promote_notify->pre, clone_data 892 pengine/master.c order_actions(clone_data->demote_notify->post_done, clone_data->start_notify->pre, clone_data 894 pengine/master.c order_actions(clone_data->demote_notify->post_done, clone_data->stop_notify->pre, clone_data 940 pengine/master.c clone_variant_data_t *clone_data = NULL; clone_data 942 pengine/master.c get_clone_variant_data(clone_data, rsc); clone_data 953 pengine/master.c child_promoting_constraints(clone_data, pe_order_optional, clone_data 956 pengine/master.c child_demoting_constraints(clone_data, pe_order_optional, clone_data 1070 pengine/master.c clone_variant_data_t *clone_data = NULL; clone_data 1072 pengine/master.c get_clone_variant_data(clone_data, rsc); clone_data 1077 pengine/master.c crm_xml_add_int(xml, name, clone_data->master_max); clone_data 1081 pengine/master.c crm_xml_add_int(xml, name, clone_data->master_node_max);