resources 482 daemons/execd/cts-exec-helper.c rsc = pe_find_resource_with_flags(scheduler->resources, options.rsc_id, resources 221 daemons/fenced/fenced_scheduler.c g_list_foreach(scheduler->resources, register_if_fencing_device, NULL); resources 196 include/crm/common/scheduler.h GList *resources; //!< Resources in cluster resources 2099 lib/lrmd/lrmd_client.c list_stonith_agents(lrmd_list_t ** resources) resources 2116 lib/lrmd/lrmd_client.c if (resources) { resources 2117 lib/lrmd/lrmd_client.c *resources = lrmd_list_add(*resources, dIter->value); resources 2126 lib/lrmd/lrmd_client.c lrmd_api_list_agents(lrmd_t * lrmd, lrmd_list_t ** resources, const char *class, resources 2140 lib/lrmd/lrmd_client.c *resources = lrmd_list_add(*resources, (const char *)gIter->data); resources 2152 lib/lrmd/lrmd_client.c stonith_count = list_stonith_agents(resources); resources 1052 lib/pacemaker/pcmk_graph_producer.c for (iter = scheduler->resources; iter != NULL; iter = iter->next) { resources 593 lib/pacemaker/pcmk_injections.c rsc = pe_find_resource(scheduler->resources, resource); resources 1799 lib/pacemaker/pcmk_output.c GList *resources = va_arg(args, GList *); resources 1809 lib/pacemaker/pcmk_output.c resources, show_opts, rc == pcmk_rc_ok)); resources 1815 lib/pacemaker/pcmk_output.c true, unames, resources, rc == pcmk_rc_ok)); resources 1822 lib/pacemaker/pcmk_output.c resources)); resources 1831 lib/pacemaker/pcmk_output.c resources, section_opts, show_opts, resources 1841 lib/pacemaker/pcmk_output.c resources, show_opts, rc == pcmk_rc_ok)); resources 1877 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "ban-list", scheduler, prefix, resources, resources 1937 lib/pacemaker/pcmk_output.c GList *resources = va_arg(args, GList *); resources 1944 lib/pacemaker/pcmk_output.c out->message(out, "node-list", scheduler->nodes, unames, resources, resources 1954 lib/pacemaker/pcmk_output.c false, unames, resources, false); resources 1960 lib/pacemaker/pcmk_output.c unames, resources); resources 1969 lib/pacemaker/pcmk_output.c resources, section_opts, show_opts, false); resources 1977 lib/pacemaker/pcmk_output.c out->message(out, "failed-action-list", scheduler, unames, resources, resources 1995 lib/pacemaker/pcmk_output.c out->message(out, "ban-list", scheduler, prefix, resources, show_opts, resources 2019 lib/pacemaker/pcmk_output.c GList *resources = va_arg(args, GList *); resources 2027 lib/pacemaker/pcmk_output.c out->message(out, "node-list", scheduler->nodes, unames, resources, resources 2034 lib/pacemaker/pcmk_output.c resources, false); resources 2040 lib/pacemaker/pcmk_output.c unames, resources); resources 2049 lib/pacemaker/pcmk_output.c resources, section_opts, show_opts, false); resources 2057 lib/pacemaker/pcmk_output.c out->message(out, "failed-action-list", scheduler, unames, resources, resources 2122 lib/pacemaker/pcmk_output.c out->message(out, "ban-list", scheduler, prefix, resources, show_opts, resources 1442 lib/pacemaker/pcmk_sched_actions.c for (GList *iter = scheduler->resources; iter != NULL; iter = iter->next) { resources 487 lib/pacemaker/pcmk_sched_colocation.c resource = pcmk__find_constraint_resource(scheduler->resources, resources 525 lib/pacemaker/pcmk_sched_colocation.c resource = pcmk__find_constraint_resource(scheduler->resources, resources 543 lib/pacemaker/pcmk_sched_colocation.c other = pcmk__find_constraint_resource(scheduler->resources, resources 593 lib/pacemaker/pcmk_sched_colocation.c rsc_1 = pcmk__find_constraint_resource(scheduler->resources, resources 613 lib/pacemaker/pcmk_sched_colocation.c rsc_2 = pcmk__find_constraint_resource(scheduler->resources, resources 635 lib/pacemaker/pcmk_sched_colocation.c rsc_2 = pcmk__find_constraint_resource(scheduler->resources, resources 653 lib/pacemaker/pcmk_sched_colocation.c rsc_1 = pcmk__find_constraint_resource(scheduler->resources, resources 675 lib/pacemaker/pcmk_sched_colocation.c rsc_1 = pcmk__find_constraint_resource(scheduler->resources, resources 692 lib/pacemaker/pcmk_sched_colocation.c rsc_2 = pcmk__find_constraint_resource(scheduler->resources, resources 731 lib/pacemaker/pcmk_sched_colocation.c primary = pcmk__find_constraint_resource(scheduler->resources, primary_id); resources 732 lib/pacemaker/pcmk_sched_colocation.c dependent = pcmk__find_constraint_resource(scheduler->resources, resources 189 lib/pacemaker/pcmk_sched_constraints.c *rsc = pcmk__find_constraint_resource(scheduler->resources, id); resources 419 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 299 lib/pacemaker/pcmk_sched_location.c rsc = pcmk__find_constraint_resource(scheduler->resources, value); resources 321 lib/pacemaker/pcmk_sched_location.c for (GList *iter = scheduler->resources; iter != NULL; resources 466 lib/pacemaker/pcmk_sched_location.c resource = pcmk__find_constraint_resource(scheduler->resources, resources 389 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 250 lib/pacemaker/pcmk_sched_ordering.c rsc = pcmk__find_constraint_resource(scheduler->resources, rsc_id); resources 597 lib/pacemaker/pcmk_sched_ordering.c GList *resources = NULL; resources 633 lib/pacemaker/pcmk_sched_ordering.c resources = g_list_append(resources, resource); resources 636 lib/pacemaker/pcmk_sched_ordering.c if (pcmk__list_of_1(resources)) { resources 641 lib/pacemaker/pcmk_sched_ordering.c set_iter = resources; resources 679 lib/pacemaker/pcmk_sched_ordering.c set_iter = resources; resources 694 lib/pacemaker/pcmk_sched_ordering.c g_list_free(resources); resources 762 lib/pacemaker/pcmk_sched_probes.c for (GList *iter = scheduler->resources; iter != NULL; iter = iter->next) { resources 845 lib/pacemaker/pcmk_sched_probes.c g_list_foreach(scheduler->resources, add_start_restart_orderings_for_rsc, resources 902 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 770 lib/pacemaker/pcmk_sched_resource.c scheduler->resources = g_list_sort_with_data(scheduler->resources, resources 260 lib/pacemaker/pcmk_sched_tickets.c resource = pcmk__find_constraint_resource(scheduler->resources, resources 328 lib/pacemaker/pcmk_sched_tickets.c rsc = pcmk__find_constraint_resource(scheduler->resources, rsc_id); resources 237 lib/pacemaker/pcmk_scheduler.c for (GList *iter = scheduler->resources; iter != NULL; iter = iter->next) { resources 284 lib/pacemaker/pcmk_scheduler.c g_list_foreach(scheduler->resources, apply_stickiness, NULL); resources 288 lib/pacemaker/pcmk_scheduler.c for (GList *rsc_iter = scheduler->resources; rsc_iter != NULL; resources 320 lib/pacemaker/pcmk_scheduler.c for (iter = scheduler->resources; iter != NULL; iter = iter->next) { resources 332 lib/pacemaker/pcmk_scheduler.c for (iter = scheduler->resources; iter != NULL; iter = iter->next) { resources 407 lib/pacemaker/pcmk_scheduler.c g_list_foreach(scheduler->resources, clear_failcounts_if_orphaned, resources 412 lib/pacemaker/pcmk_scheduler.c for (GList *iter = scheduler->resources; iter != NULL; iter = iter->next) { resources 452 lib/pacemaker/pcmk_scheduler.c for (const GList *iter = scheduler->resources; resources 664 lib/pacemaker/pcmk_scheduler.c for (GList *item = scheduler->resources; item != NULL; item = item->next) { resources 759 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 CRM_ASSERT(pe_find_resource(parent->cluster->resources, resources 761 lib/pengine/bundle.c g_list_foreach(parent->cluster->resources, (GFunc) disallow_node, resources 1294 lib/pengine/pe_actions.c GList *matches = find_unfencing_devices(scheduler->resources, NULL); resources 2026 lib/pengine/pe_output.c rsc = pe_find_resource(scheduler->resources, op_rsc); resources 2086 lib/pengine/pe_output.c rsc = pe_find_resource(scheduler->resources, op_rsc); resources 2258 lib/pengine/pe_output.c pcmk_resource_t *rsc = pe_find_resource(scheduler->resources, rsc_id); resources 2301 lib/pengine/pe_output.c pcmk_resource_t *rsc = pe_find_resource(scheduler->resources, resources 2815 lib/pengine/pe_output.c GList *rscs = pe__filter_rsc_list(scheduler->resources, only_rsc); resources 2826 lib/pengine/pe_output.c for (rsc_iter = scheduler->resources; rsc_iter != NULL; rsc_iter = rsc_iter->next) { resources 138 lib/pengine/status.c for (GList *item = scheduler->resources; item != NULL; resources 163 lib/pengine/status.c pe_free_resources(GList *resources) resources 166 lib/pengine/status.c GList *iterator = resources; resources 173 lib/pengine/status.c if (resources != NULL) { resources 174 lib/pengine/status.c g_list_free(resources); resources 309 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 560 lib/pengine/unpack.c if (pe_find_resource(data->resources, remote_name) != NULL) { resources 659 lib/pengine/unpack.c pcmk_resource_t *container = pe_find_resource(scheduler->resources, resources 850 lib/pengine/unpack.c scheduler->resources = g_list_append(scheduler->resources, new_rsc); resources 860 lib/pengine/unpack.c for (gIter = scheduler->resources; gIter != NULL; gIter = gIter->next) { resources 867 lib/pengine/unpack.c scheduler->resources = g_list_sort(scheduler->resources, resources 1939 lib/pengine/unpack.c scheduler->resources = g_list_append(scheduler->resources, rsc); resources 2116 lib/pengine/unpack.c rsc = pe_find_resource(scheduler->resources, rsc_id); resources 2124 lib/pengine/unpack.c pcmk_resource_t *clone0 = pe_find_resource(scheduler->resources, resources 2743 lib/pengine/unpack.c container = pe_find_resource(scheduler->resources, container_id); resources 2748 lib/pengine/unpack.c rsc = pe_find_resource(scheduler->resources, rsc_id); resources 564 lib/pengine/utils.c for (GList *lpc = scheduler->resources; lpc != NULL; lpc = lpc->next) { resources 836 lib/pengine/utils.c GList *resources = NULL; resources 839 lib/pengine/utils.c resources = g_list_prepend(resources, strdup("*")); resources 842 lib/pengine/utils.c pcmk_resource_t *rsc = pe_find_resource_with_flags(scheduler->resources, resources 852 lib/pengine/utils.c resources = g_list_prepend(resources, strdup(rsc->id)); resources 854 lib/pengine/utils.c resources = g_list_prepend(resources, strdup(rsc_printable_id(rsc))); resources 861 lib/pengine/utils.c resources = pe__rscs_with_tag(scheduler, s); resources 865 lib/pengine/utils.c return resources; resources 1666 tools/crm_resource.c rsc = pe_find_resource_with_flags(scheduler->resources, options.rsc_id, resources 1741 tools/crm_resource.c rc = out->message(out, "resource-names-list", scheduler->resources); resources 1817 tools/crm_resource.c g_list_foreach(scheduler->resources, (GFunc) cli_resource_print_cts, resources 1862 tools/crm_resource.c scheduler->resources, rsc, node); resources 600 tools/crm_resource_print.c GList *resources = va_arg(args, GList *); resources 612 tools/crm_resource_print.c for (lpc = resources; lpc != NULL; lpc = lpc->next) { resources 682 tools/crm_resource_print.c GList *resources = va_arg(args, GList *); resources 696 tools/crm_resource_print.c for (lpc = resources; lpc != NULL; lpc = lpc->next) { resources 786 tools/crm_resource_print.c GList *resources = va_arg(args, GList *); resources 788 tools/crm_resource_print.c if (resources == NULL) { resources 794 tools/crm_resource_print.c g_list_foreach(resources, (GFunc) add_resource_name, out); resources 272 tools/crm_resource_runtime.c GList/*<pcmk_resource_t*>*/ *resources = NULL; resources 299 tools/crm_resource_runtime.c resources = g_list_append(resources, rsc); resources 314 tools/crm_resource_runtime.c resources = find_matching_attr_resources(out, rsc, requested_name, resources 324 tools/crm_resource_runtime.c GList *last = g_list_last(resources); resources 326 tools/crm_resource_runtime.c resources = g_list_remove_link(resources, last); resources 327 tools/crm_resource_runtime.c g_list_free(resources); resources 328 tools/crm_resource_runtime.c resources = last; resources 331 tools/crm_resource_runtime.c for (GList *iter = resources; iter != NULL; iter = iter->next) { resources 376 tools/crm_resource_runtime.c g_list_free(resources); resources 442 tools/crm_resource_runtime.c g_list_free(resources); resources 455 tools/crm_resource_runtime.c GList/*<pcmk_resource_t*>*/ *resources = NULL; resources 464 tools/crm_resource_runtime.c resources = find_matching_attr_resources(out, rsc, requested_name, resources 481 tools/crm_resource_runtime.c resources = g_list_append(resources, rsc); resources 484 tools/crm_resource_runtime.c for (GList *iter = resources; iter != NULL; iter = iter->next) { resources 506 tools/crm_resource_runtime.c g_list_free(resources); resources 535 tools/crm_resource_runtime.c g_list_free(resources); resources 553 tools/crm_resource_runtime.c pcmk_resource_t *rsc = pe_find_resource(scheduler->resources, rsc_id); resources 701 tools/crm_resource_runtime.c fail_rsc = pe_find_resource_with_flags(scheduler->resources, resources 1391 tools/crm_resource_runtime.c wait_time_estimate(pcmk_scheduler_t *scheduler, const GList *resources) resources 1396 tools/crm_resource_runtime.c for (const GList *item = resources; item != NULL; item = item->next) { resources 1397 tools/crm_resource_runtime.c pcmk_resource_t *rsc = pe_find_resource(scheduler->resources, resources 1556 tools/crm_resource_runtime.c restart_target_active = get_active_resources(host, scheduler->resources); resources 1557 tools/crm_resource_runtime.c current_active = get_active_resources(host, scheduler->resources); resources 1599 tools/crm_resource_runtime.c target_active = get_active_resources(host, scheduler->resources); resources 1630 tools/crm_resource_runtime.c current_active = get_active_resources(host, scheduler->resources); resources 1709 tools/crm_resource_runtime.c current_active = get_active_resources(NULL, scheduler->resources);