Lines Matching refs:cache
35 static struct cache_file *cache; variable
68 const char *left_name = (const char *) cache + left_index; in glibc_hwcaps_compare()
92 if (!cache_extension_load (cache_new, cache, cachesize, &ext)) in glibc_hwcaps_priorities_init()
408 if (cache == NULL) in _dl_load_cache_lookup()
432 cache = file; in _dl_load_cache_lookup()
434 else if (file != MAP_FAILED && cachesize > sizeof *cache in _dl_load_cache_lookup()
437 && ((cachesize - sizeof *cache) / sizeof (struct file_entry) in _dl_load_cache_lookup()
442 cache = file; in _dl_load_cache_lookup()
446 + cache->nlibs * sizeof (struct file_entry)); in _dl_load_cache_lookup()
448 cache_new = (struct cache_file_new *) ((void *) cache + offset); in _dl_load_cache_lookup()
461 cache = (void *) -1; in _dl_load_cache_lookup()
471 cache = (void *) -1; in _dl_load_cache_lookup()
474 assert (cache != NULL); in _dl_load_cache_lookup()
477 if (cache == (void *) -1) in _dl_load_cache_lookup()
491 const char *string_table = (const char *) &cache->libs[cache->nlibs]; in _dl_load_cache_lookup()
493 = (const char *) cache + cachesize - string_table; in _dl_load_cache_lookup()
495 &cache->libs[0], cache->nlibs, in _dl_load_cache_lookup()
496 sizeof (cache->libs[0]), name); in _dl_load_cache_lookup()
525 if (cache != NULL && cache != (struct cache_file *) -1) in _dl_unload_cache()
527 __munmap (cache, cachesize); in _dl_unload_cache()
528 cache = NULL; in _dl_unload_cache()