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 183 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 185 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->internal_constraints(child_rsc); child_rsc 187 lib/pacemaker/pcmk_sched_clone.c pcmk__order_starts(rsc, child_rsc, child_rsc 189 lib/pacemaker/pcmk_sched_clone.c pcmk__order_resource_actions(child_rsc, RSC_START, rsc, RSC_STARTED, child_rsc 192 lib/pacemaker/pcmk_sched_clone.c pcmk__order_starts(last_rsc, child_rsc, pe_order_optional); child_rsc 195 lib/pacemaker/pcmk_sched_clone.c pcmk__order_stops(rsc, child_rsc, pe_order_implies_first_printed); child_rsc 196 lib/pacemaker/pcmk_sched_clone.c pcmk__order_resource_actions(child_rsc, RSC_STOP, rsc, RSC_STOPPED, child_rsc 199 lib/pacemaker/pcmk_sched_clone.c pcmk__order_stops(child_rsc, last_rsc, pe_order_optional); child_rsc 202 lib/pacemaker/pcmk_sched_clone.c last_rsc = child_rsc; child_rsc 322 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 323 lib/pacemaker/pcmk_sched_clone.c pe_node_t *chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); child_rsc 325 lib/pacemaker/pcmk_sched_clone.c if (chosen != NULL && is_set_recursive(child_rsc, pe_rsc_block, TRUE) == FALSE) { child_rsc 340 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 342 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->apply_coloc_score(dependent, child_rsc, colocation, child_rsc 391 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 393 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->apply_location(child_rsc, constraint); child_rsc 416 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 418 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->add_actions_to_graph(child_rsc); child_rsc 484 lib/pacemaker/pcmk_sched_clone.c pe_resource_t *child_rsc = (pe_resource_t *) child_iter->data; child_rsc 486 lib/pacemaker/pcmk_sched_clone.c if (child_rsc) { /* make clang analyzer happy */ child_rsc 487 lib/pacemaker/pcmk_sched_clone.c local_node = child_rsc->fns->location(child_rsc, NULL, FALSE); child_rsc 489 lib/pacemaker/pcmk_sched_clone.c child = child_rsc; child_rsc 257 lib/pacemaker/pcmk_sched_fencing.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 259 lib/pacemaker/pcmk_sched_fencing.c rsc_stonith_ordering(child_rsc, stonith_op); child_rsc 754 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *child_rsc = (pe_resource_t *) iter->data; child_rsc 760 lib/pacemaker/pcmk_sched_promotable.c g_hash_table_iter_init(&iter, child_rsc->allowed_nodes); child_rsc 769 lib/pacemaker/pcmk_sched_promotable.c score = promotion_score(child_rsc, node, NULL); child_rsc 777 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id, pcmk_readable_score(score), child_rsc 783 lib/pacemaker/pcmk_sched_promotable.c if (score > child_rsc->priority) { child_rsc 786 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id, child_rsc->priority, score); child_rsc 787 lib/pacemaker/pcmk_sched_promotable.c child_rsc->priority = score; child_rsc 464 lib/pacemaker/pcmk_sched_resource.c pe_resource_t *child_rsc = (pe_resource_t *) iter->data; child_rsc 466 lib/pacemaker/pcmk_sched_resource.c changed |= pcmk__assign_resource(child_rsc, node, force); child_rsc 249 lib/pengine/clone.c pe_resource_t *child_rsc = NULL; child_rsc 270 lib/pengine/clone.c if (pe__unpack_resource(child_copy, &child_rsc, rsc, child_rsc 276 lib/pengine/clone.c CRM_ASSERT(child_rsc); child_rsc 278 lib/pengine/clone.c pe_rsc_trace(child_rsc, "Setting clone attributes for: %s", child_rsc->id); child_rsc 279 lib/pengine/clone.c rsc->children = g_list_append(rsc->children, child_rsc); child_rsc 281 lib/pengine/clone.c pe__set_resource_flags_recursive(child_rsc, pe_rsc_orphan); child_rsc 284 lib/pengine/clone.c add_hash_param(child_rsc->meta, XML_RSC_ATTR_INCARNATION_MAX, inc_max); child_rsc 285 lib/pengine/clone.c pe_rsc_trace(rsc, "Added %s instance %s", rsc->id, child_rsc->id); child_rsc 291 lib/pengine/clone.c return child_rsc; child_rsc 447 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 448 lib/pengine/clone.c gboolean child_active = child_rsc->fns->active(child_rsc, all); child_rsc 545 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 547 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 632 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 633 lib/pengine/clone.c gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE); child_rsc 648 lib/pengine/clone.c && (child_rsc->pending_task != NULL) child_rsc 649 lib/pengine/clone.c && strcmp(child_rsc->pending_task, "probe")) { child_rsc 655 lib/pengine/clone.c if (!pcmk_is_set(child_rsc->flags, pe_rsc_orphan) child_rsc 658 lib/pengine/clone.c pcmk__add_word(&stopped_list, 1024, child_rsc->id); child_rsc 661 lib/pengine/clone.c } else if (is_set_recursive(child_rsc, pe_rsc_orphan, TRUE) child_rsc 662 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_managed, FALSE) == FALSE child_rsc 663 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_failed, TRUE)) { child_rsc 668 lib/pengine/clone.c } else if (child_rsc->fns->active(child_rsc, TRUE)) { child_rsc 671 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); child_rsc 676 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); child_rsc 702 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 841 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 843 lib/pengine/clone.c if (pcmk__rsc_filtered_by_node(child_rsc, only_node)) { child_rsc 847 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { child_rsc 870 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, child_rsc 871 lib/pengine/clone.c child_rsc, only_node, all); child_rsc 919 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 920 lib/pengine/clone.c gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE); child_rsc 922 lib/pengine/clone.c if (pcmk__rsc_filtered_by_node(child_rsc, only_node)) { child_rsc 926 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { child_rsc 943 lib/pengine/clone.c && (child_rsc->pending_task != NULL) child_rsc 944 lib/pengine/clone.c && strcmp(child_rsc->pending_task, "probe")) { child_rsc 950 lib/pengine/clone.c if (!pcmk_is_set(child_rsc->flags, pe_rsc_orphan) child_rsc 956 lib/pengine/clone.c g_hash_table_insert(stopped, strdup(child_rsc->id), strdup("Stopped")); child_rsc 959 lib/pengine/clone.c } else if (is_set_recursive(child_rsc, pe_rsc_orphan, TRUE) child_rsc 960 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_managed, FALSE) == FALSE child_rsc 961 lib/pengine/clone.c || is_set_recursive(child_rsc, pe_rsc_failed, TRUE)) { child_rsc 966 lib/pengine/clone.c } else if (child_rsc->fns->active(child_rsc, TRUE)) { child_rsc 969 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); child_rsc 974 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); child_rsc 1003 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, child_rsc 1004 lib/pengine/clone.c child_rsc, only_node, all); child_rsc 1178 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1180 lib/pengine/clone.c CRM_ASSERT(child_rsc); child_rsc 1181 lib/pengine/clone.c pe_rsc_trace(child_rsc, "Freeing child %s", child_rsc->id); child_rsc 1182 lib/pengine/clone.c free_xml(child_rsc->xml); child_rsc 1183 lib/pengine/clone.c child_rsc->xml = NULL; child_rsc 1185 lib/pengine/clone.c free_xml(child_rsc->orig_xml); child_rsc 1186 lib/pengine/clone.c child_rsc->orig_xml = NULL; child_rsc 1187 lib/pengine/clone.c child_rsc->fns->free(child_rsc); child_rsc 1209 lib/pengine/clone.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 1210 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, current); child_rsc 1259 lib/pengine/clone.c const pe_resource_t *child_rsc = NULL; child_rsc 1261 lib/pengine/clone.c child_rsc = (const pe_resource_t *) iter->data; child_rsc 1262 lib/pengine/clone.c if (!child_rsc->fns->is_filtered(child_rsc, only_rsc, FALSE)) { 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 242 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 244 lib/pengine/group.c if (child_rsc->fns->active(child_rsc, all)) { child_rsc 275 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 277 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 320 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 325 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 362 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 364 lib/pengine/group.c if (skip_child_rsc(rsc, child_rsc, parent_passes, only_rsc, show_opts)) { child_rsc 385 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, child_rsc, child_rsc 434 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 436 lib/pengine/group.c if (skip_child_rsc(rsc, child_rsc, parent_passes, only_rsc, show_opts)) { child_rsc 442 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, child_rsc 443 lib/pengine/group.c child_rsc, only_node, only_rsc); child_rsc 460 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 462 lib/pengine/group.c CRM_ASSERT(child_rsc); child_rsc 463 lib/pengine/group.c pe_rsc_trace(child_rsc, "Freeing child %s", child_rsc->id); child_rsc 464 lib/pengine/group.c child_rsc->fns->free(child_rsc); child_rsc 480 lib/pengine/group.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 481 lib/pengine/group.c enum rsc_role_e role = child_rsc->fns->state(child_rsc, current); child_rsc 511 lib/pengine/group.c const pe_resource_t *child_rsc = (const pe_resource_t *) iter->data; child_rsc 513 lib/pengine/group.c if (!child_rsc->fns->is_filtered(child_rsc, only_rsc, FALSE)) { child_rsc 2594 lib/pengine/pe_output.c pe_resource_t *child_rsc = va_arg(args, pe_resource_t *); child_rsc 2599 lib/pengine/pe_output.c child_rsc->id, child_rsc 2609 lib/pengine/pe_output.c pe_resource_t *child_rsc = va_arg(args, pe_resource_t *); child_rsc 2614 lib/pengine/pe_output.c "id", child_rsc->id, child_rsc 379 lib/pengine/utils.c pe_resource_t *child_rsc = (pe_resource_t *) gIter->data; child_rsc 381 lib/pengine/utils.c resource_node_score(child_rsc, node, score, tag);