Lines Matching defs:cache
78 typedef struct cache {
473 sym_local(Cache *cache, Cache *csym, const char *file)
481 strs = (char *)cache[shdr.sh_link].c_data->d_buf;
553 gvers_need(Cache *cache, Cache *need, const Gver_sym_data *vsdata,
578 strs = (char *)cache[shdr.sh_link].c_data->d_buf;
804 gvers_def(Cache *cache, Cache *def, const Gver_sym_data *vsdata,
830 strs = (char *)cache[shdr.sh_link].c_data->d_buf;
1012 Cache *cache, *_cache;
1150 * Fill in the cache descriptor with information for each
1156 * might as well set up the cache for every section.
1164 if ((cache = calloc(shnum, sizeof (Cache))) == NULL) {
1172 _cache = cache;
1242 vsdata_s.vsd_sym_data = cache[shdr.sh_link].c_data;
1243 (void) gelf_getshdr(cache[shdr.sh_link].c_scn, &shdr);
1246 (const char *)cache[shdr.sh_link].c_data->d_buf;
1254 nerror = gvers_need(cache, _cache_need, vsdata, file);
1260 derror = gvers_def(cache, _cache_def, vsdata, file);
1266 sym_local(cache, _cache_loc, file);
1289 free(cache);