Lines Matching refs:nrefs
86 size_t nrefs = 0; in cache_sections() local
93 nrefs = -1; in cache_sections()
131 nrefs = -1; in cache_sections()
142 ++nrefs; in cache_sections()
168 mod->reloc_info = malloc (offsetof (struct dwfl_relocation, refs[nrefs])); in cache_sections()
172 struct secref **sortrefs = malloc (nrefs * sizeof sortrefs[0]); in cache_sections()
176 for (size_t i = nrefs; i-- > 0; refs = refs->next) in cache_sections()
180 qsort (sortrefs, nrefs, sizeof sortrefs[0], &compare_secrefs); in cache_sections()
182 mod->reloc_info->count = nrefs; in cache_sections()
183 for (size_t i = 0; i < nrefs; ++i) in cache_sections()
214 for (size_t i = 0; i < nrefs; ++i) in cache_sections()
232 return nrefs; in cache_sections()