resources         482 daemons/execd/cts-exec-helper.c     rsc = pe_find_resource_with_flags(scheduler->resources, options.rsc_id,
resources         222 daemons/fenced/fenced_scheduler.c     g_list_foreach(scheduler->resources, register_if_fencing_device, NULL);
resources         231 include/crm/common/scheduler.h     GList *resources;               // Resources in cluster
resources        2260 lib/lrmd/lrmd_client.c list_stonith_agents(lrmd_list_t ** resources)
resources        2277 lib/lrmd/lrmd_client.c         if (resources) {
resources        2278 lib/lrmd/lrmd_client.c             *resources = lrmd_list_add(*resources, dIter->value);
resources        2287 lib/lrmd/lrmd_client.c lrmd_api_list_agents(lrmd_t * lrmd, lrmd_list_t ** resources, const char *class,
resources        2301 lib/lrmd/lrmd_client.c             *resources = lrmd_list_add(*resources, (const char *)gIter->data);
resources        2313 lib/lrmd/lrmd_client.c         stonith_count = list_stonith_agents(resources);
resources        1058 lib/pacemaker/pcmk_graph_producer.c     for (iter = scheduler->resources; iter != NULL; iter = iter->next) {
resources         586 lib/pacemaker/pcmk_injections.c     rsc = pe_find_resource(scheduler->resources, resource);
resources        1797 lib/pacemaker/pcmk_output.c     GList *resources = va_arg(args, GList *);
resources        1807 lib/pacemaker/pcmk_output.c                                   resources, show_opts, rc == pcmk_rc_ok));
resources        1813 lib/pacemaker/pcmk_output.c                                   true, unames, resources, rc == pcmk_rc_ok));
resources        1820 lib/pacemaker/pcmk_output.c                                   resources));
resources        1829 lib/pacemaker/pcmk_output.c                                   resources, section_opts, show_opts,
resources        1839 lib/pacemaker/pcmk_output.c                                   resources, show_opts, rc == pcmk_rc_ok));
resources        1875 lib/pacemaker/pcmk_output.c         CHECK_RC(rc, out->message(out, "ban-list", scheduler, prefix, resources,
resources        1935 lib/pacemaker/pcmk_output.c     GList *resources = va_arg(args, GList *);
resources        1942 lib/pacemaker/pcmk_output.c         out->message(out, "node-list", scheduler->nodes, unames, resources,
resources        1952 lib/pacemaker/pcmk_output.c                      false, unames, resources, false);
resources        1958 lib/pacemaker/pcmk_output.c                      unames, resources);
resources        1967 lib/pacemaker/pcmk_output.c                      resources, section_opts, show_opts, false);
resources        1975 lib/pacemaker/pcmk_output.c         out->message(out, "failed-action-list", scheduler, unames, resources,
resources        1993 lib/pacemaker/pcmk_output.c         out->message(out, "ban-list", scheduler, prefix, resources, show_opts,
resources        2017 lib/pacemaker/pcmk_output.c     GList *resources = va_arg(args, GList *);
resources        2025 lib/pacemaker/pcmk_output.c         out->message(out, "node-list", scheduler->nodes, unames, resources,
resources        2032 lib/pacemaker/pcmk_output.c                      resources, false);
resources        2038 lib/pacemaker/pcmk_output.c                      unames, resources);
resources        2047 lib/pacemaker/pcmk_output.c                      resources, section_opts, show_opts, false);
resources        2055 lib/pacemaker/pcmk_output.c         out->message(out, "failed-action-list", scheduler, unames, resources,
resources        2120 lib/pacemaker/pcmk_output.c         out->message(out, "ban-list", scheduler, prefix, resources, show_opts,
resources        1446 lib/pacemaker/pcmk_sched_actions.c     for (GList *iter = scheduler->resources; iter != NULL; iter = iter->next) {
resources         492 lib/pacemaker/pcmk_sched_colocation.c             resource = pcmk__find_constraint_resource(scheduler->resources,
resources         531 lib/pacemaker/pcmk_sched_colocation.c             resource = pcmk__find_constraint_resource(scheduler->resources,
resources         550 lib/pacemaker/pcmk_sched_colocation.c                 other = pcmk__find_constraint_resource(scheduler->resources,
resources         602 lib/pacemaker/pcmk_sched_colocation.c             rsc_1 = pcmk__find_constraint_resource(scheduler->resources,
resources         624 lib/pacemaker/pcmk_sched_colocation.c         rsc_2 = pcmk__find_constraint_resource(scheduler->resources,
resources         647 lib/pacemaker/pcmk_sched_colocation.c             rsc_2 = pcmk__find_constraint_resource(scheduler->resources,
resources         667 lib/pacemaker/pcmk_sched_colocation.c             rsc_1 = pcmk__find_constraint_resource(scheduler->resources,
resources         691 lib/pacemaker/pcmk_sched_colocation.c             rsc_1 = pcmk__find_constraint_resource(scheduler->resources,
resources         709 lib/pacemaker/pcmk_sched_colocation.c                 rsc_2 = pcmk__find_constraint_resource(scheduler->resources,
resources         747 lib/pacemaker/pcmk_sched_colocation.c     primary = pcmk__find_constraint_resource(scheduler->resources, primary_id);
resources         748 lib/pacemaker/pcmk_sched_colocation.c     dependent = pcmk__find_constraint_resource(scheduler->resources,
resources         192 lib/pacemaker/pcmk_sched_constraints.c         *rsc = pcmk__find_constraint_resource(scheduler->resources, id);
resources         426 lib/pacemaker/pcmk_sched_constraints.c     for (GList *iter = scheduler->resources; iter != NULL; iter = iter->next) {
resources         291 lib/pacemaker/pcmk_sched_fencing.c     for (GList *r = scheduler->resources; r != NULL; r = r->next) {
resources         351 lib/pacemaker/pcmk_sched_location.c         rsc = pcmk__find_constraint_resource(scheduler->resources, value);
resources         372 lib/pacemaker/pcmk_sched_location.c         for (GList *iter = scheduler->resources; iter != NULL;
resources         515 lib/pacemaker/pcmk_sched_location.c         resource = pcmk__find_constraint_resource(scheduler->resources,
resources         392 lib/pacemaker/pcmk_sched_nodes.c         for (GList *r = scheduler->resources; r != NULL; r = r->next) {
resources          33 lib/pacemaker/pcmk_sched_ordering.c         __rsc = pcmk__find_constraint_resource(scheduler->resources,        \
resources         256 lib/pacemaker/pcmk_sched_ordering.c     rsc = pcmk__find_constraint_resource(scheduler->resources, rsc_id);
resources         605 lib/pacemaker/pcmk_sched_ordering.c     GList *resources = NULL;
resources         643 lib/pacemaker/pcmk_sched_ordering.c         resources = g_list_append(resources, resource);
resources         646 lib/pacemaker/pcmk_sched_ordering.c     if (pcmk__list_of_1(resources)) {
resources         651 lib/pacemaker/pcmk_sched_ordering.c     set_iter = resources;
resources         689 lib/pacemaker/pcmk_sched_ordering.c     set_iter = resources;
resources         704 lib/pacemaker/pcmk_sched_ordering.c     g_list_free(resources);
resources         759 lib/pacemaker/pcmk_sched_probes.c     for (GList *iter = scheduler->resources; iter != NULL; iter = iter->next) {
resources         842 lib/pacemaker/pcmk_sched_probes.c     g_list_foreach(scheduler->resources, add_start_restart_orderings_for_rsc,
resources         899 lib/pacemaker/pcmk_sched_probes.c         pcmk__probe_resource_list(scheduler->resources, node);
resources         188 lib/pacemaker/pcmk_sched_resource.c     for (GList *iter = scheduler->resources; iter != NULL; iter = iter->next) {
resources         220 lib/pacemaker/pcmk_sched_resource.c     g_list_foreach(scheduler->resources, set_assignment_methods_for_rsc, NULL);
resources         771 lib/pacemaker/pcmk_sched_resource.c     scheduler->resources = g_list_sort_with_data(scheduler->resources,
resources         261 lib/pacemaker/pcmk_sched_tickets.c         resource = pcmk__find_constraint_resource(scheduler->resources,
resources         326 lib/pacemaker/pcmk_sched_tickets.c         rsc = pcmk__find_constraint_resource(scheduler->resources, rsc_id);
resources         238 lib/pacemaker/pcmk_scheduler.c     for (GList *iter = scheduler->resources; iter != NULL; iter = iter->next) {
resources         285 lib/pacemaker/pcmk_scheduler.c     g_list_foreach(scheduler->resources, apply_stickiness, NULL);
resources         289 lib/pacemaker/pcmk_scheduler.c         for (GList *rsc_iter = scheduler->resources; rsc_iter != NULL;
resources         321 lib/pacemaker/pcmk_scheduler.c         for (iter = scheduler->resources; iter != NULL; iter = iter->next) {
resources         333 lib/pacemaker/pcmk_scheduler.c     for (iter = scheduler->resources; iter != NULL; iter = iter->next) {
resources         408 lib/pacemaker/pcmk_scheduler.c         g_list_foreach(scheduler->resources, clear_failcounts_if_orphaned,
resources         413 lib/pacemaker/pcmk_scheduler.c     for (GList *iter = scheduler->resources; iter != NULL; iter = iter->next) {
resources         453 lib/pacemaker/pcmk_scheduler.c     for (const GList *iter = scheduler->resources;
resources         666 lib/pacemaker/pcmk_scheduler.c     for (GList *item = scheduler->resources; item != NULL; item = item->next) {
resources         766 lib/pacemaker/pcmk_simulate.c     fake_resource_list = scheduler->resources;
resources          85 lib/pacemaker/pcmk_status.c     GList *resources = NULL;
resources         128 lib/pacemaker/pcmk_status.c     resources = pe__build_rsc_list(scheduler, only_rsc);
resources         141 lib/pacemaker/pcmk_status.c                      neg_location_prefix, unames, resources);
resources         145 lib/pacemaker/pcmk_status.c     g_list_free_full(resources, free);
resources         692 lib/pengine/bundle.c         if (pe_find_resource(parent->cluster->resources, id) != NULL) {
resources         698 lib/pengine/bundle.c             pcmk__assert(pe_find_resource(parent->cluster->resources,
resources         761 lib/pengine/bundle.c         g_list_foreach(parent->cluster->resources, (GFunc) disallow_node,
resources        1311 lib/pengine/pe_actions.c             GList *matches = find_unfencing_devices(scheduler->resources, NULL);
resources        2202 lib/pengine/pe_output.c     rsc = pe_find_resource(scheduler->resources, op_rsc);
resources        2271 lib/pengine/pe_output.c     rsc = pe_find_resource(scheduler->resources, op_rsc);
resources        2460 lib/pengine/pe_output.c         rsc = pe_find_resource(scheduler->resources, rsc_id);
resources        2512 lib/pengine/pe_output.c             rsc = pe_find_resource(scheduler->resources,
resources        3031 lib/pengine/pe_output.c         GList *rscs = pe__filter_rsc_list(scheduler->resources, only_rsc);
resources        3042 lib/pengine/pe_output.c     for (rsc_iter = scheduler->resources; rsc_iter != NULL; rsc_iter = rsc_iter->next) {
resources         177 lib/pengine/status.c         for (GList *item = scheduler->resources; item != NULL;
resources         202 lib/pengine/status.c pe_free_resources(GList *resources)
resources         205 lib/pengine/status.c     GList *iterator = resources;
resources         212 lib/pengine/status.c     if (resources != NULL) {
resources         213 lib/pengine/status.c         g_list_free(resources);
resources         348 lib/pengine/status.c     pe_free_resources(scheduler->resources);
resources          38 lib/pengine/tags.c         pcmk_resource_t *rsc = pe_find_resource_with_flags(scheduler->resources,
resources          58 lib/pengine/tests/native/native_find_rsc_test.c     for (GList *iter = scheduler->resources; iter != NULL; iter = iter->next) {
resources          88 lib/pengine/tests/native/native_find_rsc_test.c     pcmk_resource_t *rsc = g_list_first(scheduler->resources)->data;
resources         121 lib/pengine/tests/native/native_find_rsc_test.c     for (GList *iter = scheduler->resources; iter != NULL; iter = iter->next) {
resources          52 lib/pengine/tests/native/pe_base_name_eq_test.c     for (GList *iter = scheduler->resources; iter != NULL; iter = iter->next) {
resources         601 lib/pengine/unpack.c     if (pe_find_resource(data->resources, remote_name) != NULL) {
resources         710 lib/pengine/unpack.c         pcmk_resource_t *container = pe_find_resource(scheduler->resources,
resources         902 lib/pengine/unpack.c             scheduler->resources = g_list_append(scheduler->resources, new_rsc);
resources         912 lib/pengine/unpack.c     for (gIter = scheduler->resources; gIter != NULL; gIter = gIter->next) {
resources         919 lib/pengine/unpack.c     scheduler->resources = g_list_sort(scheduler->resources,
resources        2062 lib/pengine/unpack.c     scheduler->resources = g_list_append(scheduler->resources, rsc);
resources        2241 lib/pengine/unpack.c     rsc = pe_find_resource(scheduler->resources, rsc_id);
resources        2249 lib/pengine/unpack.c         pcmk_resource_t *clone0 = pe_find_resource(scheduler->resources,
resources        2875 lib/pengine/unpack.c         container = pe_find_resource(scheduler->resources, container_id);
resources        2880 lib/pengine/unpack.c         rsc = pe_find_resource(scheduler->resources, rsc_id);
resources         574 lib/pengine/utils.c     for (GList *lpc = scheduler->resources; lpc != NULL; lpc = lpc->next) {
resources         850 lib/pengine/utils.c     GList *resources = NULL;
resources         853 lib/pengine/utils.c         resources = g_list_prepend(resources, strdup("*"));
resources         856 lib/pengine/utils.c         pcmk_resource_t *rsc = pe_find_resource_with_flags(scheduler->resources,
resources         866 lib/pengine/utils.c                 resources = g_list_prepend(resources, strdup(rsc->id));
resources         868 lib/pengine/utils.c                 resources = g_list_prepend(resources, strdup(rsc_printable_id(rsc)));
resources         875 lib/pengine/utils.c             resources = pe__rscs_with_tag(scheduler, s);
resources         879 lib/pengine/utils.c     return resources;
resources        1734 tools/crm_resource.c         rsc = pe_find_resource_with_flags(scheduler->resources, options.rsc_id,
resources        1810 tools/crm_resource.c             rc = out->message(out, "resource-names-list", scheduler->resources);
resources        1890 tools/crm_resource.c             g_list_foreach(scheduler->resources, (GFunc) cli_resource_print_cts,
resources        1935 tools/crm_resource.c                                   scheduler->resources, rsc, node);
resources         691 tools/crm_resource_print.c     GList *resources = va_arg(args, GList *);
resources         703 tools/crm_resource_print.c         for (lpc = resources; lpc != NULL; lpc = lpc->next) {
resources         773 tools/crm_resource_print.c     GList *resources = va_arg(args, GList *);
resources         788 tools/crm_resource_print.c         for (lpc = resources; lpc != NULL; lpc = lpc->next) {
resources         885 tools/crm_resource_print.c     GList *resources = va_arg(args, GList *);
resources         887 tools/crm_resource_print.c     if (resources == NULL) {
resources         893 tools/crm_resource_print.c     g_list_foreach(resources, (GFunc) add_resource_name, out);
resources         274 tools/crm_resource_runtime.c                     GList **resources)
resources         309 tools/crm_resource_runtime.c         *resources = g_list_append(*resources, rsc);
resources         312 tools/crm_resource_runtime.c         *resources = find_matching_attr_resources(out, rsc, requested_name,
resources         322 tools/crm_resource_runtime.c         GList *last = g_list_last(*resources);
resources         324 tools/crm_resource_runtime.c         *resources = g_list_remove_link(*resources, last);
resources         325 tools/crm_resource_runtime.c         g_list_free(*resources);
resources         326 tools/crm_resource_runtime.c         *resources = last;
resources         360 tools/crm_resource_runtime.c     GList/*<pcmk_resource_t*>*/ *resources = NULL;
resources         369 tools/crm_resource_runtime.c                              attr_id, attr_name, top_id, force, &resources);
resources         375 tools/crm_resource_runtime.c     for (GList *iter = resources; iter != NULL; iter = iter->next) {
resources         423 tools/crm_resource_runtime.c                 g_list_free(resources);
resources         493 tools/crm_resource_runtime.c     g_list_free(resources);
resources         550 tools/crm_resource_runtime.c     GList/*<pcmk_resource_t*>*/ *resources = NULL;
resources         559 tools/crm_resource_runtime.c         resources = find_matching_attr_resources(out, rsc, requested_name,
resources         575 tools/crm_resource_runtime.c         resources = g_list_append(resources, rsc);
resources         578 tools/crm_resource_runtime.c     for (GList *iter = resources; iter != NULL; iter = iter->next) {
resources         604 tools/crm_resource_runtime.c                 g_list_free(resources);
resources         632 tools/crm_resource_runtime.c     g_list_free(resources);
resources         650 tools/crm_resource_runtime.c     pcmk_resource_t *rsc = pe_find_resource(scheduler->resources, rsc_id);
resources         800 tools/crm_resource_runtime.c             fail_rsc = pe_find_resource_with_flags(scheduler->resources,
resources        1490 tools/crm_resource_runtime.c wait_time_estimate(pcmk_scheduler_t *scheduler, const GList *resources)
resources        1495 tools/crm_resource_runtime.c     for (const GList *item = resources; item != NULL; item = item->next) {
resources        1496 tools/crm_resource_runtime.c         pcmk_resource_t *rsc = pe_find_resource(scheduler->resources,
resources        1655 tools/crm_resource_runtime.c     restart_target_active = get_active_resources(host, scheduler->resources);
resources        1656 tools/crm_resource_runtime.c     current_active = get_active_resources(host, scheduler->resources);
resources        1709 tools/crm_resource_runtime.c     target_active = get_active_resources(host, scheduler->resources);
resources        1740 tools/crm_resource_runtime.c             current_active = get_active_resources(host, scheduler->resources);
resources        1822 tools/crm_resource_runtime.c             current_active = get_active_resources(NULL, scheduler->resources);