Lines Matching refs:ndst
2703 unsigned int i, nsrc, ndst, strtab_size = 0; in layout_symtab() local
2715 for (ndst = i = 0; i < nsrc; i++) { in layout_symtab()
2720 ndst++; in layout_symtab()
2726 info->stroffs = mod->core_layout.size = info->symoffs + ndst * sizeof(Elf_Sym); in layout_symtab()
2729 mod->core_layout.size += ndst * sizeof(char); in layout_symtab()
2755 unsigned int i, ndst; in add_kallsyms() local
2778 for (ndst = i = 0; i < mod->kallsyms->num_symtab; i++) { in add_kallsyms()
2783 mod->core_kallsyms.typetab[ndst] = in add_kallsyms()
2785 dst[ndst] = src[i]; in add_kallsyms()
2786 dst[ndst++].st_name = s - mod->core_kallsyms.strtab; in add_kallsyms()
2791 mod->core_kallsyms.num_symtab = ndst; in add_kallsyms()