bundle_data 108 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; bundle_data 112 lib/pacemaker/pcmk_sched_bundle.c get_bundle_variant_data(bundle_data, rsc); bundle_data 123 lib/pacemaker/pcmk_sched_bundle.c distribute_children(rsc, containers, nodes, bundle_data->nreplicas, bundle_data 124 lib/pacemaker/pcmk_sched_bundle.c bundle_data->nreplicas_per_host, data_set); bundle_data 128 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; bundle_data 184 lib/pacemaker/pcmk_sched_bundle.c if (bundle_data->child) { bundle_data 187 lib/pacemaker/pcmk_sched_bundle.c g_hash_table_iter_init(&iter, bundle_data->child->allowed_nodes); bundle_data 189 lib/pacemaker/pcmk_sched_bundle.c if (is_bundle_node(bundle_data, node)) { bundle_data 196 lib/pacemaker/pcmk_sched_bundle.c rsc->id, bundle_data->child->id); bundle_data 197 lib/pacemaker/pcmk_sched_bundle.c bundle_data->child->cmds->allocate(bundle_data->child, prefer, data_set); bundle_data 210 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; bundle_data 215 lib/pacemaker/pcmk_sched_bundle.c get_bundle_variant_data(bundle_data, rsc); bundle_data 216 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; bundle_data 235 lib/pacemaker/pcmk_sched_bundle.c if (bundle_data->child) { bundle_data 236 lib/pacemaker/pcmk_sched_bundle.c bundle_data->child->cmds->create_actions(bundle_data->child, data_set); bundle_data 238 lib/pacemaker/pcmk_sched_bundle.c if (pcmk_is_set(bundle_data->child->flags, pe_rsc_promotable)) { bundle_data 258 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; bundle_data 262 lib/pacemaker/pcmk_sched_bundle.c get_bundle_variant_data(bundle_data, rsc); bundle_data 264 lib/pacemaker/pcmk_sched_bundle.c if (bundle_data->child) { bundle_data 265 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(rsc, RSC_START, bundle_data->child, RSC_START, bundle_data 267 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(rsc, RSC_STOP, bundle_data->child, RSC_STOP, bundle_data 270 lib/pacemaker/pcmk_sched_bundle.c if (bundle_data->child->children) { bundle_data 271 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(bundle_data->child, RSC_STARTED, rsc, RSC_STARTED, bundle_data 273 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(bundle_data->child, RSC_STOPPED, rsc, RSC_STOPPED, bundle_data 276 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(bundle_data->child, RSC_START, rsc, RSC_STARTED, bundle_data 278 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(bundle_data->child, RSC_STOP, rsc, RSC_STOPPED, bundle_data 283 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; bundle_data 339 lib/pacemaker/pcmk_sched_bundle.c if (bundle_data->child) { bundle_data 340 lib/pacemaker/pcmk_sched_bundle.c bundle_data->child->cmds->internal_constraints(bundle_data->child, data_set); bundle_data 341 lib/pacemaker/pcmk_sched_bundle.c if (pcmk_is_set(bundle_data->child->flags, pe_rsc_promotable)) { bundle_data 345 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(bundle_data->child, RSC_DEMOTED, rsc, RSC_DEMOTED, bundle_data 349 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(rsc, RSC_DEMOTE, bundle_data->child, RSC_DEMOTE, bundle_data 353 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(bundle_data->child, RSC_PROMOTED, rsc, RSC_PROMOTED, bundle_data 357 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(rsc, RSC_PROMOTE, bundle_data->child, RSC_PROMOTE, bundle_data 373 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; bundle_data 376 lib/pacemaker/pcmk_sched_bundle.c get_bundle_variant_data(bundle_data, rsc); bundle_data 381 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; bundle_data 489 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; bundle_data 521 lib/pacemaker/pcmk_sched_bundle.c get_bundle_variant_data(bundle_data, rsc); bundle_data 525 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; bundle_data 878 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; bundle_data 879 lib/pacemaker/pcmk_sched_bundle.c get_bundle_variant_data(bundle_data, rsc); bundle_data 883 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; bundle_data 896 lib/pacemaker/pcmk_sched_bundle.c if (bundle_data->child bundle_data 899 lib/pacemaker/pcmk_sched_bundle.c bundle_data->child->cmds->rsc_location(bundle_data->child, constraint); bundle_data 900 lib/pacemaker/pcmk_sched_bundle.c bundle_data->child->rsc_location = g_list_prepend(bundle_data->child->rsc_location, bundle_data 908 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; bundle_data 912 lib/pacemaker/pcmk_sched_bundle.c get_bundle_variant_data(bundle_data, rsc); bundle_data 914 lib/pacemaker/pcmk_sched_bundle.c if (bundle_data->child) { bundle_data 915 lib/pacemaker/pcmk_sched_bundle.c bundle_data->child->cmds->expand(bundle_data->child, data_set); bundle_data 918 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; bundle_data 984 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; bundle_data 988 lib/pacemaker/pcmk_sched_bundle.c get_bundle_variant_data(bundle_data, rsc); bundle_data 989 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; bundle_data 1024 lib/pacemaker/pcmk_sched_bundle.c for (GList *tIter = bundle_data->replicas; bundle_data 1025 lib/pacemaker/pcmk_sched_bundle.c tIter && (bundle_data->nreplicas_per_host == 1); bundle_data 1080 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_variant_data_t *bundle_data = NULL; bundle_data 1084 lib/pacemaker/pcmk_sched_bundle.c get_bundle_variant_data(bundle_data, rsc); bundle_data 1085 lib/pacemaker/pcmk_sched_bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; bundle_data 891 lib/pengine/bundle.c mount_add(pe__bundle_variant_data_t *bundle_data, const char *source, bundle_data 902 lib/pengine/bundle.c bundle_data->mounts = g_list_append(bundle_data->mounts, mount); bundle_data 926 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; bundle_data 936 lib/pengine/bundle.c get_bundle_variant_data(bundle_data, top); bundle_data 937 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; bundle_data 1019 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; bundle_data 1025 lib/pengine/bundle.c bundle_data = calloc(1, sizeof(pe__bundle_variant_data_t)); bundle_data 1026 lib/pengine/bundle.c rsc->variant_opaque = bundle_data; bundle_data 1027 lib/pengine/bundle.c bundle_data->prefix = strdup(rsc->id); bundle_data 1031 lib/pengine/bundle.c bundle_data->agent_type = PE__CONTAINER_AGENT_DOCKER; bundle_data 1035 lib/pengine/bundle.c bundle_data->agent_type = PE__CONTAINER_AGENT_RKT; bundle_data 1039 lib/pengine/bundle.c bundle_data->agent_type = PE__CONTAINER_AGENT_PODMAN; bundle_data 1052 lib/pengine/bundle.c pcmk__scan_min_int(value, &bundle_data->promoted_max, 0); bundle_data 1056 lib/pengine/bundle.c if ((value == NULL) && (bundle_data->promoted_max > 0)) { bundle_data 1057 lib/pengine/bundle.c bundle_data->nreplicas = bundle_data->promoted_max; bundle_data 1059 lib/pengine/bundle.c pcmk__scan_min_int(value, &bundle_data->nreplicas, 1); bundle_data 1068 lib/pengine/bundle.c pcmk__scan_min_int(value, &bundle_data->nreplicas_per_host, 1); bundle_data 1069 lib/pengine/bundle.c if (bundle_data->nreplicas_per_host == 1) { bundle_data 1073 lib/pengine/bundle.c bundle_data->container_command = crm_element_value_copy(xml_obj, "run-command"); bundle_data 1074 lib/pengine/bundle.c bundle_data->launcher_options = crm_element_value_copy(xml_obj, "options"); bundle_data 1075 lib/pengine/bundle.c bundle_data->image = crm_element_value_copy(xml_obj, "image"); bundle_data 1076 lib/pengine/bundle.c bundle_data->container_network = crm_element_value_copy(xml_obj, "network"); bundle_data 1081 lib/pengine/bundle.c bundle_data->ip_range_start = crm_element_value_copy(xml_obj, "ip-range-start"); bundle_data 1082 lib/pengine/bundle.c bundle_data->host_netmask = crm_element_value_copy(xml_obj, "host-netmask"); bundle_data 1083 lib/pengine/bundle.c bundle_data->host_network = crm_element_value_copy(xml_obj, "host-interface"); bundle_data 1084 lib/pengine/bundle.c bundle_data->control_port = crm_element_value_copy(xml_obj, "control-port"); bundle_data 1086 lib/pengine/bundle.c if (crm_str_to_boolean(value, &bundle_data->add_host) != 1) { bundle_data 1087 lib/pengine/bundle.c bundle_data->add_host = TRUE; bundle_data 1106 lib/pengine/bundle.c bundle_data->ports = g_list_append(bundle_data->ports, port); bundle_data 1131 lib/pengine/bundle.c mount_add(bundle_data, source, target, options, flags); bundle_data 1141 lib/pengine/bundle.c if (xml_obj && valid_network(bundle_data)) { bundle_data 1151 lib/pengine/bundle.c crm_xml_set_id(xml_resource, "%s-%s", bundle_data->prefix, bundle_data 1152 lib/pengine/bundle.c (bundle_data->promoted_max? "master" bundle_data 1156 lib/pengine/bundle.c crm_xml_set_id(xml_set, "%s-%s-meta", bundle_data->prefix, xml_resource->name); bundle_data 1161 lib/pengine/bundle.c value = pcmk__itoa(bundle_data->nreplicas); bundle_data 1166 lib/pengine/bundle.c value = pcmk__itoa(bundle_data->nreplicas_per_host); bundle_data 1172 lib/pengine/bundle.c pcmk__btoa(bundle_data->nreplicas_per_host > 1)); bundle_data 1174 lib/pengine/bundle.c if (bundle_data->promoted_max) { bundle_data 1178 lib/pengine/bundle.c value = pcmk__itoa(bundle_data->promoted_max); bundle_data 1210 lib/pengine/bundle.c bundle_data->child = new_rsc; bundle_data 1233 lib/pengine/bundle.c mount_add(bundle_data, DEFAULT_REMOTE_KEY_LOCATION, bundle_data 1237 lib/pengine/bundle.c mount_add(bundle_data, CRM_BUNDLE_DIR, "/var/log", NULL, bundle_data 1242 lib/pengine/bundle.c if(bundle_data->control_port) { bundle_data 1243 lib/pengine/bundle.c port->source = strdup(bundle_data->control_port); bundle_data 1256 lib/pengine/bundle.c bundle_data->ports = g_list_append(bundle_data->ports, port); bundle_data 1259 lib/pengine/bundle.c for (childIter = bundle_data->child->children; childIter != NULL; bundle_data 1270 lib/pengine/bundle.c pe__set_resource_flags(bundle_data->child, pe_rsc_notify); bundle_data 1273 lib/pengine/bundle.c offset += allocate_ip(bundle_data, replica, buffer+offset, bundle_data 1275 lib/pengine/bundle.c bundle_data->replicas = g_list_append(bundle_data->replicas, bundle_data 1277 lib/pengine/bundle.c bundle_data->attribute_target = g_hash_table_lookup(replica->child->meta, bundle_data 1280 lib/pengine/bundle.c bundle_data->container_host_options = buffer; bundle_data 1281 lib/pengine/bundle.c if (bundle_data->attribute_target) { bundle_data 1283 lib/pengine/bundle.c strdup(bundle_data->attribute_target)); bundle_data 1284 lib/pengine/bundle.c g_hash_table_replace(bundle_data->child->meta, bundle_data 1286 lib/pengine/bundle.c strdup(bundle_data->attribute_target)); bundle_data 1294 lib/pengine/bundle.c for (int lpc = 0; lpc < bundle_data->nreplicas; lpc++) { bundle_data 1298 lib/pengine/bundle.c offset += allocate_ip(bundle_data, replica, buffer+offset, bundle_data 1300 lib/pengine/bundle.c bundle_data->replicas = g_list_append(bundle_data->replicas, bundle_data 1303 lib/pengine/bundle.c bundle_data->container_host_options = buffer; bundle_data 1306 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; bundle_data 1310 lib/pengine/bundle.c if (!create_container(rsc, bundle_data, replica, data_set)) { bundle_data 1317 lib/pengine/bundle.c if (bundle_data->child) { bundle_data 1318 lib/pengine/bundle.c rsc->children = g_list_append(rsc->children, bundle_data->child); bundle_data 1341 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; bundle_data 1344 lib/pengine/bundle.c get_bundle_variant_data(bundle_data, rsc); bundle_data 1345 lib/pengine/bundle.c for (iter = bundle_data->replicas; iter != NULL; iter = iter->next) { bundle_data 1389 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; bundle_data 1392 lib/pengine/bundle.c get_bundle_variant_data(bundle_data, bundle); bundle_data 1393 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; bundle_data 1437 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; bundle_data 1446 lib/pengine/bundle.c get_bundle_variant_data(bundle_data, rsc); bundle_data 1450 lib/pengine/bundle.c status_print("type=\"%s\" ", container_agent_str(bundle_data->agent_type)); bundle_data 1451 lib/pengine/bundle.c status_print("image=\"%s\" ", bundle_data->image); bundle_data 1457 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; bundle_data 1482 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; bundle_data 1489 lib/pengine/bundle.c get_bundle_variant_data(bundle_data, rsc); bundle_data 1497 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; bundle_data 1526 lib/pengine/bundle.c "type", container_agent_str(bundle_data->agent_type), bundle_data 1527 lib/pengine/bundle.c "image", bundle_data->image, bundle_data 1606 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; bundle_data 1612 lib/pengine/bundle.c get_bundle_variant_data(bundle_data, rsc); bundle_data 1620 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; bundle_data 1647 lib/pengine/bundle.c (bundle_data->nreplicas > 1)? " set" : "", bundle_data 1648 lib/pengine/bundle.c rsc->id, bundle_data->image, bundle_data 1652 lib/pengine/bundle.c if (pcmk__list_of_multiple(bundle_data->replicas)) { bundle_data 1676 lib/pengine/bundle.c if (pcmk__list_of_multiple(bundle_data->replicas)) { bundle_data 1683 lib/pengine/bundle.c (bundle_data->nreplicas > 1)? " set" : "", bundle_data 1684 lib/pengine/bundle.c rsc->id, bundle_data->image, bundle_data 1734 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; bundle_data 1738 lib/pengine/bundle.c get_bundle_variant_data(bundle_data, rsc); bundle_data 1748 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; bundle_data 1775 lib/pengine/bundle.c (bundle_data->nreplicas > 1)? " set" : "", bundle_data 1776 lib/pengine/bundle.c rsc->id, bundle_data->image, bundle_data 1780 lib/pengine/bundle.c if (pcmk__list_of_multiple(bundle_data->replicas)) { bundle_data 1811 lib/pengine/bundle.c (bundle_data->nreplicas > 1)? " set" : "", bundle_data 1812 lib/pengine/bundle.c rsc->id, bundle_data->image, bundle_data 1859 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; bundle_data 1868 lib/pengine/bundle.c get_bundle_variant_data(bundle_data, rsc); bundle_data 1875 lib/pengine/bundle.c pre_text, ((bundle_data->nreplicas > 1)? " set" : ""), bundle_data 1876 lib/pengine/bundle.c rsc->id, bundle_data->image, bundle_data 1884 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; bundle_data 1895 lib/pengine/bundle.c if (pcmk__list_of_multiple(bundle_data->replicas)) { bundle_data 1960 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; bundle_data 1963 lib/pengine/bundle.c get_bundle_variant_data(bundle_data, rsc); bundle_data 1966 lib/pengine/bundle.c free(bundle_data->prefix); bundle_data 1967 lib/pengine/bundle.c free(bundle_data->image); bundle_data 1968 lib/pengine/bundle.c free(bundle_data->control_port); bundle_data 1969 lib/pengine/bundle.c free(bundle_data->host_network); bundle_data 1970 lib/pengine/bundle.c free(bundle_data->host_netmask); bundle_data 1971 lib/pengine/bundle.c free(bundle_data->ip_range_start); bundle_data 1972 lib/pengine/bundle.c free(bundle_data->container_network); bundle_data 1973 lib/pengine/bundle.c free(bundle_data->launcher_options); bundle_data 1974 lib/pengine/bundle.c free(bundle_data->container_command); bundle_data 1975 lib/pengine/bundle.c free(bundle_data->container_host_options); bundle_data 1977 lib/pengine/bundle.c g_list_free_full(bundle_data->replicas, bundle_data 1979 lib/pengine/bundle.c g_list_free_full(bundle_data->mounts, (GDestroyNotify)mount_free); bundle_data 1980 lib/pengine/bundle.c g_list_free_full(bundle_data->ports, (GDestroyNotify)port_free); bundle_data 1983 lib/pengine/bundle.c if(bundle_data->child) { bundle_data 1984 lib/pengine/bundle.c free_xml(bundle_data->child->xml); bundle_data 1985 lib/pengine/bundle.c bundle_data->child->xml = NULL; bundle_data 1986 lib/pengine/bundle.c bundle_data->child->fns->free(bundle_data->child); bundle_data 2011 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; bundle_data 2013 lib/pengine/bundle.c get_bundle_variant_data(bundle_data, rsc); bundle_data 2014 lib/pengine/bundle.c return bundle_data->nreplicas; bundle_data 2021 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; bundle_data 2023 lib/pengine/bundle.c get_bundle_variant_data(bundle_data, rsc); bundle_data 2024 lib/pengine/bundle.c for (GList *item = bundle_data->replicas; item != NULL; item = item->next) { bundle_data 2046 lib/pengine/bundle.c pe__bundle_variant_data_t *bundle_data = NULL; bundle_data 2051 lib/pengine/bundle.c get_bundle_variant_data(bundle_data, rsc); bundle_data 2053 lib/pengine/bundle.c for (GList *gIter = bundle_data->replicas; gIter != NULL; gIter = gIter->next) {