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 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 327 lib/pengine/bundle.c if (!common_unpack(xml_container, &replica->container, parent, data_set)) { replica 330 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->container); replica 336 lib/pengine/bundle.c pe__bundle_replica_t *replica, replica 349 lib/pengine/bundle.c id = crm_strdup_printf("%s-podman-%d", data->prefix, replica->offset); replica 357 lib/pengine/bundle.c data->prefix, replica->offset); replica 374 lib/pengine/bundle.c data->prefix, replica->offset); replica 383 lib/pengine/bundle.c replica->ipaddr); replica 400 lib/pengine/bundle.c "%s/%s-%d", mount->source, data->prefix, replica->offset); replica 420 lib/pengine/bundle.c if (replica->ipaddr) { replica 422 lib/pengine/bundle.c replica->ipaddr, port->source, replica 446 lib/pengine/bundle.c if (replica->child) { replica 493 lib/pengine/bundle.c if (!common_unpack(xml_container, &replica->container, parent, replica 497 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->container); replica 503 lib/pengine/bundle.c pe__bundle_replica_t *replica, pe_working_set_t *data_set) replica 517 lib/pengine/bundle.c id = crm_strdup_printf("%s-rkt-%d", data->prefix, replica->offset); replica 525 lib/pengine/bundle.c data->prefix, replica->offset); replica 539 lib/pengine/bundle.c data->prefix, replica->offset); replica 547 lib/pengine/bundle.c replica->ipaddr); replica 564 lib/pengine/bundle.c "%s/%s-%d", mount->source, data->prefix, replica->offset); replica 590 lib/pengine/bundle.c if (replica->ipaddr) { replica 593 lib/pengine/bundle.c replica->ipaddr, port->source); replica 615 lib/pengine/bundle.c if (replica->child) { replica 663 lib/pengine/bundle.c if (!common_unpack(xml_container, &replica->container, parent, data_set)) { replica 666 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->container); replica 696 lib/pengine/bundle.c pe__bundle_replica_t *replica, replica 699 lib/pengine/bundle.c if (replica->child && valid_network(data)) { replica 704 lib/pengine/bundle.c char *id = crm_strdup_printf("%s-%d", data->prefix, replica->offset); replica 713 lib/pengine/bundle.c replica->child->id, replica->offset); replica 722 lib/pengine/bundle.c connect_name = (replica->ipaddr? replica->ipaddr : "#uname"); replica 733 lib/pengine/bundle.c xml_remote = pe_create_remote_xml(NULL, id, replica->container->id, replica 781 lib/pengine/bundle.c replica->node = pe__copy_node(node); replica 782 lib/pengine/bundle.c replica->node->weight = 500; replica 783 lib/pengine/bundle.c replica->node->rsc_discover_mode = pe_discover_exclusive; replica 786 lib/pengine/bundle.c if (replica->child->allowed_nodes != NULL) { replica 787 lib/pengine/bundle.c g_hash_table_destroy(replica->child->allowed_nodes); replica 789 lib/pengine/bundle.c replica->child->allowed_nodes = pcmk__strkey_table(NULL, free); replica 790 lib/pengine/bundle.c g_hash_table_insert(replica->child->allowed_nodes, replica 791 lib/pengine/bundle.c (gpointer) replica->node->details->id, replica 792 lib/pengine/bundle.c pe__copy_node(replica->node)); replica 795 lib/pengine/bundle.c pe_node_t *copy = pe__copy_node(replica->node); replica 797 lib/pengine/bundle.c g_hash_table_insert(replica->child->parent->allowed_nodes, replica 798 lib/pengine/bundle.c (gpointer) replica->node->details->id, copy); replica 800 lib/pengine/bundle.c if (!common_unpack(xml_remote, &replica->remote, parent, data_set)) { replica 804 lib/pengine/bundle.c g_hash_table_iter_init(&gIter, replica->remote->allowed_nodes); replica 812 lib/pengine/bundle.c replica->node->details->remote_rsc = replica->remote; replica 815 lib/pengine/bundle.c replica->remote->container = replica->container; replica 820 lib/pengine/bundle.c g_hash_table_insert(replica->node->details->attrs, replica 832 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->remote); replica 839 lib/pengine/bundle.c pe__bundle_replica_t *replica, pe_working_set_t *data_set) replica 844 lib/pengine/bundle.c if (!create_docker_resource(parent, data, replica, data_set)) { replica 850 lib/pengine/bundle.c if (!create_podman_resource(parent, data, replica, data_set)) { replica 856 lib/pengine/bundle.c if (!create_rkt_resource(parent, data, replica, data_set)) { replica 864 lib/pengine/bundle.c if (create_ip_resource(parent, data, replica, data_set) == FALSE) { replica 867 lib/pengine/bundle.c if(create_remote_resource(parent, data, replica, data_set) == FALSE) { replica 870 lib/pengine/bundle.c if (replica->child && replica->ipaddr) { replica 871 lib/pengine/bundle.c add_hash_param(replica->child->meta, "external-ip", replica->ipaddr); replica 874 lib/pengine/bundle.c if (replica->remote) { replica 883 lib/pengine/bundle.c pe__set_resource_flags(replica->remote, pe_rsc_allow_remote_remotes); replica 938 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 940 lib/pengine/bundle.c if (replica->remote == remote) { replica 941 lib/pengine/bundle.c return replica; replica 973 lib/pengine/bundle.c pe__bundle_replica_t *replica = NULL; replica 979 lib/pengine/bundle.c replica = replica_for_remote(rsc); replica 980 lib/pengine/bundle.c if (replica == NULL) { replica 984 lib/pengine/bundle.c node = replica->container->allocated_to; replica 989 lib/pengine/bundle.c node = pe__current_node(replica->container); replica 1261 lib/pengine/bundle.c pe__bundle_replica_t *replica = calloc(1, sizeof(pe__bundle_replica_t)); replica 1263 lib/pengine/bundle.c replica->child = childIter->data; replica 1264 lib/pengine/bundle.c replica->child->exclusive_discover = TRUE; replica 1265 lib/pengine/bundle.c replica->offset = lpc++; replica 1268 lib/pengine/bundle.c if (pcmk_is_set(replica->child->flags, pe_rsc_notify)) { replica 1272 lib/pengine/bundle.c offset += allocate_ip(bundle_data, replica, buffer+offset, replica 1275 lib/pengine/bundle.c replica); replica 1276 lib/pengine/bundle.c bundle_data->attribute_target = g_hash_table_lookup(replica->child->meta, replica 1294 lib/pengine/bundle.c pe__bundle_replica_t *replica = calloc(1, sizeof(pe__bundle_replica_t)); replica 1296 lib/pengine/bundle.c replica->offset = lpc; replica 1297 lib/pengine/bundle.c offset += allocate_ip(bundle_data, replica, buffer+offset, replica 1300 lib/pengine/bundle.c replica); replica 1307 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1309 lib/pengine/bundle.c if (!create_container(rsc, bundle_data, replica, data_set)) { replica 1345 lib/pengine/bundle.c pe__bundle_replica_t *replica = iter->data; replica 1348 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->ip, all); replica 1353 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->child, all); replica 1358 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->container, all); replica 1363 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->remote, all); replica 1394 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1396 lib/pengine/bundle.c CRM_ASSERT(replica && replica->node); replica 1397 lib/pengine/bundle.c if (replica->node->details == node->details) { replica 1398 lib/pengine/bundle.c return replica->child; replica 1458 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1460 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1461 lib/pengine/bundle.c status_print("%s <replica id=\"%d\">\n", pre_text, replica->offset); replica 1462 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); replica 1463 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); replica 1464 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); replica 1465 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); replica 1498 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1499 lib/pengine/bundle.c char *id = pcmk__itoa(replica->offset); replica 1502 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1504 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { replica 1508 lib/pengine/bundle.c print_ip = replica->ip != NULL && replica 1509 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); replica 1510 lib/pengine/bundle.c print_child = replica->child != NULL && replica 1511 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); replica 1512 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); replica 1513 lib/pengine/bundle.c print_remote = replica->remote != NULL && replica 1514 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); replica 1538 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), options, replica 1539 lib/pengine/bundle.c replica->ip, only_node, only_rsc); replica 1543 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), options, replica 1544 lib/pengine/bundle.c replica->child, only_node, only_rsc); replica 1548 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), options, replica 1549 lib/pengine/bundle.c replica->container, only_node, only_rsc); replica 1553 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), options, replica 1554 lib/pengine/bundle.c replica->remote, only_node, only_rsc); replica 1568 lib/pengine/bundle.c pe__bundle_replica_output_html(pcmk__output_t *out, pe__bundle_replica_t *replica, replica 1571 lib/pengine/bundle.c pe_resource_t *rsc = replica->child; replica 1577 lib/pengine/bundle.c rsc = replica->container; replica 1580 lib/pengine/bundle.c if (replica->remote) { replica 1582 lib/pengine/bundle.c rsc_printable_id(replica->remote)); replica 1585 lib/pengine/bundle.c rsc_printable_id(replica->container)); replica 1587 lib/pengine/bundle.c if (replica->ipaddr) { replica 1589 lib/pengine/bundle.c replica->ipaddr); replica 1621 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1624 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1626 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { replica 1630 lib/pengine/bundle.c print_ip = replica->ip != NULL && replica 1631 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); replica 1632 lib/pengine/bundle.c print_child = replica->child != NULL && replica 1633 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); replica 1634 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); replica 1635 lib/pengine/bundle.c print_remote = replica->remote != NULL && replica 1636 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); replica 1662 lib/pengine/bundle.c snprintf(buffer, LINE_MAX, " Replica[%d]", replica->offset); replica 1669 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), replica 1670 lib/pengine/bundle.c new_options, replica->ip, only_node, only_rsc); replica 1674 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), replica 1675 lib/pengine/bundle.c new_options, replica->child, only_node, only_rsc); replica 1679 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), replica 1680 lib/pengine/bundle.c new_options, replica->container, only_node, only_rsc); replica 1684 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), replica 1685 lib/pengine/bundle.c new_options, replica->remote, only_node, only_rsc); replica 1698 lib/pengine/bundle.c pe__bundle_replica_output_html(out, replica, pe__current_node(replica->container), replica 1710 lib/pengine/bundle.c pe__bundle_replica_output_text(pcmk__output_t *out, pe__bundle_replica_t *replica, replica 1713 lib/pengine/bundle.c pe_resource_t *rsc = replica->child; replica 1719 lib/pengine/bundle.c rsc = replica->container; replica 1722 lib/pengine/bundle.c if (replica->remote) { replica 1724 lib/pengine/bundle.c rsc_printable_id(replica->remote)); replica 1727 lib/pengine/bundle.c rsc_printable_id(replica->container)); replica 1729 lib/pengine/bundle.c if (replica->ipaddr) { replica 1731 lib/pengine/bundle.c replica->ipaddr); replica 1762 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1765 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1767 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { replica 1771 lib/pengine/bundle.c print_ip = replica->ip != NULL && replica 1772 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); replica 1773 lib/pengine/bundle.c print_child = replica->child != NULL && replica 1774 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); replica 1775 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); replica 1776 lib/pengine/bundle.c print_remote = replica->remote != NULL && replica 1777 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); replica 1796 lib/pengine/bundle.c out->list_item(out, NULL, "Replica[%d]", replica->offset); replica 1802 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), replica 1803 lib/pengine/bundle.c new_options, replica->ip, only_node, only_rsc); replica 1807 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), replica 1808 lib/pengine/bundle.c new_options, replica->child, only_node, only_rsc); replica 1812 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), replica 1813 lib/pengine/bundle.c new_options, replica->container, only_node, only_rsc); replica 1817 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), replica 1818 lib/pengine/bundle.c new_options, replica->remote, only_node, only_rsc); replica 1831 lib/pengine/bundle.c pe__bundle_replica_output_text(out, replica, pe__current_node(replica->container), replica 1841 lib/pengine/bundle.c print_bundle_replica(pe__bundle_replica_t *replica, const char *pre_text, replica 1845 lib/pengine/bundle.c pe_resource_t *rsc = replica->child; replica 1851 lib/pengine/bundle.c rsc = replica->container; replica 1854 lib/pengine/bundle.c if (replica->remote) { replica 1856 lib/pengine/bundle.c rsc_printable_id(replica->remote)); replica 1859 lib/pengine/bundle.c rsc_printable_id(replica->container)); replica 1861 lib/pengine/bundle.c if (replica->ipaddr) { replica 1863 lib/pengine/bundle.c replica->ipaddr); replica 1866 lib/pengine/bundle.c node = pe__current_node(replica->container); replica 1901 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1903 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1911 lib/pengine/bundle.c status_print(" %sReplica[%d]\n", pre_text, replica->offset); replica 1916 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); replica 1917 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); replica 1918 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); replica 1919 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); replica 1925 lib/pengine/bundle.c print_bundle_replica(replica, child_text, options, print_data); replica 1939 lib/pengine/bundle.c free_bundle_replica(pe__bundle_replica_t *replica) replica 1941 lib/pengine/bundle.c if (replica == NULL) { replica 1945 lib/pengine/bundle.c if (replica->node) { replica 1946 lib/pengine/bundle.c free(replica->node); replica 1947 lib/pengine/bundle.c replica->node = NULL; replica 1950 lib/pengine/bundle.c if (replica->ip) { replica 1951 lib/pengine/bundle.c free_xml(replica->ip->xml); replica 1952 lib/pengine/bundle.c replica->ip->xml = NULL; replica 1953 lib/pengine/bundle.c replica->ip->fns->free(replica->ip); replica 1954 lib/pengine/bundle.c replica->ip = NULL; replica 1956 lib/pengine/bundle.c if (replica->container) { replica 1957 lib/pengine/bundle.c free_xml(replica->container->xml); replica 1958 lib/pengine/bundle.c replica->container->xml = NULL; replica 1959 lib/pengine/bundle.c replica->container->fns->free(replica->container); replica 1960 lib/pengine/bundle.c replica->container = NULL; replica 1962 lib/pengine/bundle.c if (replica->remote) { replica 1963 lib/pengine/bundle.c free_xml(replica->remote->xml); replica 1964 lib/pengine/bundle.c replica->remote->xml = NULL; replica 1965 lib/pengine/bundle.c replica->remote->fns->free(replica->remote); replica 1966 lib/pengine/bundle.c replica->remote = NULL; replica 1968 lib/pengine/bundle.c free(replica->ipaddr); replica 1969 lib/pengine/bundle.c free(replica); replica 2040 lib/pengine/bundle.c pe__bundle_replica_t *replica = item->data; replica 2042 lib/pengine/bundle.c if (replica->ip) { replica 2043 lib/pengine/bundle.c replica->ip->fns->count(replica->ip); replica 2045 lib/pengine/bundle.c if (replica->child) { replica 2046 lib/pengine/bundle.c replica->child->fns->count(replica->child); replica 2048 lib/pengine/bundle.c if (replica->container) { replica 2049 lib/pengine/bundle.c replica->container->fns->count(replica->container); replica 2051 lib/pengine/bundle.c if (replica->remote) { replica 2052 lib/pengine/bundle.c replica->remote->fns->count(replica->remote); replica 2069 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 2071 lib/pengine/bundle.c if (replica->ip != NULL && !replica->ip->fns->is_filtered(replica->ip, only_rsc, FALSE)) { replica 2074 lib/pengine/bundle.c } else if (replica->child != NULL && !replica->child->fns->is_filtered(replica->child, only_rsc, FALSE)) { replica 2077 lib/pengine/bundle.c } else if (!replica->container->fns->is_filtered(replica->container, only_rsc, FALSE)) { replica 2080 lib/pengine/bundle.c } else if (replica->remote != NULL && !replica->remote->fns->is_filtered(replica->remote, only_rsc, FALSE)) {