fns 319 include/crm/pengine/pe_types.h resource_object_functions_t *fns; fns 125 include/pcmki/pcmki_transition.h void set_graph_functions(crm_graph_functions_t * fns); fns 1876 lib/pacemaker/pcmk_sched_allocate.c if (lh_rsc->fns->state(lh_rsc, TRUE) == RSC_ROLE_STOPPED && pcmk__str_eq(op_type, RSC_STOP, pcmk__str_casei)) { fns 1881 lib/pacemaker/pcmk_sched_allocate.c } else if (lh_rsc->fns->state(lh_rsc, TRUE) == RSC_ROLE_SLAVE && pcmk__str_eq(op_type, RSC_DEMOTE, pcmk__str_casei)) { fns 402 lib/pacemaker/pcmk_sched_bundle.c active_node_lh = rsc_lh->fns->location(rsc_lh, NULL, current); fns 525 lib/pacemaker/pcmk_sched_bundle.c pe_node_t *chosen = replica->container->fns->location(replica->container, fns 438 lib/pacemaker/pcmk_sched_clone.c return rsc->fns->location(rsc, NULL, FALSE); fns 996 lib/pacemaker/pcmk_sched_clone.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, current); fns 1001 lib/pacemaker/pcmk_sched_clone.c node = child_rsc->fns->location(child_rsc, NULL, current); fns 1032 lib/pacemaker/pcmk_sched_clone.c local_node = local_child->fns->location(local_child, NULL, current); fns 1145 lib/pacemaker/pcmk_sched_clone.c pe_node_t *chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); fns 1417 lib/pacemaker/pcmk_sched_clone.c local_node = child_rsc->fns->location(child_rsc, NULL, FALSE); fns 196 lib/pacemaker/pcmk_sched_constraints.c pe_resource_t *match = parent->fns->find_rsc(parent, id, NULL, fns 568 lib/pacemaker/pcmk_sched_graph.c first_node = first->rsc->fns->location(first->rsc, NULL, FALSE); fns 575 lib/pacemaker/pcmk_sched_graph.c then_node = then->rsc->fns->location(then->rsc, NULL, FALSE); fns 2151 lib/pacemaker/pcmk_sched_native.c enum rsc_role_e then_rsc_role = then_rsc ? then_rsc->fns->state(then_rsc, TRUE) : 0; fns 158 lib/pacemaker/pcmk_sched_promotable.c return guest->fns->location(guest, NULL, FALSE); fns 172 lib/pacemaker/pcmk_sched_promotable.c role = rsc->fns->state(rsc, FALSE); fns 189 lib/pacemaker/pcmk_sched_promotable.c node = rsc->fns->location(rsc, NULL, FALSE); fns 195 lib/pacemaker/pcmk_sched_promotable.c if (rsc->fns->state(rsc, TRUE) == RSC_ROLE_MASTER) { fns 252 lib/pacemaker/pcmk_sched_promotable.c role1 = resource1->fns->state(resource1, TRUE); fns 253 lib/pacemaker/pcmk_sched_promotable.c role2 = resource2->fns->state(resource2, TRUE); fns 303 lib/pacemaker/pcmk_sched_promotable.c chosen = child->fns->location(child, NULL, FALSE); fns 386 lib/pacemaker/pcmk_sched_promotable.c chosen = child->fns->location(child, NULL, FALSE); fns 420 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *active = parent->fns->find_rsc(child, key, node, pe_find_clone|pe_find_current); fns 446 lib/pacemaker/pcmk_sched_promotable.c rsc = parent->fns->find_rsc(child, key, NULL, pe_find_clone); fns 628 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 767 lib/pacemaker/pcmk_sched_promotable.c chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); fns 997 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); fns 998 lib/pacemaker/pcmk_sched_promotable.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, FALSE); fns 59 lib/pacemaker/pcmk_trans_utils.c set_graph_functions(crm_graph_functions_t * fns) fns 62 lib/pacemaker/pcmk_trans_utils.c graph_fns = fns; fns 1234 lib/pengine/bundle.c if (new_rsc != NULL && new_rsc->fns != NULL) { fns 1235 lib/pengine/bundle.c new_rsc->fns->free(new_rsc); fns 1342 lib/pengine/bundle.c rsc->fns->free(rsc); fns 1357 lib/pengine/bundle.c gboolean child_active = rsc->fns->active(rsc, all); fns 1443 lib/pengine/bundle.c rsc->fns->print(rsc, pre_text, options, print_data); fns 1521 lib/pengine/bundle.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 1540 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); fns 1542 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); fns 1543 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); fns 1545 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); fns 1644 lib/pengine/bundle.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 1662 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); fns 1664 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); fns 1665 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); fns 1667 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); fns 1785 lib/pengine/bundle.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 1803 lib/pengine/bundle.c !replica->ip->fns->is_filtered(replica->ip, only_rsc, print_everything); fns 1805 lib/pengine/bundle.c !replica->child->fns->is_filtered(replica->child, only_rsc, print_everything); fns 1806 lib/pengine/bundle.c print_ctnr = !replica->container->fns->is_filtered(replica->container, only_rsc, print_everything); fns 1808 lib/pengine/bundle.c !replica->remote->fns->is_filtered(replica->remote, only_rsc, print_everything); fns 1984 lib/pengine/bundle.c replica->ip->fns->free(replica->ip); fns 1990 lib/pengine/bundle.c replica->container->fns->free(replica->container); fns 1996 lib/pengine/bundle.c replica->remote->fns->free(replica->remote); fns 2032 lib/pengine/bundle.c bundle_data->child->fns->free(bundle_data->child); fns 2074 lib/pengine/bundle.c replica->ip->fns->count(replica->ip); fns 2077 lib/pengine/bundle.c replica->child->fns->count(replica->child); fns 2080 lib/pengine/bundle.c replica->container->fns->count(replica->container); fns 2083 lib/pengine/bundle.c replica->remote->fns->count(replica->remote); fns 2102 lib/pengine/bundle.c if (replica->ip != NULL && !replica->ip->fns->is_filtered(replica->ip, only_rsc, FALSE)) { fns 2105 lib/pengine/bundle.c } else if (replica->child != NULL && !replica->child->fns->is_filtered(replica->child, only_rsc, FALSE)) { fns 2108 lib/pengine/bundle.c } else if (!replica->container->fns->is_filtered(replica->container, only_rsc, FALSE)) { fns 2111 lib/pengine/bundle.c } else if (replica->remote != NULL && !replica->remote->fns->is_filtered(replica->remote, only_rsc, FALSE)) { fns 243 lib/pengine/clone.c gboolean child_active = child_rsc->fns->active(child_rsc, all); fns 332 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); fns 414 lib/pengine/clone.c gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE); fns 448 lib/pengine/clone.c } else if (child_rsc->fns->active(child_rsc, TRUE)) { fns 451 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); fns 456 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); fns 482 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); fns 594 lib/pengine/clone.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 608 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { fns 663 lib/pengine/clone.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 681 lib/pengine/clone.c gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE); fns 687 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { fns 723 lib/pengine/clone.c } else if (child_rsc->fns->active(child_rsc, TRUE)) { fns 726 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); fns 731 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); fns 900 lib/pengine/clone.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 918 lib/pengine/clone.c gboolean partially_active = child_rsc->fns->active(child_rsc, FALSE); fns 924 lib/pengine/clone.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { fns 960 lib/pengine/clone.c } else if (child_rsc->fns->active(child_rsc, TRUE)) { fns 963 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); fns 968 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); fns 1128 lib/pengine/clone.c child_rsc->fns->free(child_rsc); fns 1151 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, current); fns 1200 lib/pengine/clone.c if (!child_rsc->fns->is_filtered(child_rsc, only_rsc, FALSE)) { fns 484 lib/pengine/complex.c (*rsc)->fns = &resource_class_functions[(*rsc)->variant]; fns 727 lib/pengine/complex.c if ((*rsc)->fns->unpack(*rsc, data_set) == FALSE) { fns 988 lib/pengine/complex.c ((pe_resource_t *) item->data)->fns->count(item->data); fns 62 lib/pengine/group.c if (new_rsc != NULL && new_rsc->fns != NULL) { fns 63 lib/pengine/group.c new_rsc->fns->free(new_rsc); fns 99 lib/pengine/group.c if (child_rsc->fns->active(child_rsc, all)) { fns 127 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); fns 170 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); fns 198 lib/pengine/group.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 209 lib/pengine/group.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { fns 246 lib/pengine/group.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 271 lib/pengine/group.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { fns 301 lib/pengine/group.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 326 lib/pengine/group.c if (child_rsc->fns->is_filtered(child_rsc, only_rsc, print_everything)) { fns 356 lib/pengine/group.c child_rsc->fns->free(child_rsc); fns 373 lib/pengine/group.c enum rsc_role_e role = child_rsc->fns->state(child_rsc, current); fns 399 lib/pengine/group.c if (!child_rsc->fns->is_filtered(child_rsc, only_rsc, FALSE)) { fns 307 lib/pengine/native.c result = rsc->fns->find_rsc(child, id, on_node, flags); fns 495 lib/pengine/native.c status_print("active=\"%s\" ", pcmk__btoa(rsc->fns->active(rsc, TRUE))); fns 1078 lib/pengine/native.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 1094 lib/pengine/native.c "active", pcmk__btoa(rsc->fns->active(rsc, TRUE)), fns 1140 lib/pengine/native.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 1166 lib/pengine/native.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 1218 lib/pengine/native.c child->fns->location(child, &result, current); fns 1501 lib/pengine/native.c return up->parent->fns->is_filtered(up->parent, only_rsc, FALSE); fns 1503 lib/pengine/native.c return up->fns->is_filtered(up, only_rsc, FALSE); fns 1703 lib/pengine/pe_output.c gboolean is_active = rsc->fns->active(rsc, TRUE); fns 1704 lib/pengine/pe_output.c gboolean partially_active = rsc->fns->active(rsc, FALSE); fns 133 lib/pengine/status.c ((pe_resource_t *) (item->data))->fns->count(item->data); fns 161 lib/pengine/status.c rsc->fns->free(rsc); fns 397 lib/pengine/status.c parent->fns->find_rsc(parent, id, NULL, flags); fns 808 lib/pengine/unpack.c if (new_rsc != NULL && new_rsc->fns != NULL) { fns 809 lib/pengine/unpack.c new_rsc->fns->free(new_rsc); fns 1664 lib/pengine/unpack.c pe_resource_t *orphan = top->fns->find_rsc(top, rsc_id, NULL, pe_find_clone); fns 1719 lib/pengine/unpack.c child->fns->location(child, &locations, 2); fns 1735 lib/pengine/unpack.c rsc = parent->fns->find_rsc(child, rsc_id, NULL, pe_find_clone); fns 1762 lib/pengine/unpack.c inactive_instance = parent->fns->find_rsc(child, rsc_id, NULL, fns 665 lib/pengine/utils.c if (rsc->fns->active(rsc, TRUE) == FALSE || rsc->next_role > rsc->role) { fns 1401 lib/pengine/utils.c rsc->fns->print(rsc, "\t\t", pe_print_log|pe_print_pending, fns 2814 lib/pengine/utils.c return (rsc->fns->active(rsc, FALSE) && !pe__rsc_running_on_any_node_in_list(rsc, only_node)); fns 266 tools/crm_mon_print.c if (rsc->fns->is_filtered(rsc, only_rsc, TRUE)) { fns 926 tools/crm_resource.c enum rsc_role_e child_role = child->fns->state(child, TRUE); fns 116 tools/crm_resource_print.c && rsc->fns->active(rsc, TRUE) == FALSE) { fns 119 tools/crm_resource_print.c rsc->fns->print(rsc, NULL, opts, stdout); fns 152 tools/crm_resource_print.c rsc->fns->print(rsc, "", opts, stdout); fns 271 tools/crm_resource_print.c rsc->fns->print(rsc, NULL, opts, stdout); fns 29 tools/crm_resource_runtime.c if (!pe_rsc_is_clone(the_rsc) && the_rsc->fns->state(the_rsc, TRUE) == RSC_ROLE_MASTER) { fns 987 tools/crm_resource_runtime.c rsc->fns->location(rsc, &hosts, TRUE); fns 1928 tools/crm_resource_runtime.c enum rsc_role_e child_role = child->fns->state(child, TRUE); fns 2009 tools/crm_resource_runtime.c rsc->fns->location(rsc, &hosts, TRUE); fns 2069 tools/crm_resource_runtime.c rsc->fns->location(rsc, &hosts, TRUE); fns 513 tools/crm_simulate.c rsc->fns->print(rsc, NULL, pe_print_printf | options, stdout);