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 450 lib/pacemaker/pcmk_sched_clone.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) iter->data; child_rsc 452 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 762 lib/pacemaker/pcmk_sched_promotable.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) iter->data; child_rsc 768 lib/pacemaker/pcmk_sched_promotable.c g_hash_table_iter_init(&iter, child_rsc->allowed_nodes); child_rsc 777 lib/pacemaker/pcmk_sched_promotable.c score = promotion_score(child_rsc, node, NULL); child_rsc 785 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id, pcmk_readable_score(score), child_rsc 791 lib/pacemaker/pcmk_sched_promotable.c if (score > child_rsc->priority) { child_rsc 795 lib/pacemaker/pcmk_sched_promotable.c child_rsc->id, child_rsc->priority, score); child_rsc 796 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 252 lib/pengine/clone.c pcmk_resource_t *child_rsc = NULL; child_rsc 273 lib/pengine/clone.c if (pe__unpack_resource(child_copy, &child_rsc, rsc, child_rsc 279 lib/pengine/clone.c pcmk__assert(child_rsc != NULL); child_rsc 281 lib/pengine/clone.c pcmk__rsc_trace(child_rsc, "Setting clone attributes for: %s", child_rsc 282 lib/pengine/clone.c child_rsc->id); child_rsc 283 lib/pengine/clone.c rsc->children = g_list_append(rsc->children, child_rsc); child_rsc 285 lib/pengine/clone.c pe__set_resource_flags_recursive(child_rsc, pcmk_rsc_removed); child_rsc 288 lib/pengine/clone.c pcmk__insert_meta(child_rsc, PCMK_META_CLONE_MAX, inc_max); child_rsc 289 lib/pengine/clone.c pcmk__rsc_trace(rsc, "Added %s instance %s", rsc->id, child_rsc->id); child_rsc 295 lib/pengine/clone.c return child_rsc; child_rsc 470 lib/pengine/clone.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 471 lib/pengine/clone.c gboolean child_active = child_rsc->fns->active(child_rsc, all); child_rsc 578 lib/pengine/clone.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 580 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 666 lib/pengine/clone.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 667 lib/pengine/clone.c gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE); child_rsc 683 lib/pengine/clone.c && (child_rsc->pending_task != NULL) child_rsc 684 lib/pengine/clone.c && strcmp(child_rsc->pending_task, "probe")) { child_rsc 690 lib/pengine/clone.c if (!pcmk_is_set(child_rsc->flags, pcmk_rsc_removed) child_rsc 693 lib/pengine/clone.c pcmk__add_word(&stopped_list, 1024, child_rsc->id); child_rsc 696 lib/pengine/clone.c } else if (is_set_recursive(child_rsc, pcmk_rsc_removed, TRUE) child_rsc 697 lib/pengine/clone.c || !is_set_recursive(child_rsc, pcmk_rsc_managed, FALSE) child_rsc 698 lib/pengine/clone.c || is_set_recursive(child_rsc, pcmk_rsc_failed, TRUE)) { child_rsc 703 lib/pengine/clone.c } else if (child_rsc->fns->active(child_rsc, TRUE)) { child_rsc 708 lib/pengine/clone.c location = child_rsc->fns->location(child_rsc, NULL, TRUE); child_rsc 712 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); child_rsc 738 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); child_rsc 876 lib/pengine/clone.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 878 lib/pengine/clone.c if (pcmk__rsc_filtered_by_node(child_rsc, only_node)) { child_rsc 882 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { child_rsc 917 lib/pengine/clone.c out->message(out, (const char *) child_rsc->xml->name, show_opts, child_rsc 918 lib/pengine/clone.c child_rsc, only_node, all); child_rsc 967 lib/pengine/clone.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 968 lib/pengine/clone.c gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE); child_rsc 970 lib/pengine/clone.c if (pcmk__rsc_filtered_by_node(child_rsc, only_node)) { child_rsc 974 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { child_rsc 992 lib/pengine/clone.c && (child_rsc->pending_task != NULL) child_rsc 993 lib/pengine/clone.c && strcmp(child_rsc->pending_task, "probe")) { child_rsc 999 lib/pengine/clone.c if (!pcmk_is_set(child_rsc->flags, pcmk_rsc_removed) child_rsc 1005 lib/pengine/clone.c pcmk__insert_dup(stopped, child_rsc->id, "Stopped"); child_rsc 1008 lib/pengine/clone.c } else if (is_set_recursive(child_rsc, pcmk_rsc_removed, TRUE) child_rsc 1009 lib/pengine/clone.c || !is_set_recursive(child_rsc, pcmk_rsc_managed, FALSE) child_rsc 1010 lib/pengine/clone.c || is_set_recursive(child_rsc, pcmk_rsc_failed, TRUE)) { child_rsc 1015 lib/pengine/clone.c } else if (child_rsc->fns->active(child_rsc, TRUE)) { child_rsc 1020 lib/pengine/clone.c location = child_rsc->fns->location(child_rsc, NULL, TRUE); child_rsc 1024 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); child_rsc 1053 lib/pengine/clone.c out->message(out, (const char *) child_rsc->xml->name, show_opts, child_rsc 1054 lib/pengine/clone.c child_rsc, only_node, all); child_rsc 1232 lib/pengine/clone.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 1234 lib/pengine/clone.c pcmk__assert(child_rsc); child_rsc 1235 lib/pengine/clone.c pcmk__rsc_trace(child_rsc, "Freeing child %s", child_rsc->id); child_rsc 1236 lib/pengine/clone.c free_xml(child_rsc->xml); child_rsc 1237 lib/pengine/clone.c child_rsc->xml = NULL; child_rsc 1239 lib/pengine/clone.c free_xml(child_rsc->orig_xml); child_rsc 1240 lib/pengine/clone.c child_rsc->orig_xml = NULL; child_rsc 1241 lib/pengine/clone.c child_rsc->fns->free(child_rsc); child_rsc 1263 lib/pengine/clone.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 1264 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, current); child_rsc 1314 lib/pengine/clone.c const pcmk_resource_t *child_rsc = NULL; child_rsc 1316 lib/pengine/clone.c child_rsc = (const pcmk_resource_t *) iter->data; child_rsc 1317 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 389 lib/pengine/group.c out->message(out, (const char *) child_rsc->xml->name, show_opts, child_rsc 390 lib/pengine/group.c child_rsc, only_node, only_rsc); child_rsc 439 lib/pengine/group.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 441 lib/pengine/group.c if (skip_child_rsc(rsc, child_rsc, parent_passes, only_rsc, show_opts)) { child_rsc 447 lib/pengine/group.c out->message(out, (const char *) child_rsc->xml->name, show_opts, child_rsc 448 lib/pengine/group.c child_rsc, only_node, only_rsc); child_rsc 465 lib/pengine/group.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 467 lib/pengine/group.c pcmk__assert(child_rsc); child_rsc 468 lib/pengine/group.c pcmk__rsc_trace(child_rsc, "Freeing child %s", child_rsc->id); child_rsc 469 lib/pengine/group.c child_rsc->fns->free(child_rsc); child_rsc 485 lib/pengine/group.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 486 lib/pengine/group.c enum rsc_role_e role = child_rsc->fns->state(child_rsc, current); child_rsc 516 lib/pengine/group.c const pcmk_resource_t *child_rsc = iter->data; child_rsc 518 lib/pengine/group.c if (!child_rsc->fns->is_filtered(child_rsc, only_rsc, FALSE)) { child_rsc 2860 lib/pengine/pe_output.c pcmk_resource_t *child_rsc = va_arg(args, pcmk_resource_t *); child_rsc 2866 lib/pengine/pe_output.c child_rsc->id, score); child_rsc 2869 lib/pengine/pe_output.c child_rsc->id, pcmk__node_name(chosen), score); child_rsc 2879 lib/pengine/pe_output.c pcmk_resource_t *child_rsc = va_arg(args, pcmk_resource_t *); child_rsc 2884 lib/pengine/pe_output.c PCMK_XA_ID, child_rsc->id, child_rsc 340 lib/pengine/utils.c pcmk_resource_t *child_rsc = (pcmk_resource_t *) gIter->data; child_rsc 342 lib/pengine/utils.c resource_node_score(child_rsc, node, score, tag);