Lines Matching refs:me

59 check_rela(Elf_Rela *rela, struct module *me)  in check_rela()  argument
63 info = me->arch.syminfo + ELF_R_SYM (rela->r_info); in check_rela()
78 info->got_offset = me->arch.got_size; in check_rela()
79 me->arch.got_size += sizeof(void*); in check_rela()
90 info->plt_offset = me->arch.plt_size; in check_rela()
91 me->arch.plt_size += PLT_ENTRY_SIZE; in check_rela()
110 char *secstrings, struct module *me) in module_frob_arch_sections() argument
127 printk(KERN_ERR "module %s: no symbol table\n", me->name); in module_frob_arch_sections()
132 me->arch.nsyms = symtab->sh_size / sizeof(Elf_Sym); in module_frob_arch_sections()
133 me->arch.syminfo = vmalloc(me->arch.nsyms * in module_frob_arch_sections()
135 if (!me->arch.syminfo) in module_frob_arch_sections()
139 for (i = 0; i < me->arch.nsyms; i++) { in module_frob_arch_sections()
145 me->arch.syminfo[i].got_offset = -1UL; in module_frob_arch_sections()
146 me->arch.syminfo[i].plt_offset = -1UL; in module_frob_arch_sections()
147 me->arch.syminfo[i].got_initialized = 0; in module_frob_arch_sections()
148 me->arch.syminfo[i].plt_initialized = 0; in module_frob_arch_sections()
152 me->arch.got_size = me->arch.plt_size = 0; in module_frob_arch_sections()
159 check_rela(rela + j, me); in module_frob_arch_sections()
164 me->core_size = ALIGN(me->core_size, 4); in module_frob_arch_sections()
165 me->arch.got_offset = me->core_size; in module_frob_arch_sections()
166 me->core_size += me->arch.got_size; in module_frob_arch_sections()
167 me->arch.plt_offset = me->core_size; in module_frob_arch_sections()
168 me->core_size += me->arch.plt_size; in module_frob_arch_sections()
174 struct module *me) in apply_rela() argument
186 info = me->arch.syminfo + r_sym; in apply_rela()
245 gotent = me->module_core + me->arch.got_offset + in apply_rela()
269 (val + (Elf_Addr) me->module_core - loc) >> 1; in apply_rela()
283 ip = me->module_core + me->arch.plt_offset + in apply_rela()
301 val = me->arch.plt_offset - me->arch.got_offset + in apply_rela()
308 val = (Elf_Addr) me->module_core + in apply_rela()
309 me->arch.plt_offset + in apply_rela()
330 ((Elf_Addr) me->module_core + me->arch.got_offset); in apply_rela()
340 val = (Elf_Addr) me->module_core + me->arch.got_offset + in apply_rela()
356 me->name, r_type); in apply_rela()
365 struct module *me) in apply_relocate_add() argument
381 rc = apply_rela(rela, base, symtab, me); in apply_relocate_add()
390 struct module *me) in module_finalize() argument
392 vfree(me->arch.syminfo); in module_finalize()
393 me->arch.syminfo = NULL; in module_finalize()