child_rsc 48 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 590 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 592 lib/pacemaker/pcmk_sched_allocate.c common_apply_stickiness(child_rsc, node, data_set); child_rsc 654 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 656 lib/pacemaker/pcmk_sched_allocate.c complex_set_cmds(child_rsc); child_rsc 1327 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1329 lib/pacemaker/pcmk_sched_allocate.c if (is_managed(child_rsc)) { 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 975 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 977 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->internal_constraints(child_rsc, data_set); child_rsc 979 lib/pacemaker/pcmk_sched_clone.c pcmk__order_starts(rsc, child_rsc, child_rsc 982 lib/pacemaker/pcmk_sched_clone.c pcmk__order_resource_actions(child_rsc, RSC_START, rsc, RSC_STARTED, child_rsc 985 lib/pacemaker/pcmk_sched_clone.c pcmk__order_starts(last_rsc, child_rsc, pe_order_optional, child_rsc 989 lib/pacemaker/pcmk_sched_clone.c pcmk__order_stops(rsc, child_rsc, pe_order_implies_first_printed, child_rsc 991 lib/pacemaker/pcmk_sched_clone.c pcmk__order_resource_actions(child_rsc, RSC_STOP, rsc, RSC_STOPPED, child_rsc 994 lib/pacemaker/pcmk_sched_clone.c pcmk__order_stops(child_rsc, last_rsc, pe_order_optional, data_set); child_rsc 997 lib/pacemaker/pcmk_sched_clone.c last_rsc = child_rsc; child_rsc 1012 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1014 lib/pacemaker/pcmk_sched_clone.c changed |= assign_node(child_rsc, node, force); child_rsc 1029 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 1032 lib/pacemaker/pcmk_sched_clone.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, current); child_rsc 1034 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(child_rsc && local_node, return FALSE); child_rsc 1035 lib/pacemaker/pcmk_sched_clone.c if (is_set_recursive(child_rsc, pe_rsc_block, TRUE) == FALSE) { child_rsc 1037 lib/pacemaker/pcmk_sched_clone.c node = child_rsc->fns->location(child_rsc, NULL, current); child_rsc 1041 lib/pacemaker/pcmk_sched_clone.c crm_trace("Filtered %s", child_rsc->id); child_rsc 1049 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s - %s vs %s", child_rsc->id, node->details->uname, child_rsc 1053 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s - not allocated %d", child_rsc->id, current); child_rsc 1188 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1189 lib/pacemaker/pcmk_sched_clone.c pe_node_t *chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); child_rsc 1191 lib/pacemaker/pcmk_sched_clone.c if (chosen != NULL && is_set_recursive(child_rsc, pe_rsc_block, TRUE) == FALSE) { child_rsc 1206 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1208 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->rsc_colocation_rh(dependent, child_rsc, constraint, child_rsc 1317 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1319 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->rsc_location(child_rsc, constraint); child_rsc 1361 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1363 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->expand(child_rsc, data_set); child_rsc 1455 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) child_iter->data; child_rsc 1457 lib/pacemaker/pcmk_sched_clone.c if (child_rsc) { /* make clang analyzer happy */ child_rsc 1458 lib/pacemaker/pcmk_sched_clone.c local_node = child_rsc->fns->location(child_rsc, NULL, FALSE); child_rsc 1460 lib/pacemaker/pcmk_sched_clone.c child = child_rsc; child_rsc 282 lib/pacemaker/pcmk_sched_fencing.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 284 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 2012 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 2014 lib/pacemaker/pcmk_sched_native.c child_rsc->cmds->expand(child_rsc, data_set); child_rsc 2302 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 2304 lib/pacemaker/pcmk_sched_native.c any_created = child_rsc->cmds->create_probe(child_rsc, node, complete, force, data_set) child_rsc 2486 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 2488 lib/pacemaker/pcmk_sched_native.c ReloadRsc(child_rsc, node, 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 892 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 894 lib/pacemaker/pcmk_sched_promotable.c child_rsc->priority = rsc->priority; child_rsc 943 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 946 lib/pacemaker/pcmk_sched_promotable.c pcmk__order_resource_actions(child_rsc, RSC_DEMOTE, child_rsc, child_rsc 950 lib/pacemaker/pcmk_sched_promotable.c rsc, child_rsc, last_rsc, data_set); child_rsc 953 lib/pacemaker/pcmk_sched_promotable.c rsc, child_rsc, last_rsc, data_set); child_rsc 955 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(primary, "Processing: %s", child_rsc->id); child_rsc 1002 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(primary, "Applying: %s %s %s %d", child_rsc->id, child_rsc 372 lib/pacemaker/pcmk_sched_utilization.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 374 lib/pacemaker/pcmk_sched_utilization.c if (pcmk_is_set(child_rsc->flags, pe_rsc_provisional) && child_rsc 375 lib/pacemaker/pcmk_sched_utilization.c g_list_find(all_rscs, child_rsc) == FALSE) { child_rsc 376 lib/pacemaker/pcmk_sched_utilization.c native_add_unallocated_utilization(all_utilization, child_rsc); child_rsc 107 lib/pengine/clone.c pe_resource_t *child_rsc = NULL; child_rsc 128 lib/pengine/clone.c if (common_unpack(child_copy, &child_rsc, rsc, data_set) == FALSE) { child_rsc 130 lib/pengine/clone.c child_rsc = NULL; child_rsc 135 lib/pengine/clone.c CRM_ASSERT(child_rsc); child_rsc 137 lib/pengine/clone.c pe_rsc_trace(child_rsc, "Setting clone attributes for: %s", child_rsc->id); child_rsc 138 lib/pengine/clone.c rsc->children = g_list_append(rsc->children, child_rsc); child_rsc 140 lib/pengine/clone.c pe__set_resource_flags_recursive(child_rsc, pe_rsc_orphan); child_rsc 143 lib/pengine/clone.c add_hash_param(child_rsc->meta, XML_RSC_ATTR_INCARNATION_MAX, inc_max); child_rsc 144 lib/pengine/clone.c pe_rsc_trace(rsc, "Added %s instance %s", rsc->id, child_rsc->id); child_rsc 150 lib/pengine/clone.c return child_rsc; child_rsc 300 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 301 lib/pengine/clone.c gboolean child_active = child_rsc->fns->active(child_rsc, all); child_rsc 388 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 390 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 471 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 472 lib/pengine/clone.c gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE); child_rsc 487 lib/pengine/clone.c && (child_rsc->pending_task != NULL) child_rsc 488 lib/pengine/clone.c && strcmp(child_rsc->pending_task, "probe")) { child_rsc 494 lib/pengine/clone.c if (!pcmk_is_set(child_rsc->flags, pe_rsc_orphan) child_rsc 496 lib/pengine/clone.c pcmk__add_word(&stopped_list, &stopped_list_len, child_rsc->id); child_rsc 499 lib/pengine/clone.c } else if (is_set_recursive(child_rsc, pe_rsc_orphan, TRUE) child_rsc 500 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_managed, FALSE) == FALSE child_rsc 501 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_failed, TRUE)) { child_rsc 506 lib/pengine/clone.c } else if (child_rsc->fns->active(child_rsc, TRUE)) { child_rsc 509 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); child_rsc 514 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); child_rsc 540 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 667 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 669 lib/pengine/clone.c if (pcmk__rsc_filtered_by_node(child_rsc, only_node)) { child_rsc 673 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { child_rsc 692 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, child_rsc 693 lib/pengine/clone.c child_rsc, only_node, all); child_rsc 738 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 739 lib/pengine/clone.c gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE); child_rsc 741 lib/pengine/clone.c if (pcmk__rsc_filtered_by_node(child_rsc, only_node)) { child_rsc 745 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { child_rsc 762 lib/pengine/clone.c && (child_rsc->pending_task != NULL) child_rsc 763 lib/pengine/clone.c && strcmp(child_rsc->pending_task, "probe")) { child_rsc 769 lib/pengine/clone.c if (!pcmk_is_set(child_rsc->flags, pe_rsc_orphan) child_rsc 771 lib/pengine/clone.c pcmk__add_word(&stopped_list, &stopped_list_len, child_rsc->id); child_rsc 774 lib/pengine/clone.c } else if (is_set_recursive(child_rsc, pe_rsc_orphan, TRUE) child_rsc 775 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_managed, FALSE) == FALSE child_rsc 776 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_failed, TRUE)) { child_rsc 781 lib/pengine/clone.c } else if (child_rsc->fns->active(child_rsc, TRUE)) { child_rsc 784 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); child_rsc 789 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); child_rsc 818 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, child_rsc 819 lib/pengine/clone.c child_rsc, only_node, all); child_rsc 964 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 966 lib/pengine/clone.c CRM_ASSERT(child_rsc); child_rsc 967 lib/pengine/clone.c pe_rsc_trace(child_rsc, "Freeing child %s", child_rsc->id); child_rsc 968 lib/pengine/clone.c free_xml(child_rsc->xml); child_rsc 969 lib/pengine/clone.c child_rsc->xml = NULL; child_rsc 971 lib/pengine/clone.c free_xml(child_rsc->orig_xml); child_rsc 972 lib/pengine/clone.c child_rsc->orig_xml = NULL; child_rsc 973 lib/pengine/clone.c child_rsc->fns->free(child_rsc); child_rsc 995 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 996 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, current); child_rsc 1043 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1045 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 30 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 32 lib/pengine/group.c if (!child_rsc->fns->active(child_rsc, TRUE)) { child_rsc 171 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 173 lib/pengine/group.c if (child_rsc->fns->active(child_rsc, all)) { child_rsc 199 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 201 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 239 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 244 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 280 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 282 lib/pengine/group.c if (skip_child_rsc(rsc, child_rsc, parent_passes, only_rsc, show_opts)) { child_rsc 296 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, child_rsc, child_rsc 342 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 344 lib/pengine/group.c if (skip_child_rsc(rsc, child_rsc, parent_passes, only_rsc, show_opts)) { child_rsc 350 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, child_rsc 351 lib/pengine/group.c child_rsc, only_node, only_rsc); child_rsc 368 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 370 lib/pengine/group.c CRM_ASSERT(child_rsc); child_rsc 371 lib/pengine/group.c pe_rsc_trace(child_rsc, "Freeing child %s", child_rsc->id); child_rsc 372 lib/pengine/group.c child_rsc->fns->free(child_rsc); child_rsc 388 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 389 lib/pengine/group.c enum rsc_role_e role = child_rsc->fns->state(child_rsc, current); child_rsc 413 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 415 lib/pengine/group.c if (!child_rsc->fns->is_filtered(child_rsc, only_rsc, FALSE)) { child_rsc 2351 lib/pengine/pe_output.c pe_resource_t *child_rsc = va_arg(args, pe_resource_t *); child_rsc 2356 lib/pengine/pe_output.c child_rsc->id, child_rsc 2366 lib/pengine/pe_output.c pe_resource_t *child_rsc = va_arg(args, pe_resource_t *); child_rsc 2371 lib/pengine/pe_output.c "id", child_rsc->id, child_rsc 1675 lib/pengine/utils.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1677 lib/pengine/utils.c resource_node_score(child_rsc, node, score, tag);