Searched refs:secname (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/arch/x86/kernel/ |
D | livepatch.c | 33 char secname[KSYM_NAME_LEN]; in arch_klp_init_object_loaded() local 45 sec_objname, secname); in arch_klp_init_object_loaded() 50 if (!strcmp(".altinstructions", secname)) in arch_klp_init_object_loaded() 52 if (!strcmp(".parainstructions", secname)) in arch_klp_init_object_loaded()
|
/Linux-v4.19/arch/arm/kernel/ |
D | module.c | 352 const char *secname = secstrs + s->sh_name; in module_finalize() local 357 if (strcmp(".ARM.exidx.init.text", secname) == 0) in module_finalize() 359 else if (strcmp(".ARM.exidx", secname) == 0) in module_finalize() 361 else if (strcmp(".ARM.exidx.exit.text", secname) == 0) in module_finalize() 363 else if (strcmp(".ARM.exidx.text.unlikely", secname) == 0) in module_finalize() 365 else if (strcmp(".ARM.exidx.text.hot", secname) == 0) in module_finalize() 367 else if (strcmp(".init.text", secname) == 0) in module_finalize() 369 else if (strcmp(".text", secname) == 0) in module_finalize() 371 else if (strcmp(".exit.text", secname) == 0) in module_finalize() 373 else if (strcmp(".text.unlikely", secname) == 0) in module_finalize() [all …]
|
/Linux-v4.19/arch/s390/kernel/ |
D | module.c | 438 char *secstrings, *secname; in module_finalize() local 461 secname = secstrings + s->sh_name; in module_finalize() 463 if (!strcmp(".altinstructions", secname)) in module_finalize() 468 (!strncmp(".s390_indirect", secname, 14))) in module_finalize() 472 (!strncmp(".s390_return", secname, 12))) in module_finalize()
|
/Linux-v4.19/scripts/mod/ |
D | modpost.c | 284 const char *secname = sec_name(elf, sec); in export_from_secname() local 286 if (strstarts(secname, "___ksymtab+")) in export_from_secname() 288 else if (strstarts(secname, "___ksymtab_unused+")) in export_from_secname() 290 else if (strstarts(secname, "___ksymtab_gpl+")) in export_from_secname() 292 else if (strstarts(secname, "___ksymtab_unused_gpl+")) in export_from_secname() 294 else if (strstarts(secname, "___ksymtab_gpl_future+")) in export_from_secname() 510 const char *secname; in parse_elf() local 520 secname = secstrings + sechdrs[i].sh_name; in parse_elf() 521 if (strcmp(secname, ".modinfo") == 0) { in parse_elf() 526 } else if (strcmp(secname, "__ksymtab") == 0) in parse_elf() [all …]
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | vdso.c | 258 static void * __init find_section32(Elf32_Ehdr *ehdr, const char *secname, in find_section32() argument 271 if (strcmp(secnames+sechdrs[i].sh_name, secname) == 0) { in find_section32() 363 static void * __init find_section64(Elf64_Ehdr *ehdr, const char *secname, in find_section64() argument 376 if (strcmp(secnames+sechdrs[i].sh_name, secname) == 0) { in find_section64()
|
/Linux-v4.19/kernel/livepatch/ |
D | core.c | 235 const char *objname, *secname; in klp_write_object_relocations() local 247 secname = pmod->klp_info->secstrings + sec->sh_name; in klp_write_object_relocations() 256 cnt = sscanf(secname, ".klp.rela.%55[^.]", sec_objname); in klp_write_object_relocations() 259 secname); in klp_write_object_relocations()
|
/Linux-v4.19/arch/mips/boot/tools/ |
D | relocs.c | 108 static struct section *sec_lookup(const char *secname) in sec_lookup() argument 113 if (strcmp(secname, sec_name(i)) == 0) in sec_lookup()
|