location 339 include/crm/common/resources.h pcmk_node_t *(*location)(const pcmk_resource_t *rsc, GList **list, location 1109 lib/lrmd/lrmd_client.c read_gnutls_key(const char *location, gnutls_datum_t *key) location 1114 lib/lrmd/lrmd_client.c if ((location == NULL) || (key == NULL)) { location 1118 lib/lrmd/lrmd_client.c stream = fopen(location, "r"); location 1155 lib/lrmd/lrmd_client.c const char *location; // Where cached key was read from location 1175 lib/lrmd/lrmd_client.c if ((key_cache->updated != 0) || (key_cache->location != NULL)) { location 1177 lib/lrmd/lrmd_client.c key_cache->location = NULL; location 1187 lib/lrmd/lrmd_client.c pcmk__s(key_cache->location, "unknown location")); location 1192 lib/lrmd/lrmd_client.c const char *location) location 1195 lib/lrmd/lrmd_client.c key_cache->location = location; location 1198 lib/lrmd/lrmd_client.c pcmk__s(location, "unknown location")); location 1212 lib/lrmd/lrmd_client.c get_remote_key(const char *location, gnutls_datum_t *key) location 1217 lib/lrmd/lrmd_client.c if ((location == NULL) || (key == NULL)) { location 1230 lib/lrmd/lrmd_client.c rc = read_gnutls_key(location, key); location 1234 lib/lrmd/lrmd_client.c cache_key(&key_cache, key, location); location 244 lib/pacemaker/libpacemaker_private.h void (*apply_location)(pcmk_resource_t *rsc, pe__location_t *location); location 840 lib/pacemaker/libpacemaker_private.h void pcmk__group_apply_location(pcmk_resource_t *rsc, pe__location_t *location); location 550 lib/pacemaker/pcmk_sched_actions.c first_node = first->rsc->fns->location(first->rsc, NULL, FALSE); location 561 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 482 lib/pacemaker/pcmk_sched_bundle.c chosen = replica->container->fns->location(replica->container, NULL, 0); location 728 lib/pacemaker/pcmk_sched_bundle.c pe__location_t *location = user_data; location 731 lib/pacemaker/pcmk_sched_bundle.c replica->container->cmds->apply_location(replica->container, location); location 734 lib/pacemaker/pcmk_sched_bundle.c replica->ip->cmds->apply_location(replica->ip, location); location 747 lib/pacemaker/pcmk_sched_bundle.c pcmk__bundle_apply_location(pcmk_resource_t *rsc, pe__location_t *location) location 752 lib/pacemaker/pcmk_sched_bundle.c && (location != NULL)); location 754 lib/pacemaker/pcmk_sched_bundle.c pcmk__apply_location(rsc, location); location 755 lib/pacemaker/pcmk_sched_bundle.c pe__foreach_bundle_replica(rsc, apply_location_to_replica, location); location 759 lib/pacemaker/pcmk_sched_bundle.c && ((location->role_filter == pcmk_role_unpromoted) location 760 lib/pacemaker/pcmk_sched_bundle.c || (location->role_filter == pcmk_role_promoted))) { location 761 lib/pacemaker/pcmk_sched_bundle.c bundled_resource->cmds->apply_location(bundled_resource, location); location 763 lib/pacemaker/pcmk_sched_bundle.c bundled_resource->rsc_location, location); location 328 lib/pacemaker/pcmk_sched_clone.c pcmk_node_t *chosen = instance->fns->location(instance, NULL, 0); location 406 lib/pacemaker/pcmk_sched_clone.c pcmk__clone_apply_location(pcmk_resource_t *rsc, pe__location_t *location) location 408 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK((location != NULL) && pe_rsc_is_clone(rsc), return); location 410 lib/pacemaker/pcmk_sched_clone.c pcmk__apply_location(rsc, location); location 415 lib/pacemaker/pcmk_sched_clone.c instance->cmds->apply_location(instance, location); location 534 lib/pacemaker/pcmk_sched_clone.c instance_node = instance->fns->location(instance, NULL, 0); location 610 lib/pacemaker/pcmk_sched_group.c pcmk__group_apply_location(pcmk_resource_t *rsc, pe__location_t *location) location 617 lib/pacemaker/pcmk_sched_group.c && (location != NULL)); location 619 lib/pacemaker/pcmk_sched_group.c node_list_orig = location->node_list_rh; location 624 lib/pacemaker/pcmk_sched_group.c pcmk__apply_location(rsc, location); location 630 lib/pacemaker/pcmk_sched_group.c member->cmds->apply_location(member, location); location 638 lib/pacemaker/pcmk_sched_group.c location->node_list_rh = node_list_copy; location 642 lib/pacemaker/pcmk_sched_group.c location->node_list_rh = node_list_orig; location 1091 lib/pacemaker/pcmk_sched_instances.c instance_node = instance->fns->location(instance, NULL, current); location 1178 lib/pacemaker/pcmk_sched_instances.c node = match_rsc->fns->location(match_rsc, NULL, current); location 204 lib/pacemaker/pcmk_sched_location.c pe__location_t *location = NULL; location 228 lib/pacemaker/pcmk_sched_location.c location = pcmk__new_location(id, rsc, score_i, discovery, match); location 268 lib/pacemaker/pcmk_sched_location.c if ((location != NULL) && (role != NULL)) { location 280 lib/pacemaker/pcmk_sched_location.c location->role_filter = pcmk_role_unknown; location 283 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, location 456 lib/pacemaker/pcmk_sched_location.c pcmk__s(ID(location), "(missing ID)")); location 474 lib/pacemaker/pcmk_sched_location.c unpack_rsc_location(location, resource, role, local_score, NULL); location 604 lib/pacemaker/pcmk_sched_location.c pe__location_t *location = iter->data; location 606 lib/pacemaker/pcmk_sched_location.c location->rsc_lh->cmds->apply_location(location->rsc_lh, location); location 621 lib/pacemaker/pcmk_sched_location.c pcmk__apply_location(pcmk_resource_t *rsc, pe__location_t *location) location 625 lib/pacemaker/pcmk_sched_location.c CRM_ASSERT((rsc != NULL) && (location != NULL)); location 628 lib/pacemaker/pcmk_sched_location.c need_role = (location->role_filter > pcmk_role_unknown); location 629 lib/pacemaker/pcmk_sched_location.c if (need_role && (location->role_filter != rsc->next_role)) { location 632 lib/pacemaker/pcmk_sched_location.c location->id, rsc->id, role2text(rsc->next_role), location 633 lib/pacemaker/pcmk_sched_location.c role2text(location->role_filter)); location 637 lib/pacemaker/pcmk_sched_location.c if (location->node_list_rh == NULL) { location 639 lib/pacemaker/pcmk_sched_location.c location->id, rsc->id); location 643 lib/pacemaker/pcmk_sched_location.c pe_rsc_trace(rsc, "Applying %s%s%s to %s", location->id, location 645 lib/pacemaker/pcmk_sched_location.c (need_role? role2text(location->role_filter) : ""), rsc->id); location 647 lib/pacemaker/pcmk_sched_location.c for (GList *iter = location->node_list_rh; location 668 lib/pacemaker/pcmk_sched_location.c if (allowed_node->rsc_discover_mode < location->discover_mode) { location 669 lib/pacemaker/pcmk_sched_location.c if (location->discover_mode == pcmk_probe_exclusive) { location 673 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 pe__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->node_list_rh, 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 323 lib/pacemaker/pcmk_sched_promotable.c chosen = child->fns->location(child, NULL, FALSE); location 414 lib/pacemaker/pcmk_sched_promotable.c pcmk_node_t *chosen = child->fns->location(child, NULL, FALSE); location 841 lib/pacemaker/pcmk_sched_promotable.c rsc->fns->location(rsc, &assigned, FALSE); location 878 lib/pacemaker/pcmk_sched_promotable.c pcmk_node_t *chosen = instance->fns->location(instance, NULL, FALSE); location 921 lib/pacemaker/pcmk_sched_promotable.c chosen = instance->fns->location(instance, &list, FALSE); location 1226 lib/pacemaker/pcmk_sched_promotable.c pcmk_node_t *node = instance->fns->location(instance, NULL, FALSE); location 675 lib/pengine/clone.c pcmk_node_t *location = NULL; location 677 lib/pengine/clone.c location = child_rsc->fns->location(child_rsc, NULL, TRUE); location 678 lib/pengine/clone.c if (location) { location 683 lib/pengine/clone.c if (location->details->online == FALSE && location->details->unclean) { location 687 lib/pengine/clone.c promoted_list = g_list_append(promoted_list, location); location 690 lib/pengine/clone.c started_list = g_list_append(started_list, location); location 979 lib/pengine/clone.c pcmk_node_t *location = NULL; location 981 lib/pengine/clone.c location = child_rsc->fns->location(child_rsc, NULL, TRUE); location 982 lib/pengine/clone.c if (location) { location 987 lib/pengine/clone.c if (location->details->online == FALSE && location->details->unclean) { location 991 lib/pengine/clone.c promoted_list = g_list_append(promoted_list, location); location 994 lib/pengine/clone.c started_list = g_list_append(started_list, location); location 1128 lib/pengine/native.c child->fns->location(child, &result, current); location 642 lib/pengine/pe_output.c pe__location_t *location = va_arg(args, pe__location_t *); location 648 lib/pengine/pe_output.c location->id, location->rsc_lh->id, location 649 lib/pengine/pe_output.c role_desc(location->role_filter), node_name); location 662 lib/pengine/pe_output.c pe__location_t *location = va_arg(args, pe__location_t *); location 668 lib/pengine/pe_output.c location->id, location->rsc_lh->id, location 669 lib/pengine/pe_output.c role_desc(location->role_filter), node_name); location 679 lib/pengine/pe_output.c pe__location_t *location = va_arg(args, pe__location_t *); location 682 lib/pengine/pe_output.c const char *promoted_only = pcmk__btoa(location->role_filter == pcmk_role_promoted); location 686 lib/pengine/pe_output.c "id", location->id, location 687 lib/pengine/pe_output.c "resource", location->rsc_lh->id, location 720 lib/pengine/pe_output.c pe__location_t *location = gIter->data; location 721 lib/pengine/pe_output.c const pcmk_resource_t *rsc = location->rsc_lh; location 723 lib/pengine/pe_output.c if (prefix != NULL && !g_str_has_prefix(location->id, prefix)) { location 734 lib/pengine/pe_output.c for (gIter2 = location->node_list_rh; gIter2 != NULL; gIter2 = gIter2->next) { location 739 lib/pengine/pe_output.c out->message(out, "ban", node, location, show_opts); location 2018 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 = create_xml_node(fragment, XML_CONS_TAG_RSC_LOCATION); location 78 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-ban-%s-on-%s", rsc_id, host); location 86 tools/crm_resource_ban.c ID(location), rsc_id, host, rsc_id, location 90 tools/crm_resource_ban.c crm_xml_add(location, XML_LOC_ATTR_SOURCE, rsc_id); location 92 tools/crm_resource_ban.c crm_xml_add(location, XML_RULE_ATTR_ROLE, promoted_role); location 94 tools/crm_resource_ban.c crm_xml_add(location, XML_RULE_ATTR_ROLE, PCMK__ROLE_STARTED); location 99 tools/crm_resource_ban.c crm_xml_add(location, XML_CIB_TAG_NODE, host); location 100 tools/crm_resource_ban.c crm_xml_add(location, XML_RULE_ATTR_SCORE, CRM_MINUS_INFINITY_S); location 103 tools/crm_resource_ban.c xmlNode *rule = create_xml_node(location, XML_TAG_RULE); location 150 tools/crm_resource_ban.c xmlNode *location = NULL; location 164 tools/crm_resource_ban.c location = create_xml_node(fragment, XML_CONS_TAG_RSC_LOCATION); location 165 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-prefer-%s", rsc_id); location 167 tools/crm_resource_ban.c crm_xml_add(location, XML_LOC_ATTR_SOURCE, rsc_id); location 169 tools/crm_resource_ban.c crm_xml_add(location, XML_RULE_ATTR_ROLE, promoted_role); location 171 tools/crm_resource_ban.c crm_xml_add(location, XML_RULE_ATTR_ROLE, PCMK__ROLE_STARTED); location 176 tools/crm_resource_ban.c crm_xml_add(location, XML_CIB_TAG_NODE, host); location 177 tools/crm_resource_ban.c crm_xml_add(location, XML_RULE_ATTR_SCORE, CRM_INFINITY_S); location 180 tools/crm_resource_ban.c xmlNode *rule = create_xml_node(location, XML_TAG_RULE); location 275 tools/crm_resource_ban.c xmlNode *location = NULL; location 280 tools/crm_resource_ban.c location = create_xml_node(fragment, XML_CONS_TAG_RSC_LOCATION); location 281 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-ban-%s-on-%s", rsc_id, host); location 284 tools/crm_resource_ban.c location = create_xml_node(fragment, XML_CONS_TAG_RSC_LOCATION); location 285 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-prefer-%s", rsc_id); location 287 tools/crm_resource_ban.c crm_xml_add(location, XML_CIB_TAG_NODE, host); location 472 tools/crm_resource_ban.c xmlNode *location = NULL; location 475 tools/crm_resource_ban.c location = create_xml_node(fragment, XML_CONS_TAG_RSC_LOCATION); location 476 tools/crm_resource_ban.c crm_xml_set_id(location, "%s", ID(constraint_node)); location 614 tools/crm_resource_print.c rsc->fns->location(rsc, &hosts, TRUE); location 666 tools/crm_resource_print.c rsc->fns->location(rsc, &hosts, TRUE); location 699 tools/crm_resource_print.c rsc->fns->location(rsc, &hosts, TRUE); location 764 tools/crm_resource_print.c rsc->fns->location(rsc, &hosts, TRUE); location 1107 tools/crm_resource_runtime.c rsc->fns->location(rsc, &hosts, TRUE);