location 55 include/crm/pengine/pe_types.h pe_node_t *(*location) (const pe_resource_t*, GList**, int); location 1085 lib/lrmd/lrmd_client.c read_gnutls_key(const char *location, gnutls_datum_t *key) location 1090 lib/lrmd/lrmd_client.c if ((location == NULL) || (key == NULL)) { location 1094 lib/lrmd/lrmd_client.c stream = fopen(location, "r"); location 1131 lib/lrmd/lrmd_client.c const char *location; // Where cached key was read from location 1151 lib/lrmd/lrmd_client.c if ((key_cache->updated != 0) || (key_cache->location != NULL)) { location 1153 lib/lrmd/lrmd_client.c key_cache->location = NULL; location 1163 lib/lrmd/lrmd_client.c pcmk__s(key_cache->location, "unknown location")); location 1168 lib/lrmd/lrmd_client.c const char *location) location 1171 lib/lrmd/lrmd_client.c key_cache->location = location; location 1174 lib/lrmd/lrmd_client.c pcmk__s(location, "unknown location")); location 1188 lib/lrmd/lrmd_client.c get_remote_key(const char *location, gnutls_datum_t *key) location 1193 lib/lrmd/lrmd_client.c if ((location == NULL) || (key == NULL)) { location 1206 lib/lrmd/lrmd_client.c rc = read_gnutls_key(location, key); location 1210 lib/lrmd/lrmd_client.c cache_key(&key_cache, key, location); location 203 lib/pacemaker/libpacemaker_private.h void (*apply_location)(pe_resource_t *rsc, pe__location_t *location); location 728 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 344 lib/pacemaker/pcmk_sched_bundle.c active_node_lh = rsc_lh->fns->location(rsc_lh, NULL, current); location 484 lib/pacemaker/pcmk_sched_bundle.c pe_node_t *chosen = replica->container->fns->location(replica->container, location 323 lib/pacemaker/pcmk_sched_clone.c pe_node_t *chosen = child_rsc->fns->location(child_rsc, NULL, FALSE); location 487 lib/pacemaker/pcmk_sched_clone.c local_node = child_rsc->fns->location(child_rsc, NULL, FALSE); location 583 lib/pacemaker/pcmk_sched_group.c pcmk__group_apply_location(pe_resource_t *rsc, pe__location_t *location) location 589 lib/pacemaker/pcmk_sched_group.c CRM_ASSERT((rsc != NULL) && (location != NULL)); location 591 lib/pacemaker/pcmk_sched_group.c node_list_orig = location->node_list_rh; location 596 lib/pacemaker/pcmk_sched_group.c pcmk__apply_location(rsc, location); location 602 lib/pacemaker/pcmk_sched_group.c member->cmds->apply_location(member, location); location 610 lib/pacemaker/pcmk_sched_group.c location->node_list_rh = node_list_copy; location 614 lib/pacemaker/pcmk_sched_group.c location->node_list_rh = node_list_orig; location 573 lib/pacemaker/pcmk_sched_instances.c return instance->fns->location(instance, NULL, FALSE) != NULL; location 1023 lib/pacemaker/pcmk_sched_instances.c instance_node = instance->fns->location(instance, NULL, current); location 1106 lib/pacemaker/pcmk_sched_instances.c const pe_node_t *node = match_rsc->fns->location(match_rsc, NULL, current); 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 440 lib/pacemaker/pcmk_sched_location.c unpack_location_set(xmlNode *location, xmlNode *set, pe_working_set_t *data_set) location 454 lib/pacemaker/pcmk_sched_location.c pcmk__s(ID(location), "(missing ID)")); location 472 lib/pacemaker/pcmk_sched_location.c unpack_rsc_location(location, resource, role, local_score, data_set, location 605 lib/pacemaker/pcmk_sched_location.c pe__location_t *location = iter->data; location 607 lib/pacemaker/pcmk_sched_location.c location->rsc_lh->cmds->apply_location(location->rsc_lh, location); location 622 lib/pacemaker/pcmk_sched_location.c pcmk__apply_location(pe_resource_t *rsc, pe__location_t *location) location 626 lib/pacemaker/pcmk_sched_location.c CRM_CHECK((rsc != NULL) && (location != NULL), return); location 629 lib/pacemaker/pcmk_sched_location.c need_role = (location->role_filter > RSC_ROLE_UNKNOWN); location 630 lib/pacemaker/pcmk_sched_location.c if (need_role && (location->role_filter != rsc->next_role)) { location 633 lib/pacemaker/pcmk_sched_location.c location->id, rsc->id, role2text(rsc->next_role), location 634 lib/pacemaker/pcmk_sched_location.c role2text(location->role_filter)); location 638 lib/pacemaker/pcmk_sched_location.c if (location->node_list_rh == NULL) { location 640 lib/pacemaker/pcmk_sched_location.c location->id, rsc->id); location 644 lib/pacemaker/pcmk_sched_location.c pe_rsc_trace(rsc, "Applying %s%s%s to %s", location->id, location 646 lib/pacemaker/pcmk_sched_location.c (need_role? role2text(location->role_filter) : ""), rsc->id); location 648 lib/pacemaker/pcmk_sched_location.c for (GList *gIter = location->node_list_rh; gIter != NULL; location 670 lib/pacemaker/pcmk_sched_location.c if (weighted_node->rsc_discover_mode < location->discover_mode) { location 671 lib/pacemaker/pcmk_sched_location.c if (location->discover_mode == pe_discover_exclusive) { location 675 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 125 lib/pacemaker/pcmk_sched_promotable.c const pe__location_t *location = iter->data; location 128 lib/pacemaker/pcmk_sched_promotable.c if (location->role_filter == RSC_ROLE_PROMOTED) { location 129 lib/pacemaker/pcmk_sched_promotable.c weighted_node = pe_find_node_id(location->node_list_rh, location 139 lib/pacemaker/pcmk_sched_promotable.c location->id, child->id, pe__node_name(weighted_node), location 175 lib/pacemaker/pcmk_sched_promotable.c node = rsc->fns->location(rsc, NULL, FALSE); location 314 lib/pacemaker/pcmk_sched_promotable.c chosen = child->fns->location(child, NULL, FALSE); location 408 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *chosen = child->fns->location(child, NULL, FALSE); location 825 lib/pacemaker/pcmk_sched_promotable.c rsc->fns->location(rsc, &assigned, FALSE); location 862 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *chosen = instance->fns->location(instance, NULL, FALSE); location 905 lib/pacemaker/pcmk_sched_promotable.c chosen = instance->fns->location(instance, &list, FALSE); location 1212 lib/pacemaker/pcmk_sched_promotable.c pe_node_t *node = instance->fns->location(instance, NULL, FALSE); location 671 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); location 673 lib/pengine/clone.c if (location) { location 678 lib/pengine/clone.c if (location->details->online == FALSE && location->details->unclean) { location 682 lib/pengine/clone.c promoted_list = g_list_append(promoted_list, location); location 685 lib/pengine/clone.c started_list = g_list_append(started_list, location); location 969 lib/pengine/clone.c pe_node_t *location = child_rsc->fns->location(child_rsc, NULL, TRUE); location 971 lib/pengine/clone.c if (location) { location 976 lib/pengine/clone.c if (location->details->online == FALSE && location->details->unclean) { location 980 lib/pengine/clone.c promoted_list = g_list_append(promoted_list, location); location 983 lib/pengine/clone.c started_list = g_list_append(started_list, location); location 1104 lib/pengine/native.c child->fns->location(child, &result, current); location 615 lib/pengine/pe_output.c pe__location_t *location = va_arg(args, pe__location_t *); location 621 lib/pengine/pe_output.c location->id, location->rsc_lh->id, location 622 lib/pengine/pe_output.c role_desc(location->role_filter), node_name); location 635 lib/pengine/pe_output.c pe__location_t *location = va_arg(args, pe__location_t *); location 641 lib/pengine/pe_output.c location->id, location->rsc_lh->id, location 642 lib/pengine/pe_output.c role_desc(location->role_filter), node_name); location 652 lib/pengine/pe_output.c pe__location_t *location = va_arg(args, pe__location_t *); location 655 lib/pengine/pe_output.c const char *promoted_only = pcmk__btoa(location->role_filter == RSC_ROLE_PROMOTED); location 659 lib/pengine/pe_output.c "id", location->id, location 660 lib/pengine/pe_output.c "resource", location->rsc_lh->id, location 692 lib/pengine/pe_output.c pe__location_t *location = gIter->data; location 693 lib/pengine/pe_output.c const pe_resource_t *rsc = location->rsc_lh; location 695 lib/pengine/pe_output.c if (prefix != NULL && !g_str_has_prefix(location->id, prefix)) { location 706 lib/pengine/pe_output.c for (gIter2 = location->node_list_rh; gIter2 != NULL; gIter2 = gIter2->next) { location 711 lib/pengine/pe_output.c out->message(out, "ban", node, location, show_opts); location 1810 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 165 tools/crm_resource_ban.c xmlNode *location = NULL; location 179 tools/crm_resource_ban.c location = create_xml_node(fragment, XML_CONS_TAG_RSC_LOCATION); location 180 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-prefer-%s", rsc_id); location 182 tools/crm_resource_ban.c crm_xml_add(location, XML_LOC_ATTR_SOURCE, rsc_id); location 184 tools/crm_resource_ban.c crm_xml_add(location, XML_RULE_ATTR_ROLE, promoted_role_name()); location 186 tools/crm_resource_ban.c crm_xml_add(location, XML_RULE_ATTR_ROLE, RSC_ROLE_STARTED_S); location 191 tools/crm_resource_ban.c crm_xml_add(location, XML_CIB_TAG_NODE, host); location 192 tools/crm_resource_ban.c crm_xml_add(location, XML_RULE_ATTR_SCORE, CRM_INFINITY_S); location 195 tools/crm_resource_ban.c xmlNode *rule = create_xml_node(location, XML_TAG_RULE); location 280 tools/crm_resource_ban.c xmlNode *location = NULL; location 285 tools/crm_resource_ban.c location = create_xml_node(fragment, XML_CONS_TAG_RSC_LOCATION); location 286 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-ban-%s-on-%s", rsc_id, host); location 289 tools/crm_resource_ban.c location = create_xml_node(fragment, XML_CONS_TAG_RSC_LOCATION); location 290 tools/crm_resource_ban.c crm_xml_set_id(location, "cli-prefer-%s", rsc_id); location 292 tools/crm_resource_ban.c crm_xml_add(location, XML_CIB_TAG_NODE, host); location 477 tools/crm_resource_ban.c xmlNode *location = NULL; location 480 tools/crm_resource_ban.c location = create_xml_node(fragment, XML_CONS_TAG_RSC_LOCATION); location 481 tools/crm_resource_ban.c crm_xml_set_id(location, "%s", ID(constraint_node)); location 609 tools/crm_resource_print.c rsc->fns->location(rsc, &hosts, TRUE); location 661 tools/crm_resource_print.c rsc->fns->location(rsc, &hosts, TRUE); location 694 tools/crm_resource_print.c rsc->fns->location(rsc, &hosts, TRUE); location 759 tools/crm_resource_print.c rsc->fns->location(rsc, &hosts, TRUE); location 1095 tools/crm_resource_runtime.c rsc->fns->location(rsc, &hosts, TRUE);