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 679 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 681 lib/pacemaker/pcmk_sched_allocate.c common_apply_stickiness(child_rsc, node, data_set); child_rsc 738 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 740 lib/pacemaker/pcmk_sched_allocate.c complex_set_cmds(child_rsc); child_rsc 941 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 942 lib/pacemaker/pcmk_sched_allocate.c rsc_discover_filter(child_rsc, node); child_rsc 1472 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1474 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 996 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 998 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->internal_constraints(child_rsc, data_set); child_rsc 1000 lib/pacemaker/pcmk_sched_clone.c order_start_start(rsc, child_rsc, pe_order_runnable_left | pe_order_implies_first_printed); child_rsc 1001 lib/pacemaker/pcmk_sched_clone.c new_rsc_order(child_rsc, RSC_START, rsc, RSC_STARTED, pe_order_implies_then_printed, child_rsc 1004 lib/pacemaker/pcmk_sched_clone.c order_start_start(last_rsc, child_rsc, pe_order_optional); child_rsc 1007 lib/pacemaker/pcmk_sched_clone.c order_stop_stop(rsc, child_rsc, pe_order_implies_first_printed); child_rsc 1008 lib/pacemaker/pcmk_sched_clone.c new_rsc_order(child_rsc, RSC_STOP, rsc, RSC_STOPPED, pe_order_implies_then_printed, child_rsc 1011 lib/pacemaker/pcmk_sched_clone.c order_stop_stop(child_rsc, last_rsc, pe_order_optional); child_rsc 1014 lib/pacemaker/pcmk_sched_clone.c last_rsc = child_rsc; child_rsc 1029 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1031 lib/pacemaker/pcmk_sched_clone.c changed |= assign_node(child_rsc, node, force); child_rsc 1046 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 1049 lib/pacemaker/pcmk_sched_clone.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, current); child_rsc 1051 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(child_rsc && local_node, return FALSE); child_rsc 1052 lib/pacemaker/pcmk_sched_clone.c if (is_set_recursive(child_rsc, pe_rsc_block, TRUE) == FALSE) { child_rsc 1054 lib/pacemaker/pcmk_sched_clone.c node = child_rsc->fns->location(child_rsc, NULL, current); child_rsc 1058 lib/pacemaker/pcmk_sched_clone.c crm_trace("Filtered %s", child_rsc->id); child_rsc 1066 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s - %s vs %s", child_rsc->id, node->details->uname, child_rsc 1070 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s - not allocated %d", child_rsc->id, current); child_rsc 1194 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1195 lib/pacemaker/pcmk_sched_clone.c pe_node_t *chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); child_rsc 1197 lib/pacemaker/pcmk_sched_clone.c if (chosen != NULL && is_set_recursive(child_rsc, pe_rsc_block, TRUE) == FALSE) { child_rsc 1210 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1212 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->rsc_colocation_rh(rsc_lh, child_rsc, constraint, child_rsc 1321 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1323 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->rsc_location(child_rsc, constraint); child_rsc 1370 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1372 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->expand(child_rsc, data_set); child_rsc 1464 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) child_iter->data; child_rsc 1466 lib/pacemaker/pcmk_sched_clone.c if (child_rsc) { /* make clang analyzer happy */ child_rsc 1467 lib/pacemaker/pcmk_sched_clone.c local_node = child_rsc->fns->location(child_rsc, NULL, FALSE); child_rsc 1469 lib/pacemaker/pcmk_sched_clone.c child = child_rsc; child_rsc 116 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 119 lib/pacemaker/pcmk_sched_group.c rsc->id, child_rsc->id); child_rsc 120 lib/pacemaker/pcmk_sched_group.c node = child_rsc->cmds->allocate(child_rsc, prefer, data_set); child_rsc 148 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 150 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->create_actions(child_rsc, data_set); child_rsc 151 lib/pacemaker/pcmk_sched_group.c group_update_pseudo_status(rsc, child_rsc); child_rsc 237 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 244 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->internal_constraints(child_rsc, data_set); child_rsc 254 lib/pacemaker/pcmk_sched_group.c child_rsc, last_rsc, NULL, NULL, child_rsc 255 lib/pacemaker/pcmk_sched_group.c pcmk_is_set(child_rsc->flags, pe_rsc_critical), child_rsc 260 lib/pacemaker/pcmk_sched_group.c new_rsc_order(rsc, RSC_DEMOTE, child_rsc, RSC_DEMOTE, child_rsc 263 lib/pacemaker/pcmk_sched_group.c new_rsc_order(child_rsc, RSC_DEMOTE, rsc, RSC_DEMOTED, stopped, data_set); child_rsc 265 lib/pacemaker/pcmk_sched_group.c new_rsc_order(child_rsc, RSC_PROMOTE, rsc, RSC_PROMOTED, started, data_set); child_rsc 267 lib/pacemaker/pcmk_sched_group.c new_rsc_order(rsc, RSC_PROMOTE, child_rsc, RSC_PROMOTE, child_rsc 272 lib/pacemaker/pcmk_sched_group.c order_start_start(rsc, child_rsc, pe_order_implies_first_printed); child_rsc 273 lib/pacemaker/pcmk_sched_group.c order_stop_stop(rsc, child_rsc, stop | pe_order_implies_first_printed); child_rsc 275 lib/pacemaker/pcmk_sched_group.c new_rsc_order(child_rsc, RSC_STOP, rsc, RSC_STOPPED, stopped, data_set); child_rsc 277 lib/pacemaker/pcmk_sched_group.c new_rsc_order(child_rsc, RSC_START, rsc, RSC_STARTED, started, data_set); child_rsc 280 lib/pacemaker/pcmk_sched_group.c order_start_start(rsc, child_rsc, start | pe_order_implies_first_printed); child_rsc 282 lib/pacemaker/pcmk_sched_group.c new_rsc_order(rsc, RSC_PROMOTE, child_rsc, RSC_PROMOTE, child_rsc 287 lib/pacemaker/pcmk_sched_group.c order_start_start(last_rsc, child_rsc, start); child_rsc 288 lib/pacemaker/pcmk_sched_group.c order_stop_stop(child_rsc, last_rsc, pe_order_optional | pe_order_restart); child_rsc 291 lib/pacemaker/pcmk_sched_group.c new_rsc_order(last_rsc, RSC_PROMOTE, child_rsc, RSC_PROMOTE, start, data_set); child_rsc 292 lib/pacemaker/pcmk_sched_group.c new_rsc_order(child_rsc, RSC_DEMOTE, last_rsc, RSC_DEMOTE, pe_order_optional, child_rsc 297 lib/pacemaker/pcmk_sched_group.c order_start_start(rsc, child_rsc, pe_order_none); child_rsc 299 lib/pacemaker/pcmk_sched_group.c new_rsc_order(rsc, RSC_PROMOTE, child_rsc, RSC_PROMOTE, child_rsc 307 lib/pacemaker/pcmk_sched_group.c if (child_rsc->running_on) { child_rsc 311 lib/pacemaker/pcmk_sched_group.c order_stop_stop(child_rsc, last_active, pe_order_optional); child_rsc 313 lib/pacemaker/pcmk_sched_group.c last_active = child_rsc; child_rsc 316 lib/pacemaker/pcmk_sched_group.c last_rsc = child_rsc; child_rsc 369 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 371 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_colocation_lh(child_rsc, rsc_rh, constraint, child_rsc 417 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 419 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_colocation_rh(rsc_lh, child_rsc, constraint, child_rsc 511 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 513 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_location(child_rsc, constraint); child_rsc 533 lib/pacemaker/pcmk_sched_group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 535 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->expand(child_rsc, data_set); child_rsc 1977 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1979 lib/pacemaker/pcmk_sched_native.c rsc_ticket_constraint(child_rsc, rsc_ticket, data_set); child_rsc 2360 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 2362 lib/pacemaker/pcmk_sched_native.c child_rsc->cmds->expand(child_rsc, data_set); child_rsc 2399 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 2401 lib/pacemaker/pcmk_sched_native.c LogActions(child_rsc, data_set); child_rsc 2687 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 2689 lib/pacemaker/pcmk_sched_native.c any_created = child_rsc->cmds->create_probe(child_rsc, node, complete, force, data_set) child_rsc 3114 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 3116 lib/pacemaker/pcmk_sched_native.c rsc_stonith_ordering(child_rsc, stonith_op, data_set); child_rsc 3136 lib/pacemaker/pcmk_sched_native.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 3138 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 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 961 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 963 lib/pengine/clone.c CRM_ASSERT(child_rsc); child_rsc 964 lib/pengine/clone.c pe_rsc_trace(child_rsc, "Freeing child %s", child_rsc->id); child_rsc 965 lib/pengine/clone.c free_xml(child_rsc->xml); child_rsc 966 lib/pengine/clone.c child_rsc->xml = NULL; child_rsc 968 lib/pengine/clone.c free_xml(child_rsc->orig_xml); child_rsc 969 lib/pengine/clone.c child_rsc->orig_xml = NULL; child_rsc 970 lib/pengine/clone.c child_rsc->fns->free(child_rsc); child_rsc 992 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 993 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, current); child_rsc 1040 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1042 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 2233 lib/pengine/pe_output.c pe_resource_t *child_rsc = va_arg(args, pe_resource_t *); child_rsc 2238 lib/pengine/pe_output.c child_rsc->id, child_rsc 2248 lib/pengine/pe_output.c pe_resource_t *child_rsc = va_arg(args, pe_resource_t *); child_rsc 2253 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 1578 lib/pengine/utils.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1580 lib/pengine/utils.c resource_node_score(child_rsc, node, score, tag);