Lines Matching full:me

290 				  struct module *me)  in get_got_size()  argument
337 symindex, me->arch.pcpu_section); in get_got_size()
406 struct module *me) in module_frob_arch_sections() argument
413 me->arch.stubs_section = i; in module_frob_arch_sections()
416 me->arch.pcpu_section = i; in module_frob_arch_sections()
418 me->arch.got_section = i; in module_frob_arch_sections()
424 me->arch.toc_section = i; in module_frob_arch_sections()
440 if (!me->arch.stubs_section) { in module_frob_arch_sections()
441 pr_err("%s: doesn't contain .stubs.\n", me->name); in module_frob_arch_sections()
446 if (!me->arch.got_section) { in module_frob_arch_sections()
447 pr_err("%s: doesn't contain .mygot.\n", me->name); in module_frob_arch_sections()
452 sechdrs[me->arch.got_section].sh_size = get_got_size(hdr, sechdrs, me); in module_frob_arch_sections()
458 if (!me->arch.toc_section) in module_frob_arch_sections()
459 me->arch.toc_section = me->arch.stubs_section; in module_frob_arch_sections()
463 sechdrs[me->arch.stubs_section].sh_size = get_stubs_size(hdr, sechdrs); in module_frob_arch_sections()
502 struct module *me) in create_ftrace_stub() argument
507 pr_err("%s: Address of stub entry is not 8-byte aligned\n", me->name); in create_ftrace_stub()
519 me->name, (void *)addr); in create_ftrace_stub()
530 me->name, (void *)addr); in create_ftrace_stub()
563 struct module *me) in create_ftrace_stub() argument
580 static inline unsigned long my_r2(const Elf64_Shdr *sechdrs, struct module *me) in my_r2() argument
583 return (sechdrs[me->arch.toc_section].sh_addr & ~0xfful) + 0x8000; in my_r2()
593 struct module *me, in create_stub() argument
601 return create_ftrace_stub(entry, addr, me); in create_stub()
604 pr_err("%s: Address of stub entry is not 8-byte aligned\n", me->name); in create_stub()
621 me->name, (void *)reladdr); in create_stub()
634 reladdr = (unsigned long)entry - my_r2(sechdrs, me); in create_stub()
637 me->name, (void *)reladdr, (void *)my_r2); in create_stub()
668 struct module *me, in stub_for_addr() argument
674 num_stubs = sechdrs[me->arch.stubs_section].sh_size / sizeof(*stubs); in stub_for_addr()
677 stubs = (void *)sechdrs[me->arch.stubs_section].sh_addr; in stub_for_addr()
686 if (!create_stub(sechdrs, &stubs[i], addr, me, name)) in stub_for_addr()
696 struct module *me, in got_for_addr() argument
705 num_got = sechdrs[me->arch.got_section].sh_size / sizeof(*got); in got_for_addr()
708 got = (void *)sechdrs[me->arch.got_section].sh_addr; in got_for_addr()
725 static int restore_r2(const char *name, u32 *instruction, struct module *me) in restore_r2() argument
755 me->name, insn_val, instruction); in restore_r2()
767 struct module *me) in apply_relocate_add() argument
780 if (!me->arch.toc_fixed) { in apply_relocate_add()
785 sym->st_value = my_r2(sechdrs, me); in apply_relocate_add()
786 me->arch.toc_fixed = true; in apply_relocate_add()
818 *(unsigned long *)location = my_r2(sechdrs, me); in apply_relocate_add()
823 value -= my_r2(sechdrs, me); in apply_relocate_add()
826 me->name, value); in apply_relocate_add()
836 value -= my_r2(sechdrs, me); in apply_relocate_add()
844 value -= my_r2(sechdrs, me); in apply_relocate_add()
847 me->name, value); in apply_relocate_add()
857 value -= my_r2(sechdrs, me); in apply_relocate_add()
860 me->name, value); in apply_relocate_add()
870 value -= my_r2(sechdrs, me); in apply_relocate_add()
887 value = stub_for_addr(sechdrs, value, me, in apply_relocate_add()
892 (u32 *)location + 1, me)) in apply_relocate_add()
901 me->name, (long int)value); in apply_relocate_add()
924 me->name, (long int)value); in apply_relocate_add()
938 if (sym->st_shndx != me->arch.pcpu_section) { in apply_relocate_add()
940 me->name, (long)value); in apply_relocate_add()
949 value = got_for_addr(sechdrs, absvalue, me, in apply_relocate_add()
988 value = my_r2(sechdrs, me) - (unsigned long)location; in apply_relocate_add()
1028 value = got_for_addr(sechdrs, value, me, in apply_relocate_add()
1042 me->name, in apply_relocate_add()