resources 482 daemons/execd/cts-exec-helper.c rsc = pe_find_resource_with_flags(scheduler->resources, options.rsc_id, resources 224 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 2155 lib/lrmd/lrmd_client.c list_stonith_agents(lrmd_list_t ** resources) resources 2172 lib/lrmd/lrmd_client.c if (resources) { resources 2173 lib/lrmd/lrmd_client.c *resources = lrmd_list_add(*resources, dIter->value); resources 2182 lib/lrmd/lrmd_client.c lrmd_api_list_agents(lrmd_t * lrmd, lrmd_list_t ** resources, const char *class, resources 2196 lib/lrmd/lrmd_client.c *resources = lrmd_list_add(*resources, (const char *)gIter->data); resources 2208 lib/lrmd/lrmd_client.c stonith_count = list_stonith_agents(resources); resources 1053 lib/pacemaker/pcmk_graph_producer.c for (iter = scheduler->resources; iter != NULL; iter = iter->next) { resources 585 lib/pacemaker/pcmk_injections.c rsc = pe_find_resource(scheduler->resources, resource); resources 1801 lib/pacemaker/pcmk_output.c GList *resources = va_arg(args, GList *); resources 1811 lib/pacemaker/pcmk_output.c resources, show_opts, rc == pcmk_rc_ok)); resources 1817 lib/pacemaker/pcmk_output.c true, unames, resources, rc == pcmk_rc_ok)); resources 1824 lib/pacemaker/pcmk_output.c resources)); resources 1833 lib/pacemaker/pcmk_output.c resources, section_opts, show_opts, resources 1843 lib/pacemaker/pcmk_output.c resources, show_opts, rc == pcmk_rc_ok)); resources 1879 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "ban-list", scheduler, prefix, resources, resources 1939 lib/pacemaker/pcmk_output.c GList *resources = va_arg(args, GList *); resources 1946 lib/pacemaker/pcmk_output.c out->message(out, "node-list", scheduler->nodes, unames, resources, resources 1956 lib/pacemaker/pcmk_output.c false, unames, resources, false); resources 1962 lib/pacemaker/pcmk_output.c unames, resources); resources 1971 lib/pacemaker/pcmk_output.c resources, section_opts, show_opts, false); resources 1979 lib/pacemaker/pcmk_output.c out->message(out, "failed-action-list", scheduler, unames, resources, resources 1997 lib/pacemaker/pcmk_output.c out->message(out, "ban-list", scheduler, prefix, resources, show_opts, resources 2021 lib/pacemaker/pcmk_output.c GList *resources = va_arg(args, GList *); resources 2029 lib/pacemaker/pcmk_output.c out->message(out, "node-list", scheduler->nodes, unames, resources, resources 2036 lib/pacemaker/pcmk_output.c resources, false); resources 2042 lib/pacemaker/pcmk_output.c unames, resources); resources 2051 lib/pacemaker/pcmk_output.c resources, section_opts, show_opts, false); resources 2059 lib/pacemaker/pcmk_output.c out->message(out, "failed-action-list", scheduler, unames, resources, resources 2124 lib/pacemaker/pcmk_output.c out->message(out, "ban-list", scheduler, prefix, resources, show_opts, resources 1447 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 429 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 352 lib/pacemaker/pcmk_sched_location.c rsc = pcmk__find_constraint_resource(scheduler->resources, value); resources 373 lib/pacemaker/pcmk_sched_location.c for (GList *iter = scheduler->resources; iter != NULL; resources 516 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 255 lib/pacemaker/pcmk_sched_ordering.c rsc = pcmk__find_constraint_resource(scheduler->resources, rsc_id); resources 604 lib/pacemaker/pcmk_sched_ordering.c GList *resources = NULL; resources 642 lib/pacemaker/pcmk_sched_ordering.c resources = g_list_append(resources, resource); resources 645 lib/pacemaker/pcmk_sched_ordering.c if (pcmk__list_of_1(resources)) { resources 650 lib/pacemaker/pcmk_sched_ordering.c set_iter = resources; resources 688 lib/pacemaker/pcmk_sched_ordering.c set_iter = resources; resources 703 lib/pacemaker/pcmk_sched_ordering.c g_list_free(resources); resources 761 lib/pacemaker/pcmk_sched_probes.c for (GList *iter = scheduler->resources; iter != NULL; iter = iter->next) { resources 844 lib/pacemaker/pcmk_sched_probes.c g_list_foreach(scheduler->resources, add_start_restart_orderings_for_rsc, resources 901 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 CRM_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 2201 lib/pengine/pe_output.c rsc = pe_find_resource(scheduler->resources, op_rsc); resources 2270 lib/pengine/pe_output.c rsc = pe_find_resource(scheduler->resources, op_rsc); resources 2452 lib/pengine/pe_output.c pcmk_resource_t *rsc = pe_find_resource(scheduler->resources, rsc_id); resources 2501 lib/pengine/pe_output.c rsc = pe_find_resource(scheduler->resources, resources 3020 lib/pengine/pe_output.c GList *rscs = pe__filter_rsc_list(scheduler->resources, only_rsc); resources 3031 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 586 lib/pengine/unpack.c if (pe_find_resource(data->resources, remote_name) != NULL) { resources 686 lib/pengine/unpack.c pcmk_resource_t *container = pe_find_resource(scheduler->resources, resources 878 lib/pengine/unpack.c scheduler->resources = g_list_append(scheduler->resources, new_rsc); resources 888 lib/pengine/unpack.c for (gIter = scheduler->resources; gIter != NULL; gIter = gIter->next) { resources 895 lib/pengine/unpack.c scheduler->resources = g_list_sort(scheduler->resources, resources 2029 lib/pengine/unpack.c scheduler->resources = g_list_append(scheduler->resources, rsc); resources 2208 lib/pengine/unpack.c rsc = pe_find_resource(scheduler->resources, rsc_id); resources 2216 lib/pengine/unpack.c pcmk_resource_t *clone0 = pe_find_resource(scheduler->resources, resources 2842 lib/pengine/unpack.c container = pe_find_resource(scheduler->resources, container_id); resources 2847 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);