location 55 include/crm/pengine/pe_types.h pe_node_t *(*location) (const pe_resource_t*, GList**, int); location 1076 lib/lrmd/lrmd_client.c read_gnutls_key(const char *location, gnutls_datum_t *key) location 1081 lib/lrmd/lrmd_client.c if ((location == NULL) || (key == NULL)) { location 1085 lib/lrmd/lrmd_client.c stream = fopen(location, "r"); location 1122 lib/lrmd/lrmd_client.c const char *location; // Where cached key was read from location 1142 lib/lrmd/lrmd_client.c if ((key_cache->updated != 0) || (key_cache->location != NULL)) { location 1144 lib/lrmd/lrmd_client.c key_cache->location = NULL; location 1154 lib/lrmd/lrmd_client.c pcmk__s(key_cache->location, "unknown location")); location 1159 lib/lrmd/lrmd_client.c const char *location) location 1162 lib/lrmd/lrmd_client.c key_cache->location = location; location 1165 lib/lrmd/lrmd_client.c pcmk__s(location, "unknown location")); location 1179 lib/lrmd/lrmd_client.c get_remote_key(const char *location, gnutls_datum_t *key) location 1184 lib/lrmd/lrmd_client.c if ((location == NULL) || (key == NULL)) { location 1197 lib/lrmd/lrmd_client.c rc = read_gnutls_key(location, key); location 1201 lib/lrmd/lrmd_client.c cache_key(&key_cache, key, location); location 140 lib/pacemaker/libpacemaker_private.h void (*apply_location)(pe_resource_t *rsc, pe__location_t *location); location 628 lib/pacemaker/libpacemaker_private.h void pcmk__group_apply_location(pe_resource_t *rsc, pe__location_t *location); location 543 lib/pacemaker/pcmk_sched_actions.c first_node = first->rsc->fns->location(first->rsc, NULL, FALSE); location 554 lib/pacemaker/pcmk_sched_actions.c then_node = then->rsc->fns->location(then->rsc, NULL, FALSE); location 376 lib/pacemaker/pcmk_sched_bundle.c active_node_lh = rsc_lh->fns->location(rsc_lh, NULL, current); location 516 lib/pacemaker/pcmk_sched_bundle.c pe_node_t *chosen = replica->container->fns->location(replica->container, location 89 lib/pacemaker/pcmk_sched_clone.c return rsc->fns->location(rsc, NULL, FALSE); location 630 lib/pacemaker/pcmk_sched_clone.c node = child_rsc->fns->location(child_rsc, NULL, current); location 661 lib/pacemaker/pcmk_sched_clone.c local_node = local_child->fns->location(local_child, NULL, current); location 798 lib/pacemaker/pcmk_sched_clone.c pe_node_t *chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); location 1036 lib/pacemaker/pcmk_sched_clone.c local_node = child_rsc->fns->location(child_rsc, NULL, FALSE); location 636 lib/pacemaker/pcmk_sched_group.c pcmk__group_apply_location(pe_resource_t *rsc, pe__location_t *location) location 642 lib/pacemaker/pcmk_sched_group.c CRM_ASSERT((rsc != NULL) && (location != NULL)); location 644 lib/pacemaker/pcmk_sched_group.c node_list_orig = location->node_list_rh; location 649 lib/pacemaker/pcmk_sched_group.c pcmk__apply_location(rsc, location); location 655 lib/pacemaker/pcmk_sched_group.c member->cmds->apply_location(member, location); location 663 lib/pacemaker/pcmk_sched_group.c location->node_list_rh = node_list_copy; location 667 lib/pacemaker/pcmk_sched_group.c location->node_list_rh = node_list_orig; location 204 lib/pacemaker/pcmk_sched_location.c pe__location_t *location = NULL; location 227 lib/pacemaker/pcmk_sched_location.c location = pcmk__new_location(id, rsc, score_i, discovery, match, location 267 lib/pacemaker/pcmk_sched_location.c if ((location != NULL) && (role != NULL)) { location 279 lib/pacemaker/pcmk_sched_location.c location->role_filter = RSC_ROLE_UNKNOWN; location 282 lib/pacemaker/pcmk_sched_location.c location->role_filter = r; location 441 lib/pacemaker/pcmk_sched_location.c unpack_location_set(xmlNode *location, xmlNode *set, pe_working_set_t *data_set) location 455 lib/pacemaker/pcmk_sched_location.c pcmk__s(ID(location), "(missing ID)")); location 473 lib/pacemaker/pcmk_sched_location.c unpack_rsc_location(location, resource, role, local_score, data_set, location 606 lib/pacemaker/pcmk_sched_location.c pe__location_t *location = iter->data; location 608 lib/pacemaker/pcmk_sched_location.c location->rsc_lh->cmds->apply_location(location->rsc_lh, location); location 623 lib/pacemaker/pcmk_sched_location.c pcmk__apply_location(pe_resource_t *rsc, pe__location_t *location) location 627 lib/pacemaker/pcmk_sched_location.c CRM_CHECK((rsc != NULL) && (location != NULL), return); location 630 lib/pacemaker/pcmk_sched_location.c need_role = (location->role_filter > RSC_ROLE_UNKNOWN); location 631 lib/pacemaker/pcmk_sched_location.c if (need_role && (location->role_filter != rsc->next_role)) { location 634 lib/pacemaker/pcmk_sched_location.c location->id, rsc->id, role2text(rsc->next_role), location 635 lib/pacemaker/pcmk_sched_location.c role2text(location->role_filter)); location 639 lib/pacemaker/pcmk_sched_location.c if (location->node_list_rh == NULL) { location 641 lib/pacemaker/pcmk_sched_location.c location->id, rsc->id); location 645 lib/pacemaker/pcmk_sched_location.c pe_rsc_trace(rsc, "Applying %s%s%s to %s", location->id, location 647 lib/pacemaker/pcmk_sched_location.c (need_role? role2text(location->role_filter) : ""), rsc->id); location 649 lib/pacemaker/pcmk_sched_location.c for (GList *gIter = location->node_list_rh; gIter != NULL; location 671 lib/pacemaker/pcmk_sched_location.c if (weighted_node->rsc_discover_mode < location->discover_mode) { location 672 lib/pacemaker/pcmk_sched_location.c if (location->discover_mode == pe_discover_exclusive) { location 676 lib/pacemaker/pcmk_sched_location.c weighted_node->rsc_discover_mode = location->discover_mode; location 48 lib/pacemaker/pcmk_sched_nodes.c if (guest->fns->location(guest, NULL, FALSE) == NULL) { location 124 lib/pacemaker/pcmk_sched_promotable.c pe__location_t *location = iter->data; location 127 lib/pacemaker/pcmk_sched_promotable.c if (location->role_filter == RSC_ROLE_PROMOTED) { location 128 lib/pacemaker/pcmk_sched_promotable.c weighted_node = pe_find_node_id(location->node_list_rh, location 138 lib/pacemaker/pcmk_sched_promotable.c location->id, child->id, pe__node_name(weighted_node), location 172 lib/pacemaker/pcmk_sched_promotable.c node = rsc->fns->location(rsc, NULL, FALSE); location 310 lib/pacemaker/pcmk_sched_promotable.c chosen = child->fns->location(child, NULL, FALSE); location 399 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *chosen = child->fns->location(child, NULL, FALSE); location 809 lib/pacemaker/pcmk_sched_promotable.c rsc->fns->location(rsc, &assigned, FALSE); location 846 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *chosen = instance->fns->location(instance, NULL, FALSE); location 889 lib/pacemaker/pcmk_sched_promotable.c chosen = instance->fns->location(instance, &list, FALSE); location 1191 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *node = instance->fns->location(instance, NULL, FALSE); location 612 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); location 614 lib/pengine/clone.c if (location) { location 619 lib/pengine/clone.c if (location->details->online == FALSE && location->details->unclean) { location 623 lib/pengine/clone.c promoted_list = g_list_append(promoted_list, location); location 626 lib/pengine/clone.c started_list = g_list_append(started_list, location); location 898 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); location 900 lib/pengine/clone.c if (location) { location 905 lib/pengine/clone.c if (location->details->online == FALSE && location->details->unclean) { location 909 lib/pengine/clone.c promoted_list = g_list_append(promoted_list, location); location 912 lib/pengine/clone.c started_list = g_list_append(started_list, location); location 1079 lib/pengine/native.c child->fns->location(child, &result, current); location 591 lib/pengine/pe_output.c pe__location_t *location = va_arg(args, pe__location_t *); location 597 lib/pengine/pe_output.c location->id, location->rsc_lh->id, location 598 lib/pengine/pe_output.c role_desc(location->role_filter), node_name); location 611 lib/pengine/pe_output.c pe__location_t *location = va_arg(args, pe__location_t *); location 617 lib/pengine/pe_output.c location->id, location->rsc_lh->id, location 618 lib/pengine/pe_output.c role_desc(location->role_filter), node_name); location 628 lib/pengine/pe_output.c pe__location_t *location = va_arg(args, pe__location_t *); location 631 lib/pengine/pe_output.c const char *promoted_only = pcmk__btoa(location->role_filter == RSC_ROLE_PROMOTED); location 635 lib/pengine/pe_output.c "id", location->id, location 636 lib/pengine/pe_output.c "resource", location->rsc_lh->id, location 668 lib/pengine/pe_output.c pe__location_t *location = gIter->data; location 670 lib/pengine/pe_output.c if (prefix != NULL && !g_str_has_prefix(location->id, prefix)) { location 674 lib/pengine/pe_output.c if (!pcmk__str_in_list(rsc_printable_id(location->rsc_lh), only_rsc, pcmk__str_star_matches) && location 675 lib/pengine/pe_output.c !pcmk__str_in_list(rsc_printable_id(uber_parent(location->rsc_lh)), only_rsc, pcmk__str_star_matches)) { location 679 lib/pengine/pe_output.c for (gIter2 = location->node_list_rh; gIter2 != NULL; gIter2 = gIter2->next) { location 684 lib/pengine/pe_output.c out->message(out, "ban", node, location, show_opts); location 1791 lib/pengine/unpack.c child->fns->location(child, &locations, 2); location 218 maint/gnulib/lib/progreloc.c char location[MAX_PATH]; location 219 maint/gnulib/lib/progreloc.c int length = GetModuleFileName (NULL, location, sizeof (location)); location 222 maint/gnulib/lib/progreloc.c if (!IS_FILE_NAME_WITH_DIR (location)) location 225 maint/gnulib/lib/progreloc.c return xstrdup (location); location 228 maint/gnulib/lib/progreloc.c char location[CCHMAXPATH]; location 237 maint/gnulib/lib/progreloc.c if (DosQueryModuleName (ppib->pib_hmte, sizeof (location), location)) location 240 maint/gnulib/lib/progreloc.c _fnslashify (location); location 242 maint/gnulib/lib/progreloc.c return xstrdup (location); location 342 maint/gnulib/lib/progreloc.c char location[4096]; location 343 maint/gnulib/lib/progreloc.c unsigned int length = sizeof (location); location 344 maint/gnulib/lib/progreloc.c if (_NSGetExecutablePath (location, &length) == 0 location 345 maint/gnulib/lib/progreloc.c && location[0] == '/') location 346 maint/gnulib/lib/progreloc.c return canonicalize_file_name (location); location 339 maint/gnulib/lib/relocatable.c static char location[MAX_PATH]; location 341 maint/gnulib/lib/relocatable.c if (!GetModuleFileName (module_handle, location, sizeof (location))) location 345 maint/gnulib/lib/relocatable.c if (!IS_FILE_NAME_WITH_DIR (location)) location 353 maint/gnulib/lib/relocatable.c && strcmp (shared_library_fullname, location) == 0)) location 355 maint/gnulib/lib/relocatable.c shared_library_fullname = strdup (location); location 371 maint/gnulib/lib/relocatable.c static char location[CCHMAXPATH]; location 383 maint/gnulib/lib/relocatable.c if (DosQueryModuleName (hModule, sizeof (location), location)) location 386 maint/gnulib/lib/relocatable.c _fnslashify (location); location 387 maint/gnulib/lib/relocatable.c shared_library_fullname = strdup (location); location 82 tools/crm_resource_ban.c xmlNode *location = NULL; location 102 tools/crm_resource_ban.c location = create_xml_node(fragment, XML_CONS_TAG_RSC_LOCATION); location 103 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-ban-%s-on-%s", rsc_id, host); location 111 tools/crm_resource_ban.c ID(location), rsc_id, host, rsc_id, location 115 tools/crm_resource_ban.c crm_xml_add(location, XML_LOC_ATTR_SOURCE, rsc_id); location 117 tools/crm_resource_ban.c crm_xml_add(location, XML_RULE_ATTR_ROLE, promoted_role_name()); location 119 tools/crm_resource_ban.c crm_xml_add(location, XML_RULE_ATTR_ROLE, RSC_ROLE_STARTED_S); location 124 tools/crm_resource_ban.c crm_xml_add(location, XML_CIB_TAG_NODE, host); location 125 tools/crm_resource_ban.c crm_xml_add(location, XML_RULE_ATTR_SCORE, CRM_MINUS_INFINITY_S); location 128 tools/crm_resource_ban.c xmlNode *rule = create_xml_node(location, XML_TAG_RULE); location 164 tools/crm_resource_ban.c xmlNode *location = NULL; location 178 tools/crm_resource_ban.c location = create_xml_node(fragment, XML_CONS_TAG_RSC_LOCATION); location 179 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-prefer-%s", rsc_id); location 181 tools/crm_resource_ban.c crm_xml_add(location, XML_LOC_ATTR_SOURCE, rsc_id); location 183 tools/crm_resource_ban.c crm_xml_add(location, XML_RULE_ATTR_ROLE, promoted_role_name()); location 185 tools/crm_resource_ban.c crm_xml_add(location, XML_RULE_ATTR_ROLE, RSC_ROLE_STARTED_S); location 190 tools/crm_resource_ban.c crm_xml_add(location, XML_CIB_TAG_NODE, host); location 191 tools/crm_resource_ban.c crm_xml_add(location, XML_RULE_ATTR_SCORE, CRM_INFINITY_S); location 194 tools/crm_resource_ban.c xmlNode *rule = create_xml_node(location, XML_TAG_RULE); location 270 tools/crm_resource_ban.c xmlNode *location = NULL; location 275 tools/crm_resource_ban.c location = create_xml_node(fragment, XML_CONS_TAG_RSC_LOCATION); location 276 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-ban-%s-on-%s", rsc_id, host); location 279 tools/crm_resource_ban.c location = create_xml_node(fragment, XML_CONS_TAG_RSC_LOCATION); location 280 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-prefer-%s", rsc_id); location 282 tools/crm_resource_ban.c crm_xml_add(location, XML_CIB_TAG_NODE, host); location 467 tools/crm_resource_ban.c xmlNode *location = NULL; location 470 tools/crm_resource_ban.c location = create_xml_node(fragment, XML_CONS_TAG_RSC_LOCATION); location 471 tools/crm_resource_ban.c crm_xml_set_id(location, "%s", ID(constraint_node)); location 620 tools/crm_resource_print.c rsc->fns->location(rsc, &hosts, TRUE); location 672 tools/crm_resource_print.c rsc->fns->location(rsc, &hosts, TRUE); location 705 tools/crm_resource_print.c rsc->fns->location(rsc, &hosts, TRUE); location 770 tools/crm_resource_print.c rsc->fns->location(rsc, &hosts, TRUE); location 1036 tools/crm_resource_runtime.c rsc->fns->location(rsc, &hosts, TRUE);