fns 347 include/crm/pengine/pe_types.h resource_object_functions_t *fns; fns 163 include/pcmki/pcmki_transition.h void pcmk__set_graph_functions(crm_graph_functions_t *fns); fns 146 lib/pacemaker/pcmk_graph_consumer.c pcmk__set_graph_functions(crm_graph_functions_t *fns) fns 149 lib/pacemaker/pcmk_graph_consumer.c graph_fns = fns; fns 533 lib/pacemaker/pcmk_sched_actions.c first_node = first->rsc->fns->location(first->rsc, NULL, FALSE); fns 544 lib/pacemaker/pcmk_sched_actions.c then_node = then->rsc->fns->location(then->rsc, NULL, FALSE); fns 387 lib/pacemaker/pcmk_sched_bundle.c active_node_lh = rsc_lh->fns->location(rsc_lh, NULL, current); fns 521 lib/pacemaker/pcmk_sched_bundle.c pe_node_t *chosen = replica->container->fns->location(replica->container, fns 485 lib/pacemaker/pcmk_sched_clone.c return rsc->fns->location(rsc, NULL, FALSE); fns 1012 lib/pacemaker/pcmk_sched_clone.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, current); fns 1017 lib/pacemaker/pcmk_sched_clone.c node = child_rsc->fns->location(child_rsc, NULL, current); fns 1048 lib/pacemaker/pcmk_sched_clone.c local_node = local_child->fns->location(local_child, NULL, current); fns 1169 lib/pacemaker/pcmk_sched_clone.c pe_node_t *chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); fns 1419 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 1854 lib/pacemaker/pcmk_sched_native.c enum rsc_role_e then_rsc_role = then_rsc ? then_rsc->fns->state(then_rsc, TRUE) : 0; fns 1449 lib/pacemaker/pcmk_sched_ordering.c if ((lh_rsc->fns->state(lh_rsc, TRUE) == RSC_ROLE_STOPPED) fns 1456 lib/pacemaker/pcmk_sched_ordering.c } else if ((lh_rsc->fns->state(lh_rsc, TRUE) == RSC_ROLE_UNPROMOTED) fns 173 lib/pacemaker/pcmk_sched_promotable.c return guest->fns->location(guest, NULL, FALSE); fns 187 lib/pacemaker/pcmk_sched_promotable.c role = rsc->fns->state(rsc, FALSE); fns 204 lib/pacemaker/pcmk_sched_promotable.c node = rsc->fns->location(rsc, NULL, FALSE); fns 210 lib/pacemaker/pcmk_sched_promotable.c if (rsc->fns->state(rsc, TRUE) == RSC_ROLE_PROMOTED) { fns 269 lib/pacemaker/pcmk_sched_promotable.c role1 = resource1->fns->state(resource1, TRUE); fns 270 lib/pacemaker/pcmk_sched_promotable.c role2 = resource2->fns->state(resource2, TRUE); fns 320 lib/pacemaker/pcmk_sched_promotable.c chosen = child->fns->location(child, NULL, FALSE); fns 398 lib/pacemaker/pcmk_sched_promotable.c chosen = child->fns->location(child, NULL, FALSE); fns 432 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *active = parent->fns->find_rsc(child, key, node, pe_find_clone|pe_find_current); fns 458 lib/pacemaker/pcmk_sched_promotable.c rsc = parent->fns->find_rsc(child, key, NULL, pe_find_clone); fns 639 lib/pacemaker/pcmk_sched_promotable.c rsc->fns->location(rsc, &allocated, FALSE); fns 694 lib/pacemaker/pcmk_sched_promotable.c if (child_rsc->fns->state(child_rsc, TRUE) == RSC_ROLE_STARTED) { fns 698 lib/pacemaker/pcmk_sched_promotable.c chosen = child_rsc->fns->location(child_rsc, &list, FALSE); fns 709 lib/pacemaker/pcmk_sched_promotable.c next_role = child_rsc->fns->state(child_rsc, FALSE); fns 763 lib/pacemaker/pcmk_sched_promotable.c chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); fns 1004 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); fns 1005 lib/pacemaker/pcmk_sched_promotable.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, FALSE); fns 1197 lib/pengine/bundle.c if (new_rsc != NULL && new_rsc->fns != NULL) { fns 1198 lib/pengine/bundle.c new_rsc->fns->free(new_rsc); fns 1305 lib/pengine/bundle.c rsc->fns->free(rsc); fns 1343 lib/pengine/bundle.c gboolean child_active = rsc->fns->active(rsc, all); fns 1429 lib/pengine/bundle.c rsc->fns->print(rsc, pre_text, options, print_data); fns 1507 lib/pengine/bundle.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 1526 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); fns 1528 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); fns 1529 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); fns 1531 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); fns 1630 lib/pengine/bundle.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 1648 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); fns 1650 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); fns 1651 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); fns 1653 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 1954 lib/pengine/bundle.c replica->ip->fns->free(replica->ip); fns 1960 lib/pengine/bundle.c replica->container->fns->free(replica->container); fns 1966 lib/pengine/bundle.c replica->remote->fns->free(replica->remote); fns 2002 lib/pengine/bundle.c bundle_data->child->fns->free(bundle_data->child); fns 2044 lib/pengine/bundle.c replica->ip->fns->count(replica->ip); fns 2047 lib/pengine/bundle.c replica->child->fns->count(replica->child); fns 2050 lib/pengine/bundle.c replica->container->fns->count(replica->container); fns 2053 lib/pengine/bundle.c replica->remote->fns->count(replica->remote); fns 2072 lib/pengine/bundle.c if (replica->ip != NULL && !replica->ip->fns->is_filtered(replica->ip, only_rsc, FALSE)) { fns 2075 lib/pengine/bundle.c } else if (replica->child != NULL && !replica->child->fns->is_filtered(replica->child, only_rsc, FALSE)) { fns 2078 lib/pengine/bundle.c } else if (!replica->container->fns->is_filtered(replica->container, only_rsc, FALSE)) { fns 2081 lib/pengine/bundle.c } else if (replica->remote != NULL && !replica->remote->fns->is_filtered(replica->remote, only_rsc, FALSE)) { fns 352 lib/pengine/clone.c gboolean child_active = child_rsc->fns->active(child_rsc, all); fns 441 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); fns 523 lib/pengine/clone.c gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE); fns 557 lib/pengine/clone.c } else if (child_rsc->fns->active(child_rsc, TRUE)) { fns 560 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); fns 565 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); fns 591 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); fns 708 lib/pengine/clone.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 724 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { fns 780 lib/pengine/clone.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 790 lib/pengine/clone.c gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE); fns 796 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { fns 836 lib/pengine/clone.c } else if (child_rsc->fns->active(child_rsc, TRUE)) { fns 839 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); fns 844 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); fns 1053 lib/pengine/clone.c child_rsc->fns->free(child_rsc); fns 1076 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, current); fns 1125 lib/pengine/clone.c if (!child_rsc->fns->is_filtered(child_rsc, only_rsc, FALSE)) { fns 575 lib/pengine/complex.c (*rsc)->fns = &resource_class_functions[(*rsc)->variant]; fns 841 lib/pengine/complex.c if ((*rsc)->fns->unpack(*rsc, data_set) == FALSE) { fns 1102 lib/pengine/complex.c ((pe_resource_t *) item->data)->fns->count(item->data); fns 34 lib/pengine/group.c if (!child_rsc->fns->active(child_rsc, TRUE)) { fns 77 lib/pengine/group.c bool child_filtered = child->fns->is_filtered(child, only_rsc, FALSE); fns 78 lib/pengine/group.c bool child_active = child->fns->active(child, FALSE); fns 138 lib/pengine/group.c if (new_rsc != NULL && new_rsc->fns != NULL) { fns 139 lib/pengine/group.c new_rsc->fns->free(new_rsc); fns 175 lib/pengine/group.c if (child_rsc->fns->active(child_rsc, all)) { fns 203 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); fns 246 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); fns 276 lib/pengine/group.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 323 lib/pengine/group.c gboolean active = rsc->fns->active(rsc, TRUE); fns 324 lib/pengine/group.c gboolean partially_active = rsc->fns->active(rsc, FALSE); fns 326 lib/pengine/group.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 374 lib/pengine/group.c child_rsc->fns->free(child_rsc); fns 391 lib/pengine/group.c enum rsc_role_e role = child_rsc->fns->state(child_rsc, current); fns 417 lib/pengine/group.c if (!child_rsc->fns->is_filtered(child_rsc, only_rsc, FALSE)) { fns 314 lib/pengine/native.c result = rsc->fns->find_rsc(child, id, on_node, flags); fns 472 lib/pengine/native.c status_print("active=\"%s\" ", pcmk__btoa(rsc->fns->active(rsc, TRUE))); fns 933 lib/pengine/native.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 949 lib/pengine/native.c "active", pcmk__btoa(rsc->fns->active(rsc, TRUE)), fns 990 lib/pengine/native.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 1016 lib/pengine/native.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 1069 lib/pengine/native.c child->fns->location(child, &result, current); fns 1371 lib/pengine/native.c return up->parent->fns->is_filtered(up->parent, only_rsc, FALSE); fns 1373 lib/pengine/native.c return up->fns->is_filtered(up, only_rsc, FALSE); fns 2064 lib/pengine/pe_output.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 2598 lib/pengine/pe_output.c gboolean is_active = rsc->fns->active(rsc, TRUE); fns 2599 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 798 lib/pengine/unpack.c if (new_rsc != NULL && new_rsc->fns != NULL) { fns 799 lib/pengine/unpack.c new_rsc->fns->free(new_rsc); fns 1723 lib/pengine/unpack.c pe_resource_t *orphan = top->fns->find_rsc(top, rsc_id, NULL, pe_find_clone); fns 1778 lib/pengine/unpack.c child->fns->location(child, &locations, 2); fns 1794 lib/pengine/unpack.c rsc = parent->fns->find_rsc(child, rsc_id, NULL, pe_find_clone); fns 1821 lib/pengine/unpack.c inactive_instance = parent->fns->find_rsc(child, rsc_id, NULL, fns 669 lib/pengine/utils.c if (!action->rsc->fns->active(action->rsc, TRUE) fns 2481 lib/pengine/utils.c return (rsc->fns->active(rsc, FALSE) && !pe__rsc_running_on_any(rsc, only_node)); fns 967 tools/crm_resource.c enum rsc_role_e child_role = child->fns->state(child, TRUE); fns 610 tools/crm_resource_print.c rsc->fns->location(rsc, &hosts, TRUE); fns 662 tools/crm_resource_print.c rsc->fns->location(rsc, &hosts, TRUE); fns 696 tools/crm_resource_print.c rsc->fns->location(rsc, &hosts, TRUE); fns 761 tools/crm_resource_print.c rsc->fns->location(rsc, &hosts, TRUE); fns 59 tools/crm_resource_runtime.c child->fns->state(child, TRUE) == RSC_ROLE_PROMOTED; fns 92 tools/crm_resource_runtime.c ni->promoted = (rsc->fns->state(rsc, TRUE) == RSC_ROLE_PROMOTED); fns 981 tools/crm_resource_runtime.c rsc->fns->location(rsc, &hosts, TRUE); fns 1314 tools/crm_resource_runtime.c rsc = parent->fns->find_rsc(parent, lookup_id, node, pe_find_any|pe_find_current); fns 1978 tools/crm_resource_runtime.c enum rsc_role_e child_role = child->fns->state(child, TRUE);