Lines Matching refs:ldcache
221 struct ld_cache1 *ldcache = (struct ld_cache1 *)ld_map; in read_cache1() local
223 (const char *)(ldcache->entries + ldcache->entry_count); in read_cache1()
227 (struct ld_lib *)malloc(ldcache->entry_count * sizeof(struct ld_lib)); in read_cache1()
228 lib_cache_count = (int)ldcache->entry_count; in read_cache1()
230 for (i = 0; i < ldcache->entry_count; ++i) { in read_cache1()
231 const char *key = ldstrings + ldcache->entries[i].key; in read_cache1()
232 const char *val = ldstrings + ldcache->entries[i].value; in read_cache1()
233 const int flags = ldcache->entries[i].flags; in read_cache1()
243 struct ld_cache2 *ldcache = (struct ld_cache2 *)ld_map; in read_cache2() local
250 (struct ld_lib *)malloc(ldcache->entry_count * sizeof(struct ld_lib)); in read_cache2()
251 lib_cache_count = (int)ldcache->entry_count; in read_cache2()
253 for (i = 0; i < ldcache->entry_count; ++i) { in read_cache2()
254 const char *key = ld_map + ldcache->entries[i].key; in read_cache2()
255 const char *val = ld_map + ldcache->entries[i].value; in read_cache2()
256 const int flags = ldcache->entries[i].flags; in read_cache2()