child_rsc 989 lib/pacemaker/pcmk_graph_producer.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) iter->data; child_rsc 991 lib/pacemaker/pcmk_graph_producer.c child_rsc->cmds->add_actions_to_graph(child_rsc); child_rsc 443 lib/pacemaker/pcmk_sched_clone.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) iter->data; child_rsc 445 lib/pacemaker/pcmk_sched_clone.c child_rsc->cmds->add_actions_to_graph(child_rsc); child_rsc 260 lib/pacemaker/pcmk_sched_fencing.c pcmk_resource_t *child_rsc = iter->data; child_rsc 262 lib/pacemaker/pcmk_sched_fencing.c rsc_stonith_ordering(child_rsc, stonith_op); child_rsc 770 lib/pacemaker/pcmk_sched_promotable.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) iter->data; child_rsc 776 lib/pacemaker/pcmk_sched_promotable.c g_hash_table_iter_init(&iter, child_rsc->allowed_nodes); child_rsc 785 lib/pacemaker/pcmk_sched_promotable.c score = promotion_score(child_rsc, node, NULL); child_rsc 793 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id, pcmk_readable_score(score), child_rsc 799 lib/pacemaker/pcmk_sched_promotable.c if (score > child_rsc->priority) { child_rsc 802 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id, child_rsc->priority, score); child_rsc 803 lib/pacemaker/pcmk_sched_promotable.c child_rsc->priority = score; child_rsc 413 lib/pacemaker/pcmk_sched_resource.c pcmk_resource_t *child_rsc = iter->data; child_rsc 415 lib/pacemaker/pcmk_sched_resource.c changed |= pcmk__assign_resource(child_rsc, node, force, child_rsc 250 lib/pengine/clone.c pcmk_resource_t *child_rsc = NULL; child_rsc 271 lib/pengine/clone.c if (pe__unpack_resource(child_copy, &child_rsc, rsc, child_rsc 277 lib/pengine/clone.c CRM_ASSERT(child_rsc); child_rsc 279 lib/pengine/clone.c pe_rsc_trace(child_rsc, "Setting clone attributes for: %s", child_rsc->id); child_rsc 280 lib/pengine/clone.c rsc->children = g_list_append(rsc->children, child_rsc); child_rsc 282 lib/pengine/clone.c pe__set_resource_flags_recursive(child_rsc, pcmk_rsc_removed); child_rsc 285 lib/pengine/clone.c add_hash_param(child_rsc->meta, PCMK_META_CLONE_MAX, inc_max); child_rsc 286 lib/pengine/clone.c pe_rsc_trace(rsc, "Added %s instance %s", rsc->id, child_rsc->id); child_rsc 292 lib/pengine/clone.c return child_rsc; child_rsc 447 lib/pengine/clone.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 448 lib/pengine/clone.c gboolean child_active = child_rsc->fns->active(child_rsc, all); child_rsc 548 lib/pengine/clone.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 550 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 635 lib/pengine/clone.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 636 lib/pengine/clone.c gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE); child_rsc 652 lib/pengine/clone.c && (child_rsc->pending_task != NULL) child_rsc 653 lib/pengine/clone.c && strcmp(child_rsc->pending_task, "probe")) { child_rsc 659 lib/pengine/clone.c if (!pcmk_is_set(child_rsc->flags, pcmk_rsc_removed) child_rsc 662 lib/pengine/clone.c pcmk__add_word(&stopped_list, 1024, child_rsc->id); child_rsc 665 lib/pengine/clone.c } else if (is_set_recursive(child_rsc, pcmk_rsc_removed, TRUE) child_rsc 666 lib/pengine/clone.c || !is_set_recursive(child_rsc, pcmk_rsc_managed, FALSE) child_rsc 667 lib/pengine/clone.c || is_set_recursive(child_rsc, pcmk_rsc_failed, TRUE)) { child_rsc 672 lib/pengine/clone.c } else if (child_rsc->fns->active(child_rsc, TRUE)) { child_rsc 677 lib/pengine/clone.c location = child_rsc->fns->location(child_rsc, NULL, TRUE); child_rsc 681 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); child_rsc 707 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 847 lib/pengine/clone.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 849 lib/pengine/clone.c if (pcmk__rsc_filtered_by_node(child_rsc, only_node)) { child_rsc 853 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { child_rsc 878 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, child_rsc 879 lib/pengine/clone.c child_rsc, only_node, all); child_rsc 928 lib/pengine/clone.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 929 lib/pengine/clone.c gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE); child_rsc 931 lib/pengine/clone.c if (pcmk__rsc_filtered_by_node(child_rsc, only_node)) { child_rsc 935 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { child_rsc 953 lib/pengine/clone.c && (child_rsc->pending_task != NULL) child_rsc 954 lib/pengine/clone.c && strcmp(child_rsc->pending_task, "probe")) { child_rsc 960 lib/pengine/clone.c if (!pcmk_is_set(child_rsc->flags, pcmk_rsc_removed) child_rsc 966 lib/pengine/clone.c g_hash_table_insert(stopped, strdup(child_rsc->id), strdup("Stopped")); child_rsc 969 lib/pengine/clone.c } else if (is_set_recursive(child_rsc, pcmk_rsc_removed, TRUE) child_rsc 970 lib/pengine/clone.c || !is_set_recursive(child_rsc, pcmk_rsc_managed, FALSE) child_rsc 971 lib/pengine/clone.c || is_set_recursive(child_rsc, pcmk_rsc_failed, TRUE)) { child_rsc 976 lib/pengine/clone.c } else if (child_rsc->fns->active(child_rsc, TRUE)) { child_rsc 981 lib/pengine/clone.c location = child_rsc->fns->location(child_rsc, NULL, TRUE); child_rsc 985 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); child_rsc 1014 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, child_rsc 1015 lib/pengine/clone.c child_rsc, only_node, all); child_rsc 1189 lib/pengine/clone.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 1191 lib/pengine/clone.c CRM_ASSERT(child_rsc); child_rsc 1192 lib/pengine/clone.c pe_rsc_trace(child_rsc, "Freeing child %s", child_rsc->id); child_rsc 1193 lib/pengine/clone.c free_xml(child_rsc->xml); child_rsc 1194 lib/pengine/clone.c child_rsc->xml = NULL; child_rsc 1196 lib/pengine/clone.c free_xml(child_rsc->orig_xml); child_rsc 1197 lib/pengine/clone.c child_rsc->orig_xml = NULL; child_rsc 1198 lib/pengine/clone.c child_rsc->fns->free(child_rsc); child_rsc 1220 lib/pengine/clone.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 1221 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, current); child_rsc 1270 lib/pengine/clone.c const pcmk_resource_t *child_rsc = NULL; child_rsc 1272 lib/pengine/clone.c child_rsc = (const pcmk_resource_t *) iter->data; child_rsc 1273 lib/pengine/clone.c if (!child_rsc->fns->is_filtered(child_rsc, only_rsc, FALSE)) { child_rsc 105 lib/pengine/group.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 107 lib/pengine/group.c if (!child_rsc->fns->active(child_rsc, TRUE)) { child_rsc 243 lib/pengine/group.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 245 lib/pengine/group.c if (child_rsc->fns->active(child_rsc, all)) { child_rsc 276 lib/pengine/group.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 278 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 321 lib/pengine/group.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 326 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 364 lib/pengine/group.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 366 lib/pengine/group.c if (skip_child_rsc(rsc, child_rsc, parent_passes, only_rsc, show_opts)) { child_rsc 387 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, child_rsc, child_rsc 437 lib/pengine/group.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 439 lib/pengine/group.c if (skip_child_rsc(rsc, child_rsc, parent_passes, only_rsc, show_opts)) { child_rsc 445 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, child_rsc 446 lib/pengine/group.c child_rsc, only_node, only_rsc); child_rsc 463 lib/pengine/group.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 465 lib/pengine/group.c CRM_ASSERT(child_rsc); child_rsc 466 lib/pengine/group.c pe_rsc_trace(child_rsc, "Freeing child %s", child_rsc->id); child_rsc 467 lib/pengine/group.c child_rsc->fns->free(child_rsc); child_rsc 483 lib/pengine/group.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 484 lib/pengine/group.c enum rsc_role_e role = child_rsc->fns->state(child_rsc, current); child_rsc 514 lib/pengine/group.c const pcmk_resource_t *child_rsc = iter->data; child_rsc 516 lib/pengine/group.c if (!child_rsc->fns->is_filtered(child_rsc, only_rsc, FALSE)) { child_rsc 2642 lib/pengine/pe_output.c pcmk_resource_t *child_rsc = va_arg(args, pcmk_resource_t *); child_rsc 2647 lib/pengine/pe_output.c child_rsc->id, child_rsc 2658 lib/pengine/pe_output.c pcmk_resource_t *child_rsc = va_arg(args, pcmk_resource_t *); child_rsc 2663 lib/pengine/pe_output.c "id", child_rsc->id, child_rsc 341 lib/pengine/utils.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 343 lib/pengine/utils.c resource_node_score(child_rsc, node, score, tag);