Lines Matching refs:ndst
115 unsigned int i, nsrc, ndst, strtab_size = 0; in layout_symtab() local
127 for (ndst = i = 0; i < nsrc; i++) { in layout_symtab()
132 ndst++; in layout_symtab()
138 info->stroffs = mod->data_layout.size = info->symoffs + ndst * sizeof(Elf_Sym); in layout_symtab()
142 mod->data_layout.size += ndst * sizeof(char); in layout_symtab()
168 unsigned int i, ndst; in add_kallsyms() local
197 for (ndst = i = 0; i < rcu_dereference(mod->kallsyms)->num_symtab; i++) { in add_kallsyms()
204 mod->core_kallsyms.typetab[ndst] = in add_kallsyms()
206 dst[ndst] = src[i]; in add_kallsyms()
207 dst[ndst++].st_name = s - mod->core_kallsyms.strtab; in add_kallsyms()
218 mod->core_kallsyms.num_symtab = ndst; in add_kallsyms()