location          328 include/crm/common/resources.h     pcmk_node_t *(*location)(const pcmk_resource_t *rsc, GList **list,
location         1160 lib/lrmd/lrmd_client.c read_gnutls_key(const char *location, gnutls_datum_t *key)
location         1165 lib/lrmd/lrmd_client.c     if ((location == NULL) || (key == NULL)) {
location         1169 lib/lrmd/lrmd_client.c     stream = fopen(location, "r");
location         1206 lib/lrmd/lrmd_client.c     const char *location;   // Where cached key was read from
location         1226 lib/lrmd/lrmd_client.c     if ((key_cache->updated != 0) || (key_cache->location != NULL)) {
location         1228 lib/lrmd/lrmd_client.c         key_cache->location = NULL;
location         1238 lib/lrmd/lrmd_client.c               pcmk__s(key_cache->location, "unknown location"));
location         1243 lib/lrmd/lrmd_client.c           const char *location)
location         1246 lib/lrmd/lrmd_client.c     key_cache->location = location;
location         1249 lib/lrmd/lrmd_client.c               pcmk__s(location, "unknown location"));
location         1263 lib/lrmd/lrmd_client.c get_remote_key(const char *location, gnutls_datum_t *key)
location         1268 lib/lrmd/lrmd_client.c     if ((location == NULL) || (key == NULL)) {
location         1281 lib/lrmd/lrmd_client.c     rc = read_gnutls_key(location, key);
location         1285 lib/lrmd/lrmd_client.c     cache_key(&key_cache, key, location);
location          246 lib/pacemaker/libpacemaker_private.h     void (*apply_location)(pcmk_resource_t *rsc, pcmk__location_t *location);
location          805 lib/pacemaker/libpacemaker_private.h                                 pcmk__location_t *location);
location          553 lib/pacemaker/pcmk_sched_actions.c             first_node = first->rsc->fns->location(first->rsc, NULL, FALSE);
location          563 lib/pacemaker/pcmk_sched_actions.c             then_node = then->rsc->fns->location(then->rsc, NULL, FALSE);
location          401 lib/pacemaker/pcmk_sched_bundle.c         return container->fns->location(container, NULL, 0);
location          425 lib/pacemaker/pcmk_sched_bundle.c     match_data.node = dependent->fns->location(dependent, NULL, 0);
location          488 lib/pacemaker/pcmk_sched_bundle.c     chosen = replica->container->fns->location(replica->container, NULL, 0);
location          735 lib/pacemaker/pcmk_sched_bundle.c     pcmk__location_t *location = user_data;
location          738 lib/pacemaker/pcmk_sched_bundle.c         replica->container->cmds->apply_location(replica->container, location);
location          741 lib/pacemaker/pcmk_sched_bundle.c         replica->ip->cmds->apply_location(replica->ip, location);
location          754 lib/pacemaker/pcmk_sched_bundle.c pcmk__bundle_apply_location(pcmk_resource_t *rsc, pcmk__location_t *location)
location          758 lib/pacemaker/pcmk_sched_bundle.c     pcmk__assert((location != NULL) && pcmk__is_bundle(rsc));
location          760 lib/pacemaker/pcmk_sched_bundle.c     pcmk__apply_location(rsc, location);
location          761 lib/pacemaker/pcmk_sched_bundle.c     pe__foreach_bundle_replica(rsc, apply_location_to_replica, location);
location          765 lib/pacemaker/pcmk_sched_bundle.c         && ((location->role_filter == pcmk_role_unpromoted)
location          766 lib/pacemaker/pcmk_sched_bundle.c             || (location->role_filter == pcmk_role_promoted))) {
location          767 lib/pacemaker/pcmk_sched_bundle.c         bundled_resource->cmds->apply_location(bundled_resource, location);
location          769 lib/pacemaker/pcmk_sched_bundle.c             bundled_resource->rsc_location, location);
location          331 lib/pacemaker/pcmk_sched_clone.c             pcmk_node_t *chosen = instance->fns->location(instance, NULL, 0);
location          413 lib/pacemaker/pcmk_sched_clone.c pcmk__clone_apply_location(pcmk_resource_t *rsc, pcmk__location_t *location)
location          415 lib/pacemaker/pcmk_sched_clone.c     CRM_CHECK((location != NULL) && pcmk__is_clone(rsc), return);
location          417 lib/pacemaker/pcmk_sched_clone.c     pcmk__apply_location(rsc, location);
location          422 lib/pacemaker/pcmk_sched_clone.c         instance->cmds->apply_location(instance, location);
location          541 lib/pacemaker/pcmk_sched_clone.c         instance_node = instance->fns->location(instance, NULL, 0);
location         1569 lib/pacemaker/pcmk_sched_colocation.c             pcmk__location_t *location = loc_iter->data;
location         1571 lib/pacemaker/pcmk_sched_colocation.c             if (location->rsc == rsc->parent) {
location         1572 lib/pacemaker/pcmk_sched_colocation.c                 rsc->cmds->apply_location(rsc, location);
location          656 lib/pacemaker/pcmk_sched_group.c pcmk__group_apply_location(pcmk_resource_t *rsc, pcmk__location_t *location)
location          661 lib/pacemaker/pcmk_sched_group.c     pcmk__assert(pcmk__is_group(rsc) && (location != NULL));
location          664 lib/pacemaker/pcmk_sched_group.c     node_list_orig = location->nodes;
location          673 lib/pacemaker/pcmk_sched_group.c     pcmk__apply_location(rsc, location);
location          693 lib/pacemaker/pcmk_sched_group.c             location->nodes = node_list_copy;
location          696 lib/pacemaker/pcmk_sched_group.c         member->cmds->apply_location(member, location);
location          699 lib/pacemaker/pcmk_sched_group.c     location->nodes = node_list_orig;
location         1093 lib/pacemaker/pcmk_sched_instances.c         instance_node = instance->fns->location(instance, NULL, current);
location         1185 lib/pacemaker/pcmk_sched_instances.c     node = match_rsc->fns->location(match_rsc, NULL, current);
location          254 lib/pacemaker/pcmk_sched_location.c         pcmk__location_t *location = NULL;
location          278 lib/pacemaker/pcmk_sched_location.c         location = pcmk__new_location(id, rsc, score_i, discovery, match);
location          279 lib/pacemaker/pcmk_sched_location.c         if (location == NULL) {
location          282 lib/pacemaker/pcmk_sched_location.c         location->role_filter = role;
location          490 lib/pacemaker/pcmk_sched_location.c unpack_location_set(xmlNode *location, xmlNode *set,
location          505 lib/pacemaker/pcmk_sched_location.c                          pcmk__s(pcmk__xe_id(location), "(missing ID)"));
location          523 lib/pacemaker/pcmk_sched_location.c         unpack_rsc_location(location, resource, role, local_score, NULL, 0,
location          654 lib/pacemaker/pcmk_sched_location.c         pcmk__location_t *location = iter->data;
location          656 lib/pacemaker/pcmk_sched_location.c         location->rsc->cmds->apply_location(location->rsc, location);
location          671 lib/pacemaker/pcmk_sched_location.c pcmk__apply_location(pcmk_resource_t *rsc, pcmk__location_t *location)
location          675 lib/pacemaker/pcmk_sched_location.c     pcmk__assert((rsc != NULL) && (location != NULL));
location          678 lib/pacemaker/pcmk_sched_location.c     need_role = (location->role_filter > pcmk_role_unknown);
location          679 lib/pacemaker/pcmk_sched_location.c     if (need_role && (location->role_filter != rsc->next_role)) {
location          682 lib/pacemaker/pcmk_sched_location.c                         location->id, rsc->id, pcmk_role_text(rsc->next_role),
location          683 lib/pacemaker/pcmk_sched_location.c                         pcmk_role_text(location->role_filter));
location          687 lib/pacemaker/pcmk_sched_location.c     if (location->nodes == NULL) {
location          689 lib/pacemaker/pcmk_sched_location.c                         location->id, rsc->id);
location          693 lib/pacemaker/pcmk_sched_location.c     for (GList *iter = location->nodes; iter != NULL; iter = iter->next) {
location          699 lib/pacemaker/pcmk_sched_location.c                         location->id,
location          701 lib/pacemaker/pcmk_sched_location.c                         (need_role? pcmk_role_text(location->role_filter) : ""),
location          716 lib/pacemaker/pcmk_sched_location.c         if (allowed_node->rsc_discover_mode < location->discover_mode) {
location          717 lib/pacemaker/pcmk_sched_location.c             if (location->discover_mode == pcmk_probe_exclusive) {
location          721 lib/pacemaker/pcmk_sched_location.c             allowed_node->rsc_discover_mode = location->discover_mode;
location           47 lib/pacemaker/pcmk_sched_nodes.c         if (guest->fns->location(guest, NULL, FALSE) == NULL) {
location          133 lib/pacemaker/pcmk_sched_promotable.c         const pcmk__location_t *location = iter->data;
location          136 lib/pacemaker/pcmk_sched_promotable.c         if (location->role_filter == pcmk_role_promoted) {
location          137 lib/pacemaker/pcmk_sched_promotable.c             constraint_node = pe_find_node_id(location->nodes,
location          147 lib/pacemaker/pcmk_sched_promotable.c                             location->id, child->id,
location          184 lib/pacemaker/pcmk_sched_promotable.c     node = rsc->fns->location(rsc, NULL, FALSE);
location          325 lib/pacemaker/pcmk_sched_promotable.c     chosen = child->fns->location(child, NULL, FALSE);
location          387 lib/pacemaker/pcmk_sched_promotable.c     pcmk_node_t *chosen = child->fns->location(child, NULL, FALSE);
location          834 lib/pacemaker/pcmk_sched_promotable.c     rsc->fns->location(rsc, &assigned, FALSE);
location          871 lib/pacemaker/pcmk_sched_promotable.c     pcmk_node_t *chosen = instance->fns->location(instance, NULL, FALSE);
location          919 lib/pacemaker/pcmk_sched_promotable.c     chosen = instance->fns->location(instance, &list, FALSE);
location         1224 lib/pacemaker/pcmk_sched_promotable.c         pcmk_node_t *node = instance->fns->location(instance, NULL, FALSE);
location          706 lib/pengine/clone.c             pcmk_node_t *location = NULL;
location          708 lib/pengine/clone.c             location = child_rsc->fns->location(child_rsc, NULL, TRUE);
location          709 lib/pengine/clone.c             if (location) {
location          714 lib/pengine/clone.c                 if (location->details->online == FALSE && location->details->unclean) {
location          718 lib/pengine/clone.c                     promoted_list = g_list_append(promoted_list, location);
location          721 lib/pengine/clone.c                     started_list = g_list_append(started_list, location);
location         1018 lib/pengine/clone.c             pcmk_node_t *location = NULL;
location         1020 lib/pengine/clone.c             location = child_rsc->fns->location(child_rsc, NULL, TRUE);
location         1021 lib/pengine/clone.c             if (location) {
location         1026 lib/pengine/clone.c                 if (location->details->online == FALSE && location->details->unclean) {
location         1030 lib/pengine/clone.c                     promoted_list = g_list_append(promoted_list, location);
location         1033 lib/pengine/clone.c                     started_list = g_list_append(started_list, location);
location         1146 lib/pengine/native.c             child->fns->location(child, &result, current);
location          650 lib/pengine/pe_output.c     pcmk__location_t *location = va_arg(args, pcmk__location_t *);
location          656 lib/pengine/pe_output.c                                   location->id, location->rsc->id,
location          657 lib/pengine/pe_output.c                                   role_desc(location->role_filter), node_name);
location          670 lib/pengine/pe_output.c     pcmk__location_t *location = va_arg(args, pcmk__location_t *);
location          676 lib/pengine/pe_output.c                    location->id, location->rsc->id,
location          677 lib/pengine/pe_output.c                    role_desc(location->role_filter), node_name);
location          687 lib/pengine/pe_output.c     pcmk__location_t *location = va_arg(args, pcmk__location_t *);
location          690 lib/pengine/pe_output.c     const char *promoted_only = pcmk__btoa(location->role_filter == pcmk_role_promoted);
location          694 lib/pengine/pe_output.c                                  PCMK_XA_ID, location->id,
location          695 lib/pengine/pe_output.c                                  PCMK_XA_RESOURCE, location->rsc->id,
location          728 lib/pengine/pe_output.c         pcmk__location_t *location = gIter->data;
location          729 lib/pengine/pe_output.c         const pcmk_resource_t *rsc = location->rsc;
location          731 lib/pengine/pe_output.c         if (prefix != NULL && !g_str_has_prefix(location->id, prefix)) {
location          742 lib/pengine/pe_output.c         for (gIter2 = location->nodes; gIter2 != NULL; gIter2 = gIter2->next) {
location          747 lib/pengine/pe_output.c                 out->message(out, "ban", node, location, show_opts);
location         2140 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           68 tools/crm_resource_ban.c     xmlNode *location = NULL;
location           77 tools/crm_resource_ban.c     location = pcmk__xe_create(fragment, PCMK_XE_RSC_LOCATION);
location           78 tools/crm_resource_ban.c     crm_xml_set_id(location, "cli-ban-%s-on-%s", rsc_id, host);
location           88 tools/crm_resource_ban.c               pcmk__xe_id(location), rsc_id, host, rsc_id,
location           91 tools/crm_resource_ban.c     crm_xml_add(location, PCMK_XA_RSC, rsc_id);
location           93 tools/crm_resource_ban.c         crm_xml_add(location, PCMK_XA_ROLE, promoted_role);
location           95 tools/crm_resource_ban.c         crm_xml_add(location, PCMK_XA_ROLE, PCMK_ROLE_STARTED);
location          100 tools/crm_resource_ban.c         crm_xml_add(location, PCMK_XE_NODE, host);
location          101 tools/crm_resource_ban.c         crm_xml_add(location, PCMK_XA_SCORE, PCMK_VALUE_MINUS_INFINITY);
location          104 tools/crm_resource_ban.c         xmlNode *rule = pcmk__xe_create(location, PCMK_XE_RULE);
location          154 tools/crm_resource_ban.c     xmlNode *location = NULL;
location          168 tools/crm_resource_ban.c     location = pcmk__xe_create(fragment, PCMK_XE_RSC_LOCATION);
location          169 tools/crm_resource_ban.c     crm_xml_set_id(location, "cli-prefer-%s", rsc_id);
location          171 tools/crm_resource_ban.c     crm_xml_add(location, PCMK_XA_RSC, rsc_id);
location          173 tools/crm_resource_ban.c         crm_xml_add(location, PCMK_XA_ROLE, promoted_role);
location          175 tools/crm_resource_ban.c         crm_xml_add(location, PCMK_XA_ROLE, PCMK_ROLE_STARTED);
location          180 tools/crm_resource_ban.c         crm_xml_add(location, PCMK_XE_NODE, host);
location          181 tools/crm_resource_ban.c         crm_xml_add(location, PCMK_XA_SCORE, PCMK_VALUE_INFINITY);
location          184 tools/crm_resource_ban.c         xmlNode *rule = pcmk__xe_create(location, PCMK_XE_RULE);
location          283 tools/crm_resource_ban.c     xmlNode *location = NULL;
location          288 tools/crm_resource_ban.c         location = pcmk__xe_create(fragment, PCMK_XE_RSC_LOCATION);
location          289 tools/crm_resource_ban.c         crm_xml_set_id(location, "cli-ban-%s-on-%s", rsc_id, host);
location          292 tools/crm_resource_ban.c     location = pcmk__xe_create(fragment, PCMK_XE_RSC_LOCATION);
location          293 tools/crm_resource_ban.c     crm_xml_set_id(location, "cli-prefer-%s", rsc_id);
location          295 tools/crm_resource_ban.c         crm_xml_add(location, PCMK_XE_NODE, host);
location          486 tools/crm_resource_ban.c             xmlNode *location = NULL;
location          489 tools/crm_resource_ban.c             location = pcmk__xe_create(fragment, PCMK_XE_RSC_LOCATION);
location          490 tools/crm_resource_ban.c             crm_xml_set_id(location, "%s", pcmk__xe_id(constraint_node));
location          705 tools/crm_resource_print.c             rsc->fns->location(rsc, &hosts, TRUE);
location          757 tools/crm_resource_print.c         rsc->fns->location(rsc, &hosts, TRUE);
location          792 tools/crm_resource_print.c             rsc->fns->location(rsc, &hosts, TRUE);
location          858 tools/crm_resource_print.c         rsc->fns->location(rsc, &hosts, TRUE);
location         1208 tools/crm_resource_runtime.c     rsc->fns->location(rsc, &hosts, TRUE);