Searched refs:secname (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/arch/x86/kernel/ |
D | livepatch.c | 21 char secname[KSYM_NAME_LEN]; in arch_klp_init_object_loaded() local 33 sec_objname, secname); in arch_klp_init_object_loaded() 38 if (!strcmp(".altinstructions", secname)) in arch_klp_init_object_loaded() 40 if (!strcmp(".parainstructions", secname)) in arch_klp_init_object_loaded()
|
/Linux-v5.4/arch/arm/kernel/ |
D | module.c | 356 const char *secname = secstrs + s->sh_name; in module_finalize() local 361 if (strcmp(".ARM.exidx.init.text", secname) == 0) in module_finalize() 363 else if (strcmp(".ARM.exidx", secname) == 0) in module_finalize() 365 else if (strcmp(".ARM.exidx.exit.text", secname) == 0) in module_finalize() 367 else if (strcmp(".ARM.exidx.text.unlikely", secname) == 0) in module_finalize() 369 else if (strcmp(".ARM.exidx.text.hot", secname) == 0) in module_finalize() 371 else if (strcmp(".init.text", secname) == 0) in module_finalize() 373 else if (strcmp(".text", secname) == 0) in module_finalize() 375 else if (strcmp(".exit.text", secname) == 0) in module_finalize() 377 else if (strcmp(".text.unlikely", secname) == 0) in module_finalize() [all …]
|
/Linux-v5.4/arch/s390/kernel/ |
D | module.c | 445 char *secstrings, *secname; in module_finalize() local 468 secname = secstrings + s->sh_name; in module_finalize() 470 if (!strcmp(".altinstructions", secname)) in module_finalize() 475 (str_has_prefix(secname, ".s390_indirect"))) in module_finalize() 479 (str_has_prefix(secname, ".s390_return"))) in module_finalize()
|
/Linux-v5.4/scripts/mod/ |
D | modpost.c | 319 const char *secname = sec_name(elf, sec); in export_from_secname() local 321 if (strstarts(secname, "___ksymtab+")) in export_from_secname() 323 else if (strstarts(secname, "___ksymtab_unused+")) in export_from_secname() 325 else if (strstarts(secname, "___ksymtab_gpl+")) in export_from_secname() 327 else if (strstarts(secname, "___ksymtab_unused_gpl+")) in export_from_secname() 329 else if (strstarts(secname, "___ksymtab_gpl_future+")) in export_from_secname() 570 const char *secname; in parse_elf() local 580 secname = secstrings + sechdrs[i].sh_name; in parse_elf() 581 if (strcmp(secname, ".modinfo") == 0) { in parse_elf() 586 } else if (strcmp(secname, "__ksymtab") == 0) in parse_elf() [all …]
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | vdso.c | 232 static void * __init find_section32(Elf32_Ehdr *ehdr, const char *secname, in find_section32() argument 245 if (strcmp(secnames+sechdrs[i].sh_name, secname) == 0) { in find_section32() 337 static void * __init find_section64(Elf64_Ehdr *ehdr, const char *secname, in find_section64() argument 350 if (strcmp(secnames+sechdrs[i].sh_name, secname) == 0) { in find_section64()
|
/Linux-v5.4/kernel/livepatch/ |
D | core.c | 252 const char *objname, *secname; in klp_write_object_relocations() local 264 secname = pmod->klp_info->secstrings + sec->sh_name; in klp_write_object_relocations() 273 cnt = sscanf(secname, ".klp.rela.%55[^.]", sec_objname); in klp_write_object_relocations() 276 secname); in klp_write_object_relocations()
|
/Linux-v5.4/arch/parisc/kernel/ |
D | module.c | 943 char *secname = secstrings + s->sh_name; in module_finalize() local 945 if (!strcmp(".altinstructions", secname)) in module_finalize() 953 if (symindex != -1 && !strcmp(secname, "__mcount_loc")) { in module_finalize()
|
/Linux-v5.4/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()
|