child_rsc 59 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 707 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 709 lib/pacemaker/pcmk_sched_allocate.c common_apply_stickiness(child_rsc, node, data_set); child_rsc 766 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 768 lib/pacemaker/pcmk_sched_allocate.c complex_set_cmds(child_rsc); child_rsc 969 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 970 lib/pacemaker/pcmk_sched_allocate.c rsc_discover_filter(child_rsc, node); child_rsc 1500 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1502 lib/pacemaker/pcmk_sched_allocate.c if (is_managed(child_rsc)) { child_rsc 609 lib/pacemaker/pcmk_sched_bundle.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 611 lib/pacemaker/pcmk_sched_bundle.c if(is_child_compatible(child_rsc, local_node, filter, current)) { child_rsc 613 lib/pacemaker/pcmk_sched_bundle.c local_child->id, child_rsc->id, local_node->details->uname); child_rsc 614 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 928 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 932 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->create_actions(child_rsc, data_set); child_rsc 933 lib/pacemaker/pcmk_sched_clone.c clone_update_pseudo_status(child_rsc, &stopping, &starting, &child_active); child_rsc 997 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 999 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->internal_constraints(child_rsc, data_set); child_rsc 1001 lib/pacemaker/pcmk_sched_clone.c order_start_start(rsc, child_rsc, pe_order_runnable_left | pe_order_implies_first_printed); child_rsc 1002 lib/pacemaker/pcmk_sched_clone.c new_rsc_order(child_rsc, RSC_START, rsc, RSC_STARTED, pe_order_implies_then_printed, child_rsc 1005 lib/pacemaker/pcmk_sched_clone.c order_start_start(last_rsc, child_rsc, pe_order_optional); child_rsc 1008 lib/pacemaker/pcmk_sched_clone.c order_stop_stop(rsc, child_rsc, pe_order_implies_first_printed); child_rsc 1009 lib/pacemaker/pcmk_sched_clone.c new_rsc_order(child_rsc, RSC_STOP, rsc, RSC_STOPPED, pe_order_implies_then_printed, child_rsc 1012 lib/pacemaker/pcmk_sched_clone.c order_stop_stop(child_rsc, last_rsc, pe_order_optional); child_rsc 1015 lib/pacemaker/pcmk_sched_clone.c last_rsc = child_rsc; child_rsc 1030 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1032 lib/pacemaker/pcmk_sched_clone.c changed |= assign_node(child_rsc, node, force); child_rsc 1047 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 1050 lib/pacemaker/pcmk_sched_clone.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, current); child_rsc 1052 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(child_rsc && local_node, return FALSE); child_rsc 1053 lib/pacemaker/pcmk_sched_clone.c if (is_set_recursive(child_rsc, pe_rsc_block, TRUE) == FALSE) { child_rsc 1055 lib/pacemaker/pcmk_sched_clone.c node = child_rsc->fns->location(child_rsc, NULL, current); child_rsc 1059 lib/pacemaker/pcmk_sched_clone.c crm_trace("Filtered %s", child_rsc->id); child_rsc 1067 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s - %s vs %s", child_rsc->id, node->details->uname, child_rsc 1071 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s - not allocated %d", child_rsc->id, current); child_rsc 1195 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1196 lib/pacemaker/pcmk_sched_clone.c pe_node_t *chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); child_rsc 1198 lib/pacemaker/pcmk_sched_clone.c if (chosen != NULL && is_set_recursive(child_rsc, pe_rsc_block, TRUE) == FALSE) { child_rsc 1211 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1213 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->rsc_colocation_rh(rsc_lh, child_rsc, constraint, child_rsc 1322 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1324 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->rsc_location(child_rsc, constraint); child_rsc 1371 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1373 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->expand(child_rsc, data_set); child_rsc 1465 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) child_iter->data; child_rsc 1467 lib/pacemaker/pcmk_sched_clone.c if (child_rsc) { /* make clang analyzer happy */ child_rsc 1468 lib/pacemaker/pcmk_sched_clone.c local_node = child_rsc->fns->location(child_rsc, NULL, FALSE); child_rsc 1470 lib/pacemaker/pcmk_sched_clone.c child = child_rsc; child_rsc 62 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 65 lib/pacemaker/pcmk_sched_group.c rsc->id, child_rsc->id); child_rsc 66 lib/pacemaker/pcmk_sched_group.c node = child_rsc->cmds->allocate(child_rsc, prefer, data_set); child_rsc 94 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 96 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->create_actions(child_rsc, data_set); child_rsc 97 lib/pacemaker/pcmk_sched_group.c group_update_pseudo_status(rsc, child_rsc); child_rsc 183 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 190 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->internal_constraints(child_rsc, data_set); child_rsc 200 lib/pacemaker/pcmk_sched_group.c child_rsc, last_rsc, NULL, NULL, child_rsc 201 lib/pacemaker/pcmk_sched_group.c pcmk_is_set(child_rsc->flags, pe_rsc_critical), child_rsc 206 lib/pacemaker/pcmk_sched_group.c new_rsc_order(rsc, RSC_DEMOTE, child_rsc, RSC_DEMOTE, child_rsc 209 lib/pacemaker/pcmk_sched_group.c new_rsc_order(child_rsc, RSC_DEMOTE, rsc, RSC_DEMOTED, stopped, data_set); child_rsc 211 lib/pacemaker/pcmk_sched_group.c new_rsc_order(child_rsc, RSC_PROMOTE, rsc, RSC_PROMOTED, started, data_set); child_rsc 213 lib/pacemaker/pcmk_sched_group.c new_rsc_order(rsc, RSC_PROMOTE, child_rsc, RSC_PROMOTE, child_rsc 218 lib/pacemaker/pcmk_sched_group.c order_start_start(rsc, child_rsc, pe_order_implies_first_printed); child_rsc 219 lib/pacemaker/pcmk_sched_group.c order_stop_stop(rsc, child_rsc, stop | pe_order_implies_first_printed); child_rsc 221 lib/pacemaker/pcmk_sched_group.c new_rsc_order(child_rsc, RSC_STOP, rsc, RSC_STOPPED, stopped, data_set); child_rsc 223 lib/pacemaker/pcmk_sched_group.c new_rsc_order(child_rsc, RSC_START, rsc, RSC_STARTED, started, data_set); child_rsc 226 lib/pacemaker/pcmk_sched_group.c order_start_start(rsc, child_rsc, start | pe_order_implies_first_printed); child_rsc 228 lib/pacemaker/pcmk_sched_group.c new_rsc_order(rsc, RSC_PROMOTE, child_rsc, RSC_PROMOTE, child_rsc 233 lib/pacemaker/pcmk_sched_group.c child_rsc->restart_type = pe_restart_restart; child_rsc 235 lib/pacemaker/pcmk_sched_group.c order_start_start(last_rsc, child_rsc, start); child_rsc 236 lib/pacemaker/pcmk_sched_group.c order_stop_stop(child_rsc, last_rsc, pe_order_optional | pe_order_restart); child_rsc 239 lib/pacemaker/pcmk_sched_group.c new_rsc_order(last_rsc, RSC_PROMOTE, child_rsc, RSC_PROMOTE, start, data_set); child_rsc 240 lib/pacemaker/pcmk_sched_group.c new_rsc_order(child_rsc, RSC_DEMOTE, last_rsc, RSC_DEMOTE, pe_order_optional, child_rsc 253 lib/pacemaker/pcmk_sched_group.c order_start_start(rsc, child_rsc, flags); child_rsc 255 lib/pacemaker/pcmk_sched_group.c new_rsc_order(rsc, RSC_PROMOTE, child_rsc, RSC_PROMOTE, flags, data_set); child_rsc 263 lib/pacemaker/pcmk_sched_group.c if (child_rsc->running_on) { child_rsc 267 lib/pacemaker/pcmk_sched_group.c order_stop_stop(child_rsc, last_active, pe_order_optional); child_rsc 269 lib/pacemaker/pcmk_sched_group.c last_active = child_rsc; child_rsc 272 lib/pacemaker/pcmk_sched_group.c last_rsc = child_rsc; child_rsc 325 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 327 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 1984 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1986 lib/pacemaker/pcmk_sched_native.c rsc_ticket_constraint(child_rsc, rsc_ticket, data_set); child_rsc 2361 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 2363 lib/pacemaker/pcmk_sched_native.c child_rsc->cmds->expand(child_rsc, data_set); child_rsc 2400 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 2402 lib/pacemaker/pcmk_sched_native.c LogActions(child_rsc, data_set); child_rsc 2691 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 2693 lib/pacemaker/pcmk_sched_native.c any_created = child_rsc->cmds->create_probe(child_rsc, node, complete, force, data_set) child_rsc 3122 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 3124 lib/pacemaker/pcmk_sched_native.c rsc_stonith_ordering(child_rsc, stonith_op, data_set); child_rsc 3144 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 3146 lib/pacemaker/pcmk_sched_native.c ReloadRsc(child_rsc, node, data_set); child_rsc 585 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 587 lib/pacemaker/pcmk_sched_promotable.c g_hash_table_iter_init(&iter, child_rsc->allowed_nodes); child_rsc 596 lib/pacemaker/pcmk_sched_promotable.c score = promotion_score(child_rsc, node, 0); child_rsc 601 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id, node->details->uname, node->weight, new_score); child_rsc 606 lib/pacemaker/pcmk_sched_promotable.c new_score = QB_MAX(child_rsc->priority, score); child_rsc 607 lib/pacemaker/pcmk_sched_promotable.c if (new_score != child_rsc->priority) { child_rsc 609 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id, child_rsc->priority, new_score); child_rsc 610 lib/pacemaker/pcmk_sched_promotable.c child_rsc->priority = new_score; child_rsc 636 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 638 lib/pacemaker/pcmk_sched_promotable.c set_role_unpromoted(child_rsc, current); child_rsc 652 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 654 lib/pacemaker/pcmk_sched_promotable.c set_role_promoted(child_rsc); child_rsc 685 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 687 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "Assigning priority for %s: %s", child_rsc->id, child_rsc 688 lib/pacemaker/pcmk_sched_promotable.c role2text(child_rsc->next_role)); child_rsc 690 lib/pacemaker/pcmk_sched_promotable.c if (child_rsc->fns->state(child_rsc, TRUE) == RSC_ROLE_STARTED) { child_rsc 691 lib/pacemaker/pcmk_sched_promotable.c set_role_unpromoted(child_rsc, true); child_rsc 694 lib/pacemaker/pcmk_sched_promotable.c chosen = child_rsc->fns->location(child_rsc, &list, FALSE); child_rsc 697 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id); child_rsc 705 lib/pacemaker/pcmk_sched_promotable.c next_role = child_rsc->fns->state(child_rsc, FALSE); child_rsc 717 lib/pacemaker/pcmk_sched_promotable.c child_rsc->priority = promotion_score(child_rsc, chosen, -1); child_rsc 722 lib/pacemaker/pcmk_sched_promotable.c child_rsc->priority = -INFINITY; child_rsc 730 lib/pacemaker/pcmk_sched_promotable.c crm_err("Unknown resource role: %d for %s", next_role, child_rsc->id)); child_rsc 733 lib/pacemaker/pcmk_sched_promotable.c apply_promoted_location(child_rsc, child_rsc->rsc_location, chosen); child_rsc 734 lib/pacemaker/pcmk_sched_promotable.c apply_promoted_location(child_rsc, rsc->rsc_location, chosen); child_rsc 736 lib/pacemaker/pcmk_sched_promotable.c for (gIter2 = child_rsc->rsc_cons; gIter2 != NULL; gIter2 = gIter2->next) { child_rsc 739 lib/pacemaker/pcmk_sched_promotable.c child_rsc->cmds->rsc_colocation_lh(child_rsc, cons->rsc_rh, cons, child_rsc 743 lib/pacemaker/pcmk_sched_promotable.c child_rsc->sort_index = child_rsc->priority; child_rsc 744 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "Assigning priority for %s: %d", child_rsc->id, child_rsc->priority); child_rsc 747 lib/pacemaker/pcmk_sched_promotable.c child_rsc->sort_index = INFINITY; child_rsc 756 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 757 lib/pacemaker/pcmk_sched_promotable.c score2char_stack(child_rsc->sort_index, score, len); child_rsc 759 lib/pacemaker/pcmk_sched_promotable.c chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); child_rsc 763 lib/pacemaker/pcmk_sched_promotable.c out->message(out, "promotion-score", child_rsc, chosen, score); child_rsc 767 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "%s promotion score on %s: %s", child_rsc->id, child_rsc 775 lib/pacemaker/pcmk_sched_promotable.c if (child_rsc->sort_index < 0) { child_rsc 776 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "Not supposed to promote child: %s", child_rsc->id); child_rsc 780 lib/pacemaker/pcmk_sched_promotable.c chosen = node_to_be_promoted_on(child_rsc); child_rsc 783 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_debug(rsc, "%s promotion score: %d", child_rsc->id, child_rsc->priority); child_rsc 786 lib/pacemaker/pcmk_sched_promotable.c set_role_unpromoted(child_rsc, false); child_rsc 789 lib/pacemaker/pcmk_sched_promotable.c } else if ((child_rsc->role < RSC_ROLE_PROMOTED) child_rsc 793 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id, role2text(child_rsc->role), role2text(child_rsc->next_role)); child_rsc 794 lib/pacemaker/pcmk_sched_promotable.c set_role_unpromoted(child_rsc, false); child_rsc 800 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id, role2text(child_rsc->role), chosen->details->uname); child_rsc 801 lib/pacemaker/pcmk_sched_promotable.c set_role_promoted(child_rsc); child_rsc 831 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 833 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "Creating actions for %s", child_rsc->id); child_rsc 834 lib/pacemaker/pcmk_sched_promotable.c child_rsc->cmds->create_actions(child_rsc, data_set); child_rsc 835 lib/pacemaker/pcmk_sched_promotable.c check_promotable_actions(child_rsc, &child_demoting, &child_promoting); child_rsc 839 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "Created actions for %s: %d %d", child_rsc->id, child_promoting, child_rsc 888 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 890 lib/pacemaker/pcmk_sched_promotable.c child_rsc->priority = rsc->priority; child_rsc 932 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 935 lib/pacemaker/pcmk_sched_promotable.c new_rsc_order(child_rsc, RSC_DEMOTE, child_rsc, RSC_PROMOTE, pe_order_optional, data_set); child_rsc 938 lib/pacemaker/pcmk_sched_promotable.c rsc, child_rsc, last_rsc, data_set); child_rsc 941 lib/pacemaker/pcmk_sched_promotable.c rsc, child_rsc, last_rsc, data_set); child_rsc 943 lib/pacemaker/pcmk_sched_promotable.c last_rsc = child_rsc; child_rsc 984 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 985 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); child_rsc 986 lib/pacemaker/pcmk_sched_promotable.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, FALSE); child_rsc 988 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc_rh, "Processing: %s", child_rsc->id); child_rsc 990 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc_rh, "Applying: %s %s %s %d", child_rsc->id, child_rsc 442 lib/pacemaker/pcmk_sched_utilization.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 444 lib/pacemaker/pcmk_sched_utilization.c colocated_rscs = find_colocated_rscs(colocated_rscs, child_rsc, orig_rsc); child_rsc 469 lib/pacemaker/pcmk_sched_utilization.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 471 lib/pacemaker/pcmk_sched_utilization.c if (pcmk_is_set(child_rsc->flags, pe_rsc_provisional) && child_rsc 472 lib/pacemaker/pcmk_sched_utilization.c g_list_find(all_rscs, child_rsc) == FALSE) { child_rsc 473 lib/pacemaker/pcmk_sched_utilization.c native_add_unallocated_utilization(all_utilization, child_rsc); child_rsc 73 lib/pengine/clone.c pe_resource_t *child_rsc = NULL; child_rsc 94 lib/pengine/clone.c if (common_unpack(child_copy, &child_rsc, rsc, data_set) == FALSE) { child_rsc 96 lib/pengine/clone.c child_rsc = NULL; child_rsc 101 lib/pengine/clone.c CRM_ASSERT(child_rsc); child_rsc 103 lib/pengine/clone.c pe_rsc_trace(child_rsc, "Setting clone attributes for: %s", child_rsc->id); child_rsc 104 lib/pengine/clone.c rsc->children = g_list_append(rsc->children, child_rsc); child_rsc 106 lib/pengine/clone.c pe__set_resource_flags_recursive(child_rsc, pe_rsc_orphan); child_rsc 109 lib/pengine/clone.c add_hash_param(child_rsc->meta, XML_RSC_ATTR_INCARNATION_MAX, inc_max); child_rsc 110 lib/pengine/clone.c pe_rsc_trace(rsc, "Added %s instance %s", rsc->id, child_rsc->id); child_rsc 116 lib/pengine/clone.c return child_rsc; child_rsc 266 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 267 lib/pengine/clone.c gboolean child_active = child_rsc->fns->active(child_rsc, all); child_rsc 354 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 356 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 437 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 438 lib/pengine/clone.c gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE); child_rsc 453 lib/pengine/clone.c && (child_rsc->pending_task != NULL) child_rsc 454 lib/pengine/clone.c && strcmp(child_rsc->pending_task, "probe")) { child_rsc 460 lib/pengine/clone.c if (!pcmk_is_set(child_rsc->flags, pe_rsc_orphan) child_rsc 462 lib/pengine/clone.c pcmk__add_word(&stopped_list, &stopped_list_len, child_rsc->id); child_rsc 465 lib/pengine/clone.c } else if (is_set_recursive(child_rsc, pe_rsc_orphan, TRUE) child_rsc 466 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_managed, FALSE) == FALSE child_rsc 467 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_failed, TRUE)) { child_rsc 472 lib/pengine/clone.c } else if (child_rsc->fns->active(child_rsc, TRUE)) { child_rsc 475 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); child_rsc 480 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); child_rsc 506 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 630 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 632 lib/pengine/clone.c if (pcmk__rsc_filtered_by_node(child_rsc, only_node)) { child_rsc 636 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { child_rsc 655 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), options, child_rsc 656 lib/pengine/clone.c child_rsc, only_node, only_rsc); child_rsc 708 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 709 lib/pengine/clone.c gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE); child_rsc 711 lib/pengine/clone.c if (pcmk__rsc_filtered_by_node(child_rsc, only_node)) { child_rsc 715 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { child_rsc 732 lib/pengine/clone.c && (child_rsc->pending_task != NULL) child_rsc 733 lib/pengine/clone.c && strcmp(child_rsc->pending_task, "probe")) { child_rsc 739 lib/pengine/clone.c if (!pcmk_is_set(child_rsc->flags, pe_rsc_orphan) child_rsc 741 lib/pengine/clone.c pcmk__add_word(&stopped_list, &stopped_list_len, child_rsc->id); child_rsc 744 lib/pengine/clone.c } else if (is_set_recursive(child_rsc, pe_rsc_orphan, TRUE) child_rsc 745 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_managed, FALSE) == FALSE child_rsc 746 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_failed, TRUE)) { child_rsc 751 lib/pengine/clone.c } else if (child_rsc->fns->active(child_rsc, TRUE)) { child_rsc 754 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); child_rsc 759 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); child_rsc 786 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), options, child_rsc 787 lib/pengine/clone.c child_rsc, only_node, all); child_rsc 948 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 949 lib/pengine/clone.c gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE); child_rsc 951 lib/pengine/clone.c if (pcmk__rsc_filtered_by_node(child_rsc, only_node)) { child_rsc 955 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { child_rsc 972 lib/pengine/clone.c && (child_rsc->pending_task != NULL) child_rsc 973 lib/pengine/clone.c && strcmp(child_rsc->pending_task, "probe")) { child_rsc 979 lib/pengine/clone.c if (!pcmk_is_set(child_rsc->flags, pe_rsc_orphan) child_rsc 981 lib/pengine/clone.c pcmk__add_word(&stopped_list, &stopped_list_len, child_rsc->id); child_rsc 984 lib/pengine/clone.c } else if (is_set_recursive(child_rsc, pe_rsc_orphan, TRUE) child_rsc 985 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_managed, FALSE) == FALSE child_rsc 986 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_failed, TRUE)) { child_rsc 991 lib/pengine/clone.c } else if (child_rsc->fns->active(child_rsc, TRUE)) { child_rsc 994 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); child_rsc 999 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); child_rsc 1026 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), options, child_rsc 1027 lib/pengine/clone.c child_rsc, only_node, all); child_rsc 1151 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1153 lib/pengine/clone.c CRM_ASSERT(child_rsc); child_rsc 1154 lib/pengine/clone.c pe_rsc_trace(child_rsc, "Freeing child %s", child_rsc->id); child_rsc 1155 lib/pengine/clone.c free_xml(child_rsc->xml); child_rsc 1156 lib/pengine/clone.c child_rsc->xml = NULL; child_rsc 1158 lib/pengine/clone.c free_xml(child_rsc->orig_xml); child_rsc 1159 lib/pengine/clone.c child_rsc->orig_xml = NULL; child_rsc 1160 lib/pengine/clone.c child_rsc->fns->free(child_rsc); child_rsc 1182 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1183 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, current); child_rsc 1230 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1232 lib/pengine/clone.c if (!child_rsc->fns->is_filtered(child_rsc, only_rsc, FALSE)) { child_rsc 878 lib/pengine/complex.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 880 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 2250 lib/pengine/pe_output.c pe_resource_t *child_rsc = va_arg(args, pe_resource_t *); child_rsc 2255 lib/pengine/pe_output.c child_rsc->id, child_rsc 2265 lib/pengine/pe_output.c pe_resource_t *child_rsc = va_arg(args, pe_resource_t *); child_rsc 2270 lib/pengine/pe_output.c "id", child_rsc->id, child_rsc 606 lib/pengine/unpack.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 608 lib/pengine/unpack.c setup_container(child_rsc, data_set); child_rsc 1572 lib/pengine/utils.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1574 lib/pengine/utils.c resource_node_score(child_rsc, node, score, tag);