child_rsc 35 include/pcmki/pcmki_sched_utils.h gboolean is_child_compatible(const pe_resource_t *child_rsc, child_rsc 975 lib/pacemaker/pcmk_graph_producer.c pe_resource_t *child_rsc = (pe_resource_t *) iter->data; child_rsc 977 lib/pacemaker/pcmk_graph_producer.c child_rsc->cmds->add_actions_to_graph(child_rsc); child_rsc 593 lib/pacemaker/pcmk_sched_bundle.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 595 lib/pacemaker/pcmk_sched_bundle.c if(is_child_compatible(child_rsc, local_node, filter, current)) { child_rsc 597 lib/pacemaker/pcmk_sched_bundle.c local_child->id, child_rsc->id, pe__node_name(local_node)); child_rsc 598 lib/pacemaker/pcmk_sched_bundle.c return child_rsc; child_rsc 520 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 524 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->create_actions(child_rsc); child_rsc 525 lib/pacemaker/pcmk_sched_clone.c clone_update_pseudo_status(child_rsc, &stopping, &starting, &child_active); child_rsc 594 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 596 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->internal_constraints(child_rsc); child_rsc 598 lib/pacemaker/pcmk_sched_clone.c pcmk__order_starts(rsc, child_rsc, child_rsc 600 lib/pacemaker/pcmk_sched_clone.c pcmk__order_resource_actions(child_rsc, RSC_START, rsc, RSC_STARTED, child_rsc 603 lib/pacemaker/pcmk_sched_clone.c pcmk__order_starts(last_rsc, child_rsc, pe_order_optional); child_rsc 606 lib/pacemaker/pcmk_sched_clone.c pcmk__order_stops(rsc, child_rsc, pe_order_implies_first_printed); child_rsc 607 lib/pacemaker/pcmk_sched_clone.c pcmk__order_resource_actions(child_rsc, RSC_STOP, rsc, RSC_STOPPED, child_rsc 610 lib/pacemaker/pcmk_sched_clone.c pcmk__order_stops(child_rsc, last_rsc, pe_order_optional); child_rsc 613 lib/pacemaker/pcmk_sched_clone.c last_rsc = child_rsc; child_rsc 621 lib/pacemaker/pcmk_sched_clone.c is_child_compatible(const pe_resource_t *child_rsc, const pe_node_t *local_node, child_rsc 625 lib/pacemaker/pcmk_sched_clone.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, current); child_rsc 627 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(child_rsc && local_node, return FALSE); child_rsc 628 lib/pacemaker/pcmk_sched_clone.c if (is_set_recursive(child_rsc, pe_rsc_block, TRUE) == FALSE) { child_rsc 630 lib/pacemaker/pcmk_sched_clone.c node = child_rsc->fns->location(child_rsc, NULL, current); child_rsc 634 lib/pacemaker/pcmk_sched_clone.c crm_trace("Filtered %s", child_rsc->id); child_rsc 642 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s - %s vs %s", child_rsc->id, pe__node_name(node), child_rsc 646 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s - not allocated %d", child_rsc->id, current); child_rsc 797 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 798 lib/pacemaker/pcmk_sched_clone.c pe_node_t *chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); child_rsc 800 lib/pacemaker/pcmk_sched_clone.c if (chosen != NULL && is_set_recursive(child_rsc, pe_rsc_block, TRUE) == FALSE) { child_rsc 815 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 817 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->apply_coloc_score(dependent, child_rsc, colocation, child_rsc 927 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 929 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->apply_location(child_rsc, constraint); child_rsc 958 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 960 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->add_actions_to_graph(child_rsc); child_rsc 1033 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) child_iter->data; child_rsc 1035 lib/pacemaker/pcmk_sched_clone.c if (child_rsc) { /* make clang analyzer happy */ child_rsc 1036 lib/pacemaker/pcmk_sched_clone.c local_node = child_rsc->fns->location(child_rsc, NULL, FALSE); child_rsc 1038 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 739 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) iter->data; child_rsc 745 lib/pacemaker/pcmk_sched_promotable.c g_hash_table_iter_init(&iter, child_rsc->allowed_nodes); child_rsc 754 lib/pacemaker/pcmk_sched_promotable.c score = promotion_score(child_rsc, node, NULL); child_rsc 761 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id, pe__node_name(node), child_rsc 767 lib/pacemaker/pcmk_sched_promotable.c if (score > child_rsc->priority) { child_rsc 770 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id, child_rsc->priority, score); child_rsc 771 lib/pacemaker/pcmk_sched_promotable.c child_rsc->priority = score; child_rsc 447 lib/pacemaker/pcmk_sched_resource.c pe_resource_t *child_rsc = (pe_resource_t *) iter->data; child_rsc 449 lib/pacemaker/pcmk_sched_resource.c changed |= pcmk__assign_resource(child_rsc, node, force); child_rsc 190 lib/pengine/clone.c pe_resource_t *child_rsc = NULL; child_rsc 211 lib/pengine/clone.c if (pe__unpack_resource(child_copy, &child_rsc, rsc, child_rsc 217 lib/pengine/clone.c CRM_ASSERT(child_rsc); child_rsc 219 lib/pengine/clone.c pe_rsc_trace(child_rsc, "Setting clone attributes for: %s", child_rsc->id); child_rsc 220 lib/pengine/clone.c rsc->children = g_list_append(rsc->children, child_rsc); child_rsc 222 lib/pengine/clone.c pe__set_resource_flags_recursive(child_rsc, pe_rsc_orphan); child_rsc 225 lib/pengine/clone.c add_hash_param(child_rsc->meta, XML_RSC_ATTR_INCARNATION_MAX, inc_max); child_rsc 226 lib/pengine/clone.c pe_rsc_trace(rsc, "Added %s instance %s", rsc->id, child_rsc->id); child_rsc 232 lib/pengine/clone.c return child_rsc; child_rsc 388 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 389 lib/pengine/clone.c gboolean child_active = child_rsc->fns->active(child_rsc, all); child_rsc 486 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 488 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 573 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 574 lib/pengine/clone.c gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE); child_rsc 589 lib/pengine/clone.c && (child_rsc->pending_task != NULL) child_rsc 590 lib/pengine/clone.c && strcmp(child_rsc->pending_task, "probe")) { child_rsc 596 lib/pengine/clone.c if (!pcmk_is_set(child_rsc->flags, pe_rsc_orphan) child_rsc 599 lib/pengine/clone.c pcmk__add_word(&stopped_list, 1024, child_rsc->id); child_rsc 602 lib/pengine/clone.c } else if (is_set_recursive(child_rsc, pe_rsc_orphan, TRUE) child_rsc 603 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_managed, FALSE) == FALSE child_rsc 604 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_failed, TRUE)) { child_rsc 609 lib/pengine/clone.c } else if (child_rsc->fns->active(child_rsc, TRUE)) { child_rsc 612 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); child_rsc 617 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); child_rsc 643 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 778 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 780 lib/pengine/clone.c if (pcmk__rsc_filtered_by_node(child_rsc, only_node)) { child_rsc 784 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { child_rsc 803 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, child_rsc 804 lib/pengine/clone.c child_rsc, only_node, all); child_rsc 848 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 849 lib/pengine/clone.c gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE); child_rsc 851 lib/pengine/clone.c if (pcmk__rsc_filtered_by_node(child_rsc, only_node)) { child_rsc 855 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { child_rsc 872 lib/pengine/clone.c && (child_rsc->pending_task != NULL) child_rsc 873 lib/pengine/clone.c && strcmp(child_rsc->pending_task, "probe")) { child_rsc 879 lib/pengine/clone.c if (!pcmk_is_set(child_rsc->flags, pe_rsc_orphan) child_rsc 885 lib/pengine/clone.c g_hash_table_insert(stopped, strdup(child_rsc->id), strdup("Stopped")); child_rsc 888 lib/pengine/clone.c } else if (is_set_recursive(child_rsc, pe_rsc_orphan, TRUE) child_rsc 889 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_managed, FALSE) == FALSE child_rsc 890 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_failed, TRUE)) { child_rsc 895 lib/pengine/clone.c } else if (child_rsc->fns->active(child_rsc, TRUE)) { child_rsc 898 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); child_rsc 903 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); child_rsc 932 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, child_rsc 933 lib/pengine/clone.c child_rsc, only_node, all); child_rsc 1107 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1109 lib/pengine/clone.c CRM_ASSERT(child_rsc); child_rsc 1110 lib/pengine/clone.c pe_rsc_trace(child_rsc, "Freeing child %s", child_rsc->id); child_rsc 1111 lib/pengine/clone.c free_xml(child_rsc->xml); child_rsc 1112 lib/pengine/clone.c child_rsc->xml = NULL; child_rsc 1114 lib/pengine/clone.c free_xml(child_rsc->orig_xml); child_rsc 1115 lib/pengine/clone.c child_rsc->orig_xml = NULL; child_rsc 1116 lib/pengine/clone.c child_rsc->fns->free(child_rsc); child_rsc 1138 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1139 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, current); child_rsc 1186 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1188 lib/pengine/clone.c if (!child_rsc->fns->is_filtered(child_rsc, only_rsc, FALSE)) { child_rsc 887 lib/pengine/complex.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 889 lib/pengine/complex.c common_update_score(child_rsc, id, score); child_rsc 105 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 107 lib/pengine/group.c if (!child_rsc->fns->active(child_rsc, TRUE)) { child_rsc 233 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 235 lib/pengine/group.c if (child_rsc->fns->active(child_rsc, all)) { child_rsc 266 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 268 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 311 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 316 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 352 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 354 lib/pengine/group.c if (skip_child_rsc(rsc, child_rsc, parent_passes, only_rsc, show_opts)) { child_rsc 368 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, child_rsc, child_rsc 414 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 416 lib/pengine/group.c if (skip_child_rsc(rsc, child_rsc, parent_passes, only_rsc, show_opts)) { child_rsc 422 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, child_rsc 423 lib/pengine/group.c child_rsc, only_node, only_rsc); child_rsc 440 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 442 lib/pengine/group.c CRM_ASSERT(child_rsc); child_rsc 443 lib/pengine/group.c pe_rsc_trace(child_rsc, "Freeing child %s", child_rsc->id); child_rsc 444 lib/pengine/group.c child_rsc->fns->free(child_rsc); child_rsc 460 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 461 lib/pengine/group.c enum rsc_role_e role = child_rsc->fns->state(child_rsc, current); child_rsc 485 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 487 lib/pengine/group.c if (!child_rsc->fns->is_filtered(child_rsc, only_rsc, FALSE)) { child_rsc 2502 lib/pengine/pe_output.c pe_resource_t *child_rsc = va_arg(args, pe_resource_t *); child_rsc 2507 lib/pengine/pe_output.c child_rsc->id, child_rsc 2517 lib/pengine/pe_output.c pe_resource_t *child_rsc = va_arg(args, pe_resource_t *); child_rsc 2522 lib/pengine/pe_output.c "id", child_rsc->id, child_rsc 368 lib/pengine/utils.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 370 lib/pengine/utils.c resource_node_score(child_rsc, node, score, tag);