fns               416 include/crm/common/resources.h     pcmk_rsc_methods_t *fns;            //!< Resource object methods
fns               325 include/crm/pengine/internal.h     return (rsc == NULL)? NULL : rsc->fns->active_node(rsc, NULL, NULL);
fns               158 include/pcmki/pcmki_transition.h void pcmk__set_graph_functions(pcmk__graph_functions_t *fns);
fns               153 lib/pacemaker/pcmk_graph_consumer.c pcmk__set_graph_functions(pcmk__graph_functions_t *fns)
fns               156 lib/pacemaker/pcmk_graph_consumer.c     graph_fns = fns;
fns               550 lib/pacemaker/pcmk_sched_actions.c             first_node = first->rsc->fns->location(first->rsc, NULL, FALSE);
fns               561 lib/pacemaker/pcmk_sched_actions.c             then_node = then->rsc->fns->location(then->rsc, NULL, FALSE);
fns               727 lib/pacemaker/pcmk_sched_actions.c         enum rsc_role_e then_rsc_role = then->rsc->fns->state(then->rsc, TRUE);
fns               130 lib/pacemaker/pcmk_sched_bundle.c                            rsc->fns->max_per_node(rsc));
fns               401 lib/pacemaker/pcmk_sched_bundle.c         return container->fns->location(container, NULL, 0);
fns               425 lib/pacemaker/pcmk_sched_bundle.c     match_data.node = dependent->fns->location(dependent, NULL, 0);
fns               482 lib/pacemaker/pcmk_sched_bundle.c     chosen = replica->container->fns->location(replica->container, NULL, 0);
fns               933 lib/pacemaker/pcmk_sched_bundle.c         if (probe_data->bundle->fns->max_per_node(probe_data->bundle) == 1) {
fns               220 lib/pacemaker/pcmk_sched_clone.c     if (dependent->fns->max_per_node(dependent)
fns               221 lib/pacemaker/pcmk_sched_clone.c         != colocation->primary->fns->max_per_node(colocation->primary)) {
fns               328 lib/pacemaker/pcmk_sched_clone.c             pcmk_node_t *chosen = instance->fns->location(instance, NULL, 0);
fns               534 lib/pacemaker/pcmk_sched_clone.c         instance_node = instance->fns->location(instance, NULL, 0);
fns               114 lib/pacemaker/pcmk_sched_constraints.c         pcmk_resource_t *match = parent->fns->find_rsc(parent, id, NULL,
fns               362 lib/pacemaker/pcmk_sched_instances.c     node1 = instance1->fns->active_node(instance1, &nnodes1, NULL);
fns               363 lib/pacemaker/pcmk_sched_instances.c     node2 = instance2->fns->active_node(instance2, &nnodes2, NULL);
fns              1082 lib/pacemaker/pcmk_sched_instances.c         && (role != instance->fns->state(instance, current))) {
fns              1091 lib/pacemaker/pcmk_sched_instances.c         instance_node = instance->fns->location(instance, NULL, current);
fns              1178 lib/pacemaker/pcmk_sched_instances.c     node = match_rsc->fns->location(match_rsc, NULL, current);
fns                47 lib/pacemaker/pcmk_sched_nodes.c         if (guest->fns->location(guest, NULL, FALSE) == NULL) {
fns              1317 lib/pacemaker/pcmk_sched_ordering.c         if ((first_rsc->fns->state(first_rsc, TRUE) == pcmk_role_stopped)
fns              1324 lib/pacemaker/pcmk_sched_ordering.c         } else if ((first_rsc->fns->state(first_rsc,
fns               702 lib/pacemaker/pcmk_sched_primitive.c     current = rsc->fns->active_node(rsc, &num_all_active, &num_clean_active);
fns               184 lib/pacemaker/pcmk_sched_promotable.c     node = rsc->fns->location(rsc, NULL, FALSE);
fns               191 lib/pacemaker/pcmk_sched_promotable.c         if (rsc->fns->state(rsc, TRUE) == pcmk_role_promoted) {
fns               278 lib/pacemaker/pcmk_sched_promotable.c     role1 = rsc1->fns->state(rsc1, TRUE);
fns               279 lib/pacemaker/pcmk_sched_promotable.c     role2 = rsc2->fns->state(rsc2, TRUE);
fns               323 lib/pacemaker/pcmk_sched_promotable.c     chosen = child->fns->location(child, NULL, FALSE);
fns               414 lib/pacemaker/pcmk_sched_promotable.c     pcmk_node_t *chosen = child->fns->location(child, NULL, FALSE);
fns               510 lib/pacemaker/pcmk_sched_promotable.c         active = clone->fns->find_rsc(child, id, node,
fns               540 lib/pacemaker/pcmk_sched_promotable.c         child = clone->fns->find_rsc(child, id, NULL,
fns               841 lib/pacemaker/pcmk_sched_promotable.c     rsc->fns->location(rsc, &assigned, FALSE);
fns               878 lib/pacemaker/pcmk_sched_promotable.c     pcmk_node_t *chosen = instance->fns->location(instance, NULL, FALSE);
fns               916 lib/pacemaker/pcmk_sched_promotable.c     if (instance->fns->state(instance, TRUE) == pcmk_role_started) {
fns               921 lib/pacemaker/pcmk_sched_promotable.c     chosen = instance->fns->location(instance, &list, FALSE);
fns               931 lib/pacemaker/pcmk_sched_promotable.c     next_role = instance->fns->state(instance, FALSE);
fns              1226 lib/pacemaker/pcmk_sched_promotable.c         pcmk_node_t *node = instance->fns->location(instance, NULL, FALSE);
fns              1231 lib/pacemaker/pcmk_sched_promotable.c         if (instance->fns->state(instance, FALSE) == colocation->primary_role) {
fns              1269 lib/pengine/bundle.c             rsc->fns->free(rsc);
fns              1307 lib/pengine/bundle.c         gboolean child_active = rsc->fns->active(rsc, all);
fns              1397 lib/pengine/bundle.c         rsc->fns->print(rsc, pre_text, options, print_data);
fns              1471 lib/pengine/bundle.c     if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) {
fns              1490 lib/pengine/bundle.c                    !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything);
fns              1492 lib/pengine/bundle.c                       !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything);
fns              1493 lib/pengine/bundle.c         print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything);
fns              1495 lib/pengine/bundle.c                        !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything);
fns              1624 lib/pengine/bundle.c     if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) {
fns              1642 lib/pengine/bundle.c                    !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything);
fns              1644 lib/pengine/bundle.c                       !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything);
fns              1645 lib/pengine/bundle.c         print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything);
fns              1647 lib/pengine/bundle.c                        !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything);
fns              1758 lib/pengine/bundle.c     if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) {
fns              1776 lib/pengine/bundle.c                    !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything);
fns              1778 lib/pengine/bundle.c                       !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything);
fns              1779 lib/pengine/bundle.c         print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything);
fns              1781 lib/pengine/bundle.c                        !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything);
fns              1964 lib/pengine/bundle.c         replica->ip->fns->free(replica->ip);
fns              1970 lib/pengine/bundle.c         replica->container->fns->free(replica->container);
fns              1976 lib/pengine/bundle.c         replica->remote->fns->free(replica->remote);
fns              2012 lib/pengine/bundle.c         bundle_data->child->fns->free(bundle_data->child);
fns              2054 lib/pengine/bundle.c             replica->ip->fns->count(replica->ip);
fns              2057 lib/pengine/bundle.c             replica->child->fns->count(replica->child);
fns              2060 lib/pengine/bundle.c             replica->container->fns->count(replica->container);
fns              2063 lib/pengine/bundle.c             replica->remote->fns->count(replica->remote);
fns              2083 lib/pengine/bundle.c             if (replica->ip != NULL && !replica->ip->fns->is_filtered(replica->ip, only_rsc, FALSE)) {
fns              2086 lib/pengine/bundle.c             } else if (replica->child != NULL && !replica->child->fns->is_filtered(replica->child, only_rsc, FALSE)) {
fns              2089 lib/pengine/bundle.c             } else if (!replica->container->fns->is_filtered(replica->container, only_rsc, FALSE)) {
fns              2092 lib/pengine/bundle.c             } else if (replica->remote != NULL && !replica->remote->fns->is_filtered(replica->remote, only_rsc, FALSE)) {
fns              2173 lib/pengine/bundle.c         node = container->fns->active_node(container, count_all, count_clean);
fns               448 lib/pengine/clone.c         gboolean child_active = child_rsc->fns->active(child_rsc, all);
fns               550 lib/pengine/clone.c         child_rsc->fns->print(child_rsc, child_text, options, print_data);
fns               636 lib/pengine/clone.c         gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE);
fns               672 lib/pengine/clone.c         } else if (child_rsc->fns->active(child_rsc, TRUE)) {
fns               677 lib/pengine/clone.c             location = child_rsc->fns->location(child_rsc, NULL, TRUE);
fns               681 lib/pengine/clone.c                 enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE);
fns               707 lib/pengine/clone.c             child_rsc->fns->print(child_rsc, child_text, options, print_data);
fns               837 lib/pengine/clone.c     if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) {
fns               853 lib/pengine/clone.c         if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) {
fns               919 lib/pengine/clone.c     if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) {
fns               929 lib/pengine/clone.c         gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE);
fns               935 lib/pengine/clone.c         if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) {
fns               976 lib/pengine/clone.c         } else if (child_rsc->fns->active(child_rsc, TRUE)) {
fns               981 lib/pengine/clone.c             location = child_rsc->fns->location(child_rsc, NULL, TRUE);
fns               985 lib/pengine/clone.c                 enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE);
fns              1198 lib/pengine/clone.c         child_rsc->fns->free(child_rsc);
fns              1221 lib/pengine/clone.c         enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, current);
fns              1273 lib/pengine/clone.c                 if (!child_rsc->fns->is_filtered(child_rsc, only_rsc, FALSE)) {
fns               692 lib/pengine/complex.c     (*rsc)->fns = &resource_class_functions[(*rsc)->variant];
fns               883 lib/pengine/complex.c     if ((*rsc)->fns->unpack(*rsc, scheduler) == FALSE) {
fns               884 lib/pengine/complex.c         (*rsc)->fns->free(*rsc);
fns               910 lib/pengine/complex.c             (*rsc)->fns->free(*rsc);
fns              1148 lib/pengine/complex.c         return rsc->fns->active_node(rsc, count, NULL);
fns              1151 lib/pengine/complex.c         return rsc->fns->active_node(rsc, NULL, count);
fns              1160 lib/pengine/complex.c             ((pcmk_resource_t *) item->data)->fns->count(item->data);
fns               107 lib/pengine/group.c         if (!child_rsc->fns->active(child_rsc, TRUE)) {
fns               158 lib/pengine/group.c     bool child_filtered = child->fns->is_filtered(child, only_rsc, FALSE);
fns               159 lib/pengine/group.c     bool child_active = child->fns->active(child, FALSE);
fns               245 lib/pengine/group.c         if (child_rsc->fns->active(child_rsc, all)) {
fns               278 lib/pengine/group.c         child_rsc->fns->print(child_rsc, child_text, options, print_data);
fns               326 lib/pengine/group.c             child_rsc->fns->print(child_rsc, child_text, options, print_data);
fns               359 lib/pengine/group.c     if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) {
fns               414 lib/pengine/group.c     gboolean active = rsc->fns->active(rsc, TRUE);
fns               415 lib/pengine/group.c     gboolean partially_active = rsc->fns->active(rsc, FALSE);
fns               419 lib/pengine/group.c     if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) {
fns               467 lib/pengine/group.c         child_rsc->fns->free(child_rsc);
fns               484 lib/pengine/group.c         enum rsc_role_e role = child_rsc->fns->state(child_rsc, current);
fns               516 lib/pengine/group.c             if (!child_rsc->fns->is_filtered(child_rsc, only_rsc, FALSE)) {
fns               319 lib/pengine/native.c         result = rsc->fns->find_rsc(child, id, on_node, flags);
fns               489 lib/pengine/native.c     status_print("active=\"%s\" ", pcmk__btoa(rsc->fns->active(rsc, TRUE)));
fns               982 lib/pengine/native.c     if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) {
fns              1002 lib/pengine/native.c              "active", pcmk__btoa(rsc->fns->active(rsc, TRUE)),
fns              1047 lib/pengine/native.c     if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) {
fns              1074 lib/pengine/native.c     if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) {
fns              1128 lib/pengine/native.c             child->fns->location(child, &result, current);
fns              1434 lib/pengine/native.c         return up->fns->is_filtered(up, only_rsc, FALSE);
fns               387 lib/pengine/pe_actions.c                 if (!action->rsc->fns->active(action->rsc, TRUE)
fns              2277 lib/pengine/pe_output.c             if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) {
fns              2831 lib/pengine/pe_output.c         gboolean is_active = rsc->fns->active(rsc, TRUE);
fns              2832 lib/pengine/pe_output.c         gboolean partially_active = rsc->fns->active(rsc, FALSE);
fns               140 lib/pengine/status.c             ((pcmk_resource_t *) (item->data))->fns->count(item->data);
fns               171 lib/pengine/status.c         rsc->fns->free(rsc);
fns               405 lib/pengine/status.c             parent->fns->find_rsc(parent, id, NULL, flags);
fns              1961 lib/pengine/unpack.c     pcmk_resource_t *orphan = top->fns->find_rsc(top, rsc_id, NULL,
fns              2018 lib/pengine/unpack.c         child->fns->location(child, &locations, 2);
fns              2034 lib/pengine/unpack.c                 rsc = parent->fns->find_rsc(child, rsc_id, NULL,
fns              2062 lib/pengine/unpack.c                 inactive_instance = parent->fns->find_rsc(child, rsc_id, NULL,
fns               777 lib/pengine/utils.c     return (rsc->fns->active(rsc, FALSE) && !pe__rsc_running_on_any(rsc, only_node));
fns               992 tools/crm_resource.c             enum rsc_role_e child_role = child->fns->state(child, TRUE);
fns              1923 tools/crm_resource.c             pcmk_node_t *current = rsc->fns->active_node(rsc, &count, NULL);
fns               614 tools/crm_resource_print.c             rsc->fns->location(rsc, &hosts, TRUE);
fns               666 tools/crm_resource_print.c         rsc->fns->location(rsc, &hosts, TRUE);
fns               699 tools/crm_resource_print.c             rsc->fns->location(rsc, &hosts, TRUE);
fns               764 tools/crm_resource_print.c         rsc->fns->location(rsc, &hosts, TRUE);
fns                34 tools/crm_resource_runtime.c                            child->fns->state(child, TRUE) == pcmk_role_promoted;
fns                67 tools/crm_resource_runtime.c             ni->promoted = (rsc->fns->state(rsc, TRUE) == pcmk_role_promoted);
fns              1107 tools/crm_resource_runtime.c     rsc->fns->location(rsc, &hosts, TRUE);
fns              1484 tools/crm_resource_runtime.c         rsc = parent->fns->find_rsc(parent, lookup_id, node,
fns              2169 tools/crm_resource_runtime.c             enum rsc_role_e child_role = child->fns->state(child, TRUE);