/kernel/linux/linux-5.10/arch/m68k/kernel/ |
H A D | module.c | 25 unsigned int relsec, in apply_relocate() 29 Elf32_Rel *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate() 33 DEBUGP("Applying relocate section %u to %u\n", relsec, in apply_relocate() 34 sechdrs[relsec].sh_info); in apply_relocate() 35 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate() 37 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate() 65 unsigned int relsec, in apply_relocate_add() 69 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 73 DEBUGP("Applying relocate_add section %u to %u\n", relsec, in apply_relocate_add() 74 sechdrs[relsec] in apply_relocate_add() 22 apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocate() argument 62 apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocate_add() argument [all...] |
/kernel/linux/linux-6.6/arch/m68k/kernel/ |
H A D | module.c | 25 unsigned int relsec, in apply_relocate() 29 Elf32_Rel *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate() 33 DEBUGP("Applying relocate section %u to %u\n", relsec, in apply_relocate() 34 sechdrs[relsec].sh_info); in apply_relocate() 35 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate() 37 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate() 65 unsigned int relsec, in apply_relocate_add() 69 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 73 DEBUGP("Applying relocate_add section %u to %u\n", relsec, in apply_relocate_add() 74 sechdrs[relsec] in apply_relocate_add() 22 apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocate() argument 62 apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocate_add() argument [all...] |
/kernel/linux/linux-5.10/arch/openrisc/kernel/ |
H A D | module.c | 19 unsigned int relsec, in apply_relocate_add() 23 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 28 pr_debug("Applying relocate section %u to %u\n", relsec, in apply_relocate_add() 29 sechdrs[relsec].sh_info); in apply_relocate_add() 30 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 32 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 16 apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocate_add() argument
|
/kernel/linux/linux-6.6/arch/openrisc/kernel/ |
H A D | module.c | 19 unsigned int relsec, in apply_relocate_add() 23 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 28 pr_debug("Applying relocate section %u to %u\n", relsec, in apply_relocate_add() 29 sechdrs[relsec].sh_info); in apply_relocate_add() 30 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 32 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 16 apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocate_add() argument
|
/kernel/linux/linux-5.10/arch/xtensa/kernel/ |
H A D | module.c | 50 unsigned int relsec, in apply_relocate_add() 54 Elf32_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 59 pr_debug("Applying relocate section %u to %u\n", relsec, in apply_relocate_add() 60 sechdrs[relsec].sh_info); in apply_relocate_add() 62 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rela); i++) { in apply_relocate_add() 63 location = (char *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 90 mod->name, relsec, i, in apply_relocate_add() 114 mod->name, relsec, i, in apply_relocate_add() 47 apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *mod) apply_relocate_add() argument
|
/kernel/linux/linux-6.6/arch/xtensa/kernel/ |
H A D | module.c | 50 unsigned int relsec, in apply_relocate_add() 54 Elf32_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 59 pr_debug("Applying relocate section %u to %u\n", relsec, in apply_relocate_add() 60 sechdrs[relsec].sh_info); in apply_relocate_add() 62 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rela); i++) { in apply_relocate_add() 63 location = (char *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 90 mod->name, relsec, i, in apply_relocate_add() 114 mod->name, relsec, i, in apply_relocate_add() 47 apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *mod) apply_relocate_add() argument
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | module.c | 92 unsigned int relsec, in apply_relocate() 96 Elf32_Rel *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate() 101 relsec, sechdrs[relsec].sh_info); in apply_relocate() 102 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate() 104 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate() 133 unsigned int relsec, in __apply_relocate_add() 138 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in __apply_relocate_add() 144 relsec, sechdrs[relsec] in __apply_relocate_add() 89 apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocate() argument 130 __apply_relocate_add(Elf64_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me, void *(*write)(void *dest, const void *src, size_t len)) __apply_relocate_add() argument 221 apply_relocate_add(Elf64_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocate_add() argument [all...] |
/kernel/linux/linux-5.10/arch/h8300/kernel/ |
H A D | module.c | 12 unsigned int relsec, in apply_relocate_add() 16 Elf32_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 18 pr_debug("Applying relocate section %u to %u\n", relsec, in apply_relocate_add() 19 sechdrs[relsec].sh_info); in apply_relocate_add() 20 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rela); i++) { in apply_relocate_add() 23 (uint32_t *)(sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 9 apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocate_add() argument
|
/kernel/linux/linux-6.6/arch/microblaze/kernel/ |
H A D | module.c | 19 unsigned int symindex, unsigned int relsec, struct module *module) in apply_relocate_add() 23 Elf32_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 29 relsec, sechdrs[relsec].sh_info); in apply_relocate_add() 31 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rela); i++) { in apply_relocate_add() 33 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr + in apply_relocate_add() 18 apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *module) apply_relocate_add() argument
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | module.c | 94 unsigned int relsec, in apply_relocate() 98 Elf32_Rel *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate() 103 relsec, sechdrs[relsec].sh_info); in apply_relocate() 104 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate() 106 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate() 135 unsigned int relsec, in __write_relocate_add() 141 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in __write_relocate_add() 149 relsec, sechdrs[relsec] in __write_relocate_add() 91 apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocate() argument 132 __write_relocate_add(Elf64_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me, void *(*write)(void *dest, const void *src, size_t len), bool apply) __write_relocate_add() argument 225 write_relocate_add(Elf64_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me, bool apply) write_relocate_add() argument 252 apply_relocate_add(Elf64_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocate_add() argument 262 clear_relocate_add(Elf64_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) clear_relocate_add() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | moduleloader.h | 58 unsigned int relsec, 64 unsigned int relsec, in apply_relocate() 81 unsigned int relsec, 97 unsigned int relsec, 104 unsigned int relsec, in apply_relocate_add() 61 apply_relocate(Elf_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocate() argument 101 apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocate_add() argument
|
/kernel/linux/linux-5.10/arch/c6x/kernel/ |
H A D | module.c | 44 unsigned int relsec, in apply_relocate_add() 47 Elf32_Rela *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add() 55 relsec, sechdrs[relsec].sh_info, offset); in apply_relocate_add() 57 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 59 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 41 apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocate_add() argument
|
/kernel/linux/linux-5.10/arch/microblaze/kernel/ |
H A D | module.c | 19 unsigned int symindex, unsigned int relsec, struct module *module) in apply_relocate_add() 23 Elf32_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 32 relsec, sechdrs[relsec].sh_info); in apply_relocate_add() 34 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rela); i++) { in apply_relocate_add() 36 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr + in apply_relocate_add() 18 apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *module) apply_relocate_add() argument
|
/kernel/linux/linux-5.10/arch/nios2/kernel/ |
H A D | module.c | 44 unsigned int symindex, unsigned int relsec, in apply_relocate_add() 48 Elf32_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 50 pr_debug("Applying relocate section %u to %u\n", relsec, in apply_relocate_add() 51 sechdrs[relsec].sh_info); in apply_relocate_add() 53 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rela); i++) { in apply_relocate_add() 57 = ((void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 43 apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *mod) apply_relocate_add() argument
|
/kernel/linux/linux-5.10/arch/sh/kernel/ |
H A D | module.c | 27 unsigned int relsec, in apply_relocate_add() 31 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 37 pr_debug("Applying relocate section %u to %u\n", relsec, in apply_relocate_add() 38 sechdrs[relsec].sh_info); in apply_relocate_add() 39 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 41 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 24 apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocate_add() argument
|
/kernel/linux/linux-6.6/arch/nios2/kernel/ |
H A D | module.c | 44 unsigned int symindex, unsigned int relsec, in apply_relocate_add() 48 Elf32_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 50 pr_debug("Applying relocate section %u to %u\n", relsec, in apply_relocate_add() 51 sechdrs[relsec].sh_info); in apply_relocate_add() 53 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rela); i++) { in apply_relocate_add() 57 = ((void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 43 apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *mod) apply_relocate_add() argument
|
/kernel/linux/linux-6.6/arch/sh/kernel/ |
H A D | module.c | 27 unsigned int relsec, in apply_relocate_add() 31 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 37 pr_debug("Applying relocate section %u to %u\n", relsec, in apply_relocate_add() 38 sechdrs[relsec].sh_info); in apply_relocate_add() 39 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 41 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 24 apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocate_add() argument
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | moduleloader.h | 55 unsigned int relsec, 61 unsigned int relsec, in apply_relocate() 78 unsigned int relsec, 84 unsigned int relsec, in apply_relocate_add() 58 apply_relocate(Elf_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocate() argument 81 apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocate_add() argument
|
/kernel/linux/linux-5.10/arch/hexagon/kernel/ |
H A D | module.c | 62 * @relsec - address to relocate to? 68 unsigned int symindex, unsigned int relsec, in apply_relocate_add() 75 unsigned int nrelocs = sechdrs[relsec].sh_size / sizeof(Elf32_Rela); in apply_relocate_add() 76 Elf32_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 77 Elf32_Word sym_info = sechdrs[relsec].sh_info; in apply_relocate_add() 82 relsec, sym_info, loc_base); in apply_relocate_add() 67 apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *module) apply_relocate_add() argument
|
/kernel/linux/linux-6.6/arch/hexagon/kernel/ |
H A D | module.c | 62 * @relsec - address to relocate to? 68 unsigned int symindex, unsigned int relsec, in apply_relocate_add() 75 unsigned int nrelocs = sechdrs[relsec].sh_size / sizeof(Elf32_Rela); in apply_relocate_add() 76 Elf32_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 77 Elf32_Word sym_info = sechdrs[relsec].sh_info; in apply_relocate_add() 82 relsec, sym_info, loc_base); in apply_relocate_add() 67 apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *module) apply_relocate_add() argument
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
H A D | module.c | 307 unsigned int symindex, unsigned int relsec, in __apply_relocate() 322 pr_debug("Applying relocate section %u to %u\n", relsec, in __apply_relocate() 323 sechdrs[relsec].sh_info); in __apply_relocate() 325 r.rel = (void *)sechdrs[relsec].sh_addr; in __apply_relocate() 328 for (i = 0; i < sechdrs[relsec].sh_size / reloc_sz; i++) { in __apply_relocate() 330 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in __apply_relocate() 392 unsigned int symindex, unsigned int relsec, in apply_relocate() 395 return __apply_relocate(sechdrs, strtab, symindex, relsec, me, false); in apply_relocate() 400 unsigned int symindex, unsigned int relsec, in apply_relocate_add() 403 return __apply_relocate(sechdrs, strtab, symindex, relsec, m in apply_relocate_add() 306 __apply_relocate(Elf_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me, bool rela) __apply_relocate() argument 391 apply_relocate(Elf_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocate() argument 399 apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocate_add() argument [all...] |
/kernel/linux/linux-6.6/arch/mips/kernel/ |
H A D | module.c | 315 unsigned int symindex, unsigned int relsec, in __apply_relocate() 329 pr_debug("Applying relocate section %u to %u\n", relsec, in __apply_relocate() 330 sechdrs[relsec].sh_info); in __apply_relocate() 332 r.rel = (void *)sechdrs[relsec].sh_addr; in __apply_relocate() 335 for (i = 0; i < sechdrs[relsec].sh_size / reloc_sz; i++) { in __apply_relocate() 337 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in __apply_relocate() 388 unsigned int symindex, unsigned int relsec, in apply_relocate() 391 return __apply_relocate(sechdrs, strtab, symindex, relsec, me, false); in apply_relocate() 396 unsigned int symindex, unsigned int relsec, in apply_relocate_add() 399 return __apply_relocate(sechdrs, strtab, symindex, relsec, m in apply_relocate_add() 314 __apply_relocate(Elf_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me, bool rela) __apply_relocate() argument 387 apply_relocate(Elf_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocate() argument 395 apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocate_add() argument [all...] |
/kernel/linux/linux-5.10/arch/csky/kernel/ |
H A D | module.c | 50 unsigned int symindex, unsigned int relsec, struct module *me) in apply_relocate_add() 53 Elf32_Rela *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add() 58 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 60 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 49 apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocate_add() argument
|
/kernel/linux/linux-5.10/arch/arc/kernel/ |
H A D | module.c | 48 unsigned int relsec, /* sec index for relo sec */ in apply_relocate_add() 52 Elf32_Rela *rel_entry = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 58 * @relsec has relocations e.g. .rela.init.text in apply_relocate_add() 61 tgtsec = sechdrs[relsec].sh_info; in apply_relocate_add() 64 n = sechdrs[relsec].sh_size / sizeof(*rel_entry); in apply_relocate_add() 45 apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *module) apply_relocate_add() argument
|
/kernel/linux/linux-6.6/arch/csky/kernel/ |
H A D | module.c | 50 unsigned int symindex, unsigned int relsec, struct module *me) in apply_relocate_add() 53 Elf32_Rela *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add() 58 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 60 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 49 apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *me) apply_relocate_add() argument
|