child_rsc 37 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 597 lib/pacemaker/pcmk_sched_bundle.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 599 lib/pacemaker/pcmk_sched_bundle.c if(is_child_compatible(child_rsc, local_node, filter, current)) { child_rsc 601 lib/pacemaker/pcmk_sched_bundle.c local_child->id, child_rsc->id, local_node->details->uname); child_rsc 602 lib/pacemaker/pcmk_sched_bundle.c return child_rsc; child_rsc 70 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 72 lib/pacemaker/pcmk_sched_clone.c if (did_fail(child_rsc)) { child_rsc 902 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 906 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->create_actions(child_rsc, data_set); child_rsc 907 lib/pacemaker/pcmk_sched_clone.c clone_update_pseudo_status(child_rsc, &stopping, &starting, &child_active); child_rsc 979 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 981 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->internal_constraints(child_rsc, data_set); child_rsc 983 lib/pacemaker/pcmk_sched_clone.c pcmk__order_starts(rsc, child_rsc, child_rsc 986 lib/pacemaker/pcmk_sched_clone.c pcmk__order_resource_actions(child_rsc, RSC_START, rsc, RSC_STARTED, child_rsc 989 lib/pacemaker/pcmk_sched_clone.c pcmk__order_starts(last_rsc, child_rsc, pe_order_optional, child_rsc 993 lib/pacemaker/pcmk_sched_clone.c pcmk__order_stops(rsc, child_rsc, pe_order_implies_first_printed, child_rsc 995 lib/pacemaker/pcmk_sched_clone.c pcmk__order_resource_actions(child_rsc, RSC_STOP, rsc, RSC_STOPPED, child_rsc 998 lib/pacemaker/pcmk_sched_clone.c pcmk__order_stops(child_rsc, last_rsc, pe_order_optional, data_set); child_rsc 1001 lib/pacemaker/pcmk_sched_clone.c last_rsc = child_rsc; child_rsc 1009 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 1012 lib/pacemaker/pcmk_sched_clone.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, current); child_rsc 1014 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(child_rsc && local_node, return FALSE); child_rsc 1015 lib/pacemaker/pcmk_sched_clone.c if (is_set_recursive(child_rsc, pe_rsc_block, TRUE) == FALSE) { child_rsc 1017 lib/pacemaker/pcmk_sched_clone.c node = child_rsc->fns->location(child_rsc, NULL, current); child_rsc 1021 lib/pacemaker/pcmk_sched_clone.c crm_trace("Filtered %s", child_rsc->id); child_rsc 1029 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s - %s vs %s", child_rsc->id, node->details->uname, child_rsc 1033 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s - not allocated %d", child_rsc->id, current); child_rsc 1168 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1169 lib/pacemaker/pcmk_sched_clone.c pe_node_t *chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); child_rsc 1171 lib/pacemaker/pcmk_sched_clone.c if (chosen != NULL && is_set_recursive(child_rsc, pe_rsc_block, TRUE) == FALSE) { child_rsc 1186 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1188 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->rsc_colocation_rh(dependent, child_rsc, constraint, child_rsc 1297 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1299 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->rsc_location(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->expand(child_rsc, data_set); child_rsc 1416 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) child_iter->data; child_rsc 1418 lib/pacemaker/pcmk_sched_clone.c if (child_rsc) { /* make clang analyzer happy */ child_rsc 1419 lib/pacemaker/pcmk_sched_clone.c local_node = child_rsc->fns->location(child_rsc, NULL, FALSE); child_rsc 1421 lib/pacemaker/pcmk_sched_clone.c child = child_rsc; child_rsc 263 lib/pacemaker/pcmk_sched_fencing.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 265 lib/pacemaker/pcmk_sched_fencing.c rsc_stonith_ordering(child_rsc, stonith_op, data_set); child_rsc 119 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 122 lib/pacemaker/pcmk_sched_group.c rsc->id, child_rsc->id); child_rsc 123 lib/pacemaker/pcmk_sched_group.c node = child_rsc->cmds->allocate(child_rsc, prefer, data_set); child_rsc 151 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 153 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->create_actions(child_rsc, data_set); child_rsc 154 lib/pacemaker/pcmk_sched_group.c group_update_pseudo_status(rsc, child_rsc); child_rsc 243 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 250 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->internal_constraints(child_rsc, data_set); child_rsc 260 lib/pacemaker/pcmk_sched_group.c child_rsc, last_rsc, NULL, NULL, child_rsc 261 lib/pacemaker/pcmk_sched_group.c pcmk_is_set(child_rsc->flags, pe_rsc_critical), child_rsc 266 lib/pacemaker/pcmk_sched_group.c pcmk__order_resource_actions(rsc, RSC_DEMOTE, child_rsc, RSC_DEMOTE, child_rsc 270 lib/pacemaker/pcmk_sched_group.c pcmk__order_resource_actions(child_rsc, RSC_DEMOTE, rsc, child_rsc 273 lib/pacemaker/pcmk_sched_group.c pcmk__order_resource_actions(child_rsc, RSC_PROMOTE, rsc, child_rsc 276 lib/pacemaker/pcmk_sched_group.c pcmk__order_resource_actions(rsc, RSC_PROMOTE, child_rsc, child_rsc 283 lib/pacemaker/pcmk_sched_group.c pcmk__order_starts(rsc, child_rsc, pe_order_implies_first_printed, child_rsc 285 lib/pacemaker/pcmk_sched_group.c pcmk__order_stops(rsc, child_rsc, child_rsc 288 lib/pacemaker/pcmk_sched_group.c pcmk__order_resource_actions(child_rsc, RSC_STOP, rsc, RSC_STOPPED, child_rsc 290 lib/pacemaker/pcmk_sched_group.c pcmk__order_resource_actions(child_rsc, RSC_START, rsc, RSC_STARTED, child_rsc 294 lib/pacemaker/pcmk_sched_group.c pcmk__order_starts(rsc, child_rsc, child_rsc 297 lib/pacemaker/pcmk_sched_group.c pcmk__order_resource_actions(rsc, RSC_PROMOTE, child_rsc, child_rsc 304 lib/pacemaker/pcmk_sched_group.c pcmk__order_starts(last_rsc, child_rsc, start, data_set); child_rsc 305 lib/pacemaker/pcmk_sched_group.c pcmk__order_stops(child_rsc, last_rsc, child_rsc 309 lib/pacemaker/pcmk_sched_group.c pcmk__order_resource_actions(last_rsc, RSC_PROMOTE, child_rsc, child_rsc 311 lib/pacemaker/pcmk_sched_group.c pcmk__order_resource_actions(child_rsc, RSC_DEMOTE, last_rsc, child_rsc 317 lib/pacemaker/pcmk_sched_group.c pcmk__order_starts(rsc, child_rsc, pe_order_none, data_set); child_rsc 319 lib/pacemaker/pcmk_sched_group.c pcmk__order_resource_actions(rsc, RSC_PROMOTE, child_rsc, child_rsc 328 lib/pacemaker/pcmk_sched_group.c if (child_rsc->running_on) { child_rsc 332 lib/pacemaker/pcmk_sched_group.c pcmk__order_stops(child_rsc, last_active, pe_order_optional, child_rsc 335 lib/pacemaker/pcmk_sched_group.c last_active = child_rsc; child_rsc 338 lib/pacemaker/pcmk_sched_group.c last_rsc = child_rsc; child_rsc 394 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 396 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_colocation_lh(child_rsc, primary, constraint, child_rsc 442 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 444 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_colocation_rh(dependent, child_rsc, constraint, child_rsc 536 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 538 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_location(child_rsc, constraint); child_rsc 558 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 560 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->expand(child_rsc, data_set); child_rsc 609 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = NULL; child_rsc 623 lib/pacemaker/pcmk_sched_group.c child_rsc = (pe_resource_t *) gIter->data; child_rsc 624 lib/pacemaker/pcmk_sched_group.c colocated_rscs = child_rsc->cmds->colocated_resources(child_rsc, child_rsc 633 lib/pacemaker/pcmk_sched_group.c child_rsc = group_data->first_child; child_rsc 634 lib/pacemaker/pcmk_sched_group.c colocated_rscs = child_rsc->cmds->colocated_resources(child_rsc, child_rsc 2007 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 2009 lib/pacemaker/pcmk_sched_native.c child_rsc->cmds->expand(child_rsc, data_set); child_rsc 2327 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 2329 lib/pacemaker/pcmk_sched_native.c any_created = child_rsc->cmds->create_probe(child_rsc, node, complete, force, data_set) child_rsc 595 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 597 lib/pacemaker/pcmk_sched_promotable.c g_hash_table_iter_init(&iter, child_rsc->allowed_nodes); child_rsc 606 lib/pacemaker/pcmk_sched_promotable.c score = promotion_score(child_rsc, node, 0); child_rsc 611 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id, node->details->uname, node->weight, new_score); child_rsc 616 lib/pacemaker/pcmk_sched_promotable.c new_score = QB_MAX(child_rsc->priority, score); child_rsc 617 lib/pacemaker/pcmk_sched_promotable.c if (new_score != child_rsc->priority) { child_rsc 619 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id, child_rsc->priority, new_score); child_rsc 620 lib/pacemaker/pcmk_sched_promotable.c child_rsc->priority = new_score; child_rsc 646 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 648 lib/pacemaker/pcmk_sched_promotable.c set_role_unpromoted(child_rsc, current); 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_unpromoted(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_promoted_location(child_rsc, child_rsc->rsc_location, chosen); child_rsc 738 lib/pacemaker/pcmk_sched_promotable.c apply_promoted_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 743 lib/pacemaker/pcmk_sched_promotable.c child_rsc->cmds->rsc_colocation_lh(child_rsc, cons->primary, cons, child_rsc 747 lib/pacemaker/pcmk_sched_promotable.c child_rsc->sort_index = child_rsc->priority; child_rsc 748 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "Assigning priority for %s: %d", child_rsc->id, child_rsc->priority); child_rsc 751 lib/pacemaker/pcmk_sched_promotable.c child_rsc->sort_index = INFINITY; child_rsc 760 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 761 lib/pacemaker/pcmk_sched_promotable.c score2char_stack(child_rsc->sort_index, score, len); child_rsc 763 lib/pacemaker/pcmk_sched_promotable.c chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); child_rsc 767 lib/pacemaker/pcmk_sched_promotable.c out->message(out, "promotion-score", child_rsc, chosen, score); child_rsc 771 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "%s promotion score on %s: %s", child_rsc->id, child_rsc 779 lib/pacemaker/pcmk_sched_promotable.c if (child_rsc->sort_index < 0) { child_rsc 780 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "Not supposed to promote child: %s", child_rsc->id); child_rsc 784 lib/pacemaker/pcmk_sched_promotable.c chosen = node_to_be_promoted_on(child_rsc); child_rsc 787 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_debug(rsc, "%s promotion score: %d", child_rsc->id, child_rsc->priority); child_rsc 790 lib/pacemaker/pcmk_sched_promotable.c set_role_unpromoted(child_rsc, false); child_rsc 793 lib/pacemaker/pcmk_sched_promotable.c } else if ((child_rsc->role < RSC_ROLE_PROMOTED) child_rsc 797 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id, role2text(child_rsc->role), role2text(child_rsc->next_role)); child_rsc 798 lib/pacemaker/pcmk_sched_promotable.c set_role_unpromoted(child_rsc, false); child_rsc 804 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id, role2text(child_rsc->role), chosen->details->uname); child_rsc 805 lib/pacemaker/pcmk_sched_promotable.c set_role_promoted(child_rsc, NULL); child_rsc 835 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 837 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "Creating actions for %s", child_rsc->id); child_rsc 838 lib/pacemaker/pcmk_sched_promotable.c child_rsc->cmds->create_actions(child_rsc, data_set); child_rsc 839 lib/pacemaker/pcmk_sched_promotable.c check_promotable_actions(child_rsc, &child_demoting, &child_promoting); child_rsc 843 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(rsc, "Created actions for %s: %d %d", child_rsc->id, child_promoting, child_rsc 899 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 901 lib/pacemaker/pcmk_sched_promotable.c child_rsc->priority = rsc->priority; child_rsc 950 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 953 lib/pacemaker/pcmk_sched_promotable.c pcmk__order_resource_actions(child_rsc, RSC_DEMOTE, child_rsc, child_rsc 957 lib/pacemaker/pcmk_sched_promotable.c rsc, child_rsc, last_rsc, data_set); child_rsc 960 lib/pacemaker/pcmk_sched_promotable.c rsc, child_rsc, last_rsc, data_set); child_rsc 962 lib/pacemaker/pcmk_sched_promotable.c last_rsc = child_rsc; child_rsc 1003 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1004 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); child_rsc 1005 lib/pacemaker/pcmk_sched_promotable.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, FALSE); child_rsc 1007 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(primary, "Processing: %s", child_rsc->id); child_rsc 1009 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(primary, "Applying: %s %s %s %d", child_rsc->id, child_rsc 446 lib/pacemaker/pcmk_sched_resource.c pe_resource_t *child_rsc = (pe_resource_t *) iter->data; child_rsc 448 lib/pacemaker/pcmk_sched_resource.c changed |= pcmk__assign_resource(child_rsc, node, force); child_rsc 158 lib/pengine/clone.c pe_resource_t *child_rsc = NULL; child_rsc 179 lib/pengine/clone.c if (common_unpack(child_copy, &child_rsc, rsc, data_set) == FALSE) { child_rsc 181 lib/pengine/clone.c child_rsc = NULL; child_rsc 186 lib/pengine/clone.c CRM_ASSERT(child_rsc); child_rsc 188 lib/pengine/clone.c pe_rsc_trace(child_rsc, "Setting clone attributes for: %s", child_rsc->id); child_rsc 189 lib/pengine/clone.c rsc->children = g_list_append(rsc->children, child_rsc); child_rsc 191 lib/pengine/clone.c pe__set_resource_flags_recursive(child_rsc, pe_rsc_orphan); child_rsc 194 lib/pengine/clone.c add_hash_param(child_rsc->meta, XML_RSC_ATTR_INCARNATION_MAX, inc_max); child_rsc 195 lib/pengine/clone.c pe_rsc_trace(rsc, "Added %s instance %s", rsc->id, child_rsc->id); child_rsc 201 lib/pengine/clone.c return child_rsc; child_rsc 351 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 352 lib/pengine/clone.c gboolean child_active = child_rsc->fns->active(child_rsc, all); child_rsc 439 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 441 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 522 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 523 lib/pengine/clone.c gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE); child_rsc 538 lib/pengine/clone.c && (child_rsc->pending_task != NULL) child_rsc 539 lib/pengine/clone.c && strcmp(child_rsc->pending_task, "probe")) { child_rsc 545 lib/pengine/clone.c if (!pcmk_is_set(child_rsc->flags, pe_rsc_orphan) child_rsc 547 lib/pengine/clone.c pcmk__add_word(&stopped_list, &stopped_list_len, child_rsc->id); child_rsc 550 lib/pengine/clone.c } else if (is_set_recursive(child_rsc, pe_rsc_orphan, TRUE) child_rsc 551 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_managed, FALSE) == FALSE child_rsc 552 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_failed, TRUE)) { child_rsc 557 lib/pengine/clone.c } else if (child_rsc->fns->active(child_rsc, TRUE)) { child_rsc 560 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); child_rsc 565 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); child_rsc 591 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 718 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 720 lib/pengine/clone.c if (pcmk__rsc_filtered_by_node(child_rsc, only_node)) { child_rsc 724 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { child_rsc 743 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, child_rsc 744 lib/pengine/clone.c child_rsc, only_node, all); child_rsc 789 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 790 lib/pengine/clone.c gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE); child_rsc 792 lib/pengine/clone.c if (pcmk__rsc_filtered_by_node(child_rsc, only_node)) { child_rsc 796 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { child_rsc 813 lib/pengine/clone.c && (child_rsc->pending_task != NULL) child_rsc 814 lib/pengine/clone.c && strcmp(child_rsc->pending_task, "probe")) { child_rsc 820 lib/pengine/clone.c if (!pcmk_is_set(child_rsc->flags, pe_rsc_orphan) child_rsc 826 lib/pengine/clone.c g_hash_table_insert(stopped, strdup(child_rsc->id), strdup("Stopped")); child_rsc 829 lib/pengine/clone.c } else if (is_set_recursive(child_rsc, pe_rsc_orphan, TRUE) child_rsc 830 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_managed, FALSE) == FALSE child_rsc 831 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_failed, TRUE)) { child_rsc 836 lib/pengine/clone.c } else if (child_rsc->fns->active(child_rsc, TRUE)) { child_rsc 839 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); child_rsc 844 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); child_rsc 873 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, child_rsc 874 lib/pengine/clone.c child_rsc, only_node, all); child_rsc 1044 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1046 lib/pengine/clone.c CRM_ASSERT(child_rsc); child_rsc 1047 lib/pengine/clone.c pe_rsc_trace(child_rsc, "Freeing child %s", child_rsc->id); child_rsc 1048 lib/pengine/clone.c free_xml(child_rsc->xml); child_rsc 1049 lib/pengine/clone.c child_rsc->xml = NULL; child_rsc 1051 lib/pengine/clone.c free_xml(child_rsc->orig_xml); child_rsc 1052 lib/pengine/clone.c child_rsc->orig_xml = NULL; child_rsc 1053 lib/pengine/clone.c child_rsc->fns->free(child_rsc); child_rsc 1075 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1076 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, current); child_rsc 1123 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1125 lib/pengine/clone.c if (!child_rsc->fns->is_filtered(child_rsc, only_rsc, FALSE)) { child_rsc 888 lib/pengine/complex.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 890 lib/pengine/complex.c common_update_score(child_rsc, id, score); child_rsc 32 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 34 lib/pengine/group.c if (!child_rsc->fns->active(child_rsc, TRUE)) { child_rsc 173 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 175 lib/pengine/group.c if (child_rsc->fns->active(child_rsc, all)) { child_rsc 201 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 203 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 241 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 246 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 282 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 284 lib/pengine/group.c if (skip_child_rsc(rsc, child_rsc, parent_passes, only_rsc, show_opts)) { child_rsc 298 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, child_rsc, child_rsc 344 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 346 lib/pengine/group.c if (skip_child_rsc(rsc, child_rsc, parent_passes, only_rsc, show_opts)) { child_rsc 352 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, child_rsc 353 lib/pengine/group.c child_rsc, only_node, only_rsc); child_rsc 370 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 372 lib/pengine/group.c CRM_ASSERT(child_rsc); child_rsc 373 lib/pengine/group.c pe_rsc_trace(child_rsc, "Freeing child %s", child_rsc->id); child_rsc 374 lib/pengine/group.c child_rsc->fns->free(child_rsc); child_rsc 390 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 391 lib/pengine/group.c enum rsc_role_e role = child_rsc->fns->state(child_rsc, current); child_rsc 415 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 417 lib/pengine/group.c if (!child_rsc->fns->is_filtered(child_rsc, only_rsc, FALSE)) { child_rsc 2424 lib/pengine/pe_output.c pe_resource_t *child_rsc = va_arg(args, pe_resource_t *); child_rsc 2429 lib/pengine/pe_output.c child_rsc->id, child_rsc 2439 lib/pengine/pe_output.c pe_resource_t *child_rsc = va_arg(args, pe_resource_t *); child_rsc 2444 lib/pengine/pe_output.c "id", child_rsc->id, child_rsc 1676 lib/pengine/utils.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1678 lib/pengine/utils.c resource_node_score(child_rsc, node, score, tag);