Lines Matching defs:src
78 static bool is_core_symbol(const Elf_Sym *src, const Elf_Shdr *sechdrs,
84 if (src->st_shndx == SHN_UNDEF ||
85 src->st_shndx >= shnum ||
86 !src->st_name)
90 if (src->st_shndx == pcpundx)
94 sec = sechdrs + src->st_shndx;
117 const Elf_Sym *src;
128 src = (void *)info->hdr + symsect->sh_offset;
129 nsrc = symsect->sh_size / sizeof(*src);
134 is_core_symbol(src + i, info->sechdrs, info->hdr->e_shnum,
136 strtab_size += strlen(&info->strtab[src[i].st_name]) + 1;
173 const Elf_Sym *src;
198 src = kallsyms->symtab;
200 kallsyms->typetab[i] = elf_type(src + i, info);
202 is_core_symbol(src + i, info->sechdrs, info->hdr->e_shnum,
208 dst[ndst] = src[i];
210 ret = strscpy(s, &kallsyms->strtab[src[i].st_name],