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 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, data_set)) { replica 923 lib/pacemaker/pcmk_sched_bundle.c replica->remote->xml, LOG_ERR); replica 927 lib/pacemaker/pcmk_sched_bundle.c calculated_addr = pe__add_bundle_remote_name(replica->remote, replica 937 lib/pacemaker/pcmk_sched_bundle.c GHashTable *params = pe_rsc_params(replica->remote, replica 941 lib/pacemaker/pcmk_sched_bundle.c replica->remote->id, calculated_addr); replica 957 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 958 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->expand(replica->ip, data_set); replica 960 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { replica 961 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->expand(replica->container, data_set); replica 963 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote) { replica 964 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->expand(replica->remote, data_set); replica 982 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 984 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 985 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 986 lib/pacemaker/pcmk_sched_bundle.c any_created |= replica->ip->cmds->create_probe(replica->ip, node, replica 990 lib/pacemaker/pcmk_sched_bundle.c if (replica->child && (node->details == replica->node->details)) { replica 991 lib/pacemaker/pcmk_sched_bundle.c any_created |= replica->child->cmds->create_probe(replica->child, replica 995 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { replica 996 lib/pacemaker/pcmk_sched_bundle.c bool created = replica->container->cmds->create_probe(replica->container, replica 1020 lib/pacemaker/pcmk_sched_bundle.c if ((other != replica) && (other != NULL) replica 1023 lib/pacemaker/pcmk_sched_bundle.c pcmk__new_ordering(replica->container, replica 1024 lib/pacemaker/pcmk_sched_bundle.c pcmk__op_key(replica->container->id, RSC_STATUS, 0), replica 1034 lib/pacemaker/pcmk_sched_bundle.c if (replica->container && replica->remote replica 1035 lib/pacemaker/pcmk_sched_bundle.c && replica->remote->cmds->create_probe(replica->remote, node, replica 1043 lib/pacemaker/pcmk_sched_bundle.c char *probe_uuid = pcmk__op_key(replica->remote->id, RSC_STATUS, replica 1045 lib/pacemaker/pcmk_sched_bundle.c pe_action_t *probe = find_first_action(replica->remote->actions, replica 1052 lib/pacemaker/pcmk_sched_bundle.c replica->remote->id, node->details->uname); replica 1053 lib/pacemaker/pcmk_sched_bundle.c pcmk__new_ordering(replica->container, replica 1054 lib/pacemaker/pcmk_sched_bundle.c pcmk__op_key(replica->container->id, RSC_START, 0), replica 1055 lib/pacemaker/pcmk_sched_bundle.c NULL, replica->remote, NULL, probe, replica 1078 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1080 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 1081 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip != NULL) { replica 1082 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->output_actions(replica->ip); replica 1084 lib/pacemaker/pcmk_sched_bundle.c if (replica->container != NULL) { replica 1085 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->output_actions(replica->container); replica 1087 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote != NULL) { replica 1088 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->output_actions(replica->remote); replica 1090 lib/pacemaker/pcmk_sched_bundle.c if (replica->child != NULL) { replica 1091 lib/pacemaker/pcmk_sched_bundle.c replica->child->cmds->output_actions(replica->child); replica 1102 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = NULL; replica 1117 lib/pacemaker/pcmk_sched_bundle.c replica = (pe__bundle_replica_t *) bundle_data->replicas->data; replica 1118 lib/pacemaker/pcmk_sched_bundle.c if (replica->container != NULL) { replica 1119 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->add_utilization(replica->container, orig_rsc, replica 54 lib/pengine/bundle.c allocate_ip(pe__bundle_variant_data_t *data, pe__bundle_replica_t *replica, replica 61 lib/pengine/bundle.c replica->ipaddr = next_ip(data->ip_last); replica 64 lib/pengine/bundle.c replica->ipaddr = strdup(data->ip_range_start); replica 67 lib/pengine/bundle.c data->ip_last = replica->ipaddr; replica 73 lib/pengine/bundle.c data->prefix, replica->offset, replica 74 lib/pengine/bundle.c replica->ipaddr); replica 78 lib/pengine/bundle.c replica->ipaddr, data->prefix, replica->offset); replica 129 lib/pengine/bundle.c pe__bundle_replica_t *replica, pe_working_set_t *data_set) replica 136 lib/pengine/bundle.c id = crm_strdup_printf("%s-ip-%s", data->prefix, replica->ipaddr); replica 143 lib/pengine/bundle.c data->prefix, replica->offset); replica 145 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "ip", replica->ipaddr); replica 163 lib/pengine/bundle.c if (!common_unpack(xml_ip, &replica->ip, parent, data_set)) { replica 167 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->ip); replica 174 lib/pengine/bundle.c pe__bundle_replica_t *replica, replica 187 lib/pengine/bundle.c id = crm_strdup_printf("%s-docker-%d", data->prefix, replica->offset); replica 195 lib/pengine/bundle.c data->prefix, replica->offset); replica 211 lib/pengine/bundle.c data->prefix, replica->offset); replica 219 lib/pengine/bundle.c replica->ipaddr); replica 236 lib/pengine/bundle.c "%s/%s-%d", mount->source, data->prefix, replica->offset); replica 256 lib/pengine/bundle.c if (replica->ipaddr) { replica 258 lib/pengine/bundle.c replica->ipaddr, port->source, replica 282 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 495 lib/pengine/bundle.c if (!common_unpack(xml_container, &replica->container, parent, replica 499 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->container); replica 505 lib/pengine/bundle.c pe__bundle_replica_t *replica, pe_working_set_t *data_set) replica 519 lib/pengine/bundle.c id = crm_strdup_printf("%s-rkt-%d", data->prefix, replica->offset); replica 527 lib/pengine/bundle.c data->prefix, replica->offset); replica 541 lib/pengine/bundle.c data->prefix, replica->offset); replica 549 lib/pengine/bundle.c replica->ipaddr); replica 566 lib/pengine/bundle.c "%s/%s-%d", mount->source, data->prefix, replica->offset); replica 592 lib/pengine/bundle.c if (replica->ipaddr) { replica 595 lib/pengine/bundle.c replica->ipaddr, port->source); replica 617 lib/pengine/bundle.c if (replica->child) { replica 665 lib/pengine/bundle.c if (!common_unpack(xml_container, &replica->container, parent, data_set)) { replica 668 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->container); replica 694 lib/pengine/bundle.c pe__bundle_replica_t *replica, replica 697 lib/pengine/bundle.c if (replica->child && valid_network(data)) { replica 701 lib/pengine/bundle.c char *id = crm_strdup_printf("%s-%d", data->prefix, replica->offset); replica 710 lib/pengine/bundle.c replica->child->id, replica->offset); replica 719 lib/pengine/bundle.c connect_name = (replica->ipaddr? replica->ipaddr : "#uname"); replica 730 lib/pengine/bundle.c xml_remote = pe_create_remote_xml(NULL, id, replica->container->id, replica 776 lib/pengine/bundle.c replica->node = pe__copy_node(node); replica 777 lib/pengine/bundle.c replica->node->weight = 500; replica 778 lib/pengine/bundle.c replica->node->rsc_discover_mode = pe_discover_exclusive; replica 781 lib/pengine/bundle.c if (replica->child->allowed_nodes != NULL) { replica 782 lib/pengine/bundle.c g_hash_table_destroy(replica->child->allowed_nodes); replica 784 lib/pengine/bundle.c replica->child->allowed_nodes = pcmk__strkey_table(NULL, free); replica 785 lib/pengine/bundle.c g_hash_table_insert(replica->child->allowed_nodes, replica 786 lib/pengine/bundle.c (gpointer) replica->node->details->id, replica 787 lib/pengine/bundle.c pe__copy_node(replica->node)); replica 790 lib/pengine/bundle.c pe_node_t *copy = pe__copy_node(replica->node); replica 792 lib/pengine/bundle.c g_hash_table_insert(replica->child->parent->allowed_nodes, replica 793 lib/pengine/bundle.c (gpointer) replica->node->details->id, copy); replica 795 lib/pengine/bundle.c if (!common_unpack(xml_remote, &replica->remote, parent, data_set)) { replica 799 lib/pengine/bundle.c g_hash_table_iter_init(&gIter, replica->remote->allowed_nodes); replica 807 lib/pengine/bundle.c replica->node->details->remote_rsc = replica->remote; replica 810 lib/pengine/bundle.c replica->remote->container = replica->container; replica 815 lib/pengine/bundle.c g_hash_table_insert(replica->node->details->attrs, replica 827 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->remote); replica 834 lib/pengine/bundle.c pe__bundle_replica_t *replica, pe_working_set_t *data_set) replica 839 lib/pengine/bundle.c if (!create_docker_resource(parent, data, replica, data_set)) { replica 845 lib/pengine/bundle.c if (!create_podman_resource(parent, data, replica, data_set)) { replica 851 lib/pengine/bundle.c if (!create_rkt_resource(parent, data, replica, data_set)) { replica 859 lib/pengine/bundle.c if (create_ip_resource(parent, data, replica, data_set) == FALSE) { replica 862 lib/pengine/bundle.c if(create_remote_resource(parent, data, replica, data_set) == FALSE) { replica 865 lib/pengine/bundle.c if (replica->child && replica->ipaddr) { replica 866 lib/pengine/bundle.c add_hash_param(replica->child->meta, "external-ip", replica->ipaddr); replica 869 lib/pengine/bundle.c if (replica->remote) { replica 878 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 1325 lib/pengine/bundle.c if (replica->child != NULL) { replica 1326 lib/pengine/bundle.c GHashTable *empty = replica->container->utilization; replica 1328 lib/pengine/bundle.c replica->container->utilization = replica->child->utilization; replica 1329 lib/pengine/bundle.c replica->child->utilization = empty; replica 1362 lib/pengine/bundle.c pe__bundle_replica_t *replica = iter->data; replica 1365 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->ip, all); replica 1370 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->child, all); replica 1375 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->container, all); replica 1380 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->remote, all); replica 1411 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1413 lib/pengine/bundle.c CRM_ASSERT(replica && replica->node); replica 1414 lib/pengine/bundle.c if (replica->node->details == node->details) { replica 1415 lib/pengine/bundle.c return replica->child; replica 1475 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1477 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1478 lib/pengine/bundle.c status_print("%s <replica id=\"%d\">\n", pre_text, replica->offset); replica 1479 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); replica 1480 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); replica 1481 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); replica 1482 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); replica 1515 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1519 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1521 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { replica 1525 lib/pengine/bundle.c print_ip = replica->ip != NULL && replica 1526 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); replica 1527 lib/pengine/bundle.c print_child = replica->child != NULL && replica 1528 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); replica 1529 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); replica 1530 lib/pengine/bundle.c print_remote = replica->remote != NULL && replica 1531 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); replica 1550 lib/pengine/bundle.c id = pcmk__itoa(replica->offset); replica 1556 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), show_opts, replica 1557 lib/pengine/bundle.c replica->ip, only_node, only_rsc); replica 1561 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), show_opts, replica 1562 lib/pengine/bundle.c replica->child, only_node, only_rsc); replica 1566 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), show_opts, replica 1567 lib/pengine/bundle.c replica->container, only_node, only_rsc); replica 1571 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), show_opts, replica 1572 lib/pengine/bundle.c replica->remote, only_node, only_rsc); replica 1586 lib/pengine/bundle.c pe__bundle_replica_output_html(pcmk__output_t *out, pe__bundle_replica_t *replica, replica 1589 lib/pengine/bundle.c pe_resource_t *rsc = replica->child; replica 1595 lib/pengine/bundle.c rsc = replica->container; replica 1598 lib/pengine/bundle.c if (replica->remote) { replica 1600 lib/pengine/bundle.c rsc_printable_id(replica->remote)); replica 1603 lib/pengine/bundle.c rsc_printable_id(replica->container)); replica 1605 lib/pengine/bundle.c if (replica->ipaddr) { replica 1607 lib/pengine/bundle.c replica->ipaddr); replica 1638 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1641 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1643 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { replica 1647 lib/pengine/bundle.c print_ip = replica->ip != NULL && replica 1648 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); replica 1649 lib/pengine/bundle.c print_child = replica->child != NULL && replica 1650 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); replica 1651 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); replica 1652 lib/pengine/bundle.c print_remote = replica->remote != NULL && replica 1653 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); replica 1669 lib/pengine/bundle.c out->begin_list(out, NULL, NULL, "Replica[%d]", replica->offset); replica 1673 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), replica 1674 lib/pengine/bundle.c new_show_opts, replica->ip, only_node, only_rsc); replica 1678 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), replica 1679 lib/pengine/bundle.c new_show_opts, replica->child, only_node, only_rsc); replica 1683 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), replica 1684 lib/pengine/bundle.c new_show_opts, replica->container, only_node, only_rsc); replica 1688 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), replica 1689 lib/pengine/bundle.c new_show_opts, replica->remote, only_node, only_rsc); replica 1704 lib/pengine/bundle.c pe__bundle_replica_output_html(out, replica, pe__current_node(replica->container), replica 1714 lib/pengine/bundle.c pe__bundle_replica_output_text(pcmk__output_t *out, pe__bundle_replica_t *replica, replica 1717 lib/pengine/bundle.c pe_resource_t *rsc = replica->child; replica 1723 lib/pengine/bundle.c rsc = replica->container; replica 1726 lib/pengine/bundle.c if (replica->remote) { replica 1728 lib/pengine/bundle.c rsc_printable_id(replica->remote)); replica 1731 lib/pengine/bundle.c rsc_printable_id(replica->container)); replica 1733 lib/pengine/bundle.c if (replica->ipaddr) { replica 1735 lib/pengine/bundle.c replica->ipaddr); replica 1766 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1769 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1771 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { replica 1775 lib/pengine/bundle.c print_ip = replica->ip != NULL && replica 1776 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); replica 1777 lib/pengine/bundle.c print_child = replica->child != NULL && replica 1778 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); replica 1779 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); replica 1780 lib/pengine/bundle.c print_remote = replica->remote != NULL && replica 1781 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); replica 1797 lib/pengine/bundle.c out->list_item(out, NULL, "Replica[%d]", replica->offset); replica 1803 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), replica 1804 lib/pengine/bundle.c new_show_opts, replica->ip, only_node, only_rsc); replica 1808 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), replica 1809 lib/pengine/bundle.c new_show_opts, replica->child, only_node, only_rsc); replica 1813 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), replica 1814 lib/pengine/bundle.c new_show_opts, replica->container, only_node, only_rsc); replica 1818 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), replica 1819 lib/pengine/bundle.c new_show_opts, replica->remote, only_node, only_rsc); replica 1832 lib/pengine/bundle.c pe__bundle_replica_output_text(out, replica, pe__current_node(replica->container), replica 1842 lib/pengine/bundle.c print_bundle_replica(pe__bundle_replica_t *replica, const char *pre_text, replica 1846 lib/pengine/bundle.c pe_resource_t *rsc = replica->child; replica 1852 lib/pengine/bundle.c rsc = replica->container; replica 1855 lib/pengine/bundle.c if (replica->remote) { replica 1857 lib/pengine/bundle.c rsc_printable_id(replica->remote)); replica 1860 lib/pengine/bundle.c rsc_printable_id(replica->container)); replica 1862 lib/pengine/bundle.c if (replica->ipaddr) { replica 1864 lib/pengine/bundle.c replica->ipaddr); replica 1867 lib/pengine/bundle.c node = pe__current_node(replica->container); replica 1902 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1904 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1912 lib/pengine/bundle.c status_print(" %sReplica[%d]\n", pre_text, replica->offset); replica 1917 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); replica 1918 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); replica 1919 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); replica 1920 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); replica 1926 lib/pengine/bundle.c print_bundle_replica(replica, child_text, options, print_data); replica 1940 lib/pengine/bundle.c free_bundle_replica(pe__bundle_replica_t *replica) replica 1942 lib/pengine/bundle.c if (replica == NULL) { replica 1946 lib/pengine/bundle.c if (replica->node) { replica 1947 lib/pengine/bundle.c free(replica->node); replica 1948 lib/pengine/bundle.c replica->node = NULL; replica 1951 lib/pengine/bundle.c if (replica->ip) { replica 1952 lib/pengine/bundle.c free_xml(replica->ip->xml); replica 1953 lib/pengine/bundle.c replica->ip->xml = NULL; replica 1954 lib/pengine/bundle.c replica->ip->fns->free(replica->ip); replica 1955 lib/pengine/bundle.c replica->ip = NULL; replica 1957 lib/pengine/bundle.c if (replica->container) { replica 1958 lib/pengine/bundle.c free_xml(replica->container->xml); replica 1959 lib/pengine/bundle.c replica->container->xml = NULL; replica 1960 lib/pengine/bundle.c replica->container->fns->free(replica->container); replica 1961 lib/pengine/bundle.c replica->container = NULL; replica 1963 lib/pengine/bundle.c if (replica->remote) { replica 1964 lib/pengine/bundle.c free_xml(replica->remote->xml); replica 1965 lib/pengine/bundle.c replica->remote->xml = NULL; replica 1966 lib/pengine/bundle.c replica->remote->fns->free(replica->remote); replica 1967 lib/pengine/bundle.c replica->remote = NULL; replica 1969 lib/pengine/bundle.c free(replica->ipaddr); replica 1970 lib/pengine/bundle.c free(replica); replica 2041 lib/pengine/bundle.c pe__bundle_replica_t *replica = item->data; replica 2043 lib/pengine/bundle.c if (replica->ip) { replica 2044 lib/pengine/bundle.c replica->ip->fns->count(replica->ip); replica 2046 lib/pengine/bundle.c if (replica->child) { replica 2047 lib/pengine/bundle.c replica->child->fns->count(replica->child); replica 2049 lib/pengine/bundle.c if (replica->container) { replica 2050 lib/pengine/bundle.c replica->container->fns->count(replica->container); replica 2052 lib/pengine/bundle.c if (replica->remote) { replica 2053 lib/pengine/bundle.c replica->remote->fns->count(replica->remote); replica 2070 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 2072 lib/pengine/bundle.c if (replica->ip != NULL && !replica->ip->fns->is_filtered(replica->ip, only_rsc, FALSE)) { replica 2075 lib/pengine/bundle.c } else if (replica->child != NULL && !replica->child->fns->is_filtered(replica->child, only_rsc, FALSE)) { replica 2078 lib/pengine/bundle.c } else if (!replica->container->fns->is_filtered(replica->container, only_rsc, FALSE)) { replica 2081 lib/pengine/bundle.c } else if (replica->remote != NULL && !replica->remote->fns->is_filtered(replica->remote, only_rsc, FALSE)) {