replica 34 lib/pacemaker/pcmk_sched_bundle.c assign_replica(pcmk__bundle_replica_t *replica, void *user_data) replica 42 lib/pacemaker/pcmk_sched_bundle.c const pcmk_resource_t *bundle = pe__const_top_resource(replica->container, replica 45 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip != NULL) { replica 47 lib/pacemaker/pcmk_sched_bundle.c bundle->id, replica->ip->id); replica 48 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->assign(replica->ip, prefer, stop_if_fail); replica 51 lib/pacemaker/pcmk_sched_bundle.c container_host = replica->container->allocated_to; replica 52 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote != NULL) { replica 59 lib/pacemaker/pcmk_sched_bundle.c PCMK_SCORE_INFINITY, replica->remote, replica 64 lib/pacemaker/pcmk_sched_bundle.c bundle->id, replica->remote->id); replica 65 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->assign(replica->remote, prefer, stop_if_fail); replica 68 lib/pacemaker/pcmk_sched_bundle.c if (replica->child != NULL) { replica 72 lib/pacemaker/pcmk_sched_bundle.c g_hash_table_iter_init(&iter, replica->child->allowed_nodes); replica 74 lib/pacemaker/pcmk_sched_bundle.c if (!pcmk__same_node(node, replica->node)) { replica 76 lib/pacemaker/pcmk_sched_bundle.c } else if (!pcmk__threshold_reached(replica->child, node, NULL)) { replica 81 lib/pacemaker/pcmk_sched_bundle.c pcmk__set_rsc_flags(replica->child->parent, pcmk_rsc_assigning); replica 83 lib/pacemaker/pcmk_sched_bundle.c bundle->id, replica->child->id); replica 84 lib/pacemaker/pcmk_sched_bundle.c replica->child->cmds->assign(replica->child, replica->node, replica 86 lib/pacemaker/pcmk_sched_bundle.c pcmk__clear_rsc_flags(replica->child->parent, pcmk_rsc_assigning); replica 167 lib/pacemaker/pcmk_sched_bundle.c create_replica_actions(pcmk__bundle_replica_t *replica, void *user_data) replica 169 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip != NULL) { replica 170 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->create_actions(replica->ip); replica 172 lib/pacemaker/pcmk_sched_bundle.c if (replica->container != NULL) { replica 173 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->create_actions(replica->container); replica 175 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote != NULL) { replica 176 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->create_actions(replica->remote); replica 230 lib/pacemaker/pcmk_sched_bundle.c replica_internal_constraints(pcmk__bundle_replica_t *replica, void *user_data) replica 234 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->internal_constraints(replica->container); replica 237 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_starts(bundle, replica->container, replica 242 lib/pacemaker/pcmk_sched_bundle.c if (replica->child != NULL) { replica 243 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_stops(bundle, replica->child, replica 246 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_stops(bundle, replica->container, replica 250 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_resource_actions(replica->container, PCMK_ACTION_START, bundle, replica 255 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_resource_actions(replica->container, PCMK_ACTION_STOP, bundle, replica 259 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip != NULL) { replica 260 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->internal_constraints(replica->ip); replica 263 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_starts(replica->ip, replica->container, replica 266 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_stops(replica->container, replica->ip, replica 270 lib/pacemaker/pcmk_sched_bundle.c replica->ip, replica->container, NULL, NULL, replica 274 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote != NULL) { replica 280 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->internal_constraints(replica->remote); replica 283 lib/pacemaker/pcmk_sched_bundle.c if (replica->child != NULL) { replica 284 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica->remote != NULL); replica 374 lib/pacemaker/pcmk_sched_bundle.c match_replica_container(const pcmk__bundle_replica_t *replica, void *user_data) replica 378 lib/pacemaker/pcmk_sched_bundle.c if (pcmk__instance_matches(replica->container, match_data->node, replica 380 lib/pacemaker/pcmk_sched_bundle.c match_data->container = replica->container; replica 470 lib/pacemaker/pcmk_sched_bundle.c replica_apply_coloc_score(const pcmk__bundle_replica_t *replica, replica 478 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->apply_coloc_score(coloc_data->dependent, replica 479 lib/pacemaker/pcmk_sched_bundle.c replica->container, replica 488 lib/pacemaker/pcmk_sched_bundle.c chosen = replica->container->fns->location(replica->container, NULL, 0); replica 490 lib/pacemaker/pcmk_sched_bundle.c || is_set_recursive(replica->container, pcmk_rsc_blocked, true)) { replica 495 lib/pacemaker/pcmk_sched_bundle.c && ((replica->child == NULL) replica 496 lib/pacemaker/pcmk_sched_bundle.c || (replica->child->next_role < pcmk_role_promoted))) { replica 500 lib/pacemaker/pcmk_sched_bundle.c pcmk__rsc_trace(pe__const_top_resource(replica->container, true), replica 733 lib/pacemaker/pcmk_sched_bundle.c apply_location_to_replica(pcmk__bundle_replica_t *replica, void *user_data) replica 737 lib/pacemaker/pcmk_sched_bundle.c if (replica->container != NULL) { replica 738 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->apply_location(replica->container, location); replica 740 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip != NULL) { replica 741 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->apply_location(replica->ip, location); replica 785 lib/pacemaker/pcmk_sched_bundle.c add_replica_actions_to_graph(pcmk__bundle_replica_t *replica, void *user_data) replica 787 lib/pacemaker/pcmk_sched_bundle.c if ((replica->remote != NULL) && (replica->container != NULL) replica 788 lib/pacemaker/pcmk_sched_bundle.c && pe__bundle_needs_remote_name(replica->remote)) { replica 796 lib/pacemaker/pcmk_sched_bundle.c xmlNode *nvpair = get_xpath_object(XPATH_REMOTE, replica->remote->xml, replica 801 lib/pacemaker/pcmk_sched_bundle.c calculated_addr = pe__add_bundle_remote_name(replica->remote, nvpair, replica 810 lib/pacemaker/pcmk_sched_bundle.c GHashTable *params = pe_rsc_params(replica->remote, replica 811 lib/pacemaker/pcmk_sched_bundle.c NULL, replica->remote->cluster); replica 829 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip != NULL) { replica 830 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->add_actions_to_graph(replica->ip); replica 832 lib/pacemaker/pcmk_sched_bundle.c if (replica->container != NULL) { replica 833 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->add_actions_to_graph(replica->container); replica 835 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote != NULL) { replica 836 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->add_actions_to_graph(replica->remote); replica 877 lib/pacemaker/pcmk_sched_bundle.c order_replica_start_after(pcmk__bundle_replica_t *replica, void *user_data) replica 881 lib/pacemaker/pcmk_sched_bundle.c if ((replica == probed_replica) || (replica->container == NULL)) { replica 887 lib/pacemaker/pcmk_sched_bundle.c NULL, replica->container, replica 888 lib/pacemaker/pcmk_sched_bundle.c pcmk__op_key(replica->container->id, PCMK_ACTION_START, replica 891 lib/pacemaker/pcmk_sched_bundle.c replica->container->cluster); replica 905 lib/pacemaker/pcmk_sched_bundle.c create_replica_probes(pcmk__bundle_replica_t *replica, void *user_data) replica 909 lib/pacemaker/pcmk_sched_bundle.c if ((replica->ip != NULL) replica 910 lib/pacemaker/pcmk_sched_bundle.c && replica->ip->cmds->create_probe(replica->ip, probe_data->node)) { replica 913 lib/pacemaker/pcmk_sched_bundle.c if ((replica->child != NULL) replica 914 lib/pacemaker/pcmk_sched_bundle.c && pcmk__same_node(probe_data->node, replica->node) replica 915 lib/pacemaker/pcmk_sched_bundle.c && replica->child->cmds->create_probe(replica->child, replica 919 lib/pacemaker/pcmk_sched_bundle.c if ((replica->container != NULL) replica 920 lib/pacemaker/pcmk_sched_bundle.c && replica->container->cmds->create_probe(replica->container, replica 938 lib/pacemaker/pcmk_sched_bundle.c order_replica_start_after, replica); replica 941 lib/pacemaker/pcmk_sched_bundle.c if ((replica->container != NULL) && (replica->remote != NULL) replica 942 lib/pacemaker/pcmk_sched_bundle.c && replica->remote->cmds->create_probe(replica->remote, replica 948 lib/pacemaker/pcmk_sched_bundle.c char *probe_uuid = pcmk__op_key(replica->remote->id, replica 950 lib/pacemaker/pcmk_sched_bundle.c pcmk_action_t *probe = find_first_action(replica->remote->actions, replica 958 lib/pacemaker/pcmk_sched_bundle.c replica->remote->id, replica 960 lib/pacemaker/pcmk_sched_bundle.c pcmk__new_ordering(replica->container, replica 961 lib/pacemaker/pcmk_sched_bundle.c pcmk__op_key(replica->container->id, replica 963 lib/pacemaker/pcmk_sched_bundle.c NULL, replica->remote, NULL, probe, replica 1001 lib/pacemaker/pcmk_sched_bundle.c output_replica_actions(pcmk__bundle_replica_t *replica, void *user_data) replica 1003 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip != NULL) { replica 1004 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->output_actions(replica->ip); replica 1006 lib/pacemaker/pcmk_sched_bundle.c if (replica->container != NULL) { replica 1007 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->output_actions(replica->container); replica 1009 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote != NULL) { replica 1010 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->output_actions(replica->remote); replica 1012 lib/pacemaker/pcmk_sched_bundle.c if (replica->child != NULL) { replica 1013 lib/pacemaker/pcmk_sched_bundle.c replica->child->cmds->output_actions(replica->child); replica 140 lib/pengine/bundle.c const pcmk__bundle_replica_t *replica = iter->data; replica 142 lib/pengine/bundle.c if (instance == replica->container) { replica 143 lib/pengine/bundle.c return replica->child; replica 166 lib/pengine/bundle.c pcmk__bundle_replica_t *replica = iter->data; replica 168 lib/pengine/bundle.c if (pcmk__same_node(node, replica->node)) { replica 188 lib/pengine/bundle.c const pcmk__bundle_replica_t *replica = NULL; replica 194 lib/pengine/bundle.c replica = bundle_data->replicas->data; replica 195 lib/pengine/bundle.c return replica->container; replica 277 lib/pengine/bundle.c allocate_ip(pe__bundle_variant_data_t *data, pcmk__bundle_replica_t *replica, replica 284 lib/pengine/bundle.c replica->ipaddr = next_ip(data->ip_last); replica 287 lib/pengine/bundle.c replica->ipaddr = strdup(data->ip_range_start); replica 290 lib/pengine/bundle.c data->ip_last = replica->ipaddr; replica 296 lib/pengine/bundle.c data->prefix, replica->offset, replica 297 lib/pengine/bundle.c replica->ipaddr); replica 300 lib/pengine/bundle.c replica->ipaddr, data->prefix, replica 301 lib/pengine/bundle.c replica->offset); replica 307 lib/pengine/bundle.c replica->ipaddr, data->prefix, replica 308 lib/pengine/bundle.c replica->offset); replica 363 lib/pengine/bundle.c pcmk__bundle_replica_t *replica) replica 370 lib/pengine/bundle.c id = crm_strdup_printf("%s-ip-%s", data->prefix, replica->ipaddr); replica 377 lib/pengine/bundle.c data->prefix, replica->offset); replica 379 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "ip", replica->ipaddr); replica 398 lib/pengine/bundle.c if (pe__unpack_resource(xml_ip, &replica->ip, parent, replica 403 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->ip); replica 424 lib/pengine/bundle.c pcmk__bundle_replica_t *replica) replica 458 lib/pengine/bundle.c replica->offset); replica 464 lib/pengine/bundle.c crm_xml_set_id(xml_obj, "%s-attributes-%d", data->prefix, replica->offset); replica 482 lib/pengine/bundle.c replica->offset); replica 504 lib/pengine/bundle.c replica->offset); replica 542 lib/pengine/bundle.c if (replica->ipaddr != NULL) { replica 544 lib/pengine/bundle.c " -p ", replica->ipaddr, ":", port->source, replica 556 lib/pengine/bundle.c if (replica->ipaddr != NULL) { replica 559 lib/pengine/bundle.c ":", replica->ipaddr, ":", port->source, replica 602 lib/pengine/bundle.c if (replica->child != NULL) { replica 649 lib/pengine/bundle.c if (pe__unpack_resource(xml_container, &replica->container, parent, replica 653 lib/pengine/bundle.c pcmk__set_rsc_flags(replica->container, pcmk_rsc_replica_container); replica 654 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->container); replica 681 lib/pengine/bundle.c pcmk__bundle_replica_t *replica) replica 683 lib/pengine/bundle.c if (replica->child && valid_network(data)) { replica 687 lib/pengine/bundle.c char *id = crm_strdup_printf("%s-%d", data->prefix, replica->offset); replica 696 lib/pengine/bundle.c replica->child->id, replica->offset); replica 706 lib/pengine/bundle.c connect_name = (replica->ipaddr? replica->ipaddr : "#uname"); replica 717 lib/pengine/bundle.c xml_remote = pe_create_remote_xml(NULL, id, replica->container->id, replica 764 lib/pengine/bundle.c replica->node = pe__copy_node(node); replica 765 lib/pengine/bundle.c replica->node->weight = 500; replica 766 lib/pengine/bundle.c replica->node->rsc_discover_mode = pcmk_probe_exclusive; replica 769 lib/pengine/bundle.c if (replica->child->allowed_nodes != NULL) { replica 770 lib/pengine/bundle.c g_hash_table_destroy(replica->child->allowed_nodes); replica 772 lib/pengine/bundle.c replica->child->allowed_nodes = pcmk__strkey_table(NULL, free); replica 773 lib/pengine/bundle.c g_hash_table_insert(replica->child->allowed_nodes, replica 774 lib/pengine/bundle.c (gpointer) replica->node->details->id, replica 775 lib/pengine/bundle.c pe__copy_node(replica->node)); replica 778 lib/pengine/bundle.c pcmk_node_t *copy = pe__copy_node(replica->node); replica 780 lib/pengine/bundle.c g_hash_table_insert(replica->child->parent->allowed_nodes, replica 781 lib/pengine/bundle.c (gpointer) replica->node->details->id, copy); replica 783 lib/pengine/bundle.c if (pe__unpack_resource(xml_remote, &replica->remote, parent, replica 788 lib/pengine/bundle.c g_hash_table_iter_init(&gIter, replica->remote->allowed_nodes); replica 796 lib/pengine/bundle.c replica->node->details->remote_rsc = replica->remote; replica 799 lib/pengine/bundle.c replica->remote->container = replica->container; replica 804 lib/pengine/bundle.c pcmk__insert_dup(replica->node->details->attrs, replica 816 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->remote); replica 824 lib/pengine/bundle.c pcmk__bundle_replica_t *replica) replica 828 lib/pengine/bundle.c rc = create_container_resource(parent, data, replica); replica 833 lib/pengine/bundle.c rc = create_ip_resource(parent, data, replica); replica 838 lib/pengine/bundle.c rc = create_remote_resource(parent, data, replica); replica 843 lib/pengine/bundle.c if ((replica->child != NULL) && (replica->ipaddr != NULL)) { replica 844 lib/pengine/bundle.c pcmk__insert_meta(replica->child, "external-ip", replica->ipaddr); replica 847 lib/pengine/bundle.c if (replica->remote != NULL) { replica 856 lib/pengine/bundle.c pcmk__set_rsc_flags(replica->remote, pcmk_rsc_remote_nesting_allowed); replica 909 lib/pengine/bundle.c pcmk__bundle_replica_t *replica = gIter->data; replica 911 lib/pengine/bundle.c if (replica->remote == remote) { replica 912 lib/pengine/bundle.c return replica; replica 944 lib/pengine/bundle.c pcmk__bundle_replica_t *replica = NULL; replica 950 lib/pengine/bundle.c replica = replica_for_remote(rsc); replica 951 lib/pengine/bundle.c if (replica == NULL) { replica 955 lib/pengine/bundle.c node = replica->container->allocated_to; replica 960 lib/pengine/bundle.c node = pcmk__current_node(replica->container); replica 1253 lib/pengine/bundle.c pcmk__bundle_replica_t *replica = NULL; replica 1255 lib/pengine/bundle.c replica = pcmk__assert_alloc(1, sizeof(pcmk__bundle_replica_t)); replica 1256 lib/pengine/bundle.c replica->child = childIter->data; replica 1257 lib/pengine/bundle.c replica->child->exclusive_discover = TRUE; replica 1258 lib/pengine/bundle.c replica->offset = lpc++; replica 1261 lib/pengine/bundle.c if (pcmk_is_set(replica->child->flags, pcmk_rsc_notify)) { replica 1265 lib/pengine/bundle.c allocate_ip(bundle_data, replica, buffer); replica 1267 lib/pengine/bundle.c replica); replica 1269 lib/pengine/bundle.c g_hash_table_lookup(replica->child->meta, replica 1287 lib/pengine/bundle.c pcmk__bundle_replica_t *replica = NULL; replica 1289 lib/pengine/bundle.c replica = pcmk__assert_alloc(1, sizeof(pcmk__bundle_replica_t)); replica 1290 lib/pengine/bundle.c replica->offset = lpc; replica 1291 lib/pengine/bundle.c allocate_ip(bundle_data, replica, buffer); replica 1293 lib/pengine/bundle.c replica); replica 1300 lib/pengine/bundle.c pcmk__bundle_replica_t *replica = gIter->data; replica 1302 lib/pengine/bundle.c if (create_replica_resources(rsc, bundle_data, replica) != pcmk_rc_ok) { replica 1324 lib/pengine/bundle.c if (replica->child != NULL) { replica 1325 lib/pengine/bundle.c GHashTable *empty = replica->container->utilization; replica 1327 lib/pengine/bundle.c replica->container->utilization = replica->child->utilization; replica 1328 lib/pengine/bundle.c replica->child->utilization = empty; replica 1361 lib/pengine/bundle.c pcmk__bundle_replica_t *replica = iter->data; replica 1364 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->ip, all); replica 1369 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->child, all); replica 1374 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->container, all); replica 1379 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->remote, all); replica 1410 lib/pengine/bundle.c pcmk__bundle_replica_t *replica = gIter->data; replica 1412 lib/pengine/bundle.c CRM_ASSERT(replica && replica->node); replica 1413 lib/pengine/bundle.c if (pcmk__same_node(replica->node, node)) { replica 1414 lib/pengine/bundle.c return replica->child; replica 1472 lib/pengine/bundle.c pcmk__bundle_replica_t *replica = gIter->data; replica 1474 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1476 lib/pengine/bundle.c pre_text, replica->offset); replica 1477 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); replica 1478 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); replica 1479 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); replica 1480 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); replica 1516 lib/pengine/bundle.c pcmk__bundle_replica_t *replica = gIter->data; replica 1520 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1522 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { replica 1526 lib/pengine/bundle.c print_ip = replica->ip != NULL && replica 1527 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); replica 1528 lib/pengine/bundle.c print_child = replica->child != NULL && replica 1529 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); replica 1530 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); replica 1531 lib/pengine/bundle.c print_remote = replica->remote != NULL && replica 1532 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); replica 1563 lib/pengine/bundle.c id = pcmk__itoa(replica->offset); replica 1571 lib/pengine/bundle.c out->message(out, (const char *) replica->ip->xml->name, show_opts, replica 1572 lib/pengine/bundle.c replica->ip, only_node, only_rsc); replica 1576 lib/pengine/bundle.c out->message(out, (const char *) replica->child->xml->name, replica 1577 lib/pengine/bundle.c show_opts, replica->child, only_node, only_rsc); replica 1581 lib/pengine/bundle.c out->message(out, (const char *) replica->container->xml->name, replica 1582 lib/pengine/bundle.c show_opts, replica->container, only_node, only_rsc); replica 1586 lib/pengine/bundle.c out->message(out, (const char *) replica->remote->xml->name, replica 1587 lib/pengine/bundle.c show_opts, replica->remote, only_node, only_rsc); replica 1602 lib/pengine/bundle.c pcmk__bundle_replica_t *replica, replica 1605 lib/pengine/bundle.c pcmk_resource_t *rsc = replica->child; replica 1611 lib/pengine/bundle.c rsc = replica->container; replica 1614 lib/pengine/bundle.c if (replica->remote) { replica 1616 lib/pengine/bundle.c rsc_printable_id(replica->remote)); replica 1619 lib/pengine/bundle.c rsc_printable_id(replica->container)); replica 1621 lib/pengine/bundle.c if (replica->ipaddr) { replica 1623 lib/pengine/bundle.c replica->ipaddr); replica 1679 lib/pengine/bundle.c pcmk__bundle_replica_t *replica = gIter->data; replica 1682 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1684 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { replica 1688 lib/pengine/bundle.c print_ip = replica->ip != NULL && replica 1689 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); replica 1690 lib/pengine/bundle.c print_child = replica->child != NULL && replica 1691 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); replica 1692 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); replica 1693 lib/pengine/bundle.c print_remote = replica->remote != NULL && replica 1694 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); replica 1711 lib/pengine/bundle.c out->begin_list(out, NULL, NULL, "Replica[%d]", replica->offset); replica 1715 lib/pengine/bundle.c out->message(out, (const char *) replica->ip->xml->name, replica 1716 lib/pengine/bundle.c new_show_opts, replica->ip, only_node, only_rsc); replica 1720 lib/pengine/bundle.c out->message(out, (const char *) replica->child->xml->name, replica 1721 lib/pengine/bundle.c new_show_opts, replica->child, only_node, replica 1726 lib/pengine/bundle.c out->message(out, (const char *) replica->container->xml->name, replica 1727 lib/pengine/bundle.c new_show_opts, replica->container, only_node, replica 1732 lib/pengine/bundle.c out->message(out, (const char *) replica->remote->xml->name, replica 1733 lib/pengine/bundle.c new_show_opts, replica->remote, only_node, replica 1750 lib/pengine/bundle.c pe__bundle_replica_output_html(out, replica, replica 1751 lib/pengine/bundle.c pcmk__current_node(replica->container), replica 1762 lib/pengine/bundle.c pcmk__bundle_replica_t *replica, replica 1765 lib/pengine/bundle.c const pcmk_resource_t *rsc = replica->child; replica 1771 lib/pengine/bundle.c rsc = replica->container; replica 1774 lib/pengine/bundle.c if (replica->remote) { replica 1776 lib/pengine/bundle.c rsc_printable_id(replica->remote)); replica 1779 lib/pengine/bundle.c rsc_printable_id(replica->container)); replica 1781 lib/pengine/bundle.c if (replica->ipaddr) { replica 1783 lib/pengine/bundle.c replica->ipaddr); replica 1818 lib/pengine/bundle.c pcmk__bundle_replica_t *replica = gIter->data; replica 1821 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1823 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { replica 1827 lib/pengine/bundle.c print_ip = replica->ip != NULL && replica 1828 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); replica 1829 lib/pengine/bundle.c print_child = replica->child != NULL && replica 1830 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); replica 1831 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); replica 1832 lib/pengine/bundle.c print_remote = replica->remote != NULL && replica 1833 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); replica 1850 lib/pengine/bundle.c out->list_item(out, NULL, "Replica[%d]", replica->offset); replica 1856 lib/pengine/bundle.c out->message(out, (const char *) replica->ip->xml->name, replica 1857 lib/pengine/bundle.c new_show_opts, replica->ip, only_node, only_rsc); replica 1861 lib/pengine/bundle.c out->message(out, (const char *) replica->child->xml->name, replica 1862 lib/pengine/bundle.c new_show_opts, replica->child, only_node, replica 1867 lib/pengine/bundle.c out->message(out, (const char *) replica->container->xml->name, replica 1868 lib/pengine/bundle.c new_show_opts, replica->container, only_node, replica 1873 lib/pengine/bundle.c out->message(out, (const char *) replica->remote->xml->name, replica 1874 lib/pengine/bundle.c new_show_opts, replica->remote, only_node, replica 1889 lib/pengine/bundle.c pe__bundle_replica_output_text(out, replica, replica 1890 lib/pengine/bundle.c pcmk__current_node(replica->container), replica 1904 lib/pengine/bundle.c print_bundle_replica(pcmk__bundle_replica_t *replica, const char *pre_text, replica 1908 lib/pengine/bundle.c pcmk_resource_t *rsc = replica->child; replica 1914 lib/pengine/bundle.c rsc = replica->container; replica 1917 lib/pengine/bundle.c if (replica->remote) { replica 1919 lib/pengine/bundle.c rsc_printable_id(replica->remote)); replica 1922 lib/pengine/bundle.c rsc_printable_id(replica->container)); replica 1924 lib/pengine/bundle.c if (replica->ipaddr) { replica 1926 lib/pengine/bundle.c replica->ipaddr); replica 1929 lib/pengine/bundle.c node = pcmk__current_node(replica->container); replica 1968 lib/pengine/bundle.c pcmk__bundle_replica_t *replica = gIter->data; replica 1970 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1978 lib/pengine/bundle.c status_print(" %sReplica[%d]\n", pre_text, replica->offset); replica 1983 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); replica 1984 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); replica 1985 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); replica 1986 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); replica 1992 lib/pengine/bundle.c print_bundle_replica(replica, child_text, options, print_data); replica 2006 lib/pengine/bundle.c free_bundle_replica(pcmk__bundle_replica_t *replica) replica 2008 lib/pengine/bundle.c if (replica == NULL) { replica 2012 lib/pengine/bundle.c if (replica->node) { replica 2013 lib/pengine/bundle.c free(replica->node); replica 2014 lib/pengine/bundle.c replica->node = NULL; replica 2017 lib/pengine/bundle.c if (replica->ip) { replica 2018 lib/pengine/bundle.c free_xml(replica->ip->xml); replica 2019 lib/pengine/bundle.c replica->ip->xml = NULL; replica 2020 lib/pengine/bundle.c replica->ip->fns->free(replica->ip); replica 2021 lib/pengine/bundle.c replica->ip = NULL; replica 2023 lib/pengine/bundle.c if (replica->container) { replica 2024 lib/pengine/bundle.c free_xml(replica->container->xml); replica 2025 lib/pengine/bundle.c replica->container->xml = NULL; replica 2026 lib/pengine/bundle.c replica->container->fns->free(replica->container); replica 2027 lib/pengine/bundle.c replica->container = NULL; replica 2029 lib/pengine/bundle.c if (replica->remote) { replica 2030 lib/pengine/bundle.c free_xml(replica->remote->xml); replica 2031 lib/pengine/bundle.c replica->remote->xml = NULL; replica 2032 lib/pengine/bundle.c replica->remote->fns->free(replica->remote); replica 2033 lib/pengine/bundle.c replica->remote = NULL; replica 2035 lib/pengine/bundle.c free(replica->ipaddr); replica 2036 lib/pengine/bundle.c free(replica); replica 2106 lib/pengine/bundle.c pcmk__bundle_replica_t *replica = item->data; replica 2108 lib/pengine/bundle.c if (replica->ip) { replica 2109 lib/pengine/bundle.c replica->ip->fns->count(replica->ip); replica 2111 lib/pengine/bundle.c if (replica->child) { replica 2112 lib/pengine/bundle.c replica->child->fns->count(replica->child); replica 2114 lib/pengine/bundle.c if (replica->container) { replica 2115 lib/pengine/bundle.c replica->container->fns->count(replica->container); replica 2117 lib/pengine/bundle.c if (replica->remote) { replica 2118 lib/pengine/bundle.c replica->remote->fns->count(replica->remote); replica 2136 lib/pengine/bundle.c pcmk__bundle_replica_t *replica = gIter->data; replica 2138 lib/pengine/bundle.c if (replica->ip != NULL && !replica->ip->fns->is_filtered(replica->ip, only_rsc, FALSE)) { replica 2141 lib/pengine/bundle.c } else if (replica->child != NULL && !replica->child->fns->is_filtered(replica->child, only_rsc, FALSE)) { replica 2144 lib/pengine/bundle.c } else if (!replica->container->fns->is_filtered(replica->container, only_rsc, FALSE)) { replica 2147 lib/pengine/bundle.c } else if (replica->remote != NULL && !replica->remote->fns->is_filtered(replica->remote, only_rsc, FALSE)) { replica 2175 lib/pengine/bundle.c pcmk__bundle_replica_t *replica = iter->data; replica 2177 lib/pengine/bundle.c containers = g_list_append(containers, replica->container); replica 2210 lib/pengine/bundle.c pcmk__bundle_replica_t *replica = iter->data; replica 2212 lib/pengine/bundle.c if (replica->container->running_on != NULL) { replica 2213 lib/pengine/bundle.c containers = g_list_append(containers, replica->container); replica 542 lib/pengine/tests/native/native_find_rsc_test.c bundle_first_replica(pcmk__bundle_replica_t *replica, void *user_data) replica 544 lib/pengine/tests/native/native_find_rsc_test.c pcmk_resource_t *ip_0 = replica->ip; replica 545 lib/pengine/tests/native/native_find_rsc_test.c pcmk_resource_t *child_0 = replica->child; replica 546 lib/pengine/tests/native/native_find_rsc_test.c pcmk_resource_t *container_0 = replica->container; replica 547 lib/pengine/tests/native/native_find_rsc_test.c pcmk_resource_t *remote_0 = replica->remote;