Lines Matching refs:me

283 			      struct module *me)  in module_frob_arch_sections()  argument
291 me->arch.stubs_section = i; in module_frob_arch_sections()
293 me->arch.toc_section = i; in module_frob_arch_sections()
312 if (!me->arch.stubs_section) { in module_frob_arch_sections()
313 pr_err("%s: doesn't contain .stubs.\n", me->name); in module_frob_arch_sections()
321 if (!me->arch.toc_section) in module_frob_arch_sections()
322 me->arch.toc_section = me->arch.stubs_section; in module_frob_arch_sections()
325 sechdrs[me->arch.stubs_section].sh_size = get_stubs_size(hdr, sechdrs); in module_frob_arch_sections()
353 struct module *me) in create_ftrace_stub() argument
363 me->name, (void *)addr); in create_ftrace_stub()
395 struct module *me) in create_ftrace_stub() argument
412 static inline unsigned long my_r2(const Elf64_Shdr *sechdrs, struct module *me) in my_r2() argument
414 return (sechdrs[me->arch.toc_section].sh_addr & ~0xfful) + 0x8000; in my_r2()
421 struct module *me, in create_stub() argument
427 return create_ftrace_stub(entry, addr, me); in create_stub()
432 reladdr = (unsigned long)entry - my_r2(sechdrs, me); in create_stub()
435 me->name, (void *)reladdr, (void *)my_r2); in create_stub()
452 struct module *me, in stub_for_addr() argument
458 num_stubs = sechdrs[me->arch.stubs_section].sh_size / sizeof(*stubs); in stub_for_addr()
461 stubs = (void *)sechdrs[me->arch.stubs_section].sh_addr; in stub_for_addr()
470 if (!create_stub(sechdrs, &stubs[i], addr, me, name)) in stub_for_addr()
478 static int restore_r2(const char *name, u32 *instruction, struct module *me) in restore_r2() argument
495 me->name, *instruction, instruction); in restore_r2()
507 struct module *me) in apply_relocate_add() argument
519 if (!me->arch.toc_fixed) { in apply_relocate_add()
524 sym->st_value = my_r2(sechdrs, me); in apply_relocate_add()
525 me->arch.toc_fixed = true; in apply_relocate_add()
556 *(unsigned long *)location = my_r2(sechdrs, me); in apply_relocate_add()
561 value -= my_r2(sechdrs, me); in apply_relocate_add()
564 me->name, value); in apply_relocate_add()
574 value -= my_r2(sechdrs, me); in apply_relocate_add()
582 value -= my_r2(sechdrs, me); in apply_relocate_add()
585 me->name, value); in apply_relocate_add()
595 value -= my_r2(sechdrs, me); in apply_relocate_add()
598 me->name, value); in apply_relocate_add()
608 value -= my_r2(sechdrs, me); in apply_relocate_add()
620 value = stub_for_addr(sechdrs, value, me, in apply_relocate_add()
625 (u32 *)location + 1, me)) in apply_relocate_add()
634 me->name, (long int)value); in apply_relocate_add()
655 me->name, (long int)value); in apply_relocate_add()
674 value = my_r2(sechdrs, me) - (unsigned long)location; in apply_relocate_add()
714 me->name, in apply_relocate_add()