replica 26 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 28 lib/pacemaker/pcmk_sched_bundle.c if (node->details == replica->node->details) { replica 50 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 52 lib/pacemaker/pcmk_sched_bundle.c containers = g_list_append(containers, replica->container); replica 93 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 96 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 97 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 99 lib/pacemaker/pcmk_sched_bundle.c rsc->id, replica->ip->id); replica 100 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->allocate(replica->ip, prefer, data_set); replica 103 lib/pacemaker/pcmk_sched_bundle.c container_host = replica->container->allocated_to; replica 104 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote && pe__is_guest_or_remote_node(container_host)) { replica 110 lib/pacemaker/pcmk_sched_bundle.c INFINITY, replica->remote, replica 115 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote) { replica 117 lib/pacemaker/pcmk_sched_bundle.c rsc->id, replica->remote->id); replica 118 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->allocate(replica->remote, prefer, replica 123 lib/pacemaker/pcmk_sched_bundle.c if (replica->child) { replica 127 lib/pacemaker/pcmk_sched_bundle.c g_hash_table_iter_init(&iter, replica->child->allowed_nodes); replica 129 lib/pacemaker/pcmk_sched_bundle.c if (node->details != replica->node->details) { replica 131 lib/pacemaker/pcmk_sched_bundle.c } else if (!pcmk__threshold_reached(replica->child, node, replica 137 lib/pacemaker/pcmk_sched_bundle.c pe__set_resource_flags(replica->child->parent, pe_rsc_allocating); replica 139 lib/pacemaker/pcmk_sched_bundle.c rsc->id, replica->child->id); replica 140 lib/pacemaker/pcmk_sched_bundle.c replica->child->cmds->allocate(replica->child, replica->node, replica 142 lib/pacemaker/pcmk_sched_bundle.c pe__clear_resource_flags(replica->child->parent, replica 181 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 183 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 184 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 185 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->create_actions(replica->ip, data_set); replica 187 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { replica 188 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->create_actions(replica->container, replica 191 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote) { replica 192 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->create_actions(replica->remote, data_set); replica 258 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 260 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 261 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica->container); replica 263 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->internal_constraints(replica->container, replica 266 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_starts(rsc, replica->container, replica 270 lib/pacemaker/pcmk_sched_bundle.c if (replica->child) { replica 271 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_stops(rsc, replica->child, replica 274 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_stops(rsc, replica->container, replica 276 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_resource_actions(replica->container, RSC_START, rsc, replica 279 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_resource_actions(replica->container, RSC_STOP, rsc, replica 283 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 284 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->internal_constraints(replica->ip, data_set); replica 287 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_starts(replica->ip, replica->container, replica 290 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_stops(replica->container, replica->ip, replica 294 lib/pacemaker/pcmk_sched_bundle.c pcmk__new_colocation("ip-with-docker", NULL, INFINITY, replica->ip, replica 295 lib/pacemaker/pcmk_sched_bundle.c replica->container, NULL, NULL, true, replica 299 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote) { replica 305 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->internal_constraints(replica->remote, replica 309 lib/pacemaker/pcmk_sched_bundle.c if (replica->child) { replica 310 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica->remote); replica 364 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 366 lib/pacemaker/pcmk_sched_bundle.c if (is_child_compatible(replica->container, candidate, filter, current)) { replica 368 lib/pacemaker/pcmk_sched_bundle.c rsc_lh->id, replica->container->id, replica 370 lib/pacemaker/pcmk_sched_bundle.c return replica->container; replica 513 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 516 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->rsc_colocation_rh(dependent, replica 517 lib/pacemaker/pcmk_sched_bundle.c replica->container, replica 521 lib/pacemaker/pcmk_sched_bundle.c pe_node_t *chosen = replica->container->fns->location(replica->container, replica 525 lib/pacemaker/pcmk_sched_bundle.c || is_set_recursive(replica->container, pe_rsc_block, TRUE)) { replica 529 lib/pacemaker/pcmk_sched_bundle.c && (replica->child == NULL)) { replica 533 lib/pacemaker/pcmk_sched_bundle.c && (replica->child->next_role < RSC_ROLE_PROMOTED)) { replica 623 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 625 lib/pacemaker/pcmk_sched_bundle.c if (replica->child replica 626 lib/pacemaker/pcmk_sched_bundle.c && (container == replica->container) replica 627 lib/pacemaker/pcmk_sched_bundle.c && (node->details == replica->node->details)) { replica 628 lib/pacemaker/pcmk_sched_bundle.c return replica; replica 873 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 875 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { replica 876 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->rsc_location(replica->container, replica 879 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 880 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->rsc_location(replica->ip, constraint); replica 908 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 910 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 911 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote && replica->container replica 912 lib/pacemaker/pcmk_sched_bundle.c && pe__bundle_needs_remote_name(replica->remote, data_set)) { replica 921 lib/pacemaker/pcmk_sched_bundle.c replica->remote->xml, LOG_ERR); replica 925 lib/pacemaker/pcmk_sched_bundle.c calculated_addr = pe__add_bundle_remote_name(replica->remote, replica 934 lib/pacemaker/pcmk_sched_bundle.c GHashTable *params = pe_rsc_params(replica->remote, replica 938 lib/pacemaker/pcmk_sched_bundle.c replica->remote->id, calculated_addr); replica 954 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 955 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->expand(replica->ip, data_set); replica 957 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { replica 958 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->expand(replica->container, data_set); replica 960 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote) { replica 961 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->expand(replica->remote, data_set); replica 979 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 981 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 982 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 983 lib/pacemaker/pcmk_sched_bundle.c any_created |= replica->ip->cmds->create_probe(replica->ip, node, replica 987 lib/pacemaker/pcmk_sched_bundle.c if (replica->child && (node->details == replica->node->details)) { replica 988 lib/pacemaker/pcmk_sched_bundle.c any_created |= replica->child->cmds->create_probe(replica->child, replica 992 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { replica 993 lib/pacemaker/pcmk_sched_bundle.c bool created = replica->container->cmds->create_probe(replica->container, replica 1017 lib/pacemaker/pcmk_sched_bundle.c if ((other != replica) && (other != NULL) replica 1020 lib/pacemaker/pcmk_sched_bundle.c pcmk__new_ordering(replica->container, replica 1021 lib/pacemaker/pcmk_sched_bundle.c pcmk__op_key(replica->container->id, RSC_STATUS, 0), replica 1031 lib/pacemaker/pcmk_sched_bundle.c if (replica->container && replica->remote replica 1032 lib/pacemaker/pcmk_sched_bundle.c && replica->remote->cmds->create_probe(replica->remote, node, replica 1040 lib/pacemaker/pcmk_sched_bundle.c char *probe_uuid = pcmk__op_key(replica->remote->id, RSC_STATUS, replica 1042 lib/pacemaker/pcmk_sched_bundle.c pe_action_t *probe = find_first_action(replica->remote->actions, replica 1049 lib/pacemaker/pcmk_sched_bundle.c replica->remote->id, node->details->uname); replica 1050 lib/pacemaker/pcmk_sched_bundle.c pcmk__new_ordering(replica->container, replica 1051 lib/pacemaker/pcmk_sched_bundle.c pcmk__op_key(replica->container->id, RSC_START, 0), replica 1052 lib/pacemaker/pcmk_sched_bundle.c NULL, replica->remote, NULL, probe, replica 1075 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1077 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 1078 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 1079 lib/pacemaker/pcmk_sched_bundle.c LogActions(replica->ip, data_set); replica 1081 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { replica 1082 lib/pacemaker/pcmk_sched_bundle.c LogActions(replica->container, data_set); replica 1084 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote) { replica 1085 lib/pacemaker/pcmk_sched_bundle.c LogActions(replica->remote, data_set); replica 1087 lib/pacemaker/pcmk_sched_bundle.c if (replica->child) { replica 1088 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 693 lib/pengine/bundle.c pe__bundle_replica_t *replica, replica 696 lib/pengine/bundle.c if (replica->child && valid_network(data)) { replica 700 lib/pengine/bundle.c char *id = crm_strdup_printf("%s-%d", data->prefix, replica->offset); replica 709 lib/pengine/bundle.c replica->child->id, replica->offset); replica 718 lib/pengine/bundle.c connect_name = (replica->ipaddr? replica->ipaddr : "#uname"); replica 729 lib/pengine/bundle.c xml_remote = pe_create_remote_xml(NULL, id, replica->container->id, replica 775 lib/pengine/bundle.c replica->node = pe__copy_node(node); replica 776 lib/pengine/bundle.c replica->node->weight = 500; replica 777 lib/pengine/bundle.c replica->node->rsc_discover_mode = pe_discover_exclusive; replica 780 lib/pengine/bundle.c if (replica->child->allowed_nodes != NULL) { replica 781 lib/pengine/bundle.c g_hash_table_destroy(replica->child->allowed_nodes); replica 783 lib/pengine/bundle.c replica->child->allowed_nodes = pcmk__strkey_table(NULL, free); replica 784 lib/pengine/bundle.c g_hash_table_insert(replica->child->allowed_nodes, replica 785 lib/pengine/bundle.c (gpointer) replica->node->details->id, replica 786 lib/pengine/bundle.c pe__copy_node(replica->node)); replica 789 lib/pengine/bundle.c pe_node_t *copy = pe__copy_node(replica->node); replica 791 lib/pengine/bundle.c g_hash_table_insert(replica->child->parent->allowed_nodes, replica 792 lib/pengine/bundle.c (gpointer) replica->node->details->id, copy); replica 794 lib/pengine/bundle.c if (!common_unpack(xml_remote, &replica->remote, parent, data_set)) { replica 798 lib/pengine/bundle.c g_hash_table_iter_init(&gIter, replica->remote->allowed_nodes); replica 806 lib/pengine/bundle.c replica->node->details->remote_rsc = replica->remote; replica 809 lib/pengine/bundle.c replica->remote->container = replica->container; replica 814 lib/pengine/bundle.c g_hash_table_insert(replica->node->details->attrs, replica 826 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->remote); replica 833 lib/pengine/bundle.c pe__bundle_replica_t *replica, pe_working_set_t *data_set) replica 838 lib/pengine/bundle.c if (!create_docker_resource(parent, data, replica, data_set)) { replica 844 lib/pengine/bundle.c if (!create_podman_resource(parent, data, replica, data_set)) { replica 850 lib/pengine/bundle.c if (!create_rkt_resource(parent, data, replica, data_set)) { replica 858 lib/pengine/bundle.c if (create_ip_resource(parent, data, replica, data_set) == FALSE) { replica 861 lib/pengine/bundle.c if(create_remote_resource(parent, data, replica, data_set) == FALSE) { replica 864 lib/pengine/bundle.c if (replica->child && replica->ipaddr) { replica 865 lib/pengine/bundle.c add_hash_param(replica->child->meta, "external-ip", replica->ipaddr); replica 868 lib/pengine/bundle.c if (replica->remote) { replica 877 lib/pengine/bundle.c pe__set_resource_flags(replica->remote, pe_rsc_allow_remote_remotes); replica 932 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 934 lib/pengine/bundle.c if (replica->remote == remote) { replica 935 lib/pengine/bundle.c return replica; replica 967 lib/pengine/bundle.c pe__bundle_replica_t *replica = NULL; replica 973 lib/pengine/bundle.c replica = replica_for_remote(rsc); replica 974 lib/pengine/bundle.c if (replica == NULL) { replica 978 lib/pengine/bundle.c node = replica->container->allocated_to; replica 983 lib/pengine/bundle.c node = pe__current_node(replica->container); replica 1255 lib/pengine/bundle.c pe__bundle_replica_t *replica = calloc(1, sizeof(pe__bundle_replica_t)); replica 1257 lib/pengine/bundle.c replica->child = childIter->data; replica 1258 lib/pengine/bundle.c replica->child->exclusive_discover = TRUE; replica 1259 lib/pengine/bundle.c replica->offset = lpc++; replica 1262 lib/pengine/bundle.c if (pcmk_is_set(replica->child->flags, pe_rsc_notify)) { replica 1266 lib/pengine/bundle.c offset += allocate_ip(bundle_data, replica, buffer+offset, replica 1269 lib/pengine/bundle.c replica); replica 1270 lib/pengine/bundle.c bundle_data->attribute_target = g_hash_table_lookup(replica->child->meta, replica 1288 lib/pengine/bundle.c pe__bundle_replica_t *replica = calloc(1, sizeof(pe__bundle_replica_t)); replica 1290 lib/pengine/bundle.c replica->offset = lpc; replica 1291 lib/pengine/bundle.c offset += allocate_ip(bundle_data, replica, buffer+offset, replica 1294 lib/pengine/bundle.c replica); replica 1301 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1303 lib/pengine/bundle.c if (!create_container(rsc, bundle_data, replica, data_set)) { replica 1339 lib/pengine/bundle.c pe__bundle_replica_t *replica = iter->data; replica 1342 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->ip, all); replica 1347 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->child, all); replica 1352 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->container, all); replica 1357 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->remote, all); replica 1388 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1390 lib/pengine/bundle.c CRM_ASSERT(replica && replica->node); replica 1391 lib/pengine/bundle.c if (replica->node->details == node->details) { replica 1392 lib/pengine/bundle.c return replica->child; replica 1452 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1454 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1455 lib/pengine/bundle.c status_print("%s <replica id=\"%d\">\n", pre_text, replica->offset); replica 1456 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); replica 1457 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); replica 1458 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); replica 1459 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); replica 1492 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1496 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1498 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { replica 1502 lib/pengine/bundle.c print_ip = replica->ip != NULL && replica 1503 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); replica 1504 lib/pengine/bundle.c print_child = replica->child != NULL && replica 1505 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); replica 1506 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); replica 1507 lib/pengine/bundle.c print_remote = replica->remote != NULL && replica 1508 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); replica 1527 lib/pengine/bundle.c id = pcmk__itoa(replica->offset); replica 1533 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), show_opts, replica 1534 lib/pengine/bundle.c replica->ip, only_node, only_rsc); replica 1538 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), show_opts, replica 1539 lib/pengine/bundle.c replica->child, only_node, only_rsc); replica 1543 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), show_opts, replica 1544 lib/pengine/bundle.c replica->container, only_node, only_rsc); replica 1548 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), show_opts, replica 1549 lib/pengine/bundle.c replica->remote, only_node, only_rsc); replica 1563 lib/pengine/bundle.c pe__bundle_replica_output_html(pcmk__output_t *out, pe__bundle_replica_t *replica, replica 1566 lib/pengine/bundle.c pe_resource_t *rsc = replica->child; replica 1572 lib/pengine/bundle.c rsc = replica->container; replica 1575 lib/pengine/bundle.c if (replica->remote) { replica 1577 lib/pengine/bundle.c rsc_printable_id(replica->remote)); replica 1580 lib/pengine/bundle.c rsc_printable_id(replica->container)); replica 1582 lib/pengine/bundle.c if (replica->ipaddr) { replica 1584 lib/pengine/bundle.c replica->ipaddr); replica 1615 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1618 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1620 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { replica 1624 lib/pengine/bundle.c print_ip = replica->ip != NULL && replica 1625 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); replica 1626 lib/pengine/bundle.c print_child = replica->child != NULL && replica 1627 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); replica 1628 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); replica 1629 lib/pengine/bundle.c print_remote = replica->remote != NULL && replica 1630 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); replica 1646 lib/pengine/bundle.c out->begin_list(out, NULL, NULL, "Replica[%d]", replica->offset); replica 1650 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), replica 1651 lib/pengine/bundle.c new_show_opts, replica->ip, only_node, only_rsc); replica 1655 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), replica 1656 lib/pengine/bundle.c new_show_opts, replica->child, only_node, only_rsc); replica 1660 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), replica 1661 lib/pengine/bundle.c new_show_opts, replica->container, only_node, only_rsc); replica 1665 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), replica 1666 lib/pengine/bundle.c new_show_opts, replica->remote, only_node, only_rsc); replica 1681 lib/pengine/bundle.c pe__bundle_replica_output_html(out, replica, pe__current_node(replica->container), replica 1691 lib/pengine/bundle.c pe__bundle_replica_output_text(pcmk__output_t *out, pe__bundle_replica_t *replica, replica 1694 lib/pengine/bundle.c pe_resource_t *rsc = replica->child; replica 1700 lib/pengine/bundle.c rsc = replica->container; replica 1703 lib/pengine/bundle.c if (replica->remote) { replica 1705 lib/pengine/bundle.c rsc_printable_id(replica->remote)); replica 1708 lib/pengine/bundle.c rsc_printable_id(replica->container)); replica 1710 lib/pengine/bundle.c if (replica->ipaddr) { replica 1712 lib/pengine/bundle.c replica->ipaddr); replica 1743 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1746 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1748 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { replica 1752 lib/pengine/bundle.c print_ip = replica->ip != NULL && replica 1753 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); replica 1754 lib/pengine/bundle.c print_child = replica->child != NULL && replica 1755 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); replica 1756 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); replica 1757 lib/pengine/bundle.c print_remote = replica->remote != NULL && replica 1758 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); replica 1774 lib/pengine/bundle.c out->list_item(out, NULL, "Replica[%d]", replica->offset); replica 1780 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), replica 1781 lib/pengine/bundle.c new_show_opts, replica->ip, only_node, only_rsc); replica 1785 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), replica 1786 lib/pengine/bundle.c new_show_opts, replica->child, only_node, only_rsc); replica 1790 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), replica 1791 lib/pengine/bundle.c new_show_opts, replica->container, only_node, only_rsc); replica 1795 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), replica 1796 lib/pengine/bundle.c new_show_opts, replica->remote, only_node, only_rsc); replica 1809 lib/pengine/bundle.c pe__bundle_replica_output_text(out, replica, pe__current_node(replica->container), replica 1819 lib/pengine/bundle.c print_bundle_replica(pe__bundle_replica_t *replica, const char *pre_text, replica 1823 lib/pengine/bundle.c pe_resource_t *rsc = replica->child; replica 1829 lib/pengine/bundle.c rsc = replica->container; replica 1832 lib/pengine/bundle.c if (replica->remote) { replica 1834 lib/pengine/bundle.c rsc_printable_id(replica->remote)); replica 1837 lib/pengine/bundle.c rsc_printable_id(replica->container)); replica 1839 lib/pengine/bundle.c if (replica->ipaddr) { replica 1841 lib/pengine/bundle.c replica->ipaddr); replica 1844 lib/pengine/bundle.c node = pe__current_node(replica->container); replica 1879 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1881 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1889 lib/pengine/bundle.c status_print(" %sReplica[%d]\n", pre_text, replica->offset); replica 1894 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); replica 1895 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); replica 1896 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); replica 1897 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); replica 1903 lib/pengine/bundle.c print_bundle_replica(replica, child_text, options, print_data); replica 1917 lib/pengine/bundle.c free_bundle_replica(pe__bundle_replica_t *replica) replica 1919 lib/pengine/bundle.c if (replica == NULL) { replica 1923 lib/pengine/bundle.c if (replica->node) { replica 1924 lib/pengine/bundle.c free(replica->node); replica 1925 lib/pengine/bundle.c replica->node = NULL; replica 1928 lib/pengine/bundle.c if (replica->ip) { replica 1929 lib/pengine/bundle.c free_xml(replica->ip->xml); replica 1930 lib/pengine/bundle.c replica->ip->xml = NULL; replica 1931 lib/pengine/bundle.c replica->ip->fns->free(replica->ip); replica 1932 lib/pengine/bundle.c replica->ip = NULL; replica 1934 lib/pengine/bundle.c if (replica->container) { replica 1935 lib/pengine/bundle.c free_xml(replica->container->xml); replica 1936 lib/pengine/bundle.c replica->container->xml = NULL; replica 1937 lib/pengine/bundle.c replica->container->fns->free(replica->container); replica 1938 lib/pengine/bundle.c replica->container = NULL; replica 1940 lib/pengine/bundle.c if (replica->remote) { replica 1941 lib/pengine/bundle.c free_xml(replica->remote->xml); replica 1942 lib/pengine/bundle.c replica->remote->xml = NULL; replica 1943 lib/pengine/bundle.c replica->remote->fns->free(replica->remote); replica 1944 lib/pengine/bundle.c replica->remote = NULL; replica 1946 lib/pengine/bundle.c free(replica->ipaddr); replica 1947 lib/pengine/bundle.c free(replica); replica 2018 lib/pengine/bundle.c pe__bundle_replica_t *replica = item->data; replica 2020 lib/pengine/bundle.c if (replica->ip) { replica 2021 lib/pengine/bundle.c replica->ip->fns->count(replica->ip); replica 2023 lib/pengine/bundle.c if (replica->child) { replica 2024 lib/pengine/bundle.c replica->child->fns->count(replica->child); replica 2026 lib/pengine/bundle.c if (replica->container) { replica 2027 lib/pengine/bundle.c replica->container->fns->count(replica->container); replica 2029 lib/pengine/bundle.c if (replica->remote) { replica 2030 lib/pengine/bundle.c replica->remote->fns->count(replica->remote); replica 2047 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 2049 lib/pengine/bundle.c if (replica->ip != NULL && !replica->ip->fns->is_filtered(replica->ip, only_rsc, FALSE)) { replica 2052 lib/pengine/bundle.c } else if (replica->child != NULL && !replica->child->fns->is_filtered(replica->child, only_rsc, FALSE)) { replica 2055 lib/pengine/bundle.c } else if (!replica->container->fns->is_filtered(replica->container, only_rsc, FALSE)) { replica 2058 lib/pengine/bundle.c } else if (replica->remote != NULL && !replica->remote->fns->is_filtered(replica->remote, only_rsc, FALSE)) {