fns 266 include/crm/pengine/status.h resource_object_functions_t *fns; fns 139 include/crm/transition.h void set_graph_functions(crm_graph_functions_t * fns); fns 256 lib/pengine/clone.c gboolean child_active = child_rsc->fns->active(child_rsc, all); fns 345 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); fns 434 lib/pengine/clone.c if (child_rsc->fns->active(child_rsc, FALSE) == FALSE) { fns 458 lib/pengine/clone.c } else if (child_rsc->fns->active(child_rsc, TRUE)) { fns 460 lib/pengine/clone.c node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); fns 463 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, TRUE); fns 491 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); fns 604 lib/pengine/clone.c child_rsc->fns->free(child_rsc); fns 627 lib/pengine/clone.c enum rsc_role_e a_role = child_rsc->fns->state(child_rsc, current); fns 544 lib/pengine/complex.c (*rsc)->fns = &resource_class_functions[(*rsc)->variant]; fns 825 lib/pengine/complex.c if ((*rsc)->fns->unpack(*rsc, data_set) == FALSE) { fns 1010 lib/pengine/container.c if (new_rsc != NULL && new_rsc->fns != NULL) { fns 1011 lib/pengine/container.c new_rsc->fns->free(new_rsc); fns 1102 lib/pengine/container.c rsc->fns->free(rsc); fns 1117 lib/pengine/container.c gboolean child_active = rsc->fns->active(rsc, all); fns 1205 lib/pengine/container.c rsc->fns->print(rsc, pre_text, options, print_data); fns 1379 lib/pengine/container.c tuple->ip->fns->free(tuple->ip); fns 1385 lib/pengine/container.c tuple->docker->fns->free(tuple->docker); fns 1391 lib/pengine/container.c tuple->remote->fns->free(tuple->remote); fns 1426 lib/pengine/container.c container_data->child->fns->free(container_data->child); fns 68 lib/pengine/group.c if (new_rsc != NULL && new_rsc->fns != NULL) { fns 69 lib/pengine/group.c new_rsc->fns->free(new_rsc); fns 110 lib/pengine/group.c if (child_rsc->fns->active(child_rsc, all)) { fns 138 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); fns 181 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); fns 208 lib/pengine/group.c child_rsc->fns->free(child_rsc); fns 225 lib/pengine/group.c enum rsc_role_e role = child_rsc->fns->state(child_rsc, current); fns 233 lib/pengine/native.c result = rsc->fns->find_rsc(child, id, on_node, flags); fns 423 lib/pengine/native.c status_print("active=\"%s\" ", rsc->fns->active(rsc, TRUE) ? "true" : "false"); fns 774 lib/pengine/native.c child->fns->location(child, &result, current); fns 121 lib/pengine/status.c rsc->fns->free(rsc); fns 263 lib/pengine/status.c parent->fns->find_rsc(parent, id, NULL, flags); fns 768 lib/pengine/unpack.c if (new_rsc != NULL && new_rsc->fns != NULL) { fns 769 lib/pengine/unpack.c new_rsc->fns->free(new_rsc); fns 1707 lib/pengine/unpack.c child->fns->location(child, &locations, TRUE); fns 1718 lib/pengine/unpack.c rsc = parent->fns->find_rsc(child, rsc_id, NULL, pe_find_clone); fns 1750 lib/pengine/unpack.c child->fns->location(child, &locations, TRUE); fns 1753 lib/pengine/unpack.c rsc = parent->fns->find_rsc(child, rsc_id, NULL, pe_find_clone); fns 1765 lib/pengine/unpack.c rsc = top->fns->find_rsc(top, rsc_id, NULL, pe_find_clone); fns 596 lib/pengine/utils.c if (rsc->fns->active(rsc, TRUE) == FALSE || rsc->next_role > rsc->role) { fns 1296 lib/pengine/utils.c rsc->fns->print(rsc, pre_text, options, &log_level); fns 70 lib/transition/utils.c set_graph_functions(crm_graph_functions_t * fns) fns 73 lib/transition/utils.c graph_fns = fns; fns 1763 pengine/allocate.c if (lh_rsc->fns->state(lh_rsc, TRUE) == RSC_ROLE_STOPPED && safe_str_eq(op_type, RSC_STOP)) { fns 1768 pengine/allocate.c } else if (lh_rsc->fns->state(lh_rsc, TRUE) == RSC_ROLE_SLAVE && safe_str_eq(op_type, RSC_DEMOTE)) { fns 424 pengine/clone.c return rsc->fns->location(rsc, NULL, FALSE); fns 956 pengine/clone.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, current); fns 960 pengine/clone.c node = child_rsc->fns->location(child_rsc, NULL, current); fns 989 pengine/clone.c local_node = local_child->fns->location(local_child, NULL, current); fns 1081 pengine/clone.c node_t *chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); fns 1389 pengine/clone.c local_node = child_rsc->fns->location(child_rsc, NULL, FALSE); fns 184 pengine/constraints.c resource_t *match = parent->fns->find_rsc(parent, id, NULL, fns 377 pengine/container.c active_node_lh = rsc_lh->fns->location(rsc_lh, NULL, current); fns 487 pengine/container.c node_t *chosen = tuple->docker->fns->location(tuple->docker, NULL, FALSE); fns 567 pengine/graph.c first_node = first->rsc->fns->location(first->rsc, NULL, FALSE); fns 574 pengine/graph.c then_node = then->rsc->fns->location(then->rsc, NULL, FALSE); fns 173 pengine/master.c role = rsc->fns->state(rsc, FALSE); fns 190 pengine/master.c node = rsc->fns->location(rsc, NULL, FALSE); fns 196 pengine/master.c if (rsc->fns->state(rsc, TRUE) == RSC_ROLE_MASTER) { fns 244 pengine/master.c role1 = resource1->fns->state(resource1, TRUE); fns 245 pengine/master.c role2 = resource2->fns->state(resource2, TRUE); fns 302 pengine/master.c chosen = child->fns->location(child, NULL, FALSE); fns 377 pengine/master.c chosen = child->fns->location(child, NULL, FALSE); fns 406 pengine/master.c resource_t *active = parent->fns->find_rsc(child, key, node, pe_find_clone|pe_find_current); fns 436 pengine/master.c rsc = parent->fns->find_rsc(child, key, NULL, pe_find_clone); fns 616 pengine/master.c rsc->fns->location(rsc, &allocated, FALSE); fns 699 pengine/master.c if (child_rsc->fns->state(child_rsc, TRUE) == RSC_ROLE_STARTED) { fns 703 pengine/master.c chosen = child_rsc->fns->location(child_rsc, &list, FALSE); fns 713 pengine/master.c next_role = child_rsc->fns->state(child_rsc, FALSE); fns 767 pengine/master.c chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); fns 1022 pengine/master.c node_t *chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); fns 1023 pengine/master.c enum rsc_role_e next_role = child_rsc->fns->state(child_rsc, FALSE); fns 1896 pengine/native.c enum rsc_role_e then_rsc_role = then_rsc ? then_rsc->fns->state(then_rsc, TRUE) : 0; fns 256 pengine/pengine.c rsc->fns->print(rsc, NULL, pe_print_log, &rsc_log_level); fns 1199 tools/crm_mon.c gboolean is_active = rsc->fns->active(rsc, TRUE); fns 1200 tools/crm_mon.c gboolean partially_active = rsc->fns->active(rsc, FALSE); fns 1228 tools/crm_mon.c rsc->fns->print(rsc, prefix, print_opts, stream); fns 3022 tools/crm_mon.c rsc->fns->print(rsc, "\t", print_opts | pe_print_rsconly, stdout); fns 3149 tools/crm_mon.c rsc->fns->print(rsc, " ", print_opts | pe_print_rsconly, stream); fns 3272 tools/crm_mon.c rsc->fns->print(rsc, NULL, print_opts | pe_print_rsconly, stream); fns 1030 tools/crm_resource.c enum rsc_role_e child_role = child->fns->state(child, TRUE); fns 146 tools/crm_resource_print.c && rsc->fns->active(rsc, TRUE) == FALSE) { fns 149 tools/crm_resource_print.c rsc->fns->print(rsc, NULL, opts, stdout); fns 185 tools/crm_resource_print.c rsc->fns->print(rsc, "", opts, stdout); fns 305 tools/crm_resource_print.c rsc->fns->print(rsc, NULL, opts, stdout); fns 42 tools/crm_resource_runtime.c if (!pe_rsc_is_clone(the_rsc) && the_rsc->fns->state(the_rsc, TRUE) == RSC_ROLE_MASTER) { fns 788 tools/crm_resource_runtime.c rsc->fns->location(rsc, &hosts, TRUE); fns 1645 tools/crm_resource_runtime.c enum rsc_role_e child_role = child->fns->state(child, TRUE); fns 1677 tools/crm_resource_runtime.c } else if(scope_master && rsc->fns->state(rsc, TRUE) != RSC_ROLE_MASTER) { fns 1730 tools/crm_resource_runtime.c rsc->fns->location(rsc, &hosts, TRUE); fns 1790 tools/crm_resource_runtime.c rsc->fns->location(rsc, &hosts, TRUE); fns 202 tools/crm_simulate.c rsc->fns->print(rsc, NULL, pe_print_printf | options, stdout);