replica 34 lib/pacemaker/pcmk_sched_bundle.c assign_replica(pe__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 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 (!pe__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 pe__set_resource_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 pe__clear_resource_flags(replica->child->parent, pcmk_rsc_assigning); replica 167 lib/pacemaker/pcmk_sched_bundle.c create_replica_actions(pe__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(pe__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 269 lib/pacemaker/pcmk_sched_bundle.c pcmk__new_colocation("#ip-with-container", NULL, INFINITY, replica->ip, replica 270 lib/pacemaker/pcmk_sched_bundle.c 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 pe__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 469 lib/pacemaker/pcmk_sched_bundle.c replica_apply_coloc_score(const pe__bundle_replica_t *replica, void *user_data) replica 475 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->apply_coloc_score(coloc_data->dependent, replica 476 lib/pacemaker/pcmk_sched_bundle.c replica->container, replica 482 lib/pacemaker/pcmk_sched_bundle.c chosen = replica->container->fns->location(replica->container, NULL, 0); replica 484 lib/pacemaker/pcmk_sched_bundle.c || is_set_recursive(replica->container, pcmk_rsc_blocked, true)) { replica 489 lib/pacemaker/pcmk_sched_bundle.c && ((replica->child == NULL) replica 490 lib/pacemaker/pcmk_sched_bundle.c || (replica->child->next_role < pcmk_role_promoted))) { replica 494 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_trace(pe__const_top_resource(replica->container, true), replica 726 lib/pacemaker/pcmk_sched_bundle.c apply_location_to_replica(pe__bundle_replica_t *replica, void *user_data) replica 730 lib/pacemaker/pcmk_sched_bundle.c if (replica->container != NULL) { replica 731 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->apply_location(replica->container, location); replica 733 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip != NULL) { replica 734 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->apply_location(replica->ip, location); replica 779 lib/pacemaker/pcmk_sched_bundle.c add_replica_actions_to_graph(pe__bundle_replica_t *replica, void *user_data) replica 781 lib/pacemaker/pcmk_sched_bundle.c if ((replica->remote != NULL) && (replica->container != NULL) replica 782 lib/pacemaker/pcmk_sched_bundle.c && pe__bundle_needs_remote_name(replica->remote)) { replica 790 lib/pacemaker/pcmk_sched_bundle.c xmlNode *nvpair = get_xpath_object(XPATH_REMOTE, replica->remote->xml, replica 795 lib/pacemaker/pcmk_sched_bundle.c calculated_addr = pe__add_bundle_remote_name(replica->remote, replica 796 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cluster, replica 805 lib/pacemaker/pcmk_sched_bundle.c GHashTable *params = pe_rsc_params(replica->remote, replica 806 lib/pacemaker/pcmk_sched_bundle.c NULL, replica->remote->cluster); replica 826 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip != NULL) { replica 827 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->add_actions_to_graph(replica->ip); replica 829 lib/pacemaker/pcmk_sched_bundle.c if (replica->container != NULL) { replica 830 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->add_actions_to_graph(replica->container); replica 832 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote != NULL) { replica 833 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->add_actions_to_graph(replica->remote); replica 874 lib/pacemaker/pcmk_sched_bundle.c order_replica_start_after(pe__bundle_replica_t *replica, void *user_data) replica 878 lib/pacemaker/pcmk_sched_bundle.c if ((replica == probed_replica) || (replica->container == NULL)) { replica 884 lib/pacemaker/pcmk_sched_bundle.c NULL, replica->container, replica 885 lib/pacemaker/pcmk_sched_bundle.c pcmk__op_key(replica->container->id, PCMK_ACTION_START, replica 888 lib/pacemaker/pcmk_sched_bundle.c replica->container->cluster); replica 902 lib/pacemaker/pcmk_sched_bundle.c create_replica_probes(pe__bundle_replica_t *replica, void *user_data) replica 906 lib/pacemaker/pcmk_sched_bundle.c if ((replica->ip != NULL) replica 907 lib/pacemaker/pcmk_sched_bundle.c && replica->ip->cmds->create_probe(replica->ip, probe_data->node)) { replica 910 lib/pacemaker/pcmk_sched_bundle.c if ((replica->child != NULL) replica 911 lib/pacemaker/pcmk_sched_bundle.c && pe__same_node(probe_data->node, replica->node) replica 912 lib/pacemaker/pcmk_sched_bundle.c && replica->child->cmds->create_probe(replica->child, replica 916 lib/pacemaker/pcmk_sched_bundle.c if ((replica->container != NULL) replica 917 lib/pacemaker/pcmk_sched_bundle.c && replica->container->cmds->create_probe(replica->container, replica 935 lib/pacemaker/pcmk_sched_bundle.c order_replica_start_after, replica); replica 938 lib/pacemaker/pcmk_sched_bundle.c if ((replica->container != NULL) && (replica->remote != NULL) replica 939 lib/pacemaker/pcmk_sched_bundle.c && replica->remote->cmds->create_probe(replica->remote, replica 945 lib/pacemaker/pcmk_sched_bundle.c char *probe_uuid = pcmk__op_key(replica->remote->id, replica 947 lib/pacemaker/pcmk_sched_bundle.c pcmk_action_t *probe = find_first_action(replica->remote->actions, replica 955 lib/pacemaker/pcmk_sched_bundle.c replica->remote->id, pe__node_name(probe_data->node)); replica 956 lib/pacemaker/pcmk_sched_bundle.c pcmk__new_ordering(replica->container, replica 957 lib/pacemaker/pcmk_sched_bundle.c pcmk__op_key(replica->container->id, replica 959 lib/pacemaker/pcmk_sched_bundle.c NULL, replica->remote, NULL, probe, replica 997 lib/pacemaker/pcmk_sched_bundle.c output_replica_actions(pe__bundle_replica_t *replica, void *user_data) replica 999 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip != NULL) { replica 1000 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->output_actions(replica->ip); replica 1002 lib/pacemaker/pcmk_sched_bundle.c if (replica->container != NULL) { replica 1003 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->output_actions(replica->container); replica 1005 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote != NULL) { replica 1006 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->output_actions(replica->remote); replica 1008 lib/pacemaker/pcmk_sched_bundle.c if (replica->child != NULL) { replica 1009 lib/pacemaker/pcmk_sched_bundle.c replica->child->cmds->output_actions(replica->child); replica 142 lib/pengine/bundle.c const pe__bundle_replica_t *replica = iter->data; replica 144 lib/pengine/bundle.c if (instance == replica->container) { replica 145 lib/pengine/bundle.c return replica->child; replica 168 lib/pengine/bundle.c pe__bundle_replica_t *replica = iter->data; replica 170 lib/pengine/bundle.c if (pe__same_node(node, replica->node)) { replica 190 lib/pengine/bundle.c const pe__bundle_replica_t *replica = NULL; replica 196 lib/pengine/bundle.c replica = bundle_data->replicas->data; replica 197 lib/pengine/bundle.c return replica->container; replica 279 lib/pengine/bundle.c allocate_ip(pe__bundle_variant_data_t *data, pe__bundle_replica_t *replica, replica 286 lib/pengine/bundle.c replica->ipaddr = next_ip(data->ip_last); replica 289 lib/pengine/bundle.c replica->ipaddr = strdup(data->ip_range_start); replica 292 lib/pengine/bundle.c data->ip_last = replica->ipaddr; replica 298 lib/pengine/bundle.c data->prefix, replica->offset, replica 299 lib/pengine/bundle.c replica->ipaddr); replica 302 lib/pengine/bundle.c replica->ipaddr, data->prefix, replica 303 lib/pengine/bundle.c replica->offset); replica 309 lib/pengine/bundle.c replica->ipaddr, data->prefix, replica 310 lib/pengine/bundle.c replica->offset); replica 363 lib/pengine/bundle.c pe__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 pe__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 pe__set_resource_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 pe__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 g_hash_table_insert(replica->node->details->attrs, replica 816 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->remote); replica 823 lib/pengine/bundle.c pe__bundle_replica_t *replica) replica 827 lib/pengine/bundle.c rc = create_container_resource(parent, data, replica); replica 832 lib/pengine/bundle.c rc = create_ip_resource(parent, data, replica); replica 837 lib/pengine/bundle.c rc = create_remote_resource(parent, data, replica); replica 842 lib/pengine/bundle.c if ((replica->child != NULL) && (replica->ipaddr != NULL)) { replica 843 lib/pengine/bundle.c add_hash_param(replica->child->meta, "external-ip", replica->ipaddr); replica 846 lib/pengine/bundle.c if (replica->remote != NULL) { replica 855 lib/pengine/bundle.c pe__set_resource_flags(replica->remote, replica 909 lib/pengine/bundle.c pe__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 pe__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 = pe__current_node(replica->container); replica 1221 lib/pengine/bundle.c pe__bundle_replica_t *replica = calloc(1, sizeof(pe__bundle_replica_t)); replica 1223 lib/pengine/bundle.c replica->child = childIter->data; replica 1224 lib/pengine/bundle.c replica->child->exclusive_discover = TRUE; replica 1225 lib/pengine/bundle.c replica->offset = lpc++; replica 1228 lib/pengine/bundle.c if (pcmk_is_set(replica->child->flags, pcmk_rsc_notify)) { replica 1232 lib/pengine/bundle.c allocate_ip(bundle_data, replica, buffer); replica 1234 lib/pengine/bundle.c replica); replica 1235 lib/pengine/bundle.c bundle_data->attribute_target = g_hash_table_lookup(replica->child->meta, replica 1253 lib/pengine/bundle.c pe__bundle_replica_t *replica = calloc(1, sizeof(pe__bundle_replica_t)); replica 1255 lib/pengine/bundle.c replica->offset = lpc; replica 1256 lib/pengine/bundle.c allocate_ip(bundle_data, replica, buffer); replica 1258 lib/pengine/bundle.c replica); replica 1265 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1267 lib/pengine/bundle.c if (create_replica_resources(rsc, bundle_data, replica) != pcmk_rc_ok) { replica 1289 lib/pengine/bundle.c if (replica->child != NULL) { replica 1290 lib/pengine/bundle.c GHashTable *empty = replica->container->utilization; replica 1292 lib/pengine/bundle.c replica->container->utilization = replica->child->utilization; replica 1293 lib/pengine/bundle.c replica->child->utilization = empty; replica 1326 lib/pengine/bundle.c pe__bundle_replica_t *replica = iter->data; replica 1329 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->ip, all); replica 1334 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->child, all); replica 1339 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->container, all); replica 1344 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->remote, all); replica 1375 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1377 lib/pengine/bundle.c CRM_ASSERT(replica && replica->node); replica 1378 lib/pengine/bundle.c if (replica->node->details == node->details) { replica 1379 lib/pengine/bundle.c return replica->child; replica 1435 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1437 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1439 lib/pengine/bundle.c pre_text, replica->offset); replica 1440 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); replica 1441 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); replica 1442 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); replica 1443 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); replica 1479 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1483 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1485 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { replica 1489 lib/pengine/bundle.c print_ip = replica->ip != NULL && replica 1490 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); replica 1491 lib/pengine/bundle.c print_child = replica->child != NULL && replica 1492 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); replica 1493 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); replica 1494 lib/pengine/bundle.c print_remote = replica->remote != NULL && replica 1495 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); replica 1519 lib/pengine/bundle.c id = pcmk__itoa(replica->offset); replica 1525 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), show_opts, replica 1526 lib/pengine/bundle.c replica->ip, only_node, only_rsc); replica 1530 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), show_opts, replica 1531 lib/pengine/bundle.c replica->child, only_node, only_rsc); replica 1535 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), show_opts, replica 1536 lib/pengine/bundle.c replica->container, only_node, only_rsc); replica 1540 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), show_opts, replica 1541 lib/pengine/bundle.c replica->remote, only_node, only_rsc); replica 1555 lib/pengine/bundle.c pe__bundle_replica_output_html(pcmk__output_t *out, pe__bundle_replica_t *replica, replica 1558 lib/pengine/bundle.c pcmk_resource_t *rsc = replica->child; replica 1564 lib/pengine/bundle.c rsc = replica->container; replica 1567 lib/pengine/bundle.c if (replica->remote) { replica 1569 lib/pengine/bundle.c rsc_printable_id(replica->remote)); replica 1572 lib/pengine/bundle.c rsc_printable_id(replica->container)); replica 1574 lib/pengine/bundle.c if (replica->ipaddr) { replica 1576 lib/pengine/bundle.c replica->ipaddr); replica 1632 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1635 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1637 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { replica 1641 lib/pengine/bundle.c print_ip = replica->ip != NULL && replica 1642 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); replica 1643 lib/pengine/bundle.c print_child = replica->child != NULL && replica 1644 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); replica 1645 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); replica 1646 lib/pengine/bundle.c print_remote = replica->remote != NULL && replica 1647 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); replica 1664 lib/pengine/bundle.c out->begin_list(out, NULL, NULL, "Replica[%d]", replica->offset); replica 1668 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), replica 1669 lib/pengine/bundle.c new_show_opts, replica->ip, only_node, only_rsc); replica 1673 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), replica 1674 lib/pengine/bundle.c new_show_opts, replica->child, only_node, only_rsc); replica 1678 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), replica 1679 lib/pengine/bundle.c new_show_opts, replica->container, only_node, only_rsc); replica 1683 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), replica 1684 lib/pengine/bundle.c new_show_opts, replica->remote, only_node, only_rsc); replica 1700 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 const pcmk_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 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 1798 lib/pengine/bundle.c out->list_item(out, NULL, "Replica[%d]", replica->offset); replica 1804 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), replica 1805 lib/pengine/bundle.c new_show_opts, replica->ip, only_node, only_rsc); replica 1809 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), replica 1810 lib/pengine/bundle.c new_show_opts, replica->child, only_node, only_rsc); replica 1814 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), replica 1815 lib/pengine/bundle.c new_show_opts, replica->container, only_node, only_rsc); replica 1819 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), replica 1820 lib/pengine/bundle.c new_show_opts, replica->remote, only_node, only_rsc); replica 1834 lib/pengine/bundle.c pe__bundle_replica_output_text(out, replica, pe__current_node(replica->container), replica 1848 lib/pengine/bundle.c print_bundle_replica(pe__bundle_replica_t *replica, const char *pre_text, replica 1852 lib/pengine/bundle.c pcmk_resource_t *rsc = replica->child; replica 1858 lib/pengine/bundle.c rsc = replica->container; replica 1861 lib/pengine/bundle.c if (replica->remote) { replica 1863 lib/pengine/bundle.c rsc_printable_id(replica->remote)); replica 1866 lib/pengine/bundle.c rsc_printable_id(replica->container)); replica 1868 lib/pengine/bundle.c if (replica->ipaddr) { replica 1870 lib/pengine/bundle.c replica->ipaddr); replica 1873 lib/pengine/bundle.c node = pe__current_node(replica->container); replica 1912 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1914 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1922 lib/pengine/bundle.c status_print(" %sReplica[%d]\n", pre_text, replica->offset); replica 1927 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); replica 1928 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); replica 1929 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); replica 1930 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); replica 1936 lib/pengine/bundle.c print_bundle_replica(replica, child_text, options, print_data); replica 1950 lib/pengine/bundle.c free_bundle_replica(pe__bundle_replica_t *replica) replica 1952 lib/pengine/bundle.c if (replica == NULL) { replica 1956 lib/pengine/bundle.c if (replica->node) { replica 1957 lib/pengine/bundle.c free(replica->node); replica 1958 lib/pengine/bundle.c replica->node = NULL; replica 1961 lib/pengine/bundle.c if (replica->ip) { replica 1962 lib/pengine/bundle.c free_xml(replica->ip->xml); replica 1963 lib/pengine/bundle.c replica->ip->xml = NULL; replica 1964 lib/pengine/bundle.c replica->ip->fns->free(replica->ip); replica 1965 lib/pengine/bundle.c replica->ip = NULL; replica 1967 lib/pengine/bundle.c if (replica->container) { replica 1968 lib/pengine/bundle.c free_xml(replica->container->xml); replica 1969 lib/pengine/bundle.c replica->container->xml = NULL; replica 1970 lib/pengine/bundle.c replica->container->fns->free(replica->container); replica 1971 lib/pengine/bundle.c replica->container = NULL; replica 1973 lib/pengine/bundle.c if (replica->remote) { replica 1974 lib/pengine/bundle.c free_xml(replica->remote->xml); replica 1975 lib/pengine/bundle.c replica->remote->xml = NULL; replica 1976 lib/pengine/bundle.c replica->remote->fns->free(replica->remote); replica 1977 lib/pengine/bundle.c replica->remote = NULL; replica 1979 lib/pengine/bundle.c free(replica->ipaddr); replica 1980 lib/pengine/bundle.c free(replica); replica 2051 lib/pengine/bundle.c pe__bundle_replica_t *replica = item->data; replica 2053 lib/pengine/bundle.c if (replica->ip) { replica 2054 lib/pengine/bundle.c replica->ip->fns->count(replica->ip); replica 2056 lib/pengine/bundle.c if (replica->child) { replica 2057 lib/pengine/bundle.c replica->child->fns->count(replica->child); replica 2059 lib/pengine/bundle.c if (replica->container) { replica 2060 lib/pengine/bundle.c replica->container->fns->count(replica->container); replica 2062 lib/pengine/bundle.c if (replica->remote) { replica 2063 lib/pengine/bundle.c replica->remote->fns->count(replica->remote); replica 2081 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 2083 lib/pengine/bundle.c if (replica->ip != NULL && !replica->ip->fns->is_filtered(replica->ip, only_rsc, FALSE)) { replica 2086 lib/pengine/bundle.c } else if (replica->child != NULL && !replica->child->fns->is_filtered(replica->child, only_rsc, FALSE)) { replica 2089 lib/pengine/bundle.c } else if (!replica->container->fns->is_filtered(replica->container, only_rsc, FALSE)) { replica 2092 lib/pengine/bundle.c } else if (replica->remote != NULL && !replica->remote->fns->is_filtered(replica->remote, only_rsc, FALSE)) { replica 2120 lib/pengine/bundle.c pe__bundle_replica_t *replica = iter->data; replica 2122 lib/pengine/bundle.c containers = g_list_append(containers, replica->container); replica 2155 lib/pengine/bundle.c pe__bundle_replica_t *replica = iter->data; replica 2157 lib/pengine/bundle.c if (replica->container->running_on != NULL) { replica 2158 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(pe__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;