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     pcmk__assert((fns != NULL) && (fns->rsc != NULL) && (fns->cluster != NULL)
fns               217 lib/pacemaker/pcmk_graph_consumer.c                  && (fns->pseudo != NULL) && (fns->fence != NULL));
fns               219 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               331 lib/pacemaker/pcmk_sched_clone.c             pcmk_node_t *chosen = instance->fns->location(instance, NULL, 0);
fns               541 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              1347 lib/pacemaker/pcmk_sched_ordering.c         if ((first_rsc->fns->state(first_rsc, TRUE) == pcmk_role_stopped)
fns              1355 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               834 lib/pacemaker/pcmk_sched_promotable.c     rsc->fns->location(rsc, &assigned, FALSE);
fns               871 lib/pacemaker/pcmk_sched_promotable.c     pcmk_node_t *chosen = instance->fns->location(instance, NULL, FALSE);
fns               914 lib/pacemaker/pcmk_sched_promotable.c     if (instance->fns->state(instance, TRUE) == pcmk_role_started) {
fns               919 lib/pacemaker/pcmk_sched_promotable.c     chosen = instance->fns->location(instance, &list, FALSE);
fns               929 lib/pacemaker/pcmk_sched_promotable.c     next_role = instance->fns->state(instance, FALSE);
fns              1224 lib/pacemaker/pcmk_sched_promotable.c         pcmk_node_t *node = instance->fns->location(instance, NULL, FALSE);
fns              1229 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              1433 lib/pengine/bundle.c         rsc->fns->print(rsc, pre_text, options, print_data);
fns              1509 lib/pengine/bundle.c     if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) {
fns              1528 lib/pengine/bundle.c                    !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything);
fns              1530 lib/pengine/bundle.c                       !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything);
fns              1531 lib/pengine/bundle.c         print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything);
fns              1533 lib/pengine/bundle.c                        !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything);
fns              1672 lib/pengine/bundle.c     if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) {
fns              1690 lib/pengine/bundle.c                    !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything);
fns              1692 lib/pengine/bundle.c                       !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything);
fns              1693 lib/pengine/bundle.c         print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything);
fns              1695 lib/pengine/bundle.c                        !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything);
fns              1811 lib/pengine/bundle.c     if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) {
fns              1829 lib/pengine/bundle.c                    !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything);
fns              1831 lib/pengine/bundle.c                       !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything);
fns              1832 lib/pengine/bundle.c         print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything);
fns              1834 lib/pengine/bundle.c                        !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything);
fns              2021 lib/pengine/bundle.c         replica->ip->fns->free(replica->ip);
fns              2027 lib/pengine/bundle.c         replica->container->fns->free(replica->container);
fns              2033 lib/pengine/bundle.c         replica->remote->fns->free(replica->remote);
fns              2069 lib/pengine/bundle.c         bundle_data->child->fns->free(bundle_data->child);
fns              2110 lib/pengine/bundle.c             replica->ip->fns->count(replica->ip);
fns              2113 lib/pengine/bundle.c             replica->child->fns->count(replica->child);
fns              2116 lib/pengine/bundle.c             replica->container->fns->count(replica->container);
fns              2119 lib/pengine/bundle.c             replica->remote->fns->count(replica->remote);
fns              2139 lib/pengine/bundle.c             if (replica->ip != NULL && !replica->ip->fns->is_filtered(replica->ip, only_rsc, FALSE)) {
fns              2142 lib/pengine/bundle.c             } else if (replica->child != NULL && !replica->child->fns->is_filtered(replica->child, only_rsc, FALSE)) {
fns              2145 lib/pengine/bundle.c             } else if (!replica->container->fns->is_filtered(replica->container, only_rsc, FALSE)) {
fns              2148 lib/pengine/bundle.c             } else if (replica->remote != NULL && !replica->remote->fns->is_filtered(replica->remote, only_rsc, FALSE)) {
fns              2229 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               777 lib/pengine/complex.c     (*rsc)->fns = &resource_class_functions[(*rsc)->variant];
fns               993 lib/pengine/complex.c     if ((*rsc)->fns->unpack(*rsc, scheduler) == FALSE) {
fns               994 lib/pengine/complex.c         (*rsc)->fns->free(*rsc);
fns              1020 lib/pengine/complex.c             (*rsc)->fns->free(*rsc);
fns              1256 lib/pengine/complex.c         return rsc->fns->active_node(rsc, count, NULL);
fns              1259 lib/pengine/complex.c         return rsc->fns->active_node(rsc, NULL, count);
fns              1268 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              2482 lib/pengine/pe_output.c             if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) {
fns              3047 lib/pengine/pe_output.c         gboolean is_active = rsc->fns->active(rsc, TRUE);
fns              3048 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               449 lib/pengine/status.c             parent->fns->find_rsc(parent, id, NULL, flags);
fns              2084 lib/pengine/unpack.c     pcmk_resource_t *orphan = top->fns->find_rsc(top, rsc_id, NULL,
fns              2140 lib/pengine/unpack.c         child->fns->location(child, &locations, 2);
fns              2156 lib/pengine/unpack.c                 rsc = parent->fns->find_rsc(child, rsc_id, NULL,
fns              2184 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              2324 tools/crm_resource_runtime.c             enum rsc_role_e child_role = child->fns->state(child, TRUE);