• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/parisc/kernel/

Lines Matching refs:me

30  *			if (in_init(me, (void *)val))
31 * val -= (uint32_t)me->module_init;
33 * val -= (uint32_t)me->module_core;
59 me->name, strtab + sym->st_name, (unsigned long)val, bits); \
72 static inline int in_init(struct module *me, void *loc)
74 return (loc >= me->module_init &&
75 loc <= (me->module_init + me->init_size));
78 static inline int in_core(struct module *me, void *loc)
80 return (loc >= me->module_core &&
81 loc <= (me->module_core + me->core_size));
84 static inline int in_local(struct module *me, void *loc)
86 return in_init(me, loc) || in_core(me, loc);
89 static inline int in_local_section(struct module *me, void *loc, void *dot)
91 return (in_init(me, loc) && in_init(me, dot)) ||
92 (in_core(me, loc) && in_core(me, dot));
262 struct module *me)
273 me->arch.unwind_section = i;
293 me->core_size = ALIGN(me->core_size, 16);
294 me->arch.got_offset = me->core_size;
295 me->core_size += gots * sizeof(struct got_entry);
297 me->core_size = ALIGN(me->core_size, 16);
298 me->arch.fdesc_offset = me->core_size;
299 me->core_size += fdescs * sizeof(Elf_Fdesc);
301 me->core_size = ALIGN(me->core_size, 16);
302 me->arch.stub_offset = me->core_size;
303 me->core_size += stubs * sizeof(struct stub_entry);
305 me->init_size = ALIGN(me->init_size, 16);
306 me->arch.init_stub_offset = me->init_size;
307 me->init_size += init_stubs * sizeof(struct stub_entry);
309 me->arch.got_max = gots;
310 me->arch.fdesc_max = fdescs;
311 me->arch.stub_max = stubs;
312 me->arch.init_stub_max = init_stubs;
318 static Elf64_Word get_got(struct module *me, unsigned long value, long addend)
327 got = me->module_core + me->arch.got_offset;
332 BUG_ON(++me->arch.got_count > me->arch.got_max);
343 static Elf_Addr get_fdesc(struct module *me, unsigned long value)
345 Elf_Fdesc *fdesc = me->module_core + me->arch.fdesc_offset;
348 printk(KERN_ERR "%s: zero OPD requested!\n", me->name);
359 BUG_ON(++me->arch.fdesc_count > me->arch.fdesc_max);
363 fdesc->gp = (Elf_Addr)me->module_core + me->arch.got_offset;
374 static Elf_Addr get_stub(struct module *me, unsigned long value, long addend,
381 i = me->arch.init_stub_count++;
382 BUG_ON(me->arch.init_stub_count > me->arch.init_stub_max);
383 stub = me->module_init + me->arch.init_stub_offset +
386 i = me->arch.stub_count++;
387 BUG_ON(me->arch.stub_count > me->arch.stub_max);
388 stub = me->module_core + me->arch.stub_offset +
428 stub->insns[0] |= reassemble_14(get_got(me, value, addend) & 0x3fff);
458 struct module *me)
462 me->name);
471 struct module *me)
494 me->name, strtab + sym->st_name);
543 val = get_stub(me, val, addend, ELF_STUB_GOT, in_init(me, loc));
550 val = get_stub(me, val, addend, ELF_STUB_GOT, in_init(me, loc));
561 me->name, ELF32_R_TYPE(rel[i].r_info));
574 struct module *me)
596 me->name, strtab + sym->st_name);
610 val = get_got(me, val, addend);
620 val = get_got(me, val, addend);
633 if(!in_local_section(me, (void *)val, (void *)dot)) {
635 if (in_local(me, (void *)val))
642 val = get_stub(me, val, addend, ELF_STUB_DIRECT,
643 in_init(me, loc));
646 val = get_stub(me, val, addend, ELF_STUB_MILLI,
647 in_init(me, loc));
649 val = get_stub(me, val, addend, ELF_STUB_GOT,
650 in_init(me, loc));
658 me->name, strtab + sym->st_name);
677 if(in_local(me, (void *)(val + addend))) {
678 *loc64 = get_fdesc(me, val+addend);
695 me->name, ELF64_R_TYPE(rel[i].r_info));
704 register_unwind_table(struct module *me,
710 if (!me->arch.unwind_section)
713 table = (unsigned char *)sechdrs[me->arch.unwind_section].sh_addr;
714 end = table + sechdrs[me->arch.unwind_section].sh_size;
715 gp = (Elf_Addr)me->module_core + me->arch.got_offset;
718 me->arch.unwind_section, table, end, gp);
719 me->arch.unwind = unwind_table_add(me->name, 0, gp, table, end);
723 deregister_unwind_table(struct module *me)
725 if (me->arch.unwind)
726 unwind_table_remove(me->arch.unwind);
731 struct module *me)
742 entry = (Elf_Fdesc *)me->init;
752 me->arch.stub_count, me->arch.stub_max,
753 me->arch.init_stub_count, me->arch.init_stub_max,
754 me->arch.got_count, me->arch.got_max,
755 me->arch.fdesc_count, me->arch.fdesc_max);
758 register_unwind_table(me, sechdrs);
760 /* haven't filled in me->symtab yet, so have to find it
773 me->name, strtab, symhdr);
775 if(me->arch.got_count > MAX_GOTS) {
777 me->name, me->arch.got_count, MAX_GOTS);
805 return module_bug_finalize(hdr, sechdrs, me);