/arch/mips/kernel/ |
D | module.c | 56 int apply_r_mips_none(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_none() argument 61 static int apply_r_mips_32_rel(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_32_rel() argument 68 static int apply_r_mips_26_rel(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_26_rel() argument 72 me->name); in apply_r_mips_26_rel() 78 me->name); in apply_r_mips_26_rel() 88 static int apply_r_mips_hi16_rel(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_hi16_rel() argument 103 n->next = me->arch.r_mips_hi16_list; in apply_r_mips_hi16_rel() 104 me->arch.r_mips_hi16_list = n; in apply_r_mips_hi16_rel() 120 static int apply_r_mips_lo16_rel(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_lo16_rel() argument 129 if (me->arch.r_mips_hi16_list != NULL) { in apply_r_mips_lo16_rel() [all …]
|
D | module-rela.c | 27 extern int apply_r_mips_none(struct module *me, u32 *location, Elf_Addr v); 29 static int apply_r_mips_32_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_32_rela() argument 36 static int apply_r_mips_26_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_26_rela() argument 40 me->name); in apply_r_mips_26_rela() 45 pr_err("module %s: relocation overflow\n", me->name); in apply_r_mips_26_rela() 54 static int apply_r_mips_hi16_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_hi16_rela() argument 62 static int apply_r_mips_lo16_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_lo16_rela() argument 69 static int apply_r_mips_pc_rela(struct module *me, u32 *location, Elf_Addr v, in apply_r_mips_pc_rela() argument 78 me->name, bits); in apply_r_mips_pc_rela() 87 pr_err("module %s: relocation overflow\n", me->name); in apply_r_mips_pc_rela() [all …]
|
D | vpe.c | 228 static int apply_r_mips_none(struct module *me, uint32_t *location, in apply_r_mips_none() argument 234 static int apply_r_mips_gprel16(struct module *me, uint32_t *location, in apply_r_mips_gprel16() argument 259 static int apply_r_mips_pc16(struct module *me, uint32_t *location, in apply_r_mips_pc16() argument 278 static int apply_r_mips_32(struct module *me, uint32_t *location, in apply_r_mips_32() argument 286 static int apply_r_mips_26(struct module *me, uint32_t *location, in apply_r_mips_26() argument 311 static int apply_r_mips_hi16(struct module *me, uint32_t *location, in apply_r_mips_hi16() argument 333 static int apply_r_mips_lo16(struct module *me, uint32_t *location, in apply_r_mips_lo16() argument 404 static int (*reloc_handlers[]) (struct module *me, uint32_t *location, 429 struct module *me) in apply_relocations() argument 450 me->name, strtab + sym->st_name); in apply_relocations() [all …]
|
/arch/parisc/kernel/ |
D | module.c | 84 me->name, strtab + sym->st_name, (unsigned long)val, bits); \ 101 static inline int in_init(struct module *me, void *loc) in in_init() argument 103 return (loc >= me->init_layout.base && in in_init() 104 loc <= (me->init_layout.base + me->init_layout.size)); in in_init() 107 static inline int in_core(struct module *me, void *loc) in in_core() argument 109 return (loc >= me->core_layout.base && in in_core() 110 loc <= (me->core_layout.base + me->core_layout.size)); in in_core() 113 static inline int in_local(struct module *me, void *loc) in in_local() argument 115 return in_init(me, loc) || in_core(me, loc); in in_local() 321 struct module *me) in module_frob_arch_sections() argument [all …]
|
/arch/s390/kernel/ |
D | module.c | 65 static void check_rela(Elf_Rela *rela, struct module *me) in check_rela() argument 69 info = me->arch.syminfo + ELF_R_SYM (rela->r_info); in check_rela() 84 info->got_offset = me->arch.got_size; in check_rela() 85 me->arch.got_size += sizeof(void*); in check_rela() 96 info->plt_offset = me->arch.plt_size; in check_rela() 97 me->arch.plt_size += PLT_ENTRY_SIZE; in check_rela() 115 char *secstrings, struct module *me) in module_frob_arch_sections() argument 132 printk(KERN_ERR "module %s: no symbol table\n", me->name); in module_frob_arch_sections() 137 me->arch.nsyms = symtab->sh_size / sizeof(Elf_Sym); in module_frob_arch_sections() 138 me->arch.syminfo = vmalloc(me->arch.nsyms * in module_frob_arch_sections() [all …]
|
/arch/powerpc/kernel/ |
D | module_64.c | 341 struct module *me) in module_frob_arch_sections() argument 349 me->arch.stubs_section = i; in module_frob_arch_sections() 351 me->arch.toc_section = i; in module_frob_arch_sections() 367 if (!me->arch.stubs_section) { in module_frob_arch_sections() 368 pr_err("%s: doesn't contain .stubs.\n", me->name); in module_frob_arch_sections() 376 if (!me->arch.toc_section) in module_frob_arch_sections() 377 me->arch.toc_section = me->arch.stubs_section; in module_frob_arch_sections() 380 sechdrs[me->arch.stubs_section].sh_size = get_stubs_size(hdr, sechdrs); in module_frob_arch_sections() 387 static inline unsigned long my_r2(const Elf64_Shdr *sechdrs, struct module *me) in my_r2() argument 389 return sechdrs[me->arch.toc_section].sh_addr + 0x8000; in my_r2() [all …]
|
D | module_32.c | 149 struct module *me) in module_frob_arch_sections() argument 156 me->arch.init_plt_section = i; in module_frob_arch_sections() 158 me->arch.core_plt_section = i; in module_frob_arch_sections() 160 if (!me->arch.core_plt_section || !me->arch.init_plt_section) { in module_frob_arch_sections() 166 sechdrs[me->arch.core_plt_section].sh_size in module_frob_arch_sections() 168 sechdrs[me->arch.init_plt_section].sh_size in module_frob_arch_sections()
|
D | module.c | 47 const Elf_Shdr *sechdrs, struct module *me) in module_finalize() argument 52 rc = module_finalize_ftrace(me, sechdrs); in module_finalize()
|
/arch/metag/kernel/ |
D | module.c | 135 struct module *me) in module_frob_arch_sections() argument 142 me->arch.init_plt_section = i; in module_frob_arch_sections() 144 me->arch.core_plt_section = i; in module_frob_arch_sections() 146 if (!me->arch.core_plt_section || !me->arch.init_plt_section) { in module_frob_arch_sections() 152 sechdrs[me->arch.core_plt_section].sh_size in module_frob_arch_sections() 154 sechdrs[me->arch.core_plt_section].sh_type = SHT_NOBITS; in module_frob_arch_sections() 155 sechdrs[me->arch.init_plt_section].sh_size in module_frob_arch_sections() 157 sechdrs[me->arch.init_plt_section].sh_type = SHT_NOBITS; in module_frob_arch_sections() 202 struct module *me) in apply_relocate_add() argument 257 sechdrs, me); in apply_relocate_add() [all …]
|
/arch/alpha/kernel/ |
D | module.c | 77 char *secstrings, struct module *me) in module_frob_arch_sections() argument 95 me->arch.gotsecindex = s - sechdrs; in module_frob_arch_sections() 99 printk(KERN_ERR "module %s: no symbol table\n", me->name); in module_frob_arch_sections() 103 printk(KERN_ERR "module %s: no got section\n", me->name); in module_frob_arch_sections() 112 me->name); in module_frob_arch_sections() 147 struct module *me) in apply_relocate_add() argument 163 gp = (u64)me->core_layout.base + me->core_layout.size - 0x8000; in apply_relocate_add() 164 got = sechdrs[me->arch.gotsecindex].sh_addr; in apply_relocate_add() 266 me->name, r_type); in apply_relocate_add() 272 me->name, r_type, sym->st_shndx); in apply_relocate_add() [all …]
|
/arch/x86/kernel/ |
D | module.c | 104 struct module *me) in apply_relocate() argument 133 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate() 144 struct module *me) in apply_relocate_add() argument 205 me->name, ELF64_R_TYPE(rel[i].r_info)); in apply_relocate_add() 220 me->name); in apply_relocate_add() 227 struct module *me) in module_finalize() argument 252 alternatives_smp_module_add(me, me->name, in module_finalize() 263 jump_label_apply_nops(me); in module_finalize()
|
/arch/tile/kernel/ |
D | module.c | 96 static int validate_hw2_last(long value, struct module *me) in validate_hw2_last() argument 100 me->name, value); in validate_hw2_last() 126 struct module *me) in apply_relocate_add() argument 188 if (!validate_hw2_last(value, me)) in apply_relocate_add() 199 if (!validate_hw2_last(value, me)) in apply_relocate_add() 214 me->name, in apply_relocate_add() 227 me->name, (int) ELF_R_TYPE(rel[i].r_info)); in apply_relocate_add()
|
/arch/sh/kernel/ |
D | module.c | 41 struct module *me) in apply_relocate_add() argument 105 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add() 114 struct module *me) in module_finalize() argument 118 ret |= module_dwarf_finalize(hdr, sechdrs, me); in module_finalize()
|
/arch/m32r/kernel/ |
D | module.c | 75 struct module *me) in apply_relocate_add() argument 149 me->name, relocation); in apply_relocate_add() 157 me->name, value); in apply_relocate_add() 181 me->name, relocation); in apply_relocate_add() 189 me->name, value); in apply_relocate_add() 198 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
|
/arch/mn10300/kernel/ |
D | module.c | 60 struct module *me) in apply_relocate_add() argument 96 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add() 146 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add() 152 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
|
/arch/score/kernel/ |
D | module.c | 32 struct module *me) in apply_relocate() argument 49 me->name, relindex, i); in apply_relocate() 59 me->name, relindex, i, rel->r_offset, in apply_relocate() 120 me->name, ELF32_R_TYPE(rel->r_info)); in apply_relocate()
|
/arch/sparc/kernel/ |
D | leon_smp.c | 112 int me = smp_processor_id(); in leon_configure_cache_smp() local 117 (unsigned int)cfg, (unsigned int)me); in leon_configure_cache_smp() 124 me); in leon_configure_cache_smp() 162 int me = smp_processor_id(); in leon_boot_cpus() local 167 printk(KERN_INFO "%d:(%d:%d) cpus mpirq at 0x%x\n", (unsigned int)me, in leon_boot_cpus() 171 leon_enable_irq_cpu(LEON3_IRQ_CROSS_CALL, me); in leon_boot_cpus() 172 leon_enable_irq_cpu(LEON3_IRQ_TICKER, me); in leon_boot_cpus() 173 leon_enable_irq_cpu(leon_ipi_irq, me); in leon_boot_cpus()
|
D | module.c | 86 struct module *me) in apply_relocate_add() argument 174 me->name, in apply_relocate_add() 208 struct module *me) in module_finalize() argument 211 jump_label_apply_nops(me); in module_finalize()
|
/arch/m68k/kernel/ |
D | module.c | 26 struct module *me) in apply_relocate() argument 55 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate() 66 struct module *me) in apply_relocate_add() argument 95 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
|
/arch/h8300/kernel/ |
D | module.c | 12 struct module *me) in apply_relocate_add() argument 61 me->name, ELF32_R_TYPE(rela[i].r_info)); in apply_relocate_add() 68 me->name, rela[i].r_offset); in apply_relocate_add()
|
/arch/cris/kernel/ |
D | module.c | 49 struct module *me) in apply_relocate_add() argument 76 me->name, ELF32_R_TYPE(rela[i].r_info)); in apply_relocate_add()
|
/arch/openrisc/kernel/ |
D | module.c | 24 struct module *me) in apply_relocate_add() argument 64 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
|
/arch/arm64/kernel/ |
D | module.c | 199 struct module *me) in apply_relocate_add() argument 383 val = module_emit_plt_entry(me, &rel[i], sym); in apply_relocate_add() 391 me->name, ELF64_R_TYPE(rel[i].r_info)); in apply_relocate_add() 404 me->name, (int)ELF64_R_TYPE(rel[i].r_info), val); in apply_relocate_add() 410 struct module *me) in module_finalize() argument
|
/arch/alpha/lib/ |
D | dbg_stackcheck.S | 24 1: stq $31, -8($31) # oops me, damn it.
|
/arch/c6x/kernel/ |
D | module.c | 49 struct module *me) in apply_relocate_add() argument 117 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
|