clone_data 58 lib/pengine/clone.c const clone_variant_data_t *clone_data = NULL; clone_data 60 lib/pengine/clone.c get_clone_variant_data(clone_data, pe__const_top_resource(clone, false)); clone_data 61 lib/pengine/clone.c return clone_data->clone_max; clone_data 75 lib/pengine/clone.c const clone_variant_data_t *clone_data = NULL; clone_data 77 lib/pengine/clone.c get_clone_variant_data(clone_data, pe__const_top_resource(clone, false)); clone_data 78 lib/pengine/clone.c return clone_data->clone_node_max; clone_data 92 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 94 lib/pengine/clone.c get_clone_variant_data(clone_data, pe__const_top_resource(clone, false)); clone_data 95 lib/pengine/clone.c return clone_data->promoted_max; 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, pe__const_top_resource(clone, false)); clone_data 112 lib/pengine/clone.c return clone_data->promoted_node_max; clone_data 165 lib/pengine/clone.c clone_variant_data_t *clone_data, const char *desc) clone_data 191 lib/pengine/clone.c pcmk__xe_id(clone_data->xml_obj_child), clone_data 198 lib/pengine/clone.c pcmk__xe_id(clone_data->xml_obj_child), clone_data 209 lib/pengine/clone.c clone_variant_data_t *clone_data = rsc->priv->variant_opaque; clone_data 215 lib/pengine/clone.c clone_data->clone_node_max = 1; clone_data 216 lib/pengine/clone.c clone_data->clone_max = QB_MIN(clone_data->clone_max, clone_data 229 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 231 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 233 lib/pengine/clone.c CRM_CHECK(clone_data->xml_obj_child != NULL, return FALSE); clone_data 235 lib/pengine/clone.c if (clone_data->total_clones >= clone_data->clone_max) { clone_data 241 lib/pengine/clone.c inc_num = pcmk__itoa(clone_data->total_clones); clone_data 242 lib/pengine/clone.c inc_max = pcmk__itoa(clone_data->clone_max); clone_data 244 lib/pengine/clone.c child_copy = pcmk__xml_copy(NULL, clone_data->xml_obj_child); clone_data 255 lib/pengine/clone.c clone_data->total_clones += 1; clone_data 328 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 332 lib/pengine/clone.c clone_data = pcmk__assert_alloc(1, sizeof(clone_variant_data_t)); clone_data 333 lib/pengine/clone.c rsc->priv->variant_opaque = clone_data; clone_data 338 lib/pengine/clone.c clone_data->promoted_max = clone_data 344 lib/pengine/clone.c clone_data->promoted_node_max = clone_data 350 lib/pengine/clone.c clone_data->clone_node_max = unpack_meta_int(rsc, PCMK_META_CLONE_NODE_MAX, clone_data 356 lib/pengine/clone.c clone_data->clone_max = unpack_meta_int(rsc, PCMK_META_CLONE_MAX, NULL, clone_data 361 lib/pengine/clone.c clone_data->flags = pcmk__set_flags_as(__func__, __LINE__, LOG_TRACE, clone_data 363 lib/pengine/clone.c clone_data->flags, clone_data 369 lib/pengine/clone.c && (clone_data->clone_node_max > 1)) { clone_data 373 lib/pengine/clone.c "per node", clone_data->clone_node_max, rsc->id); clone_data 374 lib/pengine/clone.c clone_data->clone_node_max = 1; clone_data 378 lib/pengine/clone.c pcmk__rsc_trace(rsc, "\tClone max: %d", clone_data->clone_max); clone_data 379 lib/pengine/clone.c pcmk__rsc_trace(rsc, "\tClone node max: %d", clone_data->clone_node_max); clone_data 391 lib/pengine/clone.c clone_data->xml_obj_child = a_child; clone_data 396 lib/pengine/clone.c if (clone_data->xml_obj_child == NULL) { clone_data 419 lib/pengine/clone.c if (clone_data->clone_max <= 0) { clone_data 429 lib/pengine/clone.c for (lpc = 0; lpc < clone_data->clone_max; lpc++) { clone_data 437 lib/pengine/clone.c clone_data->clone_max, rsc->id); clone_data 630 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 637 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 736 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data, desc); clone_data 767 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data, desc); clone_data 790 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data, desc); clone_data 817 lib/pengine/clone.c && (clone_data->clone_max > active_instances)) { clone_data 878 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data, desc); clone_data 904 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data, desc); clone_data 917 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 919 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 940 lib/pengine/clone.c if (clone_data) { clone_data 941 lib/pengine/clone.c pcmk__assert((clone_data->demote_notify == NULL) clone_data 942 lib/pengine/clone.c && (clone_data->stop_notify == NULL) clone_data 943 lib/pengine/clone.c && (clone_data->start_notify == NULL) clone_data 944 lib/pengine/clone.c && (clone_data->promote_notify == NULL)); clone_data 983 lib/pengine/clone.c clone_variant_data_t *clone_data = rsc->priv->variant_opaque; clone_data 985 lib/pengine/clone.c if (clone_data->clone_max == g_list_length(scheduler->nodes)) { clone_data 997 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1002 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1003 lib/pengine/clone.c passes = pcmk__str_in_list(pcmk__xe_id(clone_data->xml_obj_child), clone_data 1027 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1028 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1029 lib/pengine/clone.c return pcmk__xe_id(clone_data->xml_obj_child); clone_data 1043 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1045 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1046 lib/pengine/clone.c return pcmk_is_set(clone_data->flags, pcmk__clone_ordered); clone_data 1062 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1064 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1065 lib/pengine/clone.c if (pcmk_is_set(clone_data->flags, flag)) { clone_data 1068 lib/pengine/clone.c clone_data->flags = pcmk__set_flags_as(__func__, __LINE__, LOG_TRACE, clone_data 1070 lib/pengine/clone.c clone_data->flags, flag, "flag"); clone_data 1086 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1088 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1089 lib/pengine/clone.c pcmk__assert(clone_data != NULL); clone_data 1091 lib/pengine/clone.c return pcmk_all_flags_set(clone_data->flags, flags); clone_data 1108 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1110 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1122 lib/pengine/clone.c if (clone_data->promote_notify == NULL) { clone_data 1123 lib/pengine/clone.c clone_data->promote_notify = pe__action_notif_pseudo_ops(clone, clone_data 1139 lib/pengine/clone.c if (clone_data->demote_notify == NULL) { clone_data 1140 lib/pengine/clone.c clone_data->demote_notify = pe__action_notif_pseudo_ops(clone, clone_data 1145 lib/pengine/clone.c if (clone_data->promote_notify != NULL) { clone_data 1146 lib/pengine/clone.c order_actions(clone_data->stop_notify->post_done, clone_data 1147 lib/pengine/clone.c clone_data->promote_notify->pre, pcmk__ar_ordered); clone_data 1148 lib/pengine/clone.c order_actions(clone_data->start_notify->post_done, clone_data 1149 lib/pengine/clone.c clone_data->promote_notify->pre, pcmk__ar_ordered); clone_data 1150 lib/pengine/clone.c order_actions(clone_data->demote_notify->post_done, clone_data 1151 lib/pengine/clone.c clone_data->promote_notify->pre, pcmk__ar_ordered); clone_data 1152 lib/pengine/clone.c order_actions(clone_data->demote_notify->post_done, clone_data 1153 lib/pengine/clone.c clone_data->start_notify->pre, pcmk__ar_ordered); clone_data 1154 lib/pengine/clone.c order_actions(clone_data->demote_notify->post_done, clone_data 1155 lib/pengine/clone.c clone_data->stop_notify->pre, pcmk__ar_ordered); clone_data 1169 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1171 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1173 lib/pengine/clone.c pe__create_action_notifications(clone, clone_data->start_notify); clone_data 1174 lib/pengine/clone.c pe__create_action_notifications(clone, clone_data->stop_notify); clone_data 1175 lib/pengine/clone.c pe__create_action_notifications(clone, clone_data->promote_notify); clone_data 1176 lib/pengine/clone.c pe__create_action_notifications(clone, clone_data->demote_notify); clone_data 1188 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1190 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1192 lib/pengine/clone.c pe__free_action_notification_data(clone_data->demote_notify); clone_data 1193 lib/pengine/clone.c clone_data->demote_notify = NULL; clone_data 1195 lib/pengine/clone.c pe__free_action_notification_data(clone_data->stop_notify); clone_data 1196 lib/pengine/clone.c clone_data->stop_notify = NULL; clone_data 1198 lib/pengine/clone.c pe__free_action_notification_data(clone_data->start_notify); clone_data 1199 lib/pengine/clone.c clone_data->start_notify = NULL; clone_data 1201 lib/pengine/clone.c pe__free_action_notification_data(clone_data->promote_notify); clone_data 1202 lib/pengine/clone.c clone_data->promote_notify = NULL; clone_data 1220 lib/pengine/clone.c clone_variant_data_t *clone_data = NULL; clone_data 1222 lib/pengine/clone.c get_clone_variant_data(clone_data, clone); clone_data 1224 lib/pengine/clone.c if (clone_data->start_notify == NULL) { clone_data 1225 lib/pengine/clone.c clone_data->start_notify = pe__action_notif_pseudo_ops(clone, clone_data 1230 lib/pengine/clone.c if (clone_data->stop_notify == NULL) { clone_data 1231 lib/pengine/clone.c clone_data->stop_notify = pe__action_notif_pseudo_ops(clone, clone_data 1234 lib/pengine/clone.c if ((clone_data->start_notify != NULL) clone_data 1235 lib/pengine/clone.c && (clone_data->stop_notify != NULL)) { clone_data 1236 lib/pengine/clone.c order_actions(clone_data->stop_notify->post_done, clone_data 1237 lib/pengine/clone.c clone_data->start_notify->pre, pcmk__ar_ordered); clone_data 1253 lib/pengine/clone.c const clone_variant_data_t *clone_data = NULL; clone_data 1255 lib/pengine/clone.c get_clone_variant_data(clone_data, rsc); clone_data 1256 lib/pengine/clone.c return clone_data->clone_node_max;