fns               412 include/crm/common/resources.h     pcmk_rsc_methods_t *fns;            // Resource object methods
fns                59 include/crm/common/roles_internal.h     return (rsc == NULL)? NULL : rsc->fns->active_node(rsc, NULL, NULL);
fns               157 include/pcmki/pcmki_transition.h void pcmk__set_graph_functions(pcmk__graph_functions_t *fns);
fns               213 lib/pacemaker/pcmk_graph_consumer.c pcmk__set_graph_functions(pcmk__graph_functions_t *fns)
fns               216 lib/pacemaker/pcmk_graph_consumer.c     graph_fns = fns;
fns               553 lib/pacemaker/pcmk_sched_actions.c             first_node = first->rsc->fns->location(first->rsc, NULL, FALSE);
fns               563 lib/pacemaker/pcmk_sched_actions.c             then_node = then->rsc->fns->location(then->rsc, NULL, FALSE);
fns               729 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               488 lib/pacemaker/pcmk_sched_bundle.c     chosen = replica->container->fns->location(replica->container, NULL, 0);
fns               936 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               333 lib/pacemaker/pcmk_sched_clone.c             pcmk_node_t *chosen = instance->fns->location(instance, NULL, 0);
fns               543 lib/pacemaker/pcmk_sched_clone.c         instance_node = instance->fns->location(instance, NULL, 0);
fns               117 lib/pacemaker/pcmk_sched_constraints.c         pcmk_resource_t *match = parent->fns->find_rsc(parent, id, NULL,
fns               363 lib/pacemaker/pcmk_sched_instances.c     node1 = instance1->fns->active_node(instance1, &nnodes1, NULL);
fns               364 lib/pacemaker/pcmk_sched_instances.c     node2 = instance2->fns->active_node(instance2, &nnodes2, NULL);
fns              1084 lib/pacemaker/pcmk_sched_instances.c         && (role != instance->fns->state(instance, current))) {
fns              1093 lib/pacemaker/pcmk_sched_instances.c         instance_node = instance->fns->location(instance, NULL, current);
fns              1185 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              1346 lib/pacemaker/pcmk_sched_ordering.c         if ((first_rsc->fns->state(first_rsc, TRUE) == pcmk_role_stopped)
fns              1354 lib/pacemaker/pcmk_sched_ordering.c         } else if ((first_rsc->fns->state(first_rsc,
fns               712 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               279 lib/pacemaker/pcmk_sched_promotable.c     role1 = rsc1->fns->state(rsc1, TRUE);
fns               280 lib/pacemaker/pcmk_sched_promotable.c     role2 = rsc2->fns->state(rsc2, TRUE);
fns               325 lib/pacemaker/pcmk_sched_promotable.c     chosen = child->fns->location(child, NULL, FALSE);
fns               387 lib/pacemaker/pcmk_sched_promotable.c     pcmk_node_t *chosen = child->fns->location(child, NULL, FALSE);
fns               488 lib/pacemaker/pcmk_sched_promotable.c         active = clone->fns->find_rsc(child, id, node,
fns               518 lib/pacemaker/pcmk_sched_promotable.c         child = clone->fns->find_rsc(child, id, NULL,
fns               825 lib/pacemaker/pcmk_sched_promotable.c     rsc->fns->location(rsc, &assigned, FALSE);
fns               862 lib/pacemaker/pcmk_sched_promotable.c     pcmk_node_t *chosen = instance->fns->location(instance, NULL, FALSE);
fns               905 lib/pacemaker/pcmk_sched_promotable.c     if (instance->fns->state(instance, TRUE) == pcmk_role_started) {
fns               910 lib/pacemaker/pcmk_sched_promotable.c     chosen = instance->fns->location(instance, &list, FALSE);
fns               920 lib/pacemaker/pcmk_sched_promotable.c     next_role = instance->fns->state(instance, FALSE);
fns              1215 lib/pacemaker/pcmk_sched_promotable.c         pcmk_node_t *node = instance->fns->location(instance, NULL, FALSE);
fns              1220 lib/pacemaker/pcmk_sched_promotable.c         if (instance->fns->state(instance, FALSE) == colocation->primary_role) {
fns              1304 lib/pengine/bundle.c             rsc->fns->free(rsc);
fns              1342 lib/pengine/bundle.c         gboolean child_active = rsc->fns->active(rsc, all);
fns              1432 lib/pengine/bundle.c         rsc->fns->print(rsc, pre_text, options, print_data);
fns              1508 lib/pengine/bundle.c     if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) {
fns              1527 lib/pengine/bundle.c                    !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything);
fns              1529 lib/pengine/bundle.c                       !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything);
fns              1530 lib/pengine/bundle.c         print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything);
fns              1532 lib/pengine/bundle.c                        !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything);
fns              1671 lib/pengine/bundle.c     if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) {
fns              1689 lib/pengine/bundle.c                    !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything);
fns              1691 lib/pengine/bundle.c                       !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything);
fns              1692 lib/pengine/bundle.c         print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything);
fns              1694 lib/pengine/bundle.c                        !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything);
fns              1810 lib/pengine/bundle.c     if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) {
fns              1828 lib/pengine/bundle.c                    !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything);
fns              1830 lib/pengine/bundle.c                       !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything);
fns              1831 lib/pengine/bundle.c         print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything);
fns              1833 lib/pengine/bundle.c                        !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything);
fns              2020 lib/pengine/bundle.c         replica->ip->fns->free(replica->ip);
fns              2026 lib/pengine/bundle.c         replica->container->fns->free(replica->container);
fns              2032 lib/pengine/bundle.c         replica->remote->fns->free(replica->remote);
fns              2068 lib/pengine/bundle.c         bundle_data->child->fns->free(bundle_data->child);
fns              2109 lib/pengine/bundle.c             replica->ip->fns->count(replica->ip);
fns              2112 lib/pengine/bundle.c             replica->child->fns->count(replica->child);
fns              2115 lib/pengine/bundle.c             replica->container->fns->count(replica->container);
fns              2118 lib/pengine/bundle.c             replica->remote->fns->count(replica->remote);
fns              2138 lib/pengine/bundle.c             if (replica->ip != NULL && !replica->ip->fns->is_filtered(replica->ip, only_rsc, FALSE)) {
fns              2141 lib/pengine/bundle.c             } else if (replica->child != NULL && !replica->child->fns->is_filtered(replica->child, only_rsc, FALSE)) {
fns              2144 lib/pengine/bundle.c             } else if (!replica->container->fns->is_filtered(replica->container, only_rsc, FALSE)) {
fns              2147 lib/pengine/bundle.c             } else if (replica->remote != NULL && !replica->remote->fns->is_filtered(replica->remote, only_rsc, FALSE)) {
fns              2228 lib/pengine/bundle.c         node = container->fns->active_node(container, count_all, count_clean);
fns               471 lib/pengine/clone.c         gboolean child_active = child_rsc->fns->active(child_rsc, all);
fns               580 lib/pengine/clone.c         child_rsc->fns->print(child_rsc, child_text, options, print_data);
fns               667 lib/pengine/clone.c         gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE);
fns               703 lib/pengine/clone.c         } else if (child_rsc->fns->active(child_rsc, TRUE)) {
fns               708 lib/pengine/clone.c             location = child_rsc->fns->location(child_rsc, NULL, TRUE);
fns               712 lib/pengine/clone.c                 enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE);
fns               738 lib/pengine/clone.c             child_rsc->fns->print(child_rsc, child_text, options, print_data);
fns               866 lib/pengine/clone.c     if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) {
fns               882 lib/pengine/clone.c         if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) {
fns               958 lib/pengine/clone.c     if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) {
fns               968 lib/pengine/clone.c         gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE);
fns               974 lib/pengine/clone.c         if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) {
fns              1015 lib/pengine/clone.c         } else if (child_rsc->fns->active(child_rsc, TRUE)) {
fns              1020 lib/pengine/clone.c             location = child_rsc->fns->location(child_rsc, NULL, TRUE);
fns              1024 lib/pengine/clone.c                 enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE);
fns              1241 lib/pengine/clone.c         child_rsc->fns->free(child_rsc);
fns              1264 lib/pengine/clone.c         enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, current);
fns              1317 lib/pengine/clone.c                 if (!child_rsc->fns->is_filtered(child_rsc, only_rsc, FALSE)) {
fns               725 lib/pengine/complex.c     (*rsc)->fns = &resource_class_functions[(*rsc)->variant];
fns               954 lib/pengine/complex.c     if ((*rsc)->fns->unpack(*rsc, scheduler) == FALSE) {
fns               955 lib/pengine/complex.c         (*rsc)->fns->free(*rsc);
fns               981 lib/pengine/complex.c             (*rsc)->fns->free(*rsc);
fns              1217 lib/pengine/complex.c         return rsc->fns->active_node(rsc, count, NULL);
fns              1220 lib/pengine/complex.c         return rsc->fns->active_node(rsc, NULL, count);
fns              1229 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               416 lib/pengine/group.c     gboolean active = rsc->fns->active(rsc, TRUE);
fns               417 lib/pengine/group.c     gboolean partially_active = rsc->fns->active(rsc, FALSE);
fns               421 lib/pengine/group.c     if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) {
fns               469 lib/pengine/group.c         child_rsc->fns->free(child_rsc);
fns               486 lib/pengine/group.c         enum rsc_role_e role = child_rsc->fns->state(child_rsc, current);
fns               518 lib/pengine/group.c             if (!child_rsc->fns->is_filtered(child_rsc, only_rsc, FALSE)) {
fns               315 lib/pengine/native.c         result = rsc->fns->find_rsc(child, id, on_node, flags);
fns               483 lib/pengine/native.c     status_print("active=\"%s\" ", pcmk__btoa(rsc->fns->active(rsc, TRUE)));
fns               979 lib/pengine/native.c     const char *active = pcmk__btoa(rsc->fns->active(rsc, TRUE));
fns               993 lib/pengine/native.c     if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) {
fns              1065 lib/pengine/native.c     if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) {
fns              1092 lib/pengine/native.c     if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) {
fns              1146 lib/pengine/native.c             child->fns->location(child, &result, current);
fns              1452 lib/pengine/native.c         return up->fns->is_filtered(up, only_rsc, FALSE);
fns               389 lib/pengine/pe_actions.c                 if (!action->rsc->fns->active(action->rsc, TRUE)
fns              2471 lib/pengine/pe_output.c             if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) {
fns              3036 lib/pengine/pe_output.c         gboolean is_active = rsc->fns->active(rsc, TRUE);
fns              3037 lib/pengine/pe_output.c         gboolean partially_active = rsc->fns->active(rsc, FALSE);
fns               179 lib/pengine/status.c             ((pcmk_resource_t *) (item->data))->fns->count(item->data);
fns               210 lib/pengine/status.c         rsc->fns->free(rsc);
fns               444 lib/pengine/status.c             parent->fns->find_rsc(parent, id, NULL, flags);
fns              2051 lib/pengine/unpack.c     pcmk_resource_t *orphan = top->fns->find_rsc(top, rsc_id, NULL,
fns              2107 lib/pengine/unpack.c         child->fns->location(child, &locations, 2);
fns              2123 lib/pengine/unpack.c                 rsc = parent->fns->find_rsc(child, rsc_id, NULL,
fns              2151 lib/pengine/unpack.c                 inactive_instance = parent->fns->find_rsc(child, rsc_id, NULL,
fns               791 lib/pengine/utils.c     return (rsc->fns->active(rsc, FALSE) && !pe__rsc_running_on_any(rsc, only_node));
fns               874 tools/crm_resource.c             enum rsc_role_e child_role = child->fns->state(child, TRUE);
fns              1995 tools/crm_resource.c             pcmk_node_t *current = rsc->fns->active_node(rsc, &count, NULL);
fns               705 tools/crm_resource_print.c             rsc->fns->location(rsc, &hosts, TRUE);
fns               757 tools/crm_resource_print.c         rsc->fns->location(rsc, &hosts, TRUE);
fns               792 tools/crm_resource_print.c             rsc->fns->location(rsc, &hosts, TRUE);
fns               858 tools/crm_resource_print.c         rsc->fns->location(rsc, &hosts, TRUE);
fns                40 tools/crm_resource_runtime.c                            child->fns->state(child, TRUE) == pcmk_role_promoted;
fns                74 tools/crm_resource_runtime.c             ni->promoted = (rsc->fns->state(rsc, TRUE) == pcmk_role_promoted);
fns              1208 tools/crm_resource_runtime.c     rsc->fns->location(rsc, &hosts, TRUE);
fns              1583 tools/crm_resource_runtime.c         rsc = parent->fns->find_rsc(parent, lookup_id, node,
fns              2322 tools/crm_resource_runtime.c             enum rsc_role_e child_role = child->fns->state(child, TRUE);