/kernel/linux/linux-6.6/arch/arm64/include/asm/ |
H A D | module.h | 59 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section() local 62 if (strcmp(name, secstrs + s->sh_name) == 0) in find_section()
|
/kernel/linux/linux-6.6/arch/riscv/include/asm/ |
H A D | module.h | 120 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section() local 123 if (strcmp(name, secstrs + s->sh_name) == 0) in find_section()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | symbol-elf.c | 167 const Elf_Data *secstrs) in elf_sec__name() 169 return secstrs->d_buf + shdr->sh_name; in elf_sec__name() 173 const Elf_Data *secstrs) in elf_sec__is_text() 175 return strstr(elf_sec__name(shdr, secstrs), "text") != NULL; in elf_sec__is_text() 179 const Elf_Data *secstrs) in elf_sec__is_data() 181 return strstr(elf_sec__name(shdr, secstrs), "data") != NULL; in elf_sec__is_data() 184 static bool elf_sec__filter(GElf_Shdr *shdr, Elf_Data *secstrs) in elf_sec__filter() argument 186 return elf_sec__is_text(shdr, secstrs) || in elf_sec__filter() 187 elf_sec__is_data(shdr, secstrs); in elf_sec__filter() 1073 Elf_Data *symstrs, *secstrs; in dso__load_sym() local 166 elf_sec__name(const GElf_Shdr *shdr, const Elf_Data *secstrs) elf_sec__name() argument 172 elf_sec__is_text(const GElf_Shdr *shdr, const Elf_Data *secstrs) elf_sec__is_text() argument 178 elf_sec__is_data(const GElf_Shdr *shdr, const Elf_Data *secstrs) elf_sec__is_data() argument [all...] |
/kernel/linux/linux-5.10/arch/arm/kernel/ |
H A D | module.c | 353 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_mod_section() local 356 if (strcmp(name, secstrs + s->sh_name) == 0) in find_mod_section() 370 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() local 378 const char *secname = secstrs + s->sh_name; in module_finalize()
|
/kernel/linux/linux-6.6/arch/arm/kernel/ |
H A D | module.c | 441 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_mod_section() local 444 if (strcmp(name, secstrs + s->sh_name) == 0) in find_mod_section() 458 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() local 466 const char *secname = secstrs + s->sh_name; in module_finalize()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | symbol-elf.c | 157 const Elf_Data *secstrs) in elf_sec__name() 159 return secstrs->d_buf + shdr->sh_name; in elf_sec__name() 163 const Elf_Data *secstrs) in elf_sec__is_text() 165 return strstr(elf_sec__name(shdr, secstrs), "text") != NULL; in elf_sec__is_text() 169 const Elf_Data *secstrs) in elf_sec__is_data() 171 return strstr(elf_sec__name(shdr, secstrs), "data") != NULL; in elf_sec__is_data() 174 static bool elf_sec__filter(GElf_Shdr *shdr, Elf_Data *secstrs) in elf_sec__filter() argument 176 return elf_sec__is_text(shdr, secstrs) || in elf_sec__filter() 177 elf_sec__is_data(shdr, secstrs); in elf_sec__filter() 1489 Elf_Data *symstrs, *secstrs, *secstrs_ru in dso__load_sym_internal() local 156 elf_sec__name(const GElf_Shdr *shdr, const Elf_Data *secstrs) elf_sec__name() argument 162 elf_sec__is_text(const GElf_Shdr *shdr, const Elf_Data *secstrs) elf_sec__is_text() argument 168 elf_sec__is_data(const GElf_Shdr *shdr, const Elf_Data *secstrs) elf_sec__is_data() argument [all...] |
/kernel/linux/linux-6.6/arch/loongarch/kernel/ |
H A D | module.c | 519 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() local 522 if (!strcmp(".altinstructions", secstrs + s->sh_name)) in module_finalize() 524 if (!strcmp(".ftrace_trampoline", secstrs + s->sh_name)) in module_finalize()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H A D | module.c | 479 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section() local 482 if (strcmp(name, secstrs + s->sh_name) == 0) in find_section()
|