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 49 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 51 lib/pacemaker/pcmk_sched_bundle.c containers = g_list_append(containers, replica->container); replica 100 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 103 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 104 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 106 lib/pacemaker/pcmk_sched_bundle.c rsc->id, replica->ip->id); replica 107 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->assign(replica->ip, prefer); replica 110 lib/pacemaker/pcmk_sched_bundle.c container_host = replica->container->allocated_to; replica 111 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote && pe__is_guest_or_remote_node(container_host)) { replica 117 lib/pacemaker/pcmk_sched_bundle.c INFINITY, replica->remote, replica 122 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote) { replica 124 lib/pacemaker/pcmk_sched_bundle.c rsc->id, replica->remote->id); replica 125 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->assign(replica->remote, prefer); replica 129 lib/pacemaker/pcmk_sched_bundle.c if (replica->child) { replica 133 lib/pacemaker/pcmk_sched_bundle.c g_hash_table_iter_init(&iter, replica->child->allowed_nodes); replica 135 lib/pacemaker/pcmk_sched_bundle.c if (node->details != replica->node->details) { replica 137 lib/pacemaker/pcmk_sched_bundle.c } else if (!pcmk__threshold_reached(replica->child, node, replica 143 lib/pacemaker/pcmk_sched_bundle.c pe__set_resource_flags(replica->child->parent, pe_rsc_allocating); replica 145 lib/pacemaker/pcmk_sched_bundle.c rsc->id, replica->child->id); replica 146 lib/pacemaker/pcmk_sched_bundle.c replica->child->cmds->assign(replica->child, replica->node); replica 147 lib/pacemaker/pcmk_sched_bundle.c pe__clear_resource_flags(replica->child->parent, replica 186 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 188 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 189 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 190 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->create_actions(replica->ip); replica 192 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { replica 193 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->create_actions(replica->container); replica 195 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote) { replica 196 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->create_actions(replica->remote); replica 255 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 257 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 258 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica->container); replica 260 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->internal_constraints(replica->container); replica 262 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_starts(rsc, replica->container, replica 265 lib/pacemaker/pcmk_sched_bundle.c if (replica->child) { replica 266 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_stops(rsc, replica->child, replica 269 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_stops(rsc, replica->container, replica 271 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_resource_actions(replica->container, RSC_START, rsc, replica 274 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_resource_actions(replica->container, RSC_STOP, rsc, replica 278 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 279 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->internal_constraints(replica->ip); replica 282 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_starts(replica->ip, replica->container, replica 284 lib/pacemaker/pcmk_sched_bundle.c pcmk__order_stops(replica->container, replica->ip, replica 287 lib/pacemaker/pcmk_sched_bundle.c pcmk__new_colocation("ip-with-docker", NULL, INFINITY, replica->ip, replica 288 lib/pacemaker/pcmk_sched_bundle.c replica->container, NULL, NULL, true, replica 292 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote) { replica 298 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->internal_constraints(replica->remote); replica 301 lib/pacemaker/pcmk_sched_bundle.c if (replica->child) { replica 302 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica->remote); replica 353 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 355 lib/pacemaker/pcmk_sched_bundle.c if (is_child_compatible(replica->container, candidate, filter, current)) { replica 357 lib/pacemaker/pcmk_sched_bundle.c rsc_lh->id, replica->container->id, replica 359 lib/pacemaker/pcmk_sched_bundle.c return replica->container; replica 508 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 511 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->apply_coloc_score(dependent, replica 512 lib/pacemaker/pcmk_sched_bundle.c replica->container, replica 516 lib/pacemaker/pcmk_sched_bundle.c pe_node_t *chosen = replica->container->fns->location(replica->container, replica 520 lib/pacemaker/pcmk_sched_bundle.c || is_set_recursive(replica->container, pe_rsc_block, TRUE)) { replica 524 lib/pacemaker/pcmk_sched_bundle.c && (replica->child == NULL)) { replica 528 lib/pacemaker/pcmk_sched_bundle.c && (replica->child->next_role < RSC_ROLE_PROMOTED)) { replica 619 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 621 lib/pacemaker/pcmk_sched_bundle.c if (replica->child replica 622 lib/pacemaker/pcmk_sched_bundle.c && (container == replica->container) replica 623 lib/pacemaker/pcmk_sched_bundle.c && pe__same_node(node, replica->node)) { replica 624 lib/pacemaker/pcmk_sched_bundle.c return replica; replica 900 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 902 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { replica 903 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->apply_location(replica->container, replica 906 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 907 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->apply_location(replica->ip, constraint); replica 942 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 944 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 945 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote && replica->container replica 946 lib/pacemaker/pcmk_sched_bundle.c && pe__bundle_needs_remote_name(replica->remote, rsc->cluster)) { replica 955 lib/pacemaker/pcmk_sched_bundle.c replica->remote->xml, LOG_ERR); replica 959 lib/pacemaker/pcmk_sched_bundle.c calculated_addr = pe__add_bundle_remote_name(replica->remote, replica 969 lib/pacemaker/pcmk_sched_bundle.c GHashTable *params = pe_rsc_params(replica->remote, replica 987 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip) { replica 988 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->add_actions_to_graph(replica->ip); replica 990 lib/pacemaker/pcmk_sched_bundle.c if (replica->container) { replica 991 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->add_actions_to_graph(replica->container); replica 993 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote) { replica 994 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->add_actions_to_graph(replica->remote); replica 1020 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1022 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 1023 lib/pacemaker/pcmk_sched_bundle.c if ((replica->ip != NULL) replica 1024 lib/pacemaker/pcmk_sched_bundle.c && replica->ip->cmds->create_probe(replica->ip, node)) { replica 1027 lib/pacemaker/pcmk_sched_bundle.c if ((replica->child != NULL) && (node->details == replica->node->details) replica 1028 lib/pacemaker/pcmk_sched_bundle.c && replica->child->cmds->create_probe(replica->child, node)) { replica 1031 lib/pacemaker/pcmk_sched_bundle.c if ((replica->container != NULL) replica 1032 lib/pacemaker/pcmk_sched_bundle.c && replica->container->cmds->create_probe(replica->container, replica 1054 lib/pacemaker/pcmk_sched_bundle.c if ((other != replica) && (other != NULL) replica 1057 lib/pacemaker/pcmk_sched_bundle.c pcmk__new_ordering(replica->container, replica 1058 lib/pacemaker/pcmk_sched_bundle.c pcmk__op_key(replica->container->id, RSC_STATUS, 0), replica 1067 lib/pacemaker/pcmk_sched_bundle.c if ((replica->container != NULL) && (replica->remote != NULL) replica 1068 lib/pacemaker/pcmk_sched_bundle.c && replica->remote->cmds->create_probe(replica->remote, node)) { replica 1074 lib/pacemaker/pcmk_sched_bundle.c char *probe_uuid = pcmk__op_key(replica->remote->id, RSC_STATUS, replica 1076 lib/pacemaker/pcmk_sched_bundle.c pe_action_t *probe = find_first_action(replica->remote->actions, replica 1083 lib/pacemaker/pcmk_sched_bundle.c replica->remote->id, pe__node_name(node)); replica 1084 lib/pacemaker/pcmk_sched_bundle.c pcmk__new_ordering(replica->container, replica 1085 lib/pacemaker/pcmk_sched_bundle.c pcmk__op_key(replica->container->id, RSC_START, 0), replica 1086 lib/pacemaker/pcmk_sched_bundle.c NULL, replica->remote, NULL, probe, replica 1104 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1106 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(replica); replica 1107 lib/pacemaker/pcmk_sched_bundle.c if (replica->ip != NULL) { replica 1108 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->output_actions(replica->ip); replica 1110 lib/pacemaker/pcmk_sched_bundle.c if (replica->container != NULL) { replica 1111 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->output_actions(replica->container); replica 1113 lib/pacemaker/pcmk_sched_bundle.c if (replica->remote != NULL) { replica 1114 lib/pacemaker/pcmk_sched_bundle.c replica->remote->cmds->output_actions(replica->remote); replica 1116 lib/pacemaker/pcmk_sched_bundle.c if (replica->child != NULL) { replica 1117 lib/pacemaker/pcmk_sched_bundle.c replica->child->cmds->output_actions(replica->child); replica 1129 lib/pacemaker/pcmk_sched_bundle.c pe__bundle_replica_t *replica = NULL; replica 1144 lib/pacemaker/pcmk_sched_bundle.c replica = (pe__bundle_replica_t *) bundle_data->replicas->data; replica 1145 lib/pacemaker/pcmk_sched_bundle.c if (replica->container != NULL) { replica 1146 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 77 lib/pengine/bundle.c replica->ipaddr, data->prefix, replica 78 lib/pengine/bundle.c replica->offset); replica 84 lib/pengine/bundle.c replica->ipaddr, data->prefix, replica 85 lib/pengine/bundle.c replica->offset); replica 137 lib/pengine/bundle.c pe__bundle_replica_t *replica) replica 144 lib/pengine/bundle.c id = crm_strdup_printf("%s-ip-%s", data->prefix, replica->ipaddr); replica 151 lib/pengine/bundle.c data->prefix, replica->offset); replica 153 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "ip", replica->ipaddr); replica 171 lib/pengine/bundle.c if (pe__unpack_resource(xml_ip, &replica->ip, parent, replica 176 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->ip); replica 197 lib/pengine/bundle.c pe__bundle_replica_t *replica) replica 231 lib/pengine/bundle.c replica->offset); replica 237 lib/pengine/bundle.c crm_xml_set_id(xml_obj, "%s-attributes-%d", data->prefix, replica->offset); replica 255 lib/pengine/bundle.c replica->offset); replica 277 lib/pengine/bundle.c replica->offset); replica 315 lib/pengine/bundle.c if (replica->ipaddr != NULL) { replica 317 lib/pengine/bundle.c " -p ", replica->ipaddr, ":", port->source, replica 329 lib/pengine/bundle.c if (replica->ipaddr != NULL) { replica 332 lib/pengine/bundle.c ":", replica->ipaddr, ":", port->source, replica 375 lib/pengine/bundle.c if (replica->child != NULL) { replica 421 lib/pengine/bundle.c if (pe__unpack_resource(xml_container, &replica->container, parent, replica 425 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->container); replica 452 lib/pengine/bundle.c pe__bundle_replica_t *replica) replica 454 lib/pengine/bundle.c if (replica->child && valid_network(data)) { replica 458 lib/pengine/bundle.c char *id = crm_strdup_printf("%s-%d", data->prefix, replica->offset); replica 467 lib/pengine/bundle.c replica->child->id, replica->offset); replica 477 lib/pengine/bundle.c connect_name = (replica->ipaddr? replica->ipaddr : "#uname"); replica 488 lib/pengine/bundle.c xml_remote = pe_create_remote_xml(NULL, id, replica->container->id, replica 535 lib/pengine/bundle.c replica->node = pe__copy_node(node); replica 536 lib/pengine/bundle.c replica->node->weight = 500; replica 537 lib/pengine/bundle.c replica->node->rsc_discover_mode = pe_discover_exclusive; replica 540 lib/pengine/bundle.c if (replica->child->allowed_nodes != NULL) { replica 541 lib/pengine/bundle.c g_hash_table_destroy(replica->child->allowed_nodes); replica 543 lib/pengine/bundle.c replica->child->allowed_nodes = pcmk__strkey_table(NULL, free); replica 544 lib/pengine/bundle.c g_hash_table_insert(replica->child->allowed_nodes, replica 545 lib/pengine/bundle.c (gpointer) replica->node->details->id, replica 546 lib/pengine/bundle.c pe__copy_node(replica->node)); replica 549 lib/pengine/bundle.c pe_node_t *copy = pe__copy_node(replica->node); replica 551 lib/pengine/bundle.c g_hash_table_insert(replica->child->parent->allowed_nodes, replica 552 lib/pengine/bundle.c (gpointer) replica->node->details->id, copy); replica 554 lib/pengine/bundle.c if (pe__unpack_resource(xml_remote, &replica->remote, parent, replica 559 lib/pengine/bundle.c g_hash_table_iter_init(&gIter, replica->remote->allowed_nodes); replica 567 lib/pengine/bundle.c replica->node->details->remote_rsc = replica->remote; replica 570 lib/pengine/bundle.c replica->remote->container = replica->container; replica 575 lib/pengine/bundle.c g_hash_table_insert(replica->node->details->attrs, replica 587 lib/pengine/bundle.c parent->children = g_list_append(parent->children, replica->remote); replica 594 lib/pengine/bundle.c pe__bundle_replica_t *replica) replica 598 lib/pengine/bundle.c rc = create_container_resource(parent, data, replica); replica 603 lib/pengine/bundle.c rc = create_ip_resource(parent, data, replica); replica 608 lib/pengine/bundle.c rc = create_remote_resource(parent, data, replica); replica 613 lib/pengine/bundle.c if ((replica->child != NULL) && (replica->ipaddr != NULL)) { replica 614 lib/pengine/bundle.c add_hash_param(replica->child->meta, "external-ip", replica->ipaddr); replica 617 lib/pengine/bundle.c if (replica->remote != NULL) { replica 626 lib/pengine/bundle.c pe__set_resource_flags(replica->remote, pe_rsc_allow_remote_remotes); replica 679 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 681 lib/pengine/bundle.c if (replica->remote == remote) { replica 682 lib/pengine/bundle.c return replica; replica 714 lib/pengine/bundle.c pe__bundle_replica_t *replica = NULL; replica 720 lib/pengine/bundle.c replica = replica_for_remote(rsc); replica 721 lib/pengine/bundle.c if (replica == NULL) { replica 725 lib/pengine/bundle.c node = replica->container->allocated_to; replica 730 lib/pengine/bundle.c node = pe__current_node(replica->container); replica 994 lib/pengine/bundle.c pe__bundle_replica_t *replica = calloc(1, sizeof(pe__bundle_replica_t)); replica 996 lib/pengine/bundle.c replica->child = childIter->data; replica 997 lib/pengine/bundle.c replica->child->exclusive_discover = TRUE; replica 998 lib/pengine/bundle.c replica->offset = lpc++; replica 1001 lib/pengine/bundle.c if (pcmk_is_set(replica->child->flags, pe_rsc_notify)) { replica 1005 lib/pengine/bundle.c allocate_ip(bundle_data, replica, buffer); replica 1007 lib/pengine/bundle.c replica); replica 1008 lib/pengine/bundle.c bundle_data->attribute_target = g_hash_table_lookup(replica->child->meta, replica 1026 lib/pengine/bundle.c pe__bundle_replica_t *replica = calloc(1, sizeof(pe__bundle_replica_t)); replica 1028 lib/pengine/bundle.c replica->offset = lpc; replica 1029 lib/pengine/bundle.c allocate_ip(bundle_data, replica, buffer); replica 1031 lib/pengine/bundle.c replica); replica 1038 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1040 lib/pengine/bundle.c if (create_replica_resources(rsc, bundle_data, replica) != pcmk_rc_ok) { replica 1062 lib/pengine/bundle.c if (replica->child != NULL) { replica 1063 lib/pengine/bundle.c GHashTable *empty = replica->container->utilization; replica 1065 lib/pengine/bundle.c replica->container->utilization = replica->child->utilization; replica 1066 lib/pengine/bundle.c replica->child->utilization = empty; replica 1099 lib/pengine/bundle.c pe__bundle_replica_t *replica = iter->data; replica 1102 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->ip, all); replica 1107 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->child, all); replica 1112 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->container, all); replica 1117 lib/pengine/bundle.c rsc_active = replica_resource_active(replica->remote, all); replica 1148 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1150 lib/pengine/bundle.c CRM_ASSERT(replica && replica->node); replica 1151 lib/pengine/bundle.c if (replica->node->details == node->details) { replica 1152 lib/pengine/bundle.c return replica->child; replica 1207 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1209 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1210 lib/pengine/bundle.c status_print("%s <replica id=\"%d\">\n", pre_text, replica->offset); replica 1211 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); replica 1212 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); replica 1213 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); replica 1214 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); replica 1247 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1251 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1253 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { replica 1257 lib/pengine/bundle.c print_ip = replica->ip != NULL && replica 1258 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); replica 1259 lib/pengine/bundle.c print_child = replica->child != NULL && replica 1260 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); replica 1261 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); replica 1262 lib/pengine/bundle.c print_remote = replica->remote != NULL && replica 1263 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); replica 1282 lib/pengine/bundle.c id = pcmk__itoa(replica->offset); replica 1288 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), show_opts, replica 1289 lib/pengine/bundle.c replica->ip, only_node, only_rsc); replica 1293 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), show_opts, replica 1294 lib/pengine/bundle.c replica->child, only_node, only_rsc); replica 1298 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), show_opts, replica 1299 lib/pengine/bundle.c replica->container, only_node, only_rsc); replica 1303 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), show_opts, replica 1304 lib/pengine/bundle.c replica->remote, only_node, only_rsc); replica 1318 lib/pengine/bundle.c pe__bundle_replica_output_html(pcmk__output_t *out, pe__bundle_replica_t *replica, replica 1321 lib/pengine/bundle.c pe_resource_t *rsc = replica->child; replica 1327 lib/pengine/bundle.c rsc = replica->container; replica 1330 lib/pengine/bundle.c if (replica->remote) { replica 1332 lib/pengine/bundle.c rsc_printable_id(replica->remote)); replica 1335 lib/pengine/bundle.c rsc_printable_id(replica->container)); replica 1337 lib/pengine/bundle.c if (replica->ipaddr) { replica 1339 lib/pengine/bundle.c replica->ipaddr); replica 1370 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1373 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1375 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { replica 1379 lib/pengine/bundle.c print_ip = replica->ip != NULL && replica 1380 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); replica 1381 lib/pengine/bundle.c print_child = replica->child != NULL && replica 1382 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); replica 1383 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); replica 1384 lib/pengine/bundle.c print_remote = replica->remote != NULL && replica 1385 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); replica 1401 lib/pengine/bundle.c out->begin_list(out, NULL, NULL, "Replica[%d]", replica->offset); replica 1405 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), replica 1406 lib/pengine/bundle.c new_show_opts, replica->ip, only_node, only_rsc); replica 1410 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), replica 1411 lib/pengine/bundle.c new_show_opts, replica->child, only_node, only_rsc); replica 1415 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), replica 1416 lib/pengine/bundle.c new_show_opts, replica->container, only_node, only_rsc); replica 1420 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), replica 1421 lib/pengine/bundle.c new_show_opts, replica->remote, only_node, only_rsc); replica 1436 lib/pengine/bundle.c pe__bundle_replica_output_html(out, replica, pe__current_node(replica->container), replica 1446 lib/pengine/bundle.c pe__bundle_replica_output_text(pcmk__output_t *out, pe__bundle_replica_t *replica, replica 1449 lib/pengine/bundle.c pe_resource_t *rsc = replica->child; replica 1455 lib/pengine/bundle.c rsc = replica->container; replica 1458 lib/pengine/bundle.c if (replica->remote) { replica 1460 lib/pengine/bundle.c rsc_printable_id(replica->remote)); replica 1463 lib/pengine/bundle.c rsc_printable_id(replica->container)); replica 1465 lib/pengine/bundle.c if (replica->ipaddr) { replica 1467 lib/pengine/bundle.c replica->ipaddr); replica 1498 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1501 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1503 lib/pengine/bundle.c if (pcmk__rsc_filtered_by_node(replica->container, only_node)) { replica 1507 lib/pengine/bundle.c print_ip = replica->ip != NULL && replica 1508 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); replica 1509 lib/pengine/bundle.c print_child = replica->child != NULL && replica 1510 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); replica 1511 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); replica 1512 lib/pengine/bundle.c print_remote = replica->remote != NULL && replica 1513 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); replica 1529 lib/pengine/bundle.c out->list_item(out, NULL, "Replica[%d]", replica->offset); replica 1535 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), replica 1536 lib/pengine/bundle.c new_show_opts, replica->ip, only_node, only_rsc); replica 1540 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), replica 1541 lib/pengine/bundle.c new_show_opts, replica->child, only_node, only_rsc); replica 1545 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), replica 1546 lib/pengine/bundle.c new_show_opts, replica->container, only_node, only_rsc); replica 1550 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), replica 1551 lib/pengine/bundle.c new_show_opts, replica->remote, only_node, only_rsc); replica 1564 lib/pengine/bundle.c pe__bundle_replica_output_text(out, replica, pe__current_node(replica->container), replica 1578 lib/pengine/bundle.c print_bundle_replica(pe__bundle_replica_t *replica, const char *pre_text, replica 1582 lib/pengine/bundle.c pe_resource_t *rsc = replica->child; replica 1588 lib/pengine/bundle.c rsc = replica->container; replica 1591 lib/pengine/bundle.c if (replica->remote) { replica 1593 lib/pengine/bundle.c rsc_printable_id(replica->remote)); replica 1596 lib/pengine/bundle.c rsc_printable_id(replica->container)); replica 1598 lib/pengine/bundle.c if (replica->ipaddr) { replica 1600 lib/pengine/bundle.c replica->ipaddr); replica 1603 lib/pengine/bundle.c node = pe__current_node(replica->container); replica 1642 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1644 lib/pengine/bundle.c CRM_ASSERT(replica); replica 1652 lib/pengine/bundle.c status_print(" %sReplica[%d]\n", pre_text, replica->offset); replica 1657 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); replica 1658 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); replica 1659 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); replica 1660 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); replica 1666 lib/pengine/bundle.c print_bundle_replica(replica, child_text, options, print_data); replica 1680 lib/pengine/bundle.c free_bundle_replica(pe__bundle_replica_t *replica) replica 1682 lib/pengine/bundle.c if (replica == NULL) { replica 1686 lib/pengine/bundle.c if (replica->node) { replica 1687 lib/pengine/bundle.c free(replica->node); replica 1688 lib/pengine/bundle.c replica->node = NULL; replica 1691 lib/pengine/bundle.c if (replica->ip) { replica 1692 lib/pengine/bundle.c free_xml(replica->ip->xml); replica 1693 lib/pengine/bundle.c replica->ip->xml = NULL; replica 1694 lib/pengine/bundle.c replica->ip->fns->free(replica->ip); replica 1695 lib/pengine/bundle.c replica->ip = NULL; replica 1697 lib/pengine/bundle.c if (replica->container) { replica 1698 lib/pengine/bundle.c free_xml(replica->container->xml); replica 1699 lib/pengine/bundle.c replica->container->xml = NULL; replica 1700 lib/pengine/bundle.c replica->container->fns->free(replica->container); replica 1701 lib/pengine/bundle.c replica->container = NULL; replica 1703 lib/pengine/bundle.c if (replica->remote) { replica 1704 lib/pengine/bundle.c free_xml(replica->remote->xml); replica 1705 lib/pengine/bundle.c replica->remote->xml = NULL; replica 1706 lib/pengine/bundle.c replica->remote->fns->free(replica->remote); replica 1707 lib/pengine/bundle.c replica->remote = NULL; replica 1709 lib/pengine/bundle.c free(replica->ipaddr); replica 1710 lib/pengine/bundle.c free(replica); replica 1781 lib/pengine/bundle.c pe__bundle_replica_t *replica = item->data; replica 1783 lib/pengine/bundle.c if (replica->ip) { replica 1784 lib/pengine/bundle.c replica->ip->fns->count(replica->ip); replica 1786 lib/pengine/bundle.c if (replica->child) { replica 1787 lib/pengine/bundle.c replica->child->fns->count(replica->child); replica 1789 lib/pengine/bundle.c if (replica->container) { replica 1790 lib/pengine/bundle.c replica->container->fns->count(replica->container); replica 1792 lib/pengine/bundle.c if (replica->remote) { replica 1793 lib/pengine/bundle.c replica->remote->fns->count(replica->remote); replica 1810 lib/pengine/bundle.c pe__bundle_replica_t *replica = gIter->data; replica 1812 lib/pengine/bundle.c if (replica->ip != NULL && !replica->ip->fns->is_filtered(replica->ip, only_rsc, FALSE)) { replica 1815 lib/pengine/bundle.c } else if (replica->child != NULL && !replica->child->fns->is_filtered(replica->child, only_rsc, FALSE)) { replica 1818 lib/pengine/bundle.c } else if (!replica->container->fns->is_filtered(replica->container, only_rsc, FALSE)) { replica 1821 lib/pengine/bundle.c } else if (replica->remote != NULL && !replica->remote->fns->is_filtered(replica->remote, only_rsc, FALSE)) {