only_rsc 572 include/crm/pengine/internal.h gboolean pe__bundle_is_filtered(pe_resource_t *rsc, GList *only_rsc, gboolean check_parent); only_rsc 573 include/crm/pengine/internal.h gboolean pe__clone_is_filtered(pe_resource_t *rsc, GList *only_rsc, gboolean check_parent); only_rsc 574 include/crm/pengine/internal.h gboolean pe__group_is_filtered(pe_resource_t *rsc, GList *only_rsc, gboolean check_parent); only_rsc 575 include/crm/pengine/internal.h gboolean pe__native_is_filtered(pe_resource_t *rsc, GList *only_rsc, gboolean check_parent); only_rsc 1473 lib/pengine/bundle.c GList *only_rsc = va_arg(args, GList *); only_rsc 1484 lib/pengine/bundle.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { only_rsc 1488 lib/pengine/bundle.c print_everything = pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches); only_rsc 1503 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); only_rsc 1505 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); only_rsc 1506 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); only_rsc 1508 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); only_rsc 1534 lib/pengine/bundle.c replica->ip, only_node, only_rsc); only_rsc 1539 lib/pengine/bundle.c replica->child, only_node, only_rsc); only_rsc 1544 lib/pengine/bundle.c replica->container, only_node, only_rsc); only_rsc 1549 lib/pengine/bundle.c replica->remote, only_node, only_rsc); only_rsc 1597 lib/pengine/bundle.c GList *only_rsc = va_arg(args, GList *); only_rsc 1607 lib/pengine/bundle.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { only_rsc 1611 lib/pengine/bundle.c print_everything = pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches); only_rsc 1625 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); only_rsc 1627 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); only_rsc 1628 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); only_rsc 1630 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); only_rsc 1651 lib/pengine/bundle.c new_show_opts, replica->ip, only_node, only_rsc); only_rsc 1656 lib/pengine/bundle.c new_show_opts, replica->child, only_node, only_rsc); only_rsc 1661 lib/pengine/bundle.c new_show_opts, replica->container, only_node, only_rsc); only_rsc 1666 lib/pengine/bundle.c new_show_opts, replica->remote, only_node, only_rsc); only_rsc 1725 lib/pengine/bundle.c GList *only_rsc = va_arg(args, GList *); only_rsc 1735 lib/pengine/bundle.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { only_rsc 1739 lib/pengine/bundle.c print_everything = pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches); only_rsc 1753 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); only_rsc 1755 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); only_rsc 1756 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); only_rsc 1758 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); only_rsc 1781 lib/pengine/bundle.c new_show_opts, replica->ip, only_node, only_rsc); only_rsc 1786 lib/pengine/bundle.c new_show_opts, replica->child, only_node, only_rsc); only_rsc 1791 lib/pengine/bundle.c new_show_opts, replica->container, only_node, only_rsc); only_rsc 1796 lib/pengine/bundle.c new_show_opts, replica->remote, only_node, only_rsc); only_rsc 2036 lib/pengine/bundle.c pe__bundle_is_filtered(pe_resource_t *rsc, GList *only_rsc, gboolean check_parent) only_rsc 2041 lib/pengine/bundle.c if (pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches)) { only_rsc 2049 lib/pengine/bundle.c if (replica->ip != NULL && !replica->ip->fns->is_filtered(replica->ip, only_rsc, FALSE)) { only_rsc 2052 lib/pengine/bundle.c } else if (replica->child != NULL && !replica->child->fns->is_filtered(replica->child, only_rsc, FALSE)) { only_rsc 2055 lib/pengine/bundle.c } else if (!replica->container->fns->is_filtered(replica->container, only_rsc, FALSE)) { only_rsc 2058 lib/pengine/bundle.c } else if (replica->remote != NULL && !replica->remote->fns->is_filtered(replica->remote, only_rsc, FALSE)) { only_rsc 649 lib/pengine/clone.c GList *only_rsc = va_arg(args, GList *); only_rsc 657 lib/pengine/clone.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { only_rsc 661 lib/pengine/clone.c print_everything = pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches) || only_rsc 662 lib/pengine/clone.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches)); only_rsc 673 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { only_rsc 711 lib/pengine/clone.c GList *only_rsc = va_arg(args, GList *); only_rsc 729 lib/pengine/clone.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { only_rsc 733 lib/pengine/clone.c print_everything = pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches) || only_rsc 734 lib/pengine/clone.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches)); only_rsc 745 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { only_rsc 1030 lib/pengine/clone.c pe__clone_is_filtered(pe_resource_t *rsc, GList *only_rsc, gboolean check_parent) only_rsc 1035 lib/pengine/clone.c if (pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches)) { only_rsc 1039 lib/pengine/clone.c passes = pcmk__str_in_list(ID(clone_data->xml_obj_child), only_rsc, pcmk__str_star_matches); only_rsc 1045 lib/pengine/clone.c if (!child_rsc->fns->is_filtered(child_rsc, only_rsc, FALSE)) { only_rsc 71 lib/pengine/group.c GList *only_rsc, unsigned int show_opts) only_rsc 73 lib/pengine/group.c bool star_list = pcmk__list_of_1(only_rsc) && only_rsc 74 lib/pengine/group.c pcmk__str_eq("*", g_list_first(only_rsc)->data, pcmk__str_none); only_rsc 75 lib/pengine/group.c bool child_filtered = child->fns->is_filtered(child, only_rsc, FALSE); only_rsc 264 lib/pengine/group.c GList *only_rsc = va_arg(args, GList *); only_rsc 271 lib/pengine/group.c gboolean parent_passes = pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches) || only_rsc 272 lib/pengine/group.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches)); only_rsc 274 lib/pengine/group.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { only_rsc 282 lib/pengine/group.c if (skip_child_rsc(rsc, child_rsc, parent_passes, only_rsc, show_opts)) { only_rsc 297 lib/pengine/group.c only_node, only_rsc); only_rsc 314 lib/pengine/group.c GList *only_rsc = va_arg(args, GList *); only_rsc 318 lib/pengine/group.c gboolean parent_passes = pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches) || only_rsc 319 lib/pengine/group.c (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches)); only_rsc 324 lib/pengine/group.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { only_rsc 329 lib/pengine/group.c GList *rscs = pe__filter_rsc_list(rsc->children, only_rsc); only_rsc 344 lib/pengine/group.c if (skip_child_rsc(rsc, child_rsc, parent_passes, only_rsc, show_opts)) { only_rsc 351 lib/pengine/group.c child_rsc, only_node, only_rsc); only_rsc 401 lib/pengine/group.c pe__group_is_filtered(pe_resource_t *rsc, GList *only_rsc, gboolean check_parent) only_rsc 405 lib/pengine/group.c if (check_parent && pcmk__str_in_list(rsc_printable_id(uber_parent(rsc)), only_rsc, pcmk__str_star_matches)) { only_rsc 407 lib/pengine/group.c } else if (pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches)) { only_rsc 409 lib/pengine/group.c } else if (strstr(rsc->id, ":") != NULL && pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches)) { only_rsc 415 lib/pengine/group.c if (!child_rsc->fns->is_filtered(child_rsc, only_rsc, FALSE)) { only_rsc 903 lib/pengine/native.c GList *only_rsc = va_arg(args, GList *); only_rsc 922 lib/pengine/native.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { only_rsc 977 lib/pengine/native.c GList *only_rsc = va_arg(args, GList *); only_rsc 981 lib/pengine/native.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { only_rsc 1001 lib/pengine/native.c GList *only_rsc = va_arg(args, GList *); only_rsc 1007 lib/pengine/native.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { only_rsc 1353 lib/pengine/native.c pe__native_is_filtered(pe_resource_t *rsc, GList *only_rsc, gboolean check_parent) only_rsc 1355 lib/pengine/native.c if (pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches) || only_rsc 1356 lib/pengine/native.c pcmk__str_in_list(rsc->id, only_rsc, pcmk__str_star_matches)) { only_rsc 1362 lib/pengine/native.c return up->parent->fns->is_filtered(up->parent, only_rsc, FALSE); only_rsc 1364 lib/pengine/native.c return up->fns->is_filtered(up, only_rsc, FALSE); only_rsc 611 lib/pengine/pe_output.c GList *only_rsc = va_arg(args, GList *); only_rsc 626 lib/pengine/pe_output.c if (!pcmk__str_in_list(rsc_printable_id(location->rsc_lh), only_rsc, pcmk__str_star_matches) && only_rsc 627 lib/pengine/pe_output.c !pcmk__str_in_list(rsc_printable_id(uber_parent(location->rsc_lh)), only_rsc, pcmk__str_star_matches)) { only_rsc 1350 lib/pengine/pe_output.c GList *only_rsc = va_arg(args, GList *); only_rsc 1377 lib/pengine/pe_output.c if (!pcmk__str_in_list(rsc, only_rsc, pcmk__str_star_matches)) { only_rsc 1423 lib/pengine/pe_output.c GList *only_rsc = va_arg(args, GList *); only_rsc 1431 lib/pengine/pe_output.c GList *rscs = pe__filter_rsc_list(node->details->running_rsc, only_rsc); only_rsc 1462 lib/pengine/pe_output.c rsc, only_node, only_rsc); only_rsc 1495 lib/pengine/pe_output.c GList *only_rsc = va_arg(args, GList *); only_rsc 1513 lib/pengine/pe_output.c GList *rscs = pe__filter_rsc_list(node->details->running_rsc, only_rsc); only_rsc 1537 lib/pengine/pe_output.c rsc, only_node, only_rsc); only_rsc 1567 lib/pengine/pe_output.c GList *only_rsc = va_arg(args, GList *); only_rsc 1610 lib/pengine/pe_output.c rsc, only_node, only_rsc); only_rsc 1829 lib/pengine/pe_output.c GList *only_rsc = va_arg(args, GList *); only_rsc 1861 lib/pengine/pe_output.c out->message(out, "node", node, show_opts, FALSE, NULL, only_node, only_rsc); only_rsc 1928 lib/pengine/pe_output.c GList *only_rsc = va_arg(args, GList *); only_rsc 1954 lib/pengine/pe_output.c if (!pcmk__str_in_list(rsc_printable_id(rsc), only_rsc, pcmk__str_star_matches) && only_rsc 1955 lib/pengine/pe_output.c !pcmk__str_in_list(rsc_printable_id(uber_parent(rsc)), only_rsc, pcmk__str_star_matches)) { only_rsc 1959 lib/pengine/pe_output.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { only_rsc 1975 lib/pengine/pe_output.c out->message(out, "node", node, show_opts, FALSE, NULL, only_node, only_rsc); only_rsc 1991 lib/pengine/pe_output.c out->message(out, "node", node, show_opts, FALSE, NULL, only_node, only_rsc); only_rsc 2008 lib/pengine/pe_output.c GList *only_rsc = va_arg(args, GList *); only_rsc 2024 lib/pengine/pe_output.c out->message(out, "node", node, show_opts, TRUE, NULL, only_node, only_rsc); only_rsc 2036 lib/pengine/pe_output.c GList *only_rsc = va_arg(args, GList *); only_rsc 2138 lib/pengine/pe_output.c out->message(out, "node", node, show_opts, TRUE, node_mode, only_node, only_rsc); only_rsc 2173 lib/pengine/pe_output.c GList *only_rsc = va_arg(args, GList *); only_rsc 2186 lib/pengine/pe_output.c out->message(out, "node", node, show_opts, TRUE, NULL, only_node, only_rsc); only_rsc 2199 lib/pengine/pe_output.c GList *only_rsc = va_arg(args, GList *); only_rsc 2229 lib/pengine/pe_output.c only_node, only_rsc, section_opts, show_opts); only_rsc 2491 lib/pengine/pe_output.c GList *only_rsc = va_arg(args, GList *); only_rsc 2509 lib/pengine/pe_output.c GList *rscs = pe__filter_rsc_list(data_set->resources, only_rsc); only_rsc 2560 lib/pengine/pe_output.c only_node, only_rsc); only_rsc 127 tools/crm_mon.c char *only_rsc; only_rsc 573 tools/crm_mon.c { "resource", 0, 0, G_OPTION_ARG_STRING, &options.only_rsc, only_rsc 2180 tools/crm_mon.c resources = pe__build_rsc_list(mon_data_set, options.only_rsc); only_rsc 2360 tools/crm_mon.c free(options.only_rsc);