Home
last modified time | relevance | path

Searched refs:nrefs (Results 1 – 1 of 1) sorted by relevance

/external/elfutils/libdwfl/
Dderelocate.c94 size_t nrefs = 0; in cache_sections() local
140 ++nrefs; in cache_sections()
166 mod->reloc_info = malloc (offsetof (struct dwfl_relocation, refs[nrefs])); in cache_sections()
173 struct secref **sortrefs = alloca (nrefs * sizeof sortrefs[0]); in cache_sections()
174 for (size_t i = nrefs; i-- > 0; refs = refs->next) in cache_sections()
178 qsort (sortrefs, nrefs, sizeof sortrefs[0], &compare_secrefs); in cache_sections()
180 mod->reloc_info->count = nrefs; in cache_sections()
181 for (size_t i = 0; i < nrefs; ++i) in cache_sections()
209 for (size_t i = 0; i < nrefs; ++i) in cache_sections()
219 return nrefs; in cache_sections()