/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | vpe.c | 426 const char *strtab, in apply_relocations() argument 450 me->name, strtab + sym->st_name); in apply_relocations() 461 strtab + sym->st_name); in apply_relocations() 479 const char *strtab, in simplify_symbols() argument 519 strtab + sym[i].st_name, sym[i].st_shndx); in simplify_symbols() 526 if (strncmp(strtab + sym[i].st_name, "_gp", 3) == 0) in simplify_symbols() 537 const char *strtab, struct module *mod) in dump_elfsymbols() argument 544 pr_debug(" i %d name <%s> 0x%x\n", i, strtab + sym[i].st_name, in dump_elfsymbols() 551 unsigned int symindex, const char *strtab, in find_vpe_symbols() argument 558 if (strcmp(strtab + sym[i].st_name, "__start") == 0) in find_vpe_symbols() [all …]
|
D | module.c | 306 static int __apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in __apply_relocate() argument 340 me->name, strtab + sym->st_name); in __apply_relocate() 391 int apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate() argument 395 return __apply_relocate(sechdrs, strtab, symindex, relsec, me, false); in apply_relocate() 399 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument 403 return __apply_relocate(sechdrs, strtab, symindex, relsec, me, true); in apply_relocate_add()
|
/kernel/linux/linux-5.10/include/linux/ |
D | moduleloader.h | 48 const char *strtab, 54 const char *strtab, in apply_relocate() argument 71 const char *strtab, 77 const char *strtab, in apply_relocate_add() argument
|
D | livepatch.h | 235 const char *shstrtab, const char *strtab, 249 const char *shstrtab, const char *strtab, in klp_apply_section_relocs() argument
|
/kernel/linux/linux-5.10/arch/parisc/kernel/ |
D | module.c | 64 me->name, strtab + sym->st_name, (unsigned long)val, bits); \ 519 const char *strtab, in apply_relocate_add() argument 549 me->name, strtab + sym->st_name); in apply_relocate_add() 561 strtab + sym->st_name, in apply_relocate_add() 664 const char *strtab, in apply_relocate_add() argument 693 me->name, strtab + sym->st_name); in apply_relocate_add() 706 strtab + sym->st_name, in apply_relocate_add() 723 strtab + sym->st_name, in apply_relocate_add() 734 strtab + sym->st_name, in apply_relocate_add() 741 strtab + sym->st_name, in apply_relocate_add() [all …]
|
/kernel/linux/linux-5.10/arch/xtensa/kernel/ |
D | module.c | 48 const char *strtab, in apply_relocate_add() argument 91 strtab + sym->st_name); in apply_relocate_add() 115 strtab + sym->st_name); in apply_relocate_add()
|
/kernel/linux/linux-5.10/arch/hexagon/kernel/ |
D | module.c | 67 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument 98 &strtab[sym->st_name] : "(anonymous)"); in apply_relocate_add() 111 &strtab[sym->st_name] : "(anonymous)"); in apply_relocate_add()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | module_64.c | 254 static void dedotify(Elf64_Sym *syms, unsigned int numsyms, char *strtab) in dedotify() argument 260 char *name = strtab + syms[i].st_name; in dedotify() 271 const char *strtab, in find_dot_toc() argument 282 && strcmp(strtab + syms[i].st_name, "TOC.") == 0) in find_dot_toc() 521 const char *strtab, in apply_relocate_add() argument 537 sym = find_dot_toc(sechdrs, strtab, symindex); in apply_relocate_add() 555 strtab + sym->st_name, (unsigned long)sym->st_value, in apply_relocate_add() 638 strtab + sym->st_name); in apply_relocate_add() 641 if (!restore_r2(strtab + sym->st_name, in apply_relocate_add()
|
/kernel/linux/linux-5.10/scripts/dtc/libfdt/ |
D | fdt_sw.c | 252 char *strtab = (char *)fdt + fdt_totalsize(fdt); in fdt_add_string_() local 262 memcpy(strtab - offset, s, len); in fdt_add_string_() 278 char *strtab = (char *)fdt + fdt_totalsize(fdt); in fdt_find_add_string_() local 284 p = fdt_find_string_(strtab - strtabsize, strtabsize, s); in fdt_find_add_string_() 286 return p - strtab; in fdt_find_add_string_()
|
D | fdt_rw.c | 129 char *strtab = (char *)fdt + fdt_off_dt_strings(fdt); in fdt_find_add_string_() local 138 p = fdt_find_string_(strtab, fdt_size_dt_strings(fdt), s); in fdt_find_add_string_() 141 return (p - strtab); in fdt_find_add_string_() 143 new = strtab + fdt_size_dt_strings(fdt); in fdt_find_add_string_() 152 return (new - strtab); in fdt_find_add_string_()
|
D | fdt.c | 303 const char *fdt_find_string_(const char *strtab, int tabsize, const char *s) in fdt_find_string_() argument 306 const char *last = strtab + tabsize - len; in fdt_find_string_() 309 for (p = strtab; p <= last; p++) in fdt_find_string_()
|
/kernel/linux/linux-5.10/arch/mips/vdso/ |
D | genvdso.h | 64 char *strtab, *name; in FUNC() local 102 strtab = vdso + FUNC(swap_uint)(shdr->sh_offset); in FUNC() 111 name = strtab + swap_uint32(sym->st_name); in FUNC()
|
/kernel/linux/linux-5.10/arch/x86/tools/ |
D | relocs.c | 36 char *strtab; member 246 sec_strtab = secs[shstrndx].strtab; in sec_name() 279 char *strtab; in sym_lookup() local 288 strtab = sec->link->strtab; in sym_lookup() 293 if (strcmp(symname, strtab + sym->st_name) == 0) in sym_lookup() 451 sec->strtab = malloc(sec->shdr.sh_size); in read_strtabs() 452 if (!sec->strtab) { in read_strtabs() 460 if (fread(sec->strtab, 1, sec->shdr.sh_size, fp) in read_strtabs() 555 sym_strtab = sec->link->strtab; in print_absolute_symbols() 600 sym_strtab = sec_symtab->link->strtab; in print_absolute_relocs() [all …]
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | module.c | 90 const char *strtab, in apply_relocate() argument 131 const char *strtab, in __apply_relocate_add() argument 222 const char *strtab, in apply_relocate_add() argument 236 ret = __apply_relocate_add(sechdrs, strtab, symindex, relsec, me, in apply_relocate_add()
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | module.c | 62 char *strtab; in module_frob_arch_sections() local 72 strtab = (char *)sechdrs[sechdrs[symidx].sh_link].sh_addr; in module_frob_arch_sections() 84 const char *strtab, in apply_relocate_add() argument
|
/kernel/linux/linux-5.10/arch/nios2/kernel/ |
D | module.c | 43 int apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument 68 rela[i].r_offset, strtab + sym->st_name); in apply_relocate_add()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | module.c | 225 const char *strtab, struct module *me, in apply_rela() argument 421 me->name, strtab + symtab[r_sym].st_name, in apply_rela() 428 static int __apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in __apply_relocate_add() argument 447 rc = apply_rela(rela, base, symtab, strtab, me, write); in __apply_relocate_add() 454 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument 464 return __apply_relocate_add(sechdrs, strtab, symindex, relsec, me, in apply_relocate_add()
|
/kernel/linux/linux-5.10/kernel/livepatch/ |
D | core.c | 194 static int klp_resolve_symbols(Elf_Shdr *sechdrs, const char *strtab, in klp_resolve_symbols() argument 225 strtab + sym->st_name); in klp_resolve_symbols() 230 cnt = sscanf(strtab + sym->st_name, in klp_resolve_symbols() 235 strtab + sym->st_name); in klp_resolve_symbols() 289 const char *shstrtab, const char *strtab, in klp_apply_section_relocs() argument 313 ret = klp_resolve_symbols(sechdrs, strtab, symndx, sec, sec_objname); in klp_apply_section_relocs() 317 return apply_relocate_add(sechdrs, strtab, symndx, secndx, pmod); in klp_apply_section_relocs() 762 patch->mod->core_kallsyms.strtab, in klp_apply_object_relocs()
|
/kernel/linux/linux-5.10/arch/arc/kernel/ |
D | module.c | 46 const char *strtab, in apply_relocate_add() argument 88 s = strtab + sym_entry->st_name; in apply_relocate_add()
|
/kernel/linux/linux-5.10/arch/m68k/kernel/ |
D | module.c | 23 const char *strtab, in apply_relocate() argument 63 const char *strtab, in apply_relocate_add() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_rtsym.c | 43 char *strtab; member 58 sw->name = cache->strtab + le16_to_cpu(fw->name) % strtab_size; in nfp_rtsym_sw_entry_init() 130 cache->strtab = (void *)&cache->symtab[cache->num]; in __nfp_rtsym_table_read() 136 err = nfp_cpp_read(cpp, dram, strtab_addr, cache->strtab, strtab_size); in __nfp_rtsym_table_read() 139 cache->strtab[strtab_size] = '\0'; in __nfp_rtsym_table_read()
|
/kernel/linux/linux-5.10/arch/mips/boot/tools/ |
D | relocs.c | 29 char *strtab; member 96 sec_strtab = secs[ehdr.e_shstrndx].strtab; in sec_name() 304 sec->strtab = malloc(sec->shdr.sh_size); in read_strtabs() 305 if (!sec->strtab) in read_strtabs() 313 if (fread(sec->strtab, 1, sec->shdr.sh_size, fp) != in read_strtabs() 489 sym_strtab = sec_symtab->link->strtab; in walk_relocs()
|
/kernel/linux/linux-5.10/kernel/ |
D | module-internal.h | 18 char *secstrings, *strtab; member
|
/kernel/linux/linux-5.10/scripts/ |
D | sorttable.h | 213 const char *strtab; in do_sort() local 313 strtab = (const char *)ehdr + _r(&strtab_sec->sh_offset); in do_sort() 335 if (!strcmp(strtab + r(&sym->st_name), in do_sort()
|
/kernel/linux/linux-5.10/drivers/iommu/arm/arm-smmu-v3/ |
D | arm-smmu-v3.c | 1315 static void arm_smmu_init_bypass_stes(__le64 *strtab, unsigned int nent) in arm_smmu_init_bypass_stes() argument 1320 arm_smmu_write_strtab_ent(NULL, -1, strtab); in arm_smmu_init_bypass_stes() 1321 strtab += STRTAB_STE_DWORDS; in arm_smmu_init_bypass_stes() 1328 void *strtab; in arm_smmu_init_l2_strtab() local 1336 strtab = &cfg->strtab[(sid >> STRTAB_SPLIT) * STRTAB_L1_DESC_DWORDS]; in arm_smmu_init_l2_strtab() 1349 arm_smmu_write_strtab_l1_desc(strtab, desc); in arm_smmu_init_l2_strtab() 2020 step = &cfg->strtab[sid * STRTAB_STE_DWORDS]; in arm_smmu_get_step_for_sid() 2703 void *strtab = smmu->strtab_cfg.strtab; in arm_smmu_init_l1_strtab() local 2712 arm_smmu_write_strtab_l1_desc(strtab, &cfg->l1_desc[i]); in arm_smmu_init_l1_strtab() 2713 strtab += STRTAB_L1_DESC_DWORDS << 3; in arm_smmu_init_l1_strtab() [all …]
|