Searched refs:nrefs (Results 1 – 1 of 1) sorted by relevance
76 size_t nrefs = 0; in cache_sections() local123 ++nrefs; in cache_sections()149 mod->reloc_info = malloc (offsetof (struct dwfl_relocation, refs[nrefs])); in cache_sections()156 struct secref **sortrefs = alloca (nrefs * sizeof sortrefs[0]); in cache_sections()157 for (size_t i = nrefs; i-- > 0; refs = refs->next) in cache_sections()161 qsort (sortrefs, nrefs, sizeof sortrefs[0], &compare_secrefs); in cache_sections()163 mod->reloc_info->count = nrefs; in cache_sections()164 for (size_t i = 0; i < nrefs; ++i) in cache_sections()192 for (size_t i = 0; i < nrefs; ++i) in cache_sections()202 return nrefs; in cache_sections()