replica 24 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 26 lib/pacemaker/pcmk_sched_bundle.c if (node->details == replica->node->details) { replica 48 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 50 lib/pacemaker/pcmk_sched_bundle.c containers = g_list_append(containers, replica->container); replica 130 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 133 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 134 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 136 lib/pacemaker/pcmk_sched_bundle.c rsc->id, replica->ip->id); replica 137 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->allocate(replica->ip, prefer, data_set); replica 140 lib/pacemaker/pcmk_sched_bundle.c container_host = replica->container->allocated_to; replica 141 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote && pe__is_guest_or_remote_node(container_host)) { replica 147 lib/pacemaker/pcmk_sched_bundle.c INFINITY, replica->remote, replica 152 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote) { replica 154 lib/pacemaker/pcmk_sched_bundle.c rsc->id, replica->remote->id); replica 155 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->allocate(replica->remote, prefer, replica 160 lib/pacemaker/pcmk_sched_bundle.c if (replica->child) { replica 164 lib/pacemaker/pcmk_sched_bundle.c g_hash_table_iter_init(&iter, replica->child->allowed_nodes); replica 166 lib/pacemaker/pcmk_sched_bundle.c if (node->details != replica->node->details) { replica 168 lib/pacemaker/pcmk_sched_bundle.c } else if (!migration_threshold_reached(replica->child, node, replica 174 lib/pacemaker/pcmk_sched_bundle.c pe__set_resource_flags(replica->child->parent, pe_rsc_allocating); replica 176 lib/pacemaker/pcmk_sched_bundle.c rsc->id, replica->child->id); replica 177 lib/pacemaker/pcmk_sched_bundle.c replica->child->cmds->allocate(replica->child, replica->node, replica 179 lib/pacemaker/pcmk_sched_bundle.c pe__clear_resource_flags(replica->child->parent, replica 218 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 220 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 221 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 222 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->create_actions(replica->ip, data_set); replica 224 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { replica 225 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->create_actions(replica->container, replica 228 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote) { replica 229 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->create_actions(replica->remote, data_set); replica 285 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 287 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 288 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica->container); replica 290 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->internal_constraints(replica->container, replica 293 lib/pacemaker/pcmk_sched_bundle.c order_start_start(rsc, replica->container, replica 296 lib/pacemaker/pcmk_sched_bundle.c if (replica->child) { replica 297 lib/pacemaker/pcmk_sched_bundle.c order_stop_stop(rsc, replica->child, replica 300 lib/pacemaker/pcmk_sched_bundle.c order_stop_stop(rsc, replica->container, replica 302 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(replica->container, RSC_START, rsc, RSC_STARTED, replica 304 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(replica->container, RSC_STOP, rsc, RSC_STOPPED, replica 307 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 308 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->internal_constraints(replica->ip, data_set); replica 311 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(replica->ip, RSC_START, replica->container, RSC_START, replica 313 lib/pacemaker/pcmk_sched_bundle.c new_rsc_order(replica->container, RSC_STOP, replica->ip, RSC_STOP, replica 316 lib/pacemaker/pcmk_sched_bundle.c pcmk__new_colocation("ip-with-docker", NULL, INFINITY, replica->ip, replica 317 lib/pacemaker/pcmk_sched_bundle.c replica->container, NULL, NULL, true, replica 321 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote) { replica 327 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->internal_constraints(replica->remote, replica 331 lib/pacemaker/pcmk_sched_bundle.c if (replica->child) { replica 332 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica->remote); replica 383 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 385 lib/pacemaker/pcmk_sched_bundle.c if (is_child_compatible(replica->container, candidate, filter, current)) { replica 387 lib/pacemaker/pcmk_sched_bundle.c rsc_lh->id, replica->container->id, replica 389 lib/pacemaker/pcmk_sched_bundle.c return replica->container; replica 527 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 530 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->rsc_colocation_rh(rsc_lh, replica 531 lib/pacemaker/pcmk_sched_bundle.c replica->container, replica 535 lib/pacemaker/pcmk_sched_bundle.c pe_node_t *chosen = replica->container->fns->location(replica->container, replica 539 lib/pacemaker/pcmk_sched_bundle.c || is_set_recursive(replica->container, pe_rsc_block, TRUE)) { replica 543 lib/pacemaker/pcmk_sched_bundle.c && (replica->child == NULL)) { replica 547 lib/pacemaker/pcmk_sched_bundle.c && (replica->child->next_role < RSC_ROLE_PROMOTED)) { replica 635 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 637 lib/pacemaker/pcmk_sched_bundle.c if (replica->child replica 638 lib/pacemaker/pcmk_sched_bundle.c && (container == replica->container) replica 639 lib/pacemaker/pcmk_sched_bundle.c && (node->details == replica->node->details)) { replica 640 lib/pacemaker/pcmk_sched_bundle.c return replica; replica 885 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 887 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { replica 888 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->rsc_location(replica->container, replica 891 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 892 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->rsc_location(replica->ip, constraint); replica 920 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 922 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 923 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote && replica->container replica 924 lib/pacemaker/pcmk_sched_bundle.c && pe__bundle_needs_remote_name(replica->remote, data_set)) { replica 933 lib/pacemaker/pcmk_sched_bundle.c replica->remote->xml, LOG_ERR); replica 937 lib/pacemaker/pcmk_sched_bundle.c calculated_addr = pe__add_bundle_remote_name(replica->remote, replica 946 lib/pacemaker/pcmk_sched_bundle.c GHashTable *params = pe_rsc_params(replica->remote, replica 950 lib/pacemaker/pcmk_sched_bundle.c replica->remote->id, calculated_addr); replica 966 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 967 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->expand(replica->ip, data_set); replica 969 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { replica 970 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->expand(replica->container, data_set); replica 972 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote) { replica 973 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->expand(replica->remote, data_set); replica 991 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 993 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 994 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 995 lib/pacemaker/pcmk_sched_bundle.c any_created |= replica->ip->cmds->create_probe(replica->ip, node, replica 999 lib/pacemaker/pcmk_sched_bundle.c if (replica->child && (node->details == replica->node->details)) { replica 1000 lib/pacemaker/pcmk_sched_bundle.c any_created |= replica->child->cmds->create_probe(replica->child, replica 1004 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { replica 1005 lib/pacemaker/pcmk_sched_bundle.c bool created = replica->container->cmds->create_probe(replica->container, replica 1029 lib/pacemaker/pcmk_sched_bundle.c if ((other != replica) && (other != NULL) replica 1032 lib/pacemaker/pcmk_sched_bundle.c custom_action_order(replica->container, replica 1033 lib/pacemaker/pcmk_sched_bundle.c pcmk__op_key(replica->container->id, RSC_STATUS, 0), replica 1043 lib/pacemaker/pcmk_sched_bundle.c if (replica->container && replica->remote replica 1044 lib/pacemaker/pcmk_sched_bundle.c && replica->remote->cmds->create_probe(replica->remote, node, replica 1052 lib/pacemaker/pcmk_sched_bundle.c char *probe_uuid = pcmk__op_key(replica->remote->id, RSC_STATUS, replica 1054 lib/pacemaker/pcmk_sched_bundle.c pe_action_t *probe = find_first_action(replica->remote->actions, replica 1061 lib/pacemaker/pcmk_sched_bundle.c replica->remote->id, node->details->uname); replica 1062 lib/pacemaker/pcmk_sched_bundle.c custom_action_order(replica->container, replica 1063 lib/pacemaker/pcmk_sched_bundle.c pcmk__op_key(replica->container->id, RSC_START, 0), replica 1064 lib/pacemaker/pcmk_sched_bundle.c NULL, replica->remote, NULL, probe, replica 1087 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1089 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 1090 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 1091 lib/pacemaker/pcmk_sched_bundle.c LogActions(replica->ip, data_set); replica 1093 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { replica 1094 lib/pacemaker/pcmk_sched_bundle.c LogActions(replica->container, data_set); replica 1096 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote) { replica 1097 lib/pacemaker/pcmk_sched_bundle.c LogActions(replica->remote, data_set); replica 1099 lib/pacemaker/pcmk_sched_bundle.c if (replica->child) { replica 1100 lib/pacemaker/pcmk_sched_bundle.c LogActions(replica->child, data_set); replica 53 lib/pengine/bundle.c allocate_ip(pe__bundle_variant_data_t *data, pe__bundle_replica_t *replica, replica 60 lib/pengine/bundle.c replica->ipaddr = next_ip(data->ip_last); replica 63 lib/pengine/bundle.c replica->ipaddr = strdup(data->ip_range_start); replica 66 lib/pengine/bundle.c data->ip_last = replica->ipaddr; replica 72 lib/pengine/bundle.c data->prefix, replica->offset, replica 73 lib/pengine/bundle.c replica->ipaddr); replica 77 lib/pengine/bundle.c replica->ipaddr, data->prefix, replica->offset); replica 128 lib/pengine/bundle.c pe__bundle_replica_t *replica, pe_working_set_t *data_set) replica 135 lib/pengine/bundle.c id = crm_strdup_printf("%s-ip-%s", data->prefix, replica->ipaddr); replica 142 lib/pengine/bundle.c data->prefix, replica->offset); replica 144 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "ip", replica->ipaddr); replica 162 lib/pengine/bundle.c if (!common_unpack(xml_ip, &replica->ip, parent, data_set)) { replica 166 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->ip); replica 173 lib/pengine/bundle.c pe__bundle_replica_t *replica, replica 186 lib/pengine/bundle.c id = crm_strdup_printf("%s-docker-%d", data->prefix, replica->offset); replica 194 lib/pengine/bundle.c data->prefix, replica->offset); replica 210 lib/pengine/bundle.c data->prefix, replica->offset); replica 218 lib/pengine/bundle.c replica->ipaddr); replica 235 lib/pengine/bundle.c "%s/%s-%d", mount->source, data->prefix, replica->offset); replica 255 lib/pengine/bundle.c if (replica->ipaddr) { replica 257 lib/pengine/bundle.c replica->ipaddr, port->source, replica 281 lib/pengine/bundle.c if (replica->child) { replica 328 lib/pengine/bundle.c if (!common_unpack(xml_container, &replica->container, parent, data_set)) { replica 331 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->container); replica 337 lib/pengine/bundle.c pe__bundle_replica_t *replica, replica 350 lib/pengine/bundle.c id = crm_strdup_printf("%s-podman-%d", data->prefix, replica->offset); replica 358 lib/pengine/bundle.c data->prefix, replica->offset); replica 375 lib/pengine/bundle.c data->prefix, replica->offset); replica 384 lib/pengine/bundle.c replica->ipaddr); replica 401 lib/pengine/bundle.c "%s/%s-%d", mount->source, data->prefix, replica->offset); replica 421 lib/pengine/bundle.c if (replica->ipaddr) { replica 423 lib/pengine/bundle.c replica->ipaddr, port->source, replica 447 lib/pengine/bundle.c if (replica->child) { replica 494 lib/pengine/bundle.c if (!common_unpack(xml_container, &replica->container, parent, replica 498 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->container); replica 504 lib/pengine/bundle.c pe__bundle_replica_t *replica, pe_working_set_t *data_set) replica 518 lib/pengine/bundle.c id = crm_strdup_printf("%s-rkt-%d", data->prefix, replica->offset); replica 526 lib/pengine/bundle.c data->prefix, replica->offset); replica 540 lib/pengine/bundle.c data->prefix, replica->offset); replica 548 lib/pengine/bundle.c replica->ipaddr); replica 565 lib/pengine/bundle.c "%s/%s-%d", mount->source, data->prefix, replica->offset); replica 591 lib/pengine/bundle.c if (replica->ipaddr) { replica 594 lib/pengine/bundle.c replica->ipaddr, port->source); replica 616 lib/pengine/bundle.c if (replica->child) { replica 664 lib/pengine/bundle.c if (!common_unpack(xml_container, &replica->container, parent, data_set)) { replica 667 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->container); replica 697 lib/pengine/bundle.c pe__bundle_replica_t *replica, replica 700 lib/pengine/bundle.c if (replica->child && valid_network(data)) { replica 705 lib/pengine/bundle.c char *id = crm_strdup_printf("%s-%d", data->prefix, replica->offset); replica 714 lib/pengine/bundle.c replica->child->id, replica->offset); replica 723 lib/pengine/bundle.c connect_name = (replica->ipaddr? replica->ipaddr : "#uname"); replica 734 lib/pengine/bundle.c xml_remote = pe_create_remote_xml(NULL, id, replica->container->id, replica 782 lib/pengine/bundle.c replica->node = pe__copy_node(node); replica 783 lib/pengine/bundle.c replica->node->weight = 500; replica 784 lib/pengine/bundle.c replica->node->rsc_discover_mode = pe_discover_exclusive; replica 787 lib/pengine/bundle.c if (replica->child->allowed_nodes != NULL) { replica 788 lib/pengine/bundle.c g_hash_table_destroy(replica->child->allowed_nodes); replica 790 lib/pengine/bundle.c replica->child->allowed_nodes = pcmk__strkey_table(NULL, free); replica 791 lib/pengine/bundle.c g_hash_table_insert(replica->child->allowed_nodes, replica 792 lib/pengine/bundle.c (gpointer) replica->node->details->id, replica 793 lib/pengine/bundle.c pe__copy_node(replica->node)); replica 796 lib/pengine/bundle.c pe_node_t *copy = pe__copy_node(replica->node); replica 798 lib/pengine/bundle.c g_hash_table_insert(replica->child->parent->allowed_nodes, replica 799 lib/pengine/bundle.c (gpointer) replica->node->details->id, copy); replica 801 lib/pengine/bundle.c if (!common_unpack(xml_remote, &replica->remote, parent, data_set)) { replica 805 lib/pengine/bundle.c g_hash_table_iter_init(&gIter, replica->remote->allowed_nodes); replica 813 lib/pengine/bundle.c replica->node->details->remote_rsc = replica->remote; replica 816 lib/pengine/bundle.c replica->remote->container = replica->container; replica 821 lib/pengine/bundle.c g_hash_table_insert(replica->node->details->attrs, replica 833 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->remote); replica 840 lib/pengine/bundle.c pe__bundle_replica_t *replica, pe_working_set_t *data_set) replica 845 lib/pengine/bundle.c if (!create_docker_resource(parent, data, replica, data_set)) { replica 851 lib/pengine/bundle.c if (!create_podman_resource(parent, data, replica, data_set)) { replica 857 lib/pengine/bundle.c if (!create_rkt_resource(parent, data, replica, data_set)) { replica 865 lib/pengine/bundle.c if (create_ip_resource(parent, data, replica, data_set) == FALSE) { replica 868 lib/pengine/bundle.c if(create_remote_resource(parent, data, replica, data_set) == FALSE) { replica 871 lib/pengine/bundle.c if (replica->child && replica->ipaddr) { replica 872 lib/pengine/bundle.c add_hash_param(replica->child->meta, "external-ip", replica->ipaddr); replica 875 lib/pengine/bundle.c if (replica->remote) { replica 884 lib/pengine/bundle.c pe__set_resource_flags(replica->remote, pe_rsc_allow_remote_remotes); replica 939 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 941 lib/pengine/bundle.c if (replica->remote == remote) { replica 942 lib/pengine/bundle.c return replica; replica 974 lib/pengine/bundle.c pe__bundle_replica_t *replica = NULL; replica 980 lib/pengine/bundle.c replica = replica_for_remote(rsc); replica 981 lib/pengine/bundle.c if (replica == NULL) { replica 985 lib/pengine/bundle.c node = replica->container->allocated_to; replica 990 lib/pengine/bundle.c node = pe__current_node(replica->container); replica 1262 lib/pengine/bundle.c pe__bundle_replica_t *replica = calloc(1, sizeof(pe__bundle_replica_t)); replica 1264 lib/pengine/bundle.c replica->child = childIter->data; replica 1265 lib/pengine/bundle.c replica->child->exclusive_discover = TRUE; replica 1266 lib/pengine/bundle.c replica->offset = lpc++; replica 1269 lib/pengine/bundle.c if (pcmk_is_set(replica->child->flags, pe_rsc_notify)) { replica 1273 lib/pengine/bundle.c offset += allocate_ip(bundle_data, replica, buffer+offset, replica 1276 lib/pengine/bundle.c replica); replica 1277 lib/pengine/bundle.c bundle_data->attribute_target = g_hash_table_lookup(replica->child->meta, replica 1295 lib/pengine/bundle.c pe__bundle_replica_t *replica = calloc(1, sizeof(pe__bundle_replica_t)); replica 1297 lib/pengine/bundle.c replica->offset = lpc; replica 1298 lib/pengine/bundle.c offset += allocate_ip(bundle_data, replica, buffer+offset, replica 1301 lib/pengine/bundle.c replica); replica 1308 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1310 lib/pengine/bundle.c if (!create_container(rsc, bundle_data, replica, data_set)) { replica 1346 lib/pengine/bundle.c pe__bundle_replica_t *replica = iter->data; replica 1349 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->ip, all); replica 1354 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->child, all); replica 1359 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->container, all); replica 1364 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->remote, all); replica 1395 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1397 lib/pengine/bundle.c CRM_ASSERT(replica && replica->node); replica 1398 lib/pengine/bundle.c if (replica->node->details == node->details) { replica 1399 lib/pengine/bundle.c return replica->child; replica 1459 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1461 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1462 lib/pengine/bundle.c status_print("%s <replica id=\"%d\">\n", pre_text, replica->offset); replica 1463 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); replica 1464 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); replica 1465 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); replica 1466 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); replica 1499 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1503 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1505 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { replica 1509 lib/pengine/bundle.c print_ip = replica->ip != NULL && replica 1510 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); replica 1511 lib/pengine/bundle.c print_child = replica->child != NULL && replica 1512 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); replica 1513 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); replica 1514 lib/pengine/bundle.c print_remote = replica->remote != NULL && replica 1515 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); replica 1534 lib/pengine/bundle.c id = pcmk__itoa(replica->offset); replica 1540 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), show_opts, replica 1541 lib/pengine/bundle.c replica->ip, only_node, only_rsc); replica 1545 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), show_opts, replica 1546 lib/pengine/bundle.c replica->child, only_node, only_rsc); replica 1550 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), show_opts, replica 1551 lib/pengine/bundle.c replica->container, only_node, only_rsc); replica 1555 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), show_opts, replica 1556 lib/pengine/bundle.c replica->remote, only_node, only_rsc); replica 1570 lib/pengine/bundle.c pe__bundle_replica_output_html(pcmk__output_t *out, pe__bundle_replica_t *replica, replica 1573 lib/pengine/bundle.c pe_resource_t *rsc = replica->child; replica 1579 lib/pengine/bundle.c rsc = replica->container; replica 1582 lib/pengine/bundle.c if (replica->remote) { replica 1584 lib/pengine/bundle.c rsc_printable_id(replica->remote)); replica 1587 lib/pengine/bundle.c rsc_printable_id(replica->container)); replica 1589 lib/pengine/bundle.c if (replica->ipaddr) { replica 1591 lib/pengine/bundle.c replica->ipaddr); replica 1622 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1625 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1627 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { replica 1631 lib/pengine/bundle.c print_ip = replica->ip != NULL && replica 1632 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); replica 1633 lib/pengine/bundle.c print_child = replica->child != NULL && replica 1634 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); replica 1635 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); replica 1636 lib/pengine/bundle.c print_remote = replica->remote != NULL && replica 1637 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); replica 1653 lib/pengine/bundle.c out->begin_list(out, NULL, NULL, "Replica[%d]", replica->offset); replica 1657 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), replica 1658 lib/pengine/bundle.c new_show_opts, replica->ip, only_node, only_rsc); replica 1662 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), replica 1663 lib/pengine/bundle.c new_show_opts, replica->child, only_node, only_rsc); replica 1667 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), replica 1668 lib/pengine/bundle.c new_show_opts, replica->container, only_node, only_rsc); replica 1672 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), replica 1673 lib/pengine/bundle.c new_show_opts, replica->remote, only_node, only_rsc); replica 1688 lib/pengine/bundle.c pe__bundle_replica_output_html(out, replica, pe__current_node(replica->container), replica 1698 lib/pengine/bundle.c pe__bundle_replica_output_text(pcmk__output_t *out, pe__bundle_replica_t *replica, replica 1701 lib/pengine/bundle.c pe_resource_t *rsc = replica->child; replica 1707 lib/pengine/bundle.c rsc = replica->container; replica 1710 lib/pengine/bundle.c if (replica->remote) { replica 1712 lib/pengine/bundle.c rsc_printable_id(replica->remote)); replica 1715 lib/pengine/bundle.c rsc_printable_id(replica->container)); replica 1717 lib/pengine/bundle.c if (replica->ipaddr) { replica 1719 lib/pengine/bundle.c replica->ipaddr); replica 1750 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1753 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1755 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { replica 1759 lib/pengine/bundle.c print_ip = replica->ip != NULL && replica 1760 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); replica 1761 lib/pengine/bundle.c print_child = replica->child != NULL && replica 1762 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); replica 1763 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); replica 1764 lib/pengine/bundle.c print_remote = replica->remote != NULL && replica 1765 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); replica 1781 lib/pengine/bundle.c out->list_item(out, NULL, "Replica[%d]", replica->offset); replica 1787 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), replica 1788 lib/pengine/bundle.c new_show_opts, replica->ip, only_node, only_rsc); replica 1792 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), replica 1793 lib/pengine/bundle.c new_show_opts, replica->child, only_node, only_rsc); replica 1797 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), replica 1798 lib/pengine/bundle.c new_show_opts, replica->container, only_node, only_rsc); replica 1802 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), replica 1803 lib/pengine/bundle.c new_show_opts, replica->remote, only_node, only_rsc); replica 1816 lib/pengine/bundle.c pe__bundle_replica_output_text(out, replica, pe__current_node(replica->container), replica 1826 lib/pengine/bundle.c print_bundle_replica(pe__bundle_replica_t *replica, const char *pre_text, replica 1830 lib/pengine/bundle.c pe_resource_t *rsc = replica->child; replica 1836 lib/pengine/bundle.c rsc = replica->container; replica 1839 lib/pengine/bundle.c if (replica->remote) { replica 1841 lib/pengine/bundle.c rsc_printable_id(replica->remote)); replica 1844 lib/pengine/bundle.c rsc_printable_id(replica->container)); replica 1846 lib/pengine/bundle.c if (replica->ipaddr) { replica 1848 lib/pengine/bundle.c replica->ipaddr); replica 1851 lib/pengine/bundle.c node = pe__current_node(replica->container); replica 1886 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1888 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1896 lib/pengine/bundle.c status_print(" %sReplica[%d]\n", pre_text, replica->offset); replica 1901 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); replica 1902 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); replica 1903 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); replica 1904 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); replica 1910 lib/pengine/bundle.c print_bundle_replica(replica, child_text, options, print_data); replica 1924 lib/pengine/bundle.c free_bundle_replica(pe__bundle_replica_t *replica) replica 1926 lib/pengine/bundle.c if (replica == NULL) { replica 1930 lib/pengine/bundle.c if (replica->node) { replica 1931 lib/pengine/bundle.c free(replica->node); replica 1932 lib/pengine/bundle.c replica->node = NULL; replica 1935 lib/pengine/bundle.c if (replica->ip) { replica 1936 lib/pengine/bundle.c free_xml(replica->ip->xml); replica 1937 lib/pengine/bundle.c replica->ip->xml = NULL; replica 1938 lib/pengine/bundle.c replica->ip->fns->free(replica->ip); replica 1939 lib/pengine/bundle.c replica->ip = NULL; replica 1941 lib/pengine/bundle.c if (replica->container) { replica 1942 lib/pengine/bundle.c free_xml(replica->container->xml); replica 1943 lib/pengine/bundle.c replica->container->xml = NULL; replica 1944 lib/pengine/bundle.c replica->container->fns->free(replica->container); replica 1945 lib/pengine/bundle.c replica->container = NULL; replica 1947 lib/pengine/bundle.c if (replica->remote) { replica 1948 lib/pengine/bundle.c free_xml(replica->remote->xml); replica 1949 lib/pengine/bundle.c replica->remote->xml = NULL; replica 1950 lib/pengine/bundle.c replica->remote->fns->free(replica->remote); replica 1951 lib/pengine/bundle.c replica->remote = NULL; replica 1953 lib/pengine/bundle.c free(replica->ipaddr); replica 1954 lib/pengine/bundle.c free(replica); replica 2025 lib/pengine/bundle.c pe__bundle_replica_t *replica = item->data; replica 2027 lib/pengine/bundle.c if (replica->ip) { replica 2028 lib/pengine/bundle.c replica->ip->fns->count(replica->ip); replica 2030 lib/pengine/bundle.c if (replica->child) { replica 2031 lib/pengine/bundle.c replica->child->fns->count(replica->child); replica 2033 lib/pengine/bundle.c if (replica->container) { replica 2034 lib/pengine/bundle.c replica->container->fns->count(replica->container); replica 2036 lib/pengine/bundle.c if (replica->remote) { replica 2037 lib/pengine/bundle.c replica->remote->fns->count(replica->remote); replica 2054 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 2056 lib/pengine/bundle.c if (replica->ip != NULL && !replica->ip->fns->is_filtered(replica->ip, only_rsc, FALSE)) { replica 2059 lib/pengine/bundle.c } else if (replica->child != NULL && !replica->child->fns->is_filtered(replica->child, only_rsc, FALSE)) { replica 2062 lib/pengine/bundle.c } else if (!replica->container->fns->is_filtered(replica->container, only_rsc, FALSE)) { replica 2065 lib/pengine/bundle.c } else if (replica->remote != NULL && !replica->remote->fns->is_filtered(replica->remote, only_rsc, FALSE)) {