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 67 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 70 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 71 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 73 lib/pacemaker/pcmk_sched_bundle.c rsc->id, replica->ip->id); replica 74 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->assign(replica->ip, prefer); replica 77 lib/pacemaker/pcmk_sched_bundle.c container_host = replica->container->allocated_to; replica 78 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote && pe__is_guest_or_remote_node(container_host)) { replica 84 lib/pacemaker/pcmk_sched_bundle.c INFINITY, replica->remote, replica 89 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote) { replica 91 lib/pacemaker/pcmk_sched_bundle.c rsc->id, replica->remote->id); replica 92 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->assign(replica->remote, prefer); replica 96 lib/pacemaker/pcmk_sched_bundle.c if (replica->child) { replica 100 lib/pacemaker/pcmk_sched_bundle.c g_hash_table_iter_init(&iter, replica->child->allowed_nodes); replica 102 lib/pacemaker/pcmk_sched_bundle.c if (node->details != replica->node->details) { replica 104 lib/pacemaker/pcmk_sched_bundle.c } else if (!pcmk__threshold_reached(replica->child, node, replica 110 lib/pacemaker/pcmk_sched_bundle.c pe__set_resource_flags(replica->child->parent, pe_rsc_allocating); replica 112 lib/pacemaker/pcmk_sched_bundle.c rsc->id, replica->child->id); replica 113 lib/pacemaker/pcmk_sched_bundle.c replica->child->cmds->assign(replica->child, replica->node); replica 114 lib/pacemaker/pcmk_sched_bundle.c pe__clear_resource_flags(replica->child->parent, replica 153 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 155 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 156 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 157 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->create_actions(replica->ip); replica 159 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { replica 160 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->create_actions(replica->container); replica 162 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote) { replica 163 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->create_actions(replica->remote); replica 222 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 224 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 225 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica->container); replica 227 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->internal_constraints(replica->container); replica 229 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_starts(rsc, replica->container, replica 232 lib/pacemaker/pcmk_sched_bundle.c if (replica->child) { replica 233 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_stops(rsc, replica->child, replica 236 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_stops(rsc, replica->container, replica 238 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_resource_actions(replica->container, RSC_START, rsc, replica 241 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_resource_actions(replica->container, RSC_STOP, rsc, replica 245 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 246 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->internal_constraints(replica->ip); replica 249 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_starts(replica->ip, replica->container, replica 251 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_stops(replica->container, replica->ip, replica 254 lib/pacemaker/pcmk_sched_bundle.c pcmk__new_colocation("ip-with-docker", NULL, INFINITY, replica->ip, replica 255 lib/pacemaker/pcmk_sched_bundle.c replica->container, NULL, NULL, true, replica 259 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote) { replica 265 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->internal_constraints(replica->remote); replica 268 lib/pacemaker/pcmk_sched_bundle.c if (replica->child) { replica 269 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica->remote); replica 320 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 322 lib/pacemaker/pcmk_sched_bundle.c if (pcmk__instance_matches(replica->container, candidate, filter, replica 325 lib/pacemaker/pcmk_sched_bundle.c rsc_lh->id, replica->container->id, replica 327 lib/pacemaker/pcmk_sched_bundle.c return replica->container; replica 476 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 479 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->apply_coloc_score(dependent, replica 480 lib/pacemaker/pcmk_sched_bundle.c replica->container, replica 484 lib/pacemaker/pcmk_sched_bundle.c pe_node_t *chosen = replica->container->fns->location(replica->container, replica 488 lib/pacemaker/pcmk_sched_bundle.c || is_set_recursive(replica->container, pe_rsc_block, TRUE)) { replica 492 lib/pacemaker/pcmk_sched_bundle.c && (replica->child == NULL)) { replica 496 lib/pacemaker/pcmk_sched_bundle.c && (replica->child->next_role < RSC_ROLE_PROMOTED)) { replica 601 lib/pacemaker/pcmk_sched_bundle.c const pe__bundle_replica_t *replica = iter->data; replica 603 lib/pacemaker/pcmk_sched_bundle.c if (instance == replica->container) { replica 604 lib/pacemaker/pcmk_sched_bundle.c return replica->child; replica 620 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 622 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { replica 623 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->apply_location(replica->container, replica 626 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 627 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->apply_location(replica->ip, constraint); replica 662 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 664 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 665 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote && replica->container replica 666 lib/pacemaker/pcmk_sched_bundle.c && pe__bundle_needs_remote_name(replica->remote)) { replica 675 lib/pacemaker/pcmk_sched_bundle.c replica->remote->xml, LOG_ERR); replica 679 lib/pacemaker/pcmk_sched_bundle.c calculated_addr = pe__add_bundle_remote_name(replica->remote, replica 689 lib/pacemaker/pcmk_sched_bundle.c GHashTable *params = pe_rsc_params(replica->remote, replica 707 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 708 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->add_actions_to_graph(replica->ip); replica 710 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { replica 711 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->add_actions_to_graph(replica->container); replica 713 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote) { replica 714 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->add_actions_to_graph(replica->remote); replica 740 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 742 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 743 lib/pacemaker/pcmk_sched_bundle.c if ((replica->ip != NULL) replica 744 lib/pacemaker/pcmk_sched_bundle.c && replica->ip->cmds->create_probe(replica->ip, node)) { replica 747 lib/pacemaker/pcmk_sched_bundle.c if ((replica->child != NULL) && (node->details == replica->node->details) replica 748 lib/pacemaker/pcmk_sched_bundle.c && replica->child->cmds->create_probe(replica->child, node)) { replica 751 lib/pacemaker/pcmk_sched_bundle.c if ((replica->container != NULL) replica 752 lib/pacemaker/pcmk_sched_bundle.c && replica->container->cmds->create_probe(replica->container, replica 774 lib/pacemaker/pcmk_sched_bundle.c if ((other != replica) && (other != NULL) replica 777 lib/pacemaker/pcmk_sched_bundle.c pcmk__new_ordering(replica->container, replica 778 lib/pacemaker/pcmk_sched_bundle.c pcmk__op_key(replica->container->id, RSC_STATUS, 0), replica 787 lib/pacemaker/pcmk_sched_bundle.c if ((replica->container != NULL) && (replica->remote != NULL) replica 788 lib/pacemaker/pcmk_sched_bundle.c && replica->remote->cmds->create_probe(replica->remote, node)) { replica 794 lib/pacemaker/pcmk_sched_bundle.c char *probe_uuid = pcmk__op_key(replica->remote->id, RSC_STATUS, replica 796 lib/pacemaker/pcmk_sched_bundle.c pe_action_t *probe = find_first_action(replica->remote->actions, replica 803 lib/pacemaker/pcmk_sched_bundle.c replica->remote->id, pe__node_name(node)); replica 804 lib/pacemaker/pcmk_sched_bundle.c pcmk__new_ordering(replica->container, replica 805 lib/pacemaker/pcmk_sched_bundle.c pcmk__op_key(replica->container->id, RSC_START, 0), replica 806 lib/pacemaker/pcmk_sched_bundle.c NULL, replica->remote, NULL, probe, replica 824 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 826 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 827 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip != NULL) { replica 828 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->output_actions(replica->ip); replica 830 lib/pacemaker/pcmk_sched_bundle.c if (replica->container != NULL) { replica 831 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->output_actions(replica->container); replica 833 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote != NULL) { replica 834 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->output_actions(replica->remote); replica 836 lib/pacemaker/pcmk_sched_bundle.c if (replica->child != NULL) { replica 837 lib/pacemaker/pcmk_sched_bundle.c replica->child->cmds->output_actions(replica->child); replica 849 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = NULL; replica 864 lib/pacemaker/pcmk_sched_bundle.c replica = (pe__bundle_replica_t *) bundle_data->replicas->data; replica 865 lib/pacemaker/pcmk_sched_bundle.c if (replica->container != NULL) { replica 866 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->add_utilization(replica->container, orig_rsc, replica 88 lib/pengine/bundle.c allocate_ip(pe__bundle_variant_data_t *data, pe__bundle_replica_t *replica, replica 95 lib/pengine/bundle.c replica->ipaddr = next_ip(data->ip_last); replica 98 lib/pengine/bundle.c replica->ipaddr = strdup(data->ip_range_start); replica 101 lib/pengine/bundle.c data->ip_last = replica->ipaddr; replica 107 lib/pengine/bundle.c data->prefix, replica->offset, replica 108 lib/pengine/bundle.c replica->ipaddr); replica 111 lib/pengine/bundle.c replica->ipaddr, data->prefix, replica 112 lib/pengine/bundle.c replica->offset); replica 118 lib/pengine/bundle.c replica->ipaddr, data->prefix, replica 119 lib/pengine/bundle.c replica->offset); replica 171 lib/pengine/bundle.c pe__bundle_replica_t *replica) replica 178 lib/pengine/bundle.c id = crm_strdup_printf("%s-ip-%s", data->prefix, replica->ipaddr); replica 185 lib/pengine/bundle.c data->prefix, replica->offset); replica 187 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "ip", replica->ipaddr); replica 205 lib/pengine/bundle.c if (pe__unpack_resource(xml_ip, &replica->ip, parent, replica 210 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->ip); replica 231 lib/pengine/bundle.c pe__bundle_replica_t *replica) replica 265 lib/pengine/bundle.c replica->offset); replica 271 lib/pengine/bundle.c crm_xml_set_id(xml_obj, "%s-attributes-%d", data->prefix, replica->offset); replica 289 lib/pengine/bundle.c replica->offset); replica 311 lib/pengine/bundle.c replica->offset); replica 349 lib/pengine/bundle.c if (replica->ipaddr != NULL) { replica 351 lib/pengine/bundle.c " -p ", replica->ipaddr, ":", port->source, replica 363 lib/pengine/bundle.c if (replica->ipaddr != NULL) { replica 366 lib/pengine/bundle.c ":", replica->ipaddr, ":", port->source, replica 409 lib/pengine/bundle.c if (replica->child != NULL) { replica 455 lib/pengine/bundle.c if (pe__unpack_resource(xml_container, &replica->container, parent, replica 459 lib/pengine/bundle.c pe__set_resource_flags(replica->container, pe_rsc_replica_container); replica 460 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->container); replica 487 lib/pengine/bundle.c pe__bundle_replica_t *replica) replica 489 lib/pengine/bundle.c if (replica->child && valid_network(data)) { replica 493 lib/pengine/bundle.c char *id = crm_strdup_printf("%s-%d", data->prefix, replica->offset); replica 502 lib/pengine/bundle.c replica->child->id, replica->offset); replica 512 lib/pengine/bundle.c connect_name = (replica->ipaddr? replica->ipaddr : "#uname"); replica 523 lib/pengine/bundle.c xml_remote = pe_create_remote_xml(NULL, id, replica->container->id, replica 570 lib/pengine/bundle.c replica->node = pe__copy_node(node); replica 571 lib/pengine/bundle.c replica->node->weight = 500; replica 572 lib/pengine/bundle.c replica->node->rsc_discover_mode = pe_discover_exclusive; replica 575 lib/pengine/bundle.c if (replica->child->allowed_nodes != NULL) { replica 576 lib/pengine/bundle.c g_hash_table_destroy(replica->child->allowed_nodes); replica 578 lib/pengine/bundle.c replica->child->allowed_nodes = pcmk__strkey_table(NULL, free); replica 579 lib/pengine/bundle.c g_hash_table_insert(replica->child->allowed_nodes, replica 580 lib/pengine/bundle.c (gpointer) replica->node->details->id, replica 581 lib/pengine/bundle.c pe__copy_node(replica->node)); replica 584 lib/pengine/bundle.c pe_node_t *copy = pe__copy_node(replica->node); replica 586 lib/pengine/bundle.c g_hash_table_insert(replica->child->parent->allowed_nodes, replica 587 lib/pengine/bundle.c (gpointer) replica->node->details->id, copy); replica 589 lib/pengine/bundle.c if (pe__unpack_resource(xml_remote, &replica->remote, parent, replica 594 lib/pengine/bundle.c g_hash_table_iter_init(&gIter, replica->remote->allowed_nodes); replica 602 lib/pengine/bundle.c replica->node->details->remote_rsc = replica->remote; replica 605 lib/pengine/bundle.c replica->remote->container = replica->container; replica 610 lib/pengine/bundle.c g_hash_table_insert(replica->node->details->attrs, replica 622 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->remote); replica 629 lib/pengine/bundle.c pe__bundle_replica_t *replica) replica 633 lib/pengine/bundle.c rc = create_container_resource(parent, data, replica); replica 638 lib/pengine/bundle.c rc = create_ip_resource(parent, data, replica); replica 643 lib/pengine/bundle.c rc = create_remote_resource(parent, data, replica); replica 648 lib/pengine/bundle.c if ((replica->child != NULL) && (replica->ipaddr != NULL)) { replica 649 lib/pengine/bundle.c add_hash_param(replica->child->meta, "external-ip", replica->ipaddr); replica 652 lib/pengine/bundle.c if (replica->remote != NULL) { replica 661 lib/pengine/bundle.c pe__set_resource_flags(replica->remote, pe_rsc_allow_remote_remotes); replica 714 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 716 lib/pengine/bundle.c if (replica->remote == remote) { replica 717 lib/pengine/bundle.c return replica; replica 749 lib/pengine/bundle.c pe__bundle_replica_t *replica = NULL; replica 755 lib/pengine/bundle.c replica = replica_for_remote(rsc); replica 756 lib/pengine/bundle.c if (replica == NULL) { replica 760 lib/pengine/bundle.c node = replica->container->allocated_to; replica 765 lib/pengine/bundle.c node = pe__current_node(replica->container); replica 1029 lib/pengine/bundle.c pe__bundle_replica_t *replica = calloc(1, sizeof(pe__bundle_replica_t)); replica 1031 lib/pengine/bundle.c replica->child = childIter->data; replica 1032 lib/pengine/bundle.c replica->child->exclusive_discover = TRUE; replica 1033 lib/pengine/bundle.c replica->offset = lpc++; replica 1036 lib/pengine/bundle.c if (pcmk_is_set(replica->child->flags, pe_rsc_notify)) { replica 1040 lib/pengine/bundle.c allocate_ip(bundle_data, replica, buffer); replica 1042 lib/pengine/bundle.c replica); replica 1043 lib/pengine/bundle.c bundle_data->attribute_target = g_hash_table_lookup(replica->child->meta, replica 1061 lib/pengine/bundle.c pe__bundle_replica_t *replica = calloc(1, sizeof(pe__bundle_replica_t)); replica 1063 lib/pengine/bundle.c replica->offset = lpc; replica 1064 lib/pengine/bundle.c allocate_ip(bundle_data, replica, buffer); replica 1066 lib/pengine/bundle.c replica); replica 1073 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1075 lib/pengine/bundle.c if (create_replica_resources(rsc, bundle_data, replica) != pcmk_rc_ok) { replica 1097 lib/pengine/bundle.c if (replica->child != NULL) { replica 1098 lib/pengine/bundle.c GHashTable *empty = replica->container->utilization; replica 1100 lib/pengine/bundle.c replica->container->utilization = replica->child->utilization; replica 1101 lib/pengine/bundle.c replica->child->utilization = empty; replica 1134 lib/pengine/bundle.c pe__bundle_replica_t *replica = iter->data; replica 1137 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->ip, all); replica 1142 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->child, all); replica 1147 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->container, all); replica 1152 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->remote, all); replica 1183 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1185 lib/pengine/bundle.c CRM_ASSERT(replica && replica->node); replica 1186 lib/pengine/bundle.c if (replica->node->details == node->details) { replica 1187 lib/pengine/bundle.c return replica->child; replica 1242 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1244 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1246 lib/pengine/bundle.c pre_text, replica->offset); replica 1247 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); replica 1248 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); replica 1249 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); replica 1250 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); replica 1285 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1289 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1291 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { replica 1295 lib/pengine/bundle.c print_ip = replica->ip != NULL && replica 1296 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); replica 1297 lib/pengine/bundle.c print_child = replica->child != NULL && replica 1298 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); replica 1299 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); replica 1300 lib/pengine/bundle.c print_remote = replica->remote != NULL && replica 1301 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); replica 1324 lib/pengine/bundle.c id = pcmk__itoa(replica->offset); replica 1330 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), show_opts, replica 1331 lib/pengine/bundle.c replica->ip, only_node, only_rsc); replica 1335 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), show_opts, replica 1336 lib/pengine/bundle.c replica->child, only_node, only_rsc); replica 1340 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), show_opts, replica 1341 lib/pengine/bundle.c replica->container, only_node, only_rsc); replica 1345 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), show_opts, replica 1346 lib/pengine/bundle.c replica->remote, only_node, only_rsc); replica 1360 lib/pengine/bundle.c pe__bundle_replica_output_html(pcmk__output_t *out, pe__bundle_replica_t *replica, replica 1363 lib/pengine/bundle.c pe_resource_t *rsc = replica->child; replica 1369 lib/pengine/bundle.c rsc = replica->container; replica 1372 lib/pengine/bundle.c if (replica->remote) { replica 1374 lib/pengine/bundle.c rsc_printable_id(replica->remote)); replica 1377 lib/pengine/bundle.c rsc_printable_id(replica->container)); replica 1379 lib/pengine/bundle.c if (replica->ipaddr) { replica 1381 lib/pengine/bundle.c replica->ipaddr); replica 1436 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1439 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1441 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { replica 1445 lib/pengine/bundle.c print_ip = replica->ip != NULL && replica 1446 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); replica 1447 lib/pengine/bundle.c print_child = replica->child != NULL && replica 1448 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); replica 1449 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); replica 1450 lib/pengine/bundle.c print_remote = replica->remote != NULL && replica 1451 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); replica 1468 lib/pengine/bundle.c out->begin_list(out, NULL, NULL, "Replica[%d]", replica->offset); replica 1472 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), replica 1473 lib/pengine/bundle.c new_show_opts, replica->ip, only_node, only_rsc); replica 1477 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), replica 1478 lib/pengine/bundle.c new_show_opts, replica->child, only_node, only_rsc); replica 1482 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), replica 1483 lib/pengine/bundle.c new_show_opts, replica->container, only_node, only_rsc); replica 1487 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), replica 1488 lib/pengine/bundle.c new_show_opts, replica->remote, only_node, only_rsc); replica 1504 lib/pengine/bundle.c pe__bundle_replica_output_html(out, replica, pe__current_node(replica->container), replica 1514 lib/pengine/bundle.c pe__bundle_replica_output_text(pcmk__output_t *out, pe__bundle_replica_t *replica, replica 1517 lib/pengine/bundle.c const pe_resource_t *rsc = replica->child; replica 1523 lib/pengine/bundle.c rsc = replica->container; replica 1526 lib/pengine/bundle.c if (replica->remote) { replica 1528 lib/pengine/bundle.c rsc_printable_id(replica->remote)); replica 1531 lib/pengine/bundle.c rsc_printable_id(replica->container)); replica 1533 lib/pengine/bundle.c if (replica->ipaddr) { replica 1535 lib/pengine/bundle.c replica->ipaddr); replica 1569 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1572 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1574 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { replica 1578 lib/pengine/bundle.c print_ip = replica->ip != NULL && replica 1579 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); replica 1580 lib/pengine/bundle.c print_child = replica->child != NULL && replica 1581 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); replica 1582 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); replica 1583 lib/pengine/bundle.c print_remote = replica->remote != NULL && replica 1584 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); replica 1601 lib/pengine/bundle.c out->list_item(out, NULL, "Replica[%d]", replica->offset); replica 1607 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), replica 1608 lib/pengine/bundle.c new_show_opts, replica->ip, only_node, only_rsc); replica 1612 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), replica 1613 lib/pengine/bundle.c new_show_opts, replica->child, only_node, only_rsc); replica 1617 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), replica 1618 lib/pengine/bundle.c new_show_opts, replica->container, only_node, only_rsc); replica 1622 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), replica 1623 lib/pengine/bundle.c new_show_opts, replica->remote, only_node, only_rsc); replica 1637 lib/pengine/bundle.c pe__bundle_replica_output_text(out, replica, pe__current_node(replica->container), replica 1651 lib/pengine/bundle.c print_bundle_replica(pe__bundle_replica_t *replica, const char *pre_text, replica 1655 lib/pengine/bundle.c pe_resource_t *rsc = replica->child; replica 1661 lib/pengine/bundle.c rsc = replica->container; replica 1664 lib/pengine/bundle.c if (replica->remote) { replica 1666 lib/pengine/bundle.c rsc_printable_id(replica->remote)); replica 1669 lib/pengine/bundle.c rsc_printable_id(replica->container)); replica 1671 lib/pengine/bundle.c if (replica->ipaddr) { replica 1673 lib/pengine/bundle.c replica->ipaddr); replica 1676 lib/pengine/bundle.c node = pe__current_node(replica->container); replica 1715 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1717 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1725 lib/pengine/bundle.c status_print(" %sReplica[%d]\n", pre_text, replica->offset); replica 1730 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); replica 1731 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); replica 1732 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); replica 1733 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); replica 1739 lib/pengine/bundle.c print_bundle_replica(replica, child_text, options, print_data); replica 1753 lib/pengine/bundle.c free_bundle_replica(pe__bundle_replica_t *replica) replica 1755 lib/pengine/bundle.c if (replica == NULL) { replica 1759 lib/pengine/bundle.c if (replica->node) { replica 1760 lib/pengine/bundle.c free(replica->node); replica 1761 lib/pengine/bundle.c replica->node = NULL; replica 1764 lib/pengine/bundle.c if (replica->ip) { replica 1765 lib/pengine/bundle.c free_xml(replica->ip->xml); replica 1766 lib/pengine/bundle.c replica->ip->xml = NULL; replica 1767 lib/pengine/bundle.c replica->ip->fns->free(replica->ip); replica 1768 lib/pengine/bundle.c replica->ip = NULL; replica 1770 lib/pengine/bundle.c if (replica->container) { replica 1771 lib/pengine/bundle.c free_xml(replica->container->xml); replica 1772 lib/pengine/bundle.c replica->container->xml = NULL; replica 1773 lib/pengine/bundle.c replica->container->fns->free(replica->container); replica 1774 lib/pengine/bundle.c replica->container = NULL; replica 1776 lib/pengine/bundle.c if (replica->remote) { replica 1777 lib/pengine/bundle.c free_xml(replica->remote->xml); replica 1778 lib/pengine/bundle.c replica->remote->xml = NULL; replica 1779 lib/pengine/bundle.c replica->remote->fns->free(replica->remote); replica 1780 lib/pengine/bundle.c replica->remote = NULL; replica 1782 lib/pengine/bundle.c free(replica->ipaddr); replica 1783 lib/pengine/bundle.c free(replica); replica 1854 lib/pengine/bundle.c pe__bundle_replica_t *replica = item->data; replica 1856 lib/pengine/bundle.c if (replica->ip) { replica 1857 lib/pengine/bundle.c replica->ip->fns->count(replica->ip); replica 1859 lib/pengine/bundle.c if (replica->child) { replica 1860 lib/pengine/bundle.c replica->child->fns->count(replica->child); replica 1862 lib/pengine/bundle.c if (replica->container) { replica 1863 lib/pengine/bundle.c replica->container->fns->count(replica->container); replica 1865 lib/pengine/bundle.c if (replica->remote) { replica 1866 lib/pengine/bundle.c replica->remote->fns->count(replica->remote); replica 1884 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1886 lib/pengine/bundle.c if (replica->ip != NULL && !replica->ip->fns->is_filtered(replica->ip, only_rsc, FALSE)) { replica 1889 lib/pengine/bundle.c } else if (replica->child != NULL && !replica->child->fns->is_filtered(replica->child, only_rsc, FALSE)) { replica 1892 lib/pengine/bundle.c } else if (!replica->container->fns->is_filtered(replica->container, only_rsc, FALSE)) { replica 1895 lib/pengine/bundle.c } else if (replica->remote != NULL && !replica->remote->fns->is_filtered(replica->remote, only_rsc, FALSE)) { replica 1923 lib/pengine/bundle.c pe__bundle_replica_t *replica = iter->data; replica 1925 lib/pengine/bundle.c containers = g_list_append(containers, replica->container); replica 1958 lib/pengine/bundle.c pe__bundle_replica_t *replica = iter->data; replica 1960 lib/pengine/bundle.c if (replica->container->running_on != NULL) { replica 1961 lib/pengine/bundle.c containers = g_list_append(containers, replica->container);