Searched refs:secstrs (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/arch/arm/kernel/ |
| D | module.c | 331 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_mod_section() local 334 if (strcmp(name, secstrs + s->sh_name) == 0) in find_mod_section() 348 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() local 356 const char *secname = secstrs + s->sh_name; in module_finalize()
|
| /Linux-v5.4/arch/arm64/kernel/ |
| D | module.c | 478 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() local 481 if (strcmp(".altinstructions", secstrs + s->sh_name) == 0) in module_finalize() 485 !strcmp(".text.ftrace_trampoline", secstrs + s->sh_name)) in module_finalize()
|
| /Linux-v5.4/tools/perf/util/ |
| D | symbol-elf.c | 165 const Elf_Data *secstrs) in elf_sec__name() argument 167 return secstrs->d_buf + shdr->sh_name; in elf_sec__name() 171 const Elf_Data *secstrs) in elf_sec__is_text() argument 173 return strstr(elf_sec__name(shdr, secstrs), "text") != NULL; in elf_sec__is_text() 177 const Elf_Data *secstrs) in elf_sec__is_data() argument 179 return strstr(elf_sec__name(shdr, secstrs), "data") != NULL; in elf_sec__is_data() 182 static bool elf_sec__filter(GElf_Shdr *shdr, Elf_Data *secstrs) in elf_sec__filter() argument 184 return elf_sec__is_text(shdr, secstrs) || in elf_sec__filter() 185 elf_sec__is_data(shdr, secstrs); in elf_sec__filter() 956 Elf_Data *symstrs, *secstrs; in dso__load_sym() local [all …]
|