child_rsc 60 include/pcmki/pcmki_sched_utils.h gboolean is_child_compatible(pe_resource_t *child_rsc, pe_node_t * local_node, enum rsc_role_e filter, gboolean current); child_rsc 703 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 705 lib/pacemaker/pcmk_sched_allocate.c common_apply_stickiness(child_rsc, node, data_set); child_rsc 762 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 764 lib/pacemaker/pcmk_sched_allocate.c complex_set_cmds(child_rsc); child_rsc 964 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 965 lib/pacemaker/pcmk_sched_allocate.c rsc_discover_filter(child_rsc, node); child_rsc 1489 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1491 lib/pacemaker/pcmk_sched_allocate.c if (is_managed(child_rsc)) { child_rsc 599 lib/pacemaker/pcmk_sched_bundle.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 601 lib/pacemaker/pcmk_sched_bundle.c if(is_child_compatible(child_rsc, local_node, filter, current)) { child_rsc 603 lib/pacemaker/pcmk_sched_bundle.c local_child->id, child_rsc->id, local_node->details->uname); child_rsc 604 lib/pacemaker/pcmk_sched_bundle.c return child_rsc; child_rsc 68 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 70 lib/pacemaker/pcmk_sched_clone.c if (did_fail(child_rsc)) { child_rsc 874 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 878 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->create_actions(child_rsc, data_set); child_rsc 879 lib/pacemaker/pcmk_sched_clone.c clone_update_pseudo_status(child_rsc, &stopping, &starting, &child_active); child_rsc 943 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 945 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->internal_constraints(child_rsc, data_set); child_rsc 947 lib/pacemaker/pcmk_sched_clone.c order_start_start(rsc, child_rsc, pe_order_runnable_left | pe_order_implies_first_printed); child_rsc 948 lib/pacemaker/pcmk_sched_clone.c new_rsc_order(child_rsc, RSC_START, rsc, RSC_STARTED, pe_order_implies_then_printed, child_rsc 951 lib/pacemaker/pcmk_sched_clone.c order_start_start(last_rsc, child_rsc, pe_order_optional); child_rsc 954 lib/pacemaker/pcmk_sched_clone.c order_stop_stop(rsc, child_rsc, pe_order_implies_first_printed); child_rsc 955 lib/pacemaker/pcmk_sched_clone.c new_rsc_order(child_rsc, RSC_STOP, rsc, RSC_STOPPED, pe_order_implies_then_printed, child_rsc 958 lib/pacemaker/pcmk_sched_clone.c order_stop_stop(child_rsc, last_rsc, pe_order_optional); child_rsc 961 lib/pacemaker/pcmk_sched_clone.c last_rsc = child_rsc; child_rsc 976 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 978 lib/pacemaker/pcmk_sched_clone.c changed |= assign_node(child_rsc, node, force); child_rsc 993 lib/pacemaker/pcmk_sched_clone.c is_child_compatible(pe_resource_t *child_rsc, pe_node_t * local_node, enum rsc_role_e filter, gboolean current) child_rsc 996 lib/pacemaker/pcmk_sched_clone.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, current); child_rsc 998 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(child_rsc && local_node, return FALSE); child_rsc 999 lib/pacemaker/pcmk_sched_clone.c if (is_set_recursive(child_rsc, pe_rsc_block, TRUE) == FALSE) { child_rsc 1001 lib/pacemaker/pcmk_sched_clone.c node = child_rsc->fns->location(child_rsc, NULL, current); child_rsc 1005 lib/pacemaker/pcmk_sched_clone.c crm_trace("Filtered %s", child_rsc->id); child_rsc 1013 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s - %s vs %s", child_rsc->id, node->details->uname, child_rsc 1017 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s - not allocated %d", child_rsc->id, current); child_rsc 1144 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1145 lib/pacemaker/pcmk_sched_clone.c pe_node_t *chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); child_rsc 1147 lib/pacemaker/pcmk_sched_clone.c if (chosen != NULL && is_set_recursive(child_rsc, pe_rsc_block, TRUE) == FALSE) { child_rsc 1160 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1162 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->rsc_colocation_rh(rsc_lh, child_rsc, constraint, child_rsc 1271 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1273 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->rsc_location(child_rsc, constraint); child_rsc 1320 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1322 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->expand(child_rsc, data_set); child_rsc 1414 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) child_iter->data; child_rsc 1416 lib/pacemaker/pcmk_sched_clone.c if (child_rsc) { /* make clang analyzer happy */ child_rsc 1417 lib/pacemaker/pcmk_sched_clone.c local_node = child_rsc->fns->location(child_rsc, NULL, FALSE); child_rsc 1419 lib/pacemaker/pcmk_sched_clone.c child = child_rsc; child_rsc 59 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 62 lib/pacemaker/pcmk_sched_group.c rsc->id, child_rsc->id); child_rsc 63 lib/pacemaker/pcmk_sched_group.c node = child_rsc->cmds->allocate(child_rsc, prefer, data_set); child_rsc 90 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 92 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->create_actions(child_rsc, data_set); child_rsc 93 lib/pacemaker/pcmk_sched_group.c group_update_pseudo_status(rsc, child_rsc); child_rsc 179 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 186 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->internal_constraints(child_rsc, data_set); child_rsc 196 lib/pacemaker/pcmk_sched_group.c child_rsc, last_rsc, NULL, NULL, data_set); child_rsc 200 lib/pacemaker/pcmk_sched_group.c new_rsc_order(rsc, RSC_DEMOTE, child_rsc, RSC_DEMOTE, child_rsc 203 lib/pacemaker/pcmk_sched_group.c new_rsc_order(child_rsc, RSC_DEMOTE, rsc, RSC_DEMOTED, stopped, data_set); child_rsc 205 lib/pacemaker/pcmk_sched_group.c new_rsc_order(child_rsc, RSC_PROMOTE, rsc, RSC_PROMOTED, started, data_set); child_rsc 207 lib/pacemaker/pcmk_sched_group.c new_rsc_order(rsc, RSC_PROMOTE, child_rsc, RSC_PROMOTE, child_rsc 212 lib/pacemaker/pcmk_sched_group.c order_start_start(rsc, child_rsc, pe_order_implies_first_printed); child_rsc 213 lib/pacemaker/pcmk_sched_group.c order_stop_stop(rsc, child_rsc, stop | pe_order_implies_first_printed); child_rsc 215 lib/pacemaker/pcmk_sched_group.c new_rsc_order(child_rsc, RSC_STOP, rsc, RSC_STOPPED, stopped, data_set); child_rsc 217 lib/pacemaker/pcmk_sched_group.c new_rsc_order(child_rsc, RSC_START, rsc, RSC_STARTED, started, data_set); child_rsc 220 lib/pacemaker/pcmk_sched_group.c order_start_start(rsc, child_rsc, start | pe_order_implies_first_printed); child_rsc 222 lib/pacemaker/pcmk_sched_group.c new_rsc_order(rsc, RSC_PROMOTE, child_rsc, RSC_PROMOTE, child_rsc 227 lib/pacemaker/pcmk_sched_group.c child_rsc->restart_type = pe_restart_restart; child_rsc 229 lib/pacemaker/pcmk_sched_group.c order_start_start(last_rsc, child_rsc, start); child_rsc 230 lib/pacemaker/pcmk_sched_group.c order_stop_stop(child_rsc, last_rsc, pe_order_optional | pe_order_restart); child_rsc 233 lib/pacemaker/pcmk_sched_group.c new_rsc_order(last_rsc, RSC_PROMOTE, child_rsc, RSC_PROMOTE, start, data_set); child_rsc 234 lib/pacemaker/pcmk_sched_group.c new_rsc_order(child_rsc, RSC_DEMOTE, last_rsc, RSC_DEMOTE, pe_order_optional, child_rsc 247 lib/pacemaker/pcmk_sched_group.c order_start_start(rsc, child_rsc, flags); child_rsc 249 lib/pacemaker/pcmk_sched_group.c new_rsc_order(rsc, RSC_PROMOTE, child_rsc, RSC_PROMOTE, flags, data_set); child_rsc 257 lib/pacemaker/pcmk_sched_group.c if (child_rsc->running_on) { child_rsc 261 lib/pacemaker/pcmk_sched_group.c order_stop_stop(child_rsc, last_active, pe_order_optional); child_rsc 263 lib/pacemaker/pcmk_sched_group.c last_active = child_rsc; child_rsc 266 lib/pacemaker/pcmk_sched_group.c last_rsc = child_rsc; child_rsc 322 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 324 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_colocation_lh(child_rsc, rsc_rh, constraint, child_rsc 373 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 375 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_colocation_rh(rsc_lh, child_rsc, constraint, child_rsc 467 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 469 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_location(child_rsc, constraint); child_rsc 489 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 491 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->expand(child_rsc, data_set); child_rsc 1989 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1991 lib/pacemaker/pcmk_sched_native.c rsc_ticket_constraint(child_rsc, rsc_ticket, data_set); child_rsc 2364 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 2366 lib/pacemaker/pcmk_sched_native.c child_rsc->cmds->expand(child_rsc, data_set); child_rsc 2528 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 2530 lib/pacemaker/pcmk_sched_native.c LogActions(child_rsc, data_set, terminal); child_rsc 2965 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 2967 lib/pacemaker/pcmk_sched_native.c any_created = child_rsc->cmds->create_probe(child_rsc, node, complete, force, data_set) child_rsc 3396 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 3398 lib/pacemaker/pcmk_sched_native.c rsc_stonith_ordering(child_rsc, stonith_op, data_set); child_rsc 3418 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 3420 lib/pacemaker/pcmk_sched_native.c ReloadRsc(child_rsc, node, data_set); child_rsc 583 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 585 lib/pacemaker/pcmk_sched_promotable.c g_hash_table_iter_init(&iter, child_rsc->allowed_nodes); child_rsc 595 lib/pacemaker/pcmk_sched_promotable.c score = promotion_score(child_rsc, node, 0); child_rsc 600 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id, node->details->uname, node->weight, new_score); child_rsc 605 lib/pacemaker/pcmk_sched_promotable.c new_score = QB_MAX(child_rsc->priority, score); child_rsc 606 lib/pacemaker/pcmk_sched_promotable.c if (new_score != child_rsc->priority) { child_rsc 608 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id, child_rsc->priority, new_score); child_rsc 609 lib/pacemaker/pcmk_sched_promotable.c child_rsc->priority = new_score; child_rsc 640 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 642 lib/pacemaker/pcmk_sched_promotable.c set_role_slave(child_rsc, current); child_rsc 656 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 658 lib/pacemaker/pcmk_sched_promotable.c set_role_master(child_rsc); child_rsc 689 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 691 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "Assigning priority for %s: %s", child_rsc->id, child_rsc 692 lib/pacemaker/pcmk_sched_promotable.c role2text(child_rsc->next_role)); child_rsc 694 lib/pacemaker/pcmk_sched_promotable.c if (child_rsc->fns->state(child_rsc, TRUE) == RSC_ROLE_STARTED) { child_rsc 695 lib/pacemaker/pcmk_sched_promotable.c set_role_slave(child_rsc, TRUE); child_rsc 698 lib/pacemaker/pcmk_sched_promotable.c chosen = child_rsc->fns->location(child_rsc, &list, FALSE); child_rsc 701 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id); child_rsc 709 lib/pacemaker/pcmk_sched_promotable.c next_role = child_rsc->fns->state(child_rsc, FALSE); child_rsc 721 lib/pacemaker/pcmk_sched_promotable.c child_rsc->priority = promotion_score(child_rsc, chosen, -1); child_rsc 726 lib/pacemaker/pcmk_sched_promotable.c child_rsc->priority = -INFINITY; child_rsc 734 lib/pacemaker/pcmk_sched_promotable.c crm_err("Unknown resource role: %d for %s", next_role, child_rsc->id)); child_rsc 737 lib/pacemaker/pcmk_sched_promotable.c apply_master_location(child_rsc, child_rsc->rsc_location, chosen); child_rsc 738 lib/pacemaker/pcmk_sched_promotable.c apply_master_location(child_rsc, rsc->rsc_location, chosen); child_rsc 740 lib/pacemaker/pcmk_sched_promotable.c for (gIter2 = child_rsc->rsc_cons; gIter2 != NULL; gIter2 = gIter2->next) { child_rsc 746 lib/pacemaker/pcmk_sched_promotable.c child_rsc->cmds->rsc_colocation_lh(child_rsc, cons->rsc_rh, cons, child_rsc 750 lib/pacemaker/pcmk_sched_promotable.c child_rsc->sort_index = child_rsc->priority; child_rsc 751 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "Assigning priority for %s: %d", child_rsc->id, child_rsc->priority); child_rsc 754 lib/pacemaker/pcmk_sched_promotable.c child_rsc->sort_index = INFINITY; child_rsc 764 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 765 lib/pacemaker/pcmk_sched_promotable.c score2char_stack(child_rsc->sort_index, score, len); child_rsc 767 lib/pacemaker/pcmk_sched_promotable.c chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); child_rsc 771 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id, child_rsc 776 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "%s promotion score on %s: %s", child_rsc->id, child_rsc 784 lib/pacemaker/pcmk_sched_promotable.c if (child_rsc->sort_index < 0) { child_rsc 785 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "Not supposed to promote child: %s", child_rsc->id); child_rsc 789 lib/pacemaker/pcmk_sched_promotable.c chosen = can_be_master(child_rsc); child_rsc 792 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_debug(rsc, "%s promotion score: %d", child_rsc->id, child_rsc->priority); child_rsc 795 lib/pacemaker/pcmk_sched_promotable.c set_role_slave(child_rsc, FALSE); child_rsc 798 lib/pacemaker/pcmk_sched_promotable.c } else if(child_rsc->role < RSC_ROLE_MASTER child_rsc 802 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id, role2text(child_rsc->role), role2text(child_rsc->next_role)); child_rsc 803 lib/pacemaker/pcmk_sched_promotable.c set_role_slave(child_rsc, FALSE); child_rsc 809 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id, role2text(child_rsc->role), chosen->details->uname); child_rsc 810 lib/pacemaker/pcmk_sched_promotable.c set_role_master(child_rsc); child_rsc 840 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 842 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "Creating actions for %s", child_rsc->id); child_rsc 843 lib/pacemaker/pcmk_sched_promotable.c child_rsc->cmds->create_actions(child_rsc, data_set); child_rsc 844 lib/pacemaker/pcmk_sched_promotable.c check_promotable_actions(child_rsc, &child_demoting, &child_promoting); child_rsc 848 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "Created actions for %s: %d %d", child_rsc->id, child_promoting, child_rsc 897 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 899 lib/pacemaker/pcmk_sched_promotable.c child_rsc->priority = rsc->priority; child_rsc 941 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 944 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(child_rsc, RSC_DEMOTE, child_rsc, RSC_PROMOTE, pe_order_optional, data_set); child_rsc 947 lib/pacemaker/pcmk_sched_promotable.c rsc, child_rsc, last_rsc, data_set); child_rsc 950 lib/pacemaker/pcmk_sched_promotable.c rsc, child_rsc, last_rsc, data_set); child_rsc 952 lib/pacemaker/pcmk_sched_promotable.c last_rsc = child_rsc; child_rsc 996 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 997 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); child_rsc 998 lib/pacemaker/pcmk_sched_promotable.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, FALSE); child_rsc 1000 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc_rh, "Processing: %s", child_rsc->id); child_rsc 1002 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc_rh, "Applying: %s %s %s %d", child_rsc->id, child_rsc 427 lib/pacemaker/pcmk_sched_utilization.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 429 lib/pacemaker/pcmk_sched_utilization.c colocated_rscs = find_colocated_rscs(colocated_rscs, child_rsc, orig_rsc); child_rsc 454 lib/pacemaker/pcmk_sched_utilization.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 456 lib/pacemaker/pcmk_sched_utilization.c if (pcmk_is_set(child_rsc->flags, pe_rsc_provisional) && child_rsc 457 lib/pacemaker/pcmk_sched_utilization.c g_list_find(all_rscs, child_rsc) == FALSE) { child_rsc 458 lib/pacemaker/pcmk_sched_utilization.c native_add_unallocated_utilization(all_utilization, child_rsc); child_rsc 65 lib/pengine/clone.c pe_resource_t *child_rsc = NULL; child_rsc 86 lib/pengine/clone.c if (common_unpack(child_copy, &child_rsc, rsc, data_set) == FALSE) { child_rsc 88 lib/pengine/clone.c child_rsc = NULL; child_rsc 93 lib/pengine/clone.c CRM_ASSERT(child_rsc); child_rsc 95 lib/pengine/clone.c pe_rsc_trace(child_rsc, "Setting clone attributes for: %s", child_rsc->id); child_rsc 96 lib/pengine/clone.c rsc->children = g_list_append(rsc->children, child_rsc); child_rsc 98 lib/pengine/clone.c pe__set_resource_flags_recursive(child_rsc, pe_rsc_orphan); child_rsc 101 lib/pengine/clone.c add_hash_param(child_rsc->meta, XML_RSC_ATTR_INCARNATION_MAX, inc_max); child_rsc 102 lib/pengine/clone.c pe_rsc_trace(rsc, "Added %s instance %s", rsc->id, child_rsc->id); child_rsc 108 lib/pengine/clone.c return child_rsc; child_rsc 242 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 243 lib/pengine/clone.c gboolean child_active = child_rsc->fns->active(child_rsc, all); child_rsc 330 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 332 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 413 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 414 lib/pengine/clone.c gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE); child_rsc 429 lib/pengine/clone.c && (child_rsc->pending_task != NULL) child_rsc 430 lib/pengine/clone.c && strcmp(child_rsc->pending_task, "probe")) { child_rsc 436 lib/pengine/clone.c if (!pcmk_is_set(child_rsc->flags, pe_rsc_orphan) child_rsc 438 lib/pengine/clone.c pcmk__add_word(&stopped_list, &stopped_list_len, child_rsc->id); child_rsc 441 lib/pengine/clone.c } else if (is_set_recursive(child_rsc, pe_rsc_orphan, TRUE) child_rsc 442 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_managed, FALSE) == FALSE child_rsc 443 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_failed, TRUE)) { child_rsc 448 lib/pengine/clone.c } else if (child_rsc->fns->active(child_rsc, TRUE)) { child_rsc 451 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); child_rsc 456 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); child_rsc 482 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 602 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 604 lib/pengine/clone.c if (pcmk__rsc_filtered_by_node(child_rsc, only_node)) { child_rsc 608 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { child_rsc 627 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), options, child_rsc 628 lib/pengine/clone.c child_rsc, only_node, only_rsc); child_rsc 680 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 681 lib/pengine/clone.c gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE); child_rsc 683 lib/pengine/clone.c if (pcmk__rsc_filtered_by_node(child_rsc, only_node)) { child_rsc 687 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { child_rsc 704 lib/pengine/clone.c && (child_rsc->pending_task != NULL) child_rsc 705 lib/pengine/clone.c && strcmp(child_rsc->pending_task, "probe")) { child_rsc 711 lib/pengine/clone.c if (!pcmk_is_set(child_rsc->flags, pe_rsc_orphan) child_rsc 713 lib/pengine/clone.c pcmk__add_word(&stopped_list, &stopped_list_len, child_rsc->id); child_rsc 716 lib/pengine/clone.c } else if (is_set_recursive(child_rsc, pe_rsc_orphan, TRUE) child_rsc 717 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_managed, FALSE) == FALSE child_rsc 718 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_failed, TRUE)) { child_rsc 723 lib/pengine/clone.c } else if (child_rsc->fns->active(child_rsc, TRUE)) { child_rsc 726 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); child_rsc 731 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); child_rsc 758 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), options, child_rsc 759 lib/pengine/clone.c child_rsc, only_node, all); child_rsc 917 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 918 lib/pengine/clone.c gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE); child_rsc 920 lib/pengine/clone.c if (pcmk__rsc_filtered_by_node(child_rsc, only_node)) { child_rsc 924 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { child_rsc 941 lib/pengine/clone.c && (child_rsc->pending_task != NULL) child_rsc 942 lib/pengine/clone.c && strcmp(child_rsc->pending_task, "probe")) { child_rsc 948 lib/pengine/clone.c if (!pcmk_is_set(child_rsc->flags, pe_rsc_orphan) child_rsc 950 lib/pengine/clone.c pcmk__add_word(&stopped_list, &stopped_list_len, child_rsc->id); child_rsc 953 lib/pengine/clone.c } else if (is_set_recursive(child_rsc, pe_rsc_orphan, TRUE) child_rsc 954 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_managed, FALSE) == FALSE child_rsc 955 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_failed, TRUE)) { child_rsc 960 lib/pengine/clone.c } else if (child_rsc->fns->active(child_rsc, TRUE)) { child_rsc 963 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); child_rsc 968 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); child_rsc 995 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), options, child_rsc 996 lib/pengine/clone.c child_rsc, only_node, all); child_rsc 1119 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1121 lib/pengine/clone.c CRM_ASSERT(child_rsc); child_rsc 1122 lib/pengine/clone.c pe_rsc_trace(child_rsc, "Freeing child %s", child_rsc->id); child_rsc 1123 lib/pengine/clone.c free_xml(child_rsc->xml); child_rsc 1124 lib/pengine/clone.c child_rsc->xml = NULL; child_rsc 1126 lib/pengine/clone.c free_xml(child_rsc->orig_xml); child_rsc 1127 lib/pengine/clone.c child_rsc->orig_xml = NULL; child_rsc 1128 lib/pengine/clone.c child_rsc->fns->free(child_rsc); child_rsc 1150 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1151 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, current); child_rsc 1198 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1200 lib/pengine/clone.c if (!child_rsc->fns->is_filtered(child_rsc, only_rsc, FALSE)) { child_rsc 774 lib/pengine/complex.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 776 lib/pengine/complex.c common_update_score(child_rsc, id, score); child_rsc 97 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 99 lib/pengine/group.c if (child_rsc->fns->active(child_rsc, all)) { child_rsc 125 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 127 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 165 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 170 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 207 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 209 lib/pengine/group.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { child_rsc 223 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), options, child_rsc, child_rsc 269 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 271 lib/pengine/group.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { child_rsc 279 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), options, child_rsc 280 lib/pengine/group.c child_rsc, only_node, only_rsc); child_rsc 324 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 326 lib/pengine/group.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { child_rsc 334 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), options, child_rsc 335 lib/pengine/group.c child_rsc, only_node, only_rsc); child_rsc 352 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 354 lib/pengine/group.c CRM_ASSERT(child_rsc); child_rsc 355 lib/pengine/group.c pe_rsc_trace(child_rsc, "Freeing child %s", child_rsc->id); child_rsc 356 lib/pengine/group.c child_rsc->fns->free(child_rsc); child_rsc 372 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 373 lib/pengine/group.c enum rsc_role_e role = child_rsc->fns->state(child_rsc, current); child_rsc 397 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 399 lib/pengine/group.c if (!child_rsc->fns->is_filtered(child_rsc, only_rsc, FALSE)) { child_rsc 614 lib/pengine/unpack.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 616 lib/pengine/unpack.c setup_container(child_rsc, data_set); child_rsc 1653 lib/pengine/utils.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1655 lib/pengine/utils.c resource_node_score(child_rsc, node, score, tag);