Lines Matching refs:me

203 			      struct module *me)  in module_frob_arch_sections()  argument
211 me->arch.stubs_section = i; in module_frob_arch_sections()
213 me->arch.toc_section = i; in module_frob_arch_sections()
229 if (!me->arch.stubs_section) { in module_frob_arch_sections()
230 printk("%s: doesn't contain .stubs.\n", me->name); in module_frob_arch_sections()
238 if (!me->arch.toc_section) in module_frob_arch_sections()
239 me->arch.toc_section = me->arch.stubs_section; in module_frob_arch_sections()
242 sechdrs[me->arch.stubs_section].sh_size = get_stubs_size(hdr, sechdrs); in module_frob_arch_sections()
249 static inline unsigned long my_r2(Elf64_Shdr *sechdrs, struct module *me) in my_r2() argument
251 return sechdrs[me->arch.toc_section].sh_addr + 0x8000; in my_r2()
265 struct module *me) in create_stub() argument
276 reladdr = (unsigned long)entry - my_r2(sechdrs, me); in create_stub()
279 me->name, (void *)reladdr, (void *)my_r2); in create_stub()
295 struct module *me) in stub_for_addr() argument
301 num_stubs = sechdrs[me->arch.stubs_section].sh_size / sizeof(*stubs); in stub_for_addr()
304 stubs = (void *)sechdrs[me->arch.stubs_section].sh_addr; in stub_for_addr()
312 if (!create_stub(sechdrs, &stubs[i], opd, me)) in stub_for_addr()
320 static int restore_r2(u32 *instruction, struct module *me) in restore_r2() argument
324 me->name, *instruction); in restore_r2()
335 struct module *me) in apply_relocate_add() argument
373 *(unsigned long *)location = my_r2(sechdrs, me); in apply_relocate_add()
378 value -= my_r2(sechdrs, me); in apply_relocate_add()
381 me->name, value); in apply_relocate_add()
391 value -= my_r2(sechdrs, me); in apply_relocate_add()
394 me->name, value); in apply_relocate_add()
406 value = stub_for_addr(sechdrs, value, me); in apply_relocate_add()
409 if (!restore_r2((u32 *)location + 1, me)) in apply_relocate_add()
417 me->name, (long int)value); in apply_relocate_add()
434 me->name, in apply_relocate_add()
441 me->arch.toc = my_r2(sechdrs, me); in apply_relocate_add()
442 me->arch.tramp = stub_for_addr(sechdrs, in apply_relocate_add()
444 me); in apply_relocate_add()