Lines Matching refs:me

364 			      struct module *me)  in module_frob_arch_sections()  argument
372 me->arch.stubs_section = i; in module_frob_arch_sections()
374 me->arch.toc_section = i; in module_frob_arch_sections()
390 if (!me->arch.stubs_section) { in module_frob_arch_sections()
391 pr_err("%s: doesn't contain .stubs.\n", me->name); in module_frob_arch_sections()
399 if (!me->arch.toc_section) in module_frob_arch_sections()
400 me->arch.toc_section = me->arch.stubs_section; in module_frob_arch_sections()
403 sechdrs[me->arch.stubs_section].sh_size = get_stubs_size(hdr, sechdrs); in module_frob_arch_sections()
410 static inline unsigned long my_r2(Elf64_Shdr *sechdrs, struct module *me) in my_r2() argument
412 return sechdrs[me->arch.toc_section].sh_addr + 0x8000; in my_r2()
426 struct module *me) in create_stub() argument
433 reladdr = (unsigned long)entry - my_r2(sechdrs, me); in create_stub()
436 me->name, (void *)reladdr, (void *)my_r2); in create_stub()
451 struct module *me) in stub_for_addr() argument
456 num_stubs = sechdrs[me->arch.stubs_section].sh_size / sizeof(*stubs); in stub_for_addr()
459 stubs = (void *)sechdrs[me->arch.stubs_section].sh_addr; in stub_for_addr()
467 if (!create_stub(sechdrs, &stubs[i], addr, me)) in stub_for_addr()
475 static int restore_r2(u32 *instruction, struct module *me) in restore_r2() argument
479 me->name, *instruction); in restore_r2()
491 struct module *me) in apply_relocate_add() argument
503 if (!me->arch.toc_fixed) { in apply_relocate_add()
508 sym->st_value = my_r2(sechdrs, me); in apply_relocate_add()
509 me->arch.toc_fixed = true; in apply_relocate_add()
540 *(unsigned long *)location = my_r2(sechdrs, me); in apply_relocate_add()
545 value -= my_r2(sechdrs, me); in apply_relocate_add()
548 me->name, value); in apply_relocate_add()
558 value -= my_r2(sechdrs, me); in apply_relocate_add()
566 value -= my_r2(sechdrs, me); in apply_relocate_add()
569 me->name, value); in apply_relocate_add()
579 value -= my_r2(sechdrs, me); in apply_relocate_add()
582 me->name, value); in apply_relocate_add()
592 value -= my_r2(sechdrs, me); in apply_relocate_add()
603 value = stub_for_addr(sechdrs, value, me); in apply_relocate_add()
606 if (!restore_r2((u32 *)location + 1, me)) in apply_relocate_add()
615 me->name, (long int)value); in apply_relocate_add()
643 value = my_r2(sechdrs, me) - (unsigned long)location; in apply_relocate_add()
684 me->name, in apply_relocate_add()
691 me->arch.toc = my_r2(sechdrs, me); in apply_relocate_add()
692 me->arch.tramp = stub_for_addr(sechdrs, in apply_relocate_add()
694 me); in apply_relocate_add()