Home
last modified time | relevance | path

Searched refs:secstrs (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/arch/arm64/include/asm/
H A Dmodule.h59 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()
/openbmc/linux/arch/riscv/include/asm/
H A Dmodule.h120 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()
/openbmc/linux/arch/arm/kernel/
H A Dmodule.c441 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()
/openbmc/linux/tools/perf/util/
H A Dsymbol-elf.c157 const Elf_Data *secstrs) in elf_sec__name() argument
159 return secstrs->d_buf + shdr->sh_name; in elf_sec__name()
163 const Elf_Data *secstrs) in elf_sec__is_text() argument
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() argument
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_run, *secstrs_sym; in dso__load_sym_internal() local
[all …]
/openbmc/linux/arch/loongarch/kernel/
H A Dmodule.c519 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()