replica 22 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 24 lib/pacemaker/pcmk_sched_bundle.c if (node->details == replica->node->details) { replica 46 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 48 lib/pacemaker/pcmk_sched_bundle.c containers = g_list_append(containers, replica->container); replica 127 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 130 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 131 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 133 lib/pacemaker/pcmk_sched_bundle.c rsc->id, replica->ip->id); replica 134 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->allocate(replica->ip, prefer, data_set); replica 137 lib/pacemaker/pcmk_sched_bundle.c container_host = replica->container->allocated_to; replica 138 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote && pe__is_guest_or_remote_node(container_host)) { replica 144 lib/pacemaker/pcmk_sched_bundle.c INFINITY, replica->remote, replica 149 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote) { replica 151 lib/pacemaker/pcmk_sched_bundle.c rsc->id, replica->remote->id); replica 152 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->allocate(replica->remote, prefer, replica 157 lib/pacemaker/pcmk_sched_bundle.c if (replica->child) { replica 161 lib/pacemaker/pcmk_sched_bundle.c g_hash_table_iter_init(&iter, replica->child->allowed_nodes); replica 163 lib/pacemaker/pcmk_sched_bundle.c if (node->details != replica->node->details) { replica 165 lib/pacemaker/pcmk_sched_bundle.c } else if (!migration_threshold_reached(replica->child, node, replica 171 lib/pacemaker/pcmk_sched_bundle.c pe__set_resource_flags(replica->child->parent, pe_rsc_allocating); replica 173 lib/pacemaker/pcmk_sched_bundle.c rsc->id, replica->child->id); replica 174 lib/pacemaker/pcmk_sched_bundle.c replica->child->cmds->allocate(replica->child, replica->node, replica 176 lib/pacemaker/pcmk_sched_bundle.c pe__clear_resource_flags(replica->child->parent, replica 215 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 217 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 218 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 219 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->create_actions(replica->ip, data_set); replica 221 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { replica 222 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->create_actions(replica->container, replica 225 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote) { replica 226 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->create_actions(replica->remote, data_set); replica 282 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 284 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 285 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica->container); replica 287 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->internal_constraints(replica->container, replica 290 lib/pacemaker/pcmk_sched_bundle.c order_start_start(rsc, replica->container, replica 293 lib/pacemaker/pcmk_sched_bundle.c if (replica->child) { replica 294 lib/pacemaker/pcmk_sched_bundle.c order_stop_stop(rsc, replica->child, replica 297 lib/pacemaker/pcmk_sched_bundle.c order_stop_stop(rsc, replica->container, replica 299 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(replica->container, RSC_START, rsc, RSC_STARTED, replica 301 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(replica->container, RSC_STOP, rsc, RSC_STOPPED, replica 304 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 305 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->internal_constraints(replica->ip, data_set); replica 308 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(replica->ip, RSC_START, replica->container, RSC_START, replica 310 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(replica->container, RSC_STOP, replica->ip, RSC_STOP, replica 313 lib/pacemaker/pcmk_sched_bundle.c rsc_colocation_new("ip-with-docker", NULL, INFINITY, replica->ip, replica 314 lib/pacemaker/pcmk_sched_bundle.c replica->container, NULL, NULL, data_set); replica 317 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote) { replica 323 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->internal_constraints(replica->remote, replica 327 lib/pacemaker/pcmk_sched_bundle.c if (replica->child) { replica 328 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica->remote); replica 379 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 381 lib/pacemaker/pcmk_sched_bundle.c if (is_child_compatible(replica->container, candidate, filter, current)) { replica 383 lib/pacemaker/pcmk_sched_bundle.c rsc_lh->id, replica->container->id, replica 385 lib/pacemaker/pcmk_sched_bundle.c return replica->container; replica 517 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 520 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->rsc_colocation_rh(rsc_lh, replica 521 lib/pacemaker/pcmk_sched_bundle.c replica->container, replica 525 lib/pacemaker/pcmk_sched_bundle.c pe_node_t *chosen = replica->container->fns->location(replica->container, replica 529 lib/pacemaker/pcmk_sched_bundle.c || is_set_recursive(replica->container, pe_rsc_block, TRUE)) { replica 533 lib/pacemaker/pcmk_sched_bundle.c && (replica->child == NULL)) { replica 537 lib/pacemaker/pcmk_sched_bundle.c && (replica->child->next_role < RSC_ROLE_MASTER)) { replica 625 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 627 lib/pacemaker/pcmk_sched_bundle.c if (replica->child replica 628 lib/pacemaker/pcmk_sched_bundle.c && (container == replica->container) replica 629 lib/pacemaker/pcmk_sched_bundle.c && (node->details == replica->node->details)) { replica 630 lib/pacemaker/pcmk_sched_bundle.c return replica; replica 875 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 877 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { replica 878 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->rsc_location(replica->container, replica 881 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 882 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->rsc_location(replica->ip, constraint); replica 910 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 912 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 913 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote && replica->container replica 914 lib/pacemaker/pcmk_sched_bundle.c && pe__bundle_needs_remote_name(replica->remote)) { replica 923 lib/pacemaker/pcmk_sched_bundle.c replica->remote->xml, LOG_ERR); replica 926 lib/pacemaker/pcmk_sched_bundle.c calculated_addr = pe__add_bundle_remote_name(replica->remote, replica 930 lib/pacemaker/pcmk_sched_bundle.c replica->remote->id, calculated_addr); replica 931 lib/pacemaker/pcmk_sched_bundle.c g_hash_table_replace(replica->remote->parameters, replica 946 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 947 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->expand(replica->ip, data_set); replica 949 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { replica 950 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->expand(replica->container, data_set); replica 952 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote) { replica 953 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->expand(replica->remote, data_set); replica 971 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 973 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 974 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 975 lib/pacemaker/pcmk_sched_bundle.c any_created |= replica->ip->cmds->create_probe(replica->ip, node, replica 979 lib/pacemaker/pcmk_sched_bundle.c if (replica->child && (node->details == replica->node->details)) { replica 980 lib/pacemaker/pcmk_sched_bundle.c any_created |= replica->child->cmds->create_probe(replica->child, replica 984 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { replica 985 lib/pacemaker/pcmk_sched_bundle.c bool created = replica->container->cmds->create_probe(replica->container, replica 1009 lib/pacemaker/pcmk_sched_bundle.c if ((other != replica) && (other != NULL) replica 1012 lib/pacemaker/pcmk_sched_bundle.c custom_action_order(replica->container, replica 1013 lib/pacemaker/pcmk_sched_bundle.c pcmk__op_key(replica->container->id, RSC_STATUS, 0), replica 1023 lib/pacemaker/pcmk_sched_bundle.c if (replica->container && replica->remote replica 1024 lib/pacemaker/pcmk_sched_bundle.c && replica->remote->cmds->create_probe(replica->remote, node, replica 1032 lib/pacemaker/pcmk_sched_bundle.c char *probe_uuid = pcmk__op_key(replica->remote->id, RSC_STATUS, replica 1034 lib/pacemaker/pcmk_sched_bundle.c pe_action_t *probe = find_first_action(replica->remote->actions, replica 1041 lib/pacemaker/pcmk_sched_bundle.c replica->remote->id, node->details->uname); replica 1042 lib/pacemaker/pcmk_sched_bundle.c custom_action_order(replica->container, replica 1043 lib/pacemaker/pcmk_sched_bundle.c pcmk__op_key(replica->container->id, RSC_START, 0), replica 1044 lib/pacemaker/pcmk_sched_bundle.c NULL, replica->remote, NULL, probe, replica 1068 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1070 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 1071 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 1072 lib/pacemaker/pcmk_sched_bundle.c LogActions(replica->ip, data_set, terminal); replica 1074 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { replica 1075 lib/pacemaker/pcmk_sched_bundle.c LogActions(replica->container, data_set, terminal); replica 1077 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote) { replica 1078 lib/pacemaker/pcmk_sched_bundle.c LogActions(replica->remote, data_set, terminal); replica 1080 lib/pacemaker/pcmk_sched_bundle.c if (replica->child) { replica 1081 lib/pacemaker/pcmk_sched_bundle.c LogActions(replica->child, data_set, terminal); replica 52 lib/pengine/bundle.c allocate_ip(pe__bundle_variant_data_t *data, pe__bundle_replica_t *replica, replica 59 lib/pengine/bundle.c replica->ipaddr = next_ip(data->ip_last); replica 62 lib/pengine/bundle.c replica->ipaddr = strdup(data->ip_range_start); replica 65 lib/pengine/bundle.c data->ip_last = replica->ipaddr; replica 71 lib/pengine/bundle.c data->prefix, replica->offset, replica 72 lib/pengine/bundle.c replica->ipaddr); replica 76 lib/pengine/bundle.c replica->ipaddr, data->prefix, replica->offset); replica 127 lib/pengine/bundle.c pe__bundle_replica_t *replica, pe_working_set_t *data_set) replica 134 lib/pengine/bundle.c id = crm_strdup_printf("%s-ip-%s", data->prefix, replica->ipaddr); replica 141 lib/pengine/bundle.c data->prefix, replica->offset); replica 143 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "ip", replica->ipaddr); replica 161 lib/pengine/bundle.c if (!common_unpack(xml_ip, &replica->ip, parent, data_set)) { replica 165 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->ip); replica 172 lib/pengine/bundle.c pe__bundle_replica_t *replica, replica 185 lib/pengine/bundle.c id = crm_strdup_printf("%s-docker-%d", data->prefix, replica->offset); replica 193 lib/pengine/bundle.c data->prefix, replica->offset); replica 209 lib/pengine/bundle.c data->prefix, replica->offset); replica 217 lib/pengine/bundle.c replica->ipaddr); replica 234 lib/pengine/bundle.c "%s/%s-%d", mount->source, data->prefix, replica->offset); replica 254 lib/pengine/bundle.c if (replica->ipaddr) { replica 256 lib/pengine/bundle.c replica->ipaddr, port->source, replica 280 lib/pengine/bundle.c if (replica->child) { replica 329 lib/pengine/bundle.c if (!common_unpack(xml_container, &replica->container, parent, data_set)) { replica 332 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->container); replica 338 lib/pengine/bundle.c pe__bundle_replica_t *replica, replica 351 lib/pengine/bundle.c id = crm_strdup_printf("%s-podman-%d", data->prefix, replica->offset); replica 359 lib/pengine/bundle.c data->prefix, replica->offset); replica 376 lib/pengine/bundle.c data->prefix, replica->offset); replica 385 lib/pengine/bundle.c replica->ipaddr); replica 402 lib/pengine/bundle.c "%s/%s-%d", mount->source, data->prefix, replica->offset); replica 422 lib/pengine/bundle.c if (replica->ipaddr) { replica 424 lib/pengine/bundle.c replica->ipaddr, port->source, replica 448 lib/pengine/bundle.c if (replica->child) { replica 497 lib/pengine/bundle.c if (!common_unpack(xml_container, &replica->container, parent, replica 501 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->container); replica 507 lib/pengine/bundle.c pe__bundle_replica_t *replica, pe_working_set_t *data_set) replica 521 lib/pengine/bundle.c id = crm_strdup_printf("%s-rkt-%d", data->prefix, replica->offset); replica 529 lib/pengine/bundle.c data->prefix, replica->offset); replica 543 lib/pengine/bundle.c data->prefix, replica->offset); replica 551 lib/pengine/bundle.c replica->ipaddr); replica 568 lib/pengine/bundle.c "%s/%s-%d", mount->source, data->prefix, replica->offset); replica 594 lib/pengine/bundle.c if (replica->ipaddr) { replica 597 lib/pengine/bundle.c replica->ipaddr, port->source); replica 619 lib/pengine/bundle.c if (replica->child) { replica 669 lib/pengine/bundle.c if (!common_unpack(xml_container, &replica->container, parent, data_set)) { replica 672 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->container); replica 702 lib/pengine/bundle.c pe__bundle_replica_t *replica, replica 705 lib/pengine/bundle.c if (replica->child && valid_network(data)) { replica 710 lib/pengine/bundle.c char *id = crm_strdup_printf("%s-%d", data->prefix, replica->offset); replica 719 lib/pengine/bundle.c replica->child->id, replica->offset); replica 728 lib/pengine/bundle.c connect_name = (replica->ipaddr? replica->ipaddr : "#uname"); replica 739 lib/pengine/bundle.c xml_remote = pe_create_remote_xml(NULL, id, replica->container->id, replica 787 lib/pengine/bundle.c replica->node = pe__copy_node(node); replica 788 lib/pengine/bundle.c replica->node->weight = 500; replica 789 lib/pengine/bundle.c replica->node->rsc_discover_mode = pe_discover_exclusive; replica 792 lib/pengine/bundle.c if (replica->child->allowed_nodes != NULL) { replica 793 lib/pengine/bundle.c g_hash_table_destroy(replica->child->allowed_nodes); replica 795 lib/pengine/bundle.c replica->child->allowed_nodes = g_hash_table_new_full(crm_str_hash, replica 798 lib/pengine/bundle.c g_hash_table_insert(replica->child->allowed_nodes, replica 799 lib/pengine/bundle.c (gpointer) replica->node->details->id, replica 800 lib/pengine/bundle.c pe__copy_node(replica->node)); replica 803 lib/pengine/bundle.c pe_node_t *copy = pe__copy_node(replica->node); replica 805 lib/pengine/bundle.c g_hash_table_insert(replica->child->parent->allowed_nodes, replica 806 lib/pengine/bundle.c (gpointer) replica->node->details->id, copy); replica 808 lib/pengine/bundle.c if (!common_unpack(xml_remote, &replica->remote, parent, data_set)) { replica 812 lib/pengine/bundle.c g_hash_table_iter_init(&gIter, replica->remote->allowed_nodes); replica 820 lib/pengine/bundle.c replica->node->details->remote_rsc = replica->remote; replica 823 lib/pengine/bundle.c replica->remote->container = replica->container; replica 828 lib/pengine/bundle.c g_hash_table_insert(replica->node->details->attrs, replica 840 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->remote); replica 847 lib/pengine/bundle.c pe__bundle_replica_t *replica, pe_working_set_t *data_set) replica 852 lib/pengine/bundle.c if (!create_docker_resource(parent, data, replica, data_set)) { replica 858 lib/pengine/bundle.c if (!create_podman_resource(parent, data, replica, data_set)) { replica 864 lib/pengine/bundle.c if (!create_rkt_resource(parent, data, replica, data_set)) { replica 872 lib/pengine/bundle.c if (create_ip_resource(parent, data, replica, data_set) == FALSE) { replica 875 lib/pengine/bundle.c if(create_remote_resource(parent, data, replica, data_set) == FALSE) { replica 878 lib/pengine/bundle.c if (replica->child && replica->ipaddr) { replica 879 lib/pengine/bundle.c add_hash_param(replica->child->meta, "external-ip", replica->ipaddr); replica 882 lib/pengine/bundle.c if (replica->remote) { replica 891 lib/pengine/bundle.c pe__set_resource_flags(replica->remote, pe_rsc_allow_remote_remotes); replica 946 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 948 lib/pengine/bundle.c if (replica->remote == remote) { replica 949 lib/pengine/bundle.c return replica; replica 992 lib/pengine/bundle.c pe__bundle_replica_t *replica = NULL; replica 998 lib/pengine/bundle.c replica = replica_for_remote(rsc); replica 999 lib/pengine/bundle.c if (replica == NULL) { replica 1003 lib/pengine/bundle.c node = replica->container->allocated_to; replica 1008 lib/pengine/bundle.c node = pe__current_node(replica->container); replica 1292 lib/pengine/bundle.c pe__bundle_replica_t *replica = calloc(1, sizeof(pe__bundle_replica_t)); replica 1294 lib/pengine/bundle.c replica->child = childIter->data; replica 1295 lib/pengine/bundle.c replica->child->exclusive_discover = TRUE; replica 1296 lib/pengine/bundle.c replica->offset = lpc++; replica 1299 lib/pengine/bundle.c if (pcmk_is_set(replica->child->flags, pe_rsc_notify)) { replica 1303 lib/pengine/bundle.c offset += allocate_ip(bundle_data, replica, buffer+offset, replica 1306 lib/pengine/bundle.c replica); replica 1307 lib/pengine/bundle.c bundle_data->attribute_target = g_hash_table_lookup(replica->child->meta, replica 1325 lib/pengine/bundle.c pe__bundle_replica_t *replica = calloc(1, sizeof(pe__bundle_replica_t)); replica 1327 lib/pengine/bundle.c replica->offset = lpc; replica 1328 lib/pengine/bundle.c offset += allocate_ip(bundle_data, replica, buffer+offset, replica 1331 lib/pengine/bundle.c replica); replica 1338 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1340 lib/pengine/bundle.c if (!create_container(rsc, bundle_data, replica, data_set)) { replica 1376 lib/pengine/bundle.c pe__bundle_replica_t *replica = iter->data; replica 1379 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->ip, all); replica 1384 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->child, all); replica 1389 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->container, all); replica 1394 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->remote, all); replica 1425 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1427 lib/pengine/bundle.c CRM_ASSERT(replica && replica->node); replica 1428 lib/pengine/bundle.c if (replica->node->details == node->details) { replica 1429 lib/pengine/bundle.c return replica->child; replica 1489 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1491 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1492 lib/pengine/bundle.c status_print("%s <replica id=\"%d\">\n", pre_text, replica->offset); replica 1493 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); replica 1494 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); replica 1495 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); replica 1496 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); replica 1529 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1530 lib/pengine/bundle.c char *id = crm_itoa(replica->offset); replica 1533 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1535 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { replica 1539 lib/pengine/bundle.c print_ip = replica->ip != NULL && replica 1540 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); replica 1541 lib/pengine/bundle.c print_child = replica->child != NULL && replica 1542 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); replica 1543 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); replica 1544 lib/pengine/bundle.c print_remote = replica->remote != NULL && replica 1545 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); replica 1569 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), options, replica 1570 lib/pengine/bundle.c replica->ip, only_node, only_rsc); replica 1574 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), options, replica 1575 lib/pengine/bundle.c replica->child, only_node, only_rsc); replica 1579 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), options, replica 1580 lib/pengine/bundle.c replica->container, only_node, only_rsc); replica 1584 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), options, replica 1585 lib/pengine/bundle.c replica->remote, only_node, only_rsc); replica 1599 lib/pengine/bundle.c pe__bundle_replica_output_html(pcmk__output_t *out, pe__bundle_replica_t *replica, replica 1602 lib/pengine/bundle.c pe_resource_t *rsc = replica->child; replica 1608 lib/pengine/bundle.c rsc = replica->container; replica 1611 lib/pengine/bundle.c if (replica->remote) { replica 1613 lib/pengine/bundle.c rsc_printable_id(replica->remote)); replica 1616 lib/pengine/bundle.c rsc_printable_id(replica->container)); replica 1618 lib/pengine/bundle.c if (replica->ipaddr) { replica 1620 lib/pengine/bundle.c replica->ipaddr); replica 1652 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1655 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1657 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { replica 1661 lib/pengine/bundle.c print_ip = replica->ip != NULL && replica 1662 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); replica 1663 lib/pengine/bundle.c print_child = replica->child != NULL && replica 1664 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); replica 1665 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); replica 1666 lib/pengine/bundle.c print_remote = replica->remote != NULL && replica 1667 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); replica 1693 lib/pengine/bundle.c snprintf(buffer, LINE_MAX, " Replica[%d]", replica->offset); replica 1700 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), replica 1701 lib/pengine/bundle.c new_options, replica->ip, only_node, only_rsc); replica 1705 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), replica 1706 lib/pengine/bundle.c new_options, replica->child, only_node, only_rsc); replica 1710 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), replica 1711 lib/pengine/bundle.c new_options, replica->container, only_node, only_rsc); replica 1715 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), replica 1716 lib/pengine/bundle.c new_options, replica->remote, only_node, only_rsc); replica 1729 lib/pengine/bundle.c pe__bundle_replica_output_html(out, replica, pe__current_node(replica->container), replica 1741 lib/pengine/bundle.c pe__bundle_replica_output_text(pcmk__output_t *out, pe__bundle_replica_t *replica, replica 1744 lib/pengine/bundle.c pe_resource_t *rsc = replica->child; replica 1750 lib/pengine/bundle.c rsc = replica->container; replica 1753 lib/pengine/bundle.c if (replica->remote) { replica 1755 lib/pengine/bundle.c rsc_printable_id(replica->remote)); replica 1758 lib/pengine/bundle.c rsc_printable_id(replica->container)); replica 1760 lib/pengine/bundle.c if (replica->ipaddr) { replica 1762 lib/pengine/bundle.c replica->ipaddr); replica 1793 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1796 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1798 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { replica 1802 lib/pengine/bundle.c print_ip = replica->ip != NULL && replica 1803 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); replica 1804 lib/pengine/bundle.c print_child = replica->child != NULL && replica 1805 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); replica 1806 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); replica 1807 lib/pengine/bundle.c print_remote = replica->remote != NULL && replica 1808 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); replica 1827 lib/pengine/bundle.c out->list_item(out, NULL, "Replica[%d]", replica->offset); replica 1833 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), replica 1834 lib/pengine/bundle.c new_options, replica->ip, only_node, only_rsc); replica 1838 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), replica 1839 lib/pengine/bundle.c new_options, replica->child, only_node, only_rsc); replica 1843 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), replica 1844 lib/pengine/bundle.c new_options, replica->container, only_node, only_rsc); replica 1848 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), replica 1849 lib/pengine/bundle.c new_options, replica->remote, only_node, only_rsc); replica 1862 lib/pengine/bundle.c pe__bundle_replica_output_text(out, replica, pe__current_node(replica->container), replica 1872 lib/pengine/bundle.c print_bundle_replica(pe__bundle_replica_t *replica, const char *pre_text, replica 1876 lib/pengine/bundle.c pe_resource_t *rsc = replica->child; replica 1882 lib/pengine/bundle.c rsc = replica->container; replica 1885 lib/pengine/bundle.c if (replica->remote) { replica 1887 lib/pengine/bundle.c rsc_printable_id(replica->remote)); replica 1890 lib/pengine/bundle.c rsc_printable_id(replica->container)); replica 1892 lib/pengine/bundle.c if (replica->ipaddr) { replica 1894 lib/pengine/bundle.c replica->ipaddr); replica 1897 lib/pengine/bundle.c node = pe__current_node(replica->container); replica 1932 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1934 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1942 lib/pengine/bundle.c status_print(" %sReplica[%d]\n", pre_text, replica->offset); replica 1947 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); replica 1948 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); replica 1949 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); replica 1950 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); replica 1956 lib/pengine/bundle.c print_bundle_replica(replica, child_text, options, print_data); replica 1970 lib/pengine/bundle.c free_bundle_replica(pe__bundle_replica_t *replica) replica 1972 lib/pengine/bundle.c if (replica == NULL) { replica 1976 lib/pengine/bundle.c if (replica->node) { replica 1977 lib/pengine/bundle.c free(replica->node); replica 1978 lib/pengine/bundle.c replica->node = NULL; replica 1981 lib/pengine/bundle.c if (replica->ip) { replica 1982 lib/pengine/bundle.c free_xml(replica->ip->xml); replica 1983 lib/pengine/bundle.c replica->ip->xml = NULL; replica 1984 lib/pengine/bundle.c replica->ip->fns->free(replica->ip); replica 1985 lib/pengine/bundle.c replica->ip = NULL; replica 1987 lib/pengine/bundle.c if (replica->container) { replica 1988 lib/pengine/bundle.c free_xml(replica->container->xml); replica 1989 lib/pengine/bundle.c replica->container->xml = NULL; replica 1990 lib/pengine/bundle.c replica->container->fns->free(replica->container); replica 1991 lib/pengine/bundle.c replica->container = NULL; replica 1993 lib/pengine/bundle.c if (replica->remote) { replica 1994 lib/pengine/bundle.c free_xml(replica->remote->xml); replica 1995 lib/pengine/bundle.c replica->remote->xml = NULL; replica 1996 lib/pengine/bundle.c replica->remote->fns->free(replica->remote); replica 1997 lib/pengine/bundle.c replica->remote = NULL; replica 1999 lib/pengine/bundle.c free(replica->ipaddr); replica 2000 lib/pengine/bundle.c free(replica); replica 2071 lib/pengine/bundle.c pe__bundle_replica_t *replica = item->data; replica 2073 lib/pengine/bundle.c if (replica->ip) { replica 2074 lib/pengine/bundle.c replica->ip->fns->count(replica->ip); replica 2076 lib/pengine/bundle.c if (replica->child) { replica 2077 lib/pengine/bundle.c replica->child->fns->count(replica->child); replica 2079 lib/pengine/bundle.c if (replica->container) { replica 2080 lib/pengine/bundle.c replica->container->fns->count(replica->container); replica 2082 lib/pengine/bundle.c if (replica->remote) { replica 2083 lib/pengine/bundle.c replica->remote->fns->count(replica->remote); replica 2100 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 2102 lib/pengine/bundle.c if (replica->ip != NULL && !replica->ip->fns->is_filtered(replica->ip, only_rsc, FALSE)) { replica 2105 lib/pengine/bundle.c } else if (replica->child != NULL && !replica->child->fns->is_filtered(replica->child, only_rsc, FALSE)) { replica 2108 lib/pengine/bundle.c } else if (!replica->container->fns->is_filtered(replica->container, only_rsc, FALSE)) { replica 2111 lib/pengine/bundle.c } else if (replica->remote != NULL && !replica->remote->fns->is_filtered(replica->remote, only_rsc, FALSE)) {