fns 359 include/crm/pengine/internal.h return (rsc == NULL)? NULL : rsc->fns->active_node(rsc, NULL, NULL); fns 358 include/crm/pengine/pe_types.h resource_object_functions_t *fns; fns 157 include/pcmki/pcmki_transition.h void pcmk__set_graph_functions(pcmk__graph_functions_t *fns); fns 146 lib/pacemaker/pcmk_graph_consumer.c pcmk__set_graph_functions(pcmk__graph_functions_t *fns) fns 149 lib/pacemaker/pcmk_graph_consumer.c graph_fns = fns; fns 543 lib/pacemaker/pcmk_sched_actions.c first_node = first->rsc->fns->location(first->rsc, NULL, FALSE); fns 554 lib/pacemaker/pcmk_sched_actions.c then_node = then->rsc->fns->location(then->rsc, NULL, FALSE); fns 718 lib/pacemaker/pcmk_sched_actions.c enum rsc_role_e then_rsc_role = then->rsc->fns->state(then->rsc, TRUE); fns 344 lib/pacemaker/pcmk_sched_bundle.c active_node_lh = rsc_lh->fns->location(rsc_lh, NULL, current); fns 484 lib/pacemaker/pcmk_sched_bundle.c pe_node_t *chosen = replica->container->fns->location(replica->container, fns 323 lib/pacemaker/pcmk_sched_clone.c pe_node_t *chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); fns 487 lib/pacemaker/pcmk_sched_clone.c local_node = child_rsc->fns->location(child_rsc, NULL, FALSE); fns 112 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *match = parent->fns->find_rsc(parent, id, NULL, fns 402 lib/pacemaker/pcmk_sched_instances.c node1 = instance1->fns->active_node(instance1, &nnodes1, NULL); fns 403 lib/pacemaker/pcmk_sched_instances.c node2 = instance2->fns->active_node(instance2, &nnodes2, NULL); fns 573 lib/pacemaker/pcmk_sched_instances.c return instance->fns->location(instance, NULL, FALSE) != NULL; fns 1014 lib/pacemaker/pcmk_sched_instances.c && (role != instance->fns->state(instance, current))) { fns 1023 lib/pacemaker/pcmk_sched_instances.c instance_node = instance->fns->location(instance, NULL, current); fns 1106 lib/pacemaker/pcmk_sched_instances.c const pe_node_t *node = match_rsc->fns->location(match_rsc, NULL, current); fns 48 lib/pacemaker/pcmk_sched_nodes.c if (guest->fns->location(guest, NULL, FALSE) == NULL) { fns 1308 lib/pacemaker/pcmk_sched_ordering.c if ((first_rsc->fns->state(first_rsc, TRUE) == RSC_ROLE_STOPPED) fns 1315 lib/pacemaker/pcmk_sched_ordering.c } else if ((first_rsc->fns->state(first_rsc, TRUE) == RSC_ROLE_UNPROMOTED) fns 665 lib/pacemaker/pcmk_sched_primitive.c current = rsc->fns->active_node(rsc, &num_all_active, &num_clean_active); fns 175 lib/pacemaker/pcmk_sched_promotable.c node = rsc->fns->location(rsc, NULL, FALSE); fns 182 lib/pacemaker/pcmk_sched_promotable.c if (rsc->fns->state(rsc, TRUE) == RSC_ROLE_PROMOTED) { fns 269 lib/pacemaker/pcmk_sched_promotable.c role1 = rsc1->fns->state(rsc1, TRUE); fns 270 lib/pacemaker/pcmk_sched_promotable.c role2 = rsc2->fns->state(rsc2, TRUE); fns 314 lib/pacemaker/pcmk_sched_promotable.c chosen = child->fns->location(child, NULL, FALSE); fns 408 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *chosen = child->fns->location(child, NULL, FALSE); fns 501 lib/pacemaker/pcmk_sched_promotable.c active = clone->fns->find_rsc(child, id, node, fns 530 lib/pacemaker/pcmk_sched_promotable.c child = clone->fns->find_rsc(child, id, NULL, pe_find_clone); fns 825 lib/pacemaker/pcmk_sched_promotable.c rsc->fns->location(rsc, &assigned, FALSE); fns 862 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *chosen = instance->fns->location(instance, NULL, FALSE); fns 900 lib/pacemaker/pcmk_sched_promotable.c if (instance->fns->state(instance, TRUE) == RSC_ROLE_STARTED) { fns 905 lib/pacemaker/pcmk_sched_promotable.c chosen = instance->fns->location(instance, &list, FALSE); fns 915 lib/pacemaker/pcmk_sched_promotable.c next_role = instance->fns->state(instance, FALSE); fns 1212 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *node = instance->fns->location(instance, NULL, FALSE); fns 1217 lib/pacemaker/pcmk_sched_promotable.c if (instance->fns->state(instance, FALSE) == colocation->primary_role) { fns 1077 lib/pengine/bundle.c rsc->fns->free(rsc); fns 1115 lib/pengine/bundle.c gboolean child_active = rsc->fns->active(rsc, all); fns 1205 lib/pengine/bundle.c rsc->fns->print(rsc, pre_text, options, print_data); fns 1277 lib/pengine/bundle.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 1296 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); fns 1298 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); fns 1299 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); fns 1301 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); fns 1428 lib/pengine/bundle.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 1446 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); fns 1448 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); fns 1449 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); fns 1451 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); fns 1561 lib/pengine/bundle.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 1579 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); fns 1581 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); fns 1582 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); fns 1584 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); fns 1767 lib/pengine/bundle.c replica->ip->fns->free(replica->ip); fns 1773 lib/pengine/bundle.c replica->container->fns->free(replica->container); fns 1779 lib/pengine/bundle.c replica->remote->fns->free(replica->remote); fns 1815 lib/pengine/bundle.c bundle_data->child->fns->free(bundle_data->child); fns 1857 lib/pengine/bundle.c replica->ip->fns->count(replica->ip); fns 1860 lib/pengine/bundle.c replica->child->fns->count(replica->child); fns 1863 lib/pengine/bundle.c replica->container->fns->count(replica->container); fns 1866 lib/pengine/bundle.c replica->remote->fns->count(replica->remote); fns 1886 lib/pengine/bundle.c if (replica->ip != NULL && !replica->ip->fns->is_filtered(replica->ip, only_rsc, FALSE)) { fns 1889 lib/pengine/bundle.c } else if (replica->child != NULL && !replica->child->fns->is_filtered(replica->child, only_rsc, FALSE)) { fns 1892 lib/pengine/bundle.c } else if (!replica->container->fns->is_filtered(replica->container, only_rsc, FALSE)) { fns 1895 lib/pengine/bundle.c } else if (replica->remote != NULL && !replica->remote->fns->is_filtered(replica->remote, only_rsc, FALSE)) { fns 1976 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 547 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); fns 633 lib/pengine/clone.c gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE); fns 668 lib/pengine/clone.c } else if (child_rsc->fns->active(child_rsc, TRUE)) { fns 671 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); fns 676 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); fns 702 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); fns 831 lib/pengine/clone.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 847 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { fns 910 lib/pengine/clone.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 920 lib/pengine/clone.c gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE); fns 926 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { fns 966 lib/pengine/clone.c } else if (child_rsc->fns->active(child_rsc, TRUE)) { fns 969 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); fns 974 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); fns 1187 lib/pengine/clone.c child_rsc->fns->free(child_rsc); fns 1210 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, current); fns 1262 lib/pengine/clone.c if (!child_rsc->fns->is_filtered(child_rsc, only_rsc, FALSE)) { fns 679 lib/pengine/complex.c (*rsc)->fns = &resource_class_functions[(*rsc)->variant]; fns 870 lib/pengine/complex.c if ((*rsc)->fns->unpack(*rsc, data_set) == FALSE) { fns 871 lib/pengine/complex.c (*rsc)->fns->free(*rsc); fns 896 lib/pengine/complex.c (*rsc)->fns->free(*rsc); fns 1130 lib/pengine/complex.c return rsc->fns->active_node(rsc, count, NULL); fns 1133 lib/pengine/complex.c return rsc->fns->active_node(rsc, NULL, count); fns 1142 lib/pengine/complex.c ((pe_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 244 lib/pengine/group.c if (child_rsc->fns->active(child_rsc, all)) { fns 277 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); fns 325 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); fns 357 lib/pengine/group.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 411 lib/pengine/group.c gboolean active = rsc->fns->active(rsc, TRUE); fns 412 lib/pengine/group.c gboolean partially_active = rsc->fns->active(rsc, FALSE); fns 416 lib/pengine/group.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 464 lib/pengine/group.c child_rsc->fns->free(child_rsc); fns 481 lib/pengine/group.c enum rsc_role_e role = child_rsc->fns->state(child_rsc, current); fns 513 lib/pengine/group.c if (!child_rsc->fns->is_filtered(child_rsc, only_rsc, FALSE)) { fns 309 lib/pengine/native.c result = rsc->fns->find_rsc(child, id, on_node, flags); fns 473 lib/pengine/native.c status_print("active=\"%s\" ", pcmk__btoa(rsc->fns->active(rsc, TRUE))); fns 961 lib/pengine/native.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 981 lib/pengine/native.c "active", pcmk__btoa(rsc->fns->active(rsc, TRUE)), fns 1025 lib/pengine/native.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 1051 lib/pengine/native.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 1104 lib/pengine/native.c child->fns->location(child, &result, current); fns 1410 lib/pengine/native.c return up->fns->is_filtered(up, only_rsc, FALSE); fns 382 lib/pengine/pe_actions.c if (!action->rsc->fns->active(action->rsc, TRUE) fns 2230 lib/pengine/pe_output.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 2779 lib/pengine/pe_output.c gboolean is_active = rsc->fns->active(rsc, TRUE); fns 2780 lib/pengine/pe_output.c gboolean partially_active = rsc->fns->active(rsc, FALSE); fns 140 lib/pengine/status.c ((pe_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 1754 lib/pengine/unpack.c pe_resource_t *orphan = top->fns->find_rsc(top, rsc_id, NULL, pe_find_clone); fns 1810 lib/pengine/unpack.c child->fns->location(child, &locations, 2); fns 1826 lib/pengine/unpack.c rsc = parent->fns->find_rsc(child, rsc_id, NULL, pe_find_clone); fns 1853 lib/pengine/unpack.c inactive_instance = parent->fns->find_rsc(child, rsc_id, NULL, fns 807 lib/pengine/utils.c return (rsc->fns->active(rsc, FALSE) && !pe__rsc_running_on_any(rsc, only_node)); fns 984 tools/crm_resource.c enum rsc_role_e child_role = child->fns->state(child, TRUE); fns 2014 tools/crm_resource.c pe_node_t *current = rsc->fns->active_node(rsc, &count, NULL); fns 609 tools/crm_resource_print.c rsc->fns->location(rsc, &hosts, TRUE); fns 661 tools/crm_resource_print.c rsc->fns->location(rsc, &hosts, TRUE); fns 694 tools/crm_resource_print.c rsc->fns->location(rsc, &hosts, TRUE); fns 759 tools/crm_resource_print.c rsc->fns->location(rsc, &hosts, TRUE); fns 34 tools/crm_resource_runtime.c child->fns->state(child, TRUE) == RSC_ROLE_PROMOTED; fns 67 tools/crm_resource_runtime.c ni->promoted = (rsc->fns->state(rsc, TRUE) == RSC_ROLE_PROMOTED); fns 1095 tools/crm_resource_runtime.c rsc->fns->location(rsc, &hosts, TRUE); fns 1438 tools/crm_resource_runtime.c rsc = parent->fns->find_rsc(parent, lookup_id, node, pe_find_any|pe_find_current); fns 2105 tools/crm_resource_runtime.c enum rsc_role_e child_role = child->fns->state(child, TRUE);