/linux-master/arch/mips/vdso/ |
H A D | genvdso.h | 61 void *shdrs, *symtab; local 96 symtab = vdso + FUNC(swap_uint)(shdr->sh_offset); 110 sym = symtab + (j * st_entsize);
|
/linux-master/scripts/ |
H A D | insert-sys-cert.c | 133 static Elf_Sym *find_elf_symbol(Elf_Ehdr *hdr, Elf_Shdr *symtab, char *name) argument 142 link = symtab->sh_link; 143 symtab_start = (void *)hdr + symtab->sh_offset; 144 n = symtab->sh_size / symtab->sh_entsize; 157 static void get_symbol_from_table(Elf_Ehdr *hdr, Elf_Shdr *symtab, argument 169 elf_sym = find_elf_symbol(hdr, symtab, name); 286 Elf_Shdr *symtab = NULL; local 346 symtab = get_symbol_table(hdr); 347 if (!symtab) { [all...] |
H A D | recordmcount.h | 191 static unsigned int get_symindex(Elf_Sym const *sym, Elf32_Word const *symtab, argument 202 offset = (unsigned long)sym - (unsigned long)symtab; 237 unsigned const nhdr, Elf32_Word **symtab, 243 *symtab = NULL; 248 *symtab = (void *)ehdr + relhdr->sh_offset; 252 if (*symtab && *symtab_shndx) 521 Elf32_Word const *symtab, 534 if (txtndx == get_symindex(symp, symtab, symtab_shndx) 619 Elf32_Word *symtab; local 652 find_symtab(ehdr, shdr0, nhdr, &symtab, 236 find_symtab(Elf_Ehdr *const ehdr, Elf_Shdr const *shdr0, unsigned const nhdr, Elf32_Word **symtab, Elf32_Word **symtab_shndx) argument 516 find_secsym_ndx(unsigned const txtndx, char const *const txtname, uint_t *const recvalp, unsigned int *sym_index, Elf_Shdr const *const symhdr, Elf32_Word const *symtab, Elf32_Word const *symtab_shndx, Elf_Ehdr const *const ehdr) argument [all...] |
H A D | sorttable.h | 271 const Elf_Sym *symtab; local 312 if (!strcmp(secstrings + idx, ".symtab")) 402 fprintf(stderr, "no .symtab in file: %s\n", fname); 413 symtab = (const Elf_Sym *)((const char *)ehdr + 449 sort_needed_sym - symtab,
|
/linux-master/arch/alpha/kernel/ |
H A D | module.c | 69 Elf64_Shdr *esechdrs, *symtab, *s, *got; local 73 symtab = got = NULL; 80 symtab = s; 86 if (!symtab) { 95 nsyms = symtab->sh_size / sizeof(Elf64_Sym); 139 Elf64_Sym *symtab, *sym; local 147 symtab = (Elf64_Sym *)sechdrs[symindex].sh_addr; 164 sym = symtab + r_sym;
|
/linux-master/arch/mips/boot/tools/ |
H A D | relocs.c | 27 Elf_Sym *symtab; member in struct:section 328 sec->symtab = malloc(sec->shdr.sh_size); 329 if (!sec->symtab) 330 die("malloc of %d bytes for symtab failed\n", 337 if (fread(sec->symtab, 1, sec->shdr.sh_size, fp) != 342 Elf_Sym *sym = &sec->symtab[j]; 488 sh_symtab = sec_symtab->symtab;
|
/linux-master/arch/riscv/include/asm/ |
H A D | kexec.h | 64 const Elf_Shdr *symtab);
|
/linux-master/arch/riscv/kernel/ |
H A D | elf_kexec.c | 375 const Elf_Shdr *symtab) 384 strtab = (char *)pi->ehdr + sechdrs[symtab->sh_link].sh_offset; 396 sym = (void *)pi->ehdr + symtab->sh_offset; 371 arch_kexec_apply_relocations_add(struct purgatory_info *pi, Elf_Shdr *section, const Elf_Shdr *relsec, const Elf_Shdr *symtab) argument
|
/linux-master/arch/s390/include/asm/ |
H A D | kexec.h | 104 const Elf_Shdr *symtab);
|
/linux-master/arch/s390/kernel/ |
H A D | machine_kexec_file.c | 312 const Elf_Shdr *symtab) 322 strtab = (char *)pi->ehdr + sechdrs[symtab->sh_link].sh_offset; 333 sym = (void *)pi->ehdr + symtab->sh_offset; 309 arch_kexec_apply_relocations_add(struct purgatory_info *pi, Elf_Shdr *section, const Elf_Shdr *relsec, const Elf_Shdr *symtab) argument
|
H A D | module.c | 109 Elf_Shdr *symtab; local 117 symtab = NULL; 121 symtab = sechdrs + i; 124 if (!symtab) { 130 me->arch.nsyms = symtab->sh_size / sizeof(Elf_Sym); 135 symbols = (void *) hdr + symtab->sh_offset; 136 strings = (void *) hdr + sechdrs[symtab->sh_link].sh_offset; 222 static int apply_rela(Elf_Rela *rela, Elf_Addr base, Elf_Sym *symtab, argument 238 val = symtab[r_sym].st_value; 420 me->name, strtab + symtab[r_sy 433 Elf_Sym *symtab; local [all...] |
/linux-master/arch/x86/include/asm/ |
H A D | kexec.h | 199 const Elf_Shdr *symtab);
|
/linux-master/arch/x86/tools/ |
H A D | relocs.c | 42 Elf_Sym *symtab; member in struct:section 295 Elf_Sym *symtab; local 302 symtab = sec->symtab; 305 for (sym = symtab; --nsyms >= 0; sym++) { 356 Elf_Sym *symtab = secs[shsymtabndx].symtab; local 365 offset = (unsigned long)sym - (unsigned long)symtab; 518 sec->symtab = malloc(sec->shdr.sh_size); 519 if (!sec->symtab) [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp_rtsym.c | 44 struct nfp_rtsym symtab[]; member in struct:nfp_rtsym_table 130 cache->strtab = (void *)&cache->symtab[cache->num]; 143 &cache->symtab[n], &rtsymtab[n]); 183 return &rtbl->symtab[idx]; 202 if (strcmp(name, rtbl->symtab[n].name) == 0) 203 return &rtbl->symtab[n];
|
/linux-master/include/asm-generic/ |
H A D | vmlinux.lds.h | 835 .symtab 0 : { *(.symtab) } \
|
/linux-master/include/linux/ |
H A D | kexec.h | 238 * @symtab: Corresponding symtab. 244 const Elf_Shdr *relsec, const Elf_Shdr *symtab) 257 * @symtab: Corresponding symtab. 263 const Elf_Shdr *relsec, const Elf_Shdr *symtab) 243 arch_kexec_apply_relocations_add(struct purgatory_info *pi, Elf_Shdr *section, const Elf_Shdr *relsec, const Elf_Shdr *symtab) argument 262 arch_kexec_apply_relocations(struct purgatory_info *pi, Elf_Shdr *section, const Elf_Shdr *relsec, const Elf_Shdr *symtab) argument
|
H A D | module.h | 379 Elf_Sym *symtab; member in struct:mod_kallsyms
|
/linux-master/kernel/debug/kdb/ |
H A D | kdb_main.c | 554 kdb_symtab_t symtab; local 603 found = kdbgetsymval(symname, &symtab); 605 addr = symtab.sym_start; 614 found = kdbnearsym(addr, &symtab); 623 *offset = addr - symtab.sym_start; 1533 kdb_symtab_t symtab; local 1554 kdbnearsym(word, &symtab); 1556 memset(&symtab, 0, sizeof(symtab)); 1557 if (symtab [all...] |
H A D | kdb_support.c | 34 * symtab Structure to receive results 36 * 0 Symbol not found, symtab zero filled 37 * 1 Symbol mapped to module/symbol/section, data in symtab 39 int kdbgetsymval(const char *symname, kdb_symtab_t *symtab) argument 41 kdb_dbg_printf(AR, "symname=%s, symtab=%px\n", symname, symtab); 42 memset(symtab, 0, sizeof(*symtab)); 43 symtab->sym_start = kallsyms_lookup_name(symname); 44 if (symtab 81 kdbnearsym(unsigned long addr, kdb_symtab_t *symtab) argument 201 kdb_symtab_t symtab, *symtab_p2; local [all...] |
/linux-master/kernel/ |
H A D | kexec_file.c | 977 const Elf_Shdr *symtab; local 997 symtab = sechdrs + relsec->sh_link; 1003 * symtab->sh_link contain section header index of associated 1006 if (symtab->sh_link >= pi->ehdr->e_shnum) 1016 relsec, symtab); 1019 relsec, symtab); 1075 * Return: pointer to symbol in read-only symtab on success, NULL on error.
|
/linux-master/kernel/module/ |
H A D | kallsyms.c | 107 * We only allocate and copy the strings needed by the parts of symtab 166 * We use the full symtab and strtab which layout_symtab arranged to 187 rcu_dereference(mod->kallsyms)->symtab = (void *)symsec->sh_addr; 198 mod->core_kallsyms.symtab = dst = data_base + info->symoffs; 202 src = rcu_dereference(mod->kallsyms)->symtab; 249 return kallsyms->strtab + kallsyms->symtab[symnum].st_name; 274 bestval = kallsyms_symbol_value(&kallsyms->symtab[best]); 281 const Elf_Sym *sym = &kallsyms->symtab[i]; 397 const Elf_Sym *sym = &kallsyms->symtab[symnum]; 420 const Elf_Sym *sym = &kallsyms->symtab[ [all...] |
H A D | livepatch.c | 15 * section header table, section string table, and symtab section 53 * For livepatch modules, core_kallsyms.symtab is a complete 55 * to core_kallsyms.symtab since the copy of the symtab in module 58 mod->klp_info->sechdrs[symndx].sh_addr = (unsigned long)mod->core_kallsyms.symtab;
|
/linux-master/scripts/gcc-plugins/ |
H A D | gcc-common.h | 179 /* symtab/cgraph related */ 184 #define cgraph_n_nodes symtab->cgraph_count 185 #define cgraph_max_uid symtab->cgraph_max_uid 213 symtab->change_decl_assembler_name(decl, name); 263 return symtab->add_cgraph_insertion_hook(hook, data); 268 symtab->remove_cgraph_insertion_hook(entry); 273 return symtab->add_cgraph_removal_hook(hook, data); 278 symtab->remove_cgraph_removal_hook(entry); 283 return symtab->add_cgraph_duplication_hook(hook, data); 288 symtab [all...] |
/linux-master/scripts/genksyms/ |
H A D | genksyms.c | 26 static struct symbol *symtab[HASH_BUCKETS]; variable in typeref:struct:symbol 157 for (sym = symtab[h]; sym; sym = sym->hash_next) 228 for (sym = symtab[h]; sym; sym = sym->hash_next) { 266 for (psym = &symtab[h]; *psym; psym = &(*psym)->hash_next) { 283 sym->hash_next = symtab[h]; 284 symtab[h] = sym;
|
/linux-master/security/selinux/ |
H A D | Makefile | 19 ss/ebitmap.o ss/hashtab.o ss/symtab.o ss/sidtab.o ss/avtab.o \
|