Home
last modified time | relevance | path

Searched refs:me (Results 1 – 25 of 66) sorted by relevance

123

/arch/parisc/kernel/
Dmodule.c84 me->name, strtab + sym->st_name, (unsigned long)val, bits); \
101 static inline int in_init(struct module *me, void *loc) in in_init() argument
103 return (loc >= me->module_init && in in_init()
104 loc <= (me->module_init + me->init_size)); in in_init()
107 static inline int in_core(struct module *me, void *loc) in in_core() argument
109 return (loc >= me->module_core && in in_core()
110 loc <= (me->module_core + me->core_size)); in in_core()
113 static inline int in_local(struct module *me, void *loc) in in_local() argument
115 return in_init(me, loc) || in_core(me, loc); in in_local()
325 struct module *me) in module_frob_arch_sections() argument
[all …]
/arch/s390/kernel/
Dmodule.c68 static void check_rela(Elf_Rela *rela, struct module *me) in check_rela() argument
72 info = me->arch.syminfo + ELF_R_SYM (rela->r_info); in check_rela()
87 info->got_offset = me->arch.got_size; in check_rela()
88 me->arch.got_size += sizeof(void*); in check_rela()
99 info->plt_offset = me->arch.plt_size; in check_rela()
100 me->arch.plt_size += PLT_ENTRY_SIZE; in check_rela()
118 char *secstrings, struct module *me) in module_frob_arch_sections() argument
135 printk(KERN_ERR "module %s: no symbol table\n", me->name); in module_frob_arch_sections()
140 me->arch.nsyms = symtab->sh_size / sizeof(Elf_Sym); in module_frob_arch_sections()
141 me->arch.syminfo = vmalloc(me->arch.nsyms * in module_frob_arch_sections()
[all …]
/arch/mips/kernel/
Dmodule.c54 int apply_r_mips_none(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_none() argument
59 static int apply_r_mips_32_rel(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_32_rel() argument
66 static int apply_r_mips_26_rel(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_26_rel() argument
70 me->name); in apply_r_mips_26_rel()
77 me->name); in apply_r_mips_26_rel()
87 static int apply_r_mips_hi16_rel(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_hi16_rel() argument
102 n->next = me->arch.r_mips_hi16_list; in apply_r_mips_hi16_rel()
103 me->arch.r_mips_hi16_list = n; in apply_r_mips_hi16_rel()
119 static int apply_r_mips_lo16_rel(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_lo16_rel() argument
128 if (me->arch.r_mips_hi16_list != NULL) { in apply_r_mips_lo16_rel()
[all …]
Dmodule-rela.c26 extern int apply_r_mips_none(struct module *me, u32 *location, Elf_Addr v);
28 static int apply_r_mips_32_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_32_rela() argument
35 static int apply_r_mips_26_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_26_rela() argument
39 me->name); in apply_r_mips_26_rela()
46 me->name); in apply_r_mips_26_rela()
55 static int apply_r_mips_hi16_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_hi16_rela() argument
63 static int apply_r_mips_lo16_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_lo16_rela() argument
70 static int apply_r_mips_64_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_mips_64_rela() argument
77 static int apply_r_mips_higher_rela(struct module *me, u32 *location, in apply_r_mips_higher_rela() argument
86 static int apply_r_mips_highest_rela(struct module *me, u32 *location, in apply_r_mips_highest_rela() argument
[all …]
/arch/powerpc/kernel/
Dmodule_64.c203 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()
[all …]
Dmodule_32.c153 struct module *me) in module_frob_arch_sections() argument
160 me->arch.init_plt_section = i; in module_frob_arch_sections()
162 me->arch.core_plt_section = i; in module_frob_arch_sections()
164 if (!me->arch.core_plt_section || !me->arch.init_plt_section) { in module_frob_arch_sections()
170 sechdrs[me->arch.core_plt_section].sh_size in module_frob_arch_sections()
172 sechdrs[me->arch.init_plt_section].sh_size in module_frob_arch_sections()
/arch/metag/kernel/
Dmodule.c135 struct module *me) in module_frob_arch_sections() argument
142 me->arch.init_plt_section = i; in module_frob_arch_sections()
144 me->arch.core_plt_section = i; in module_frob_arch_sections()
146 if (!me->arch.core_plt_section || !me->arch.init_plt_section) { in module_frob_arch_sections()
152 sechdrs[me->arch.core_plt_section].sh_size in module_frob_arch_sections()
154 sechdrs[me->arch.core_plt_section].sh_type = SHT_NOBITS; in module_frob_arch_sections()
155 sechdrs[me->arch.init_plt_section].sh_size in module_frob_arch_sections()
157 sechdrs[me->arch.init_plt_section].sh_type = SHT_NOBITS; in module_frob_arch_sections()
202 struct module *me) in apply_relocate_add() argument
257 sechdrs, me); in apply_relocate_add()
[all …]
/arch/alpha/kernel/
Dmodule.c77 char *secstrings, struct module *me) in module_frob_arch_sections() argument
95 me->arch.gotsecindex = s - sechdrs; in module_frob_arch_sections()
99 printk(KERN_ERR "module %s: no symbol table\n", me->name); in module_frob_arch_sections()
103 printk(KERN_ERR "module %s: no got section\n", me->name); in module_frob_arch_sections()
112 me->name); in module_frob_arch_sections()
147 struct module *me) in apply_relocate_add() argument
163 gp = (u64)me->module_core + me->core_size - 0x8000; in apply_relocate_add()
164 got = sechdrs[me->arch.gotsecindex].sh_addr; in apply_relocate_add()
266 me->name, r_type); in apply_relocate_add()
272 me->name, r_type, sym->st_shndx); in apply_relocate_add()
[all …]
/arch/x86/kernel/
Dmodule.c60 struct module *me) in apply_relocate() argument
89 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate()
100 struct module *me) in apply_relocate_add() argument
152 me->name, ELF64_R_TYPE(rel[i].r_info)); in apply_relocate_add()
162 me->name); in apply_relocate_add()
169 struct module *me) in module_finalize() argument
194 alternatives_smp_module_add(me, me->name, in module_finalize()
205 jump_label_apply_nops(me); in module_finalize()
/arch/tile/kernel/
Dmodule.c96 static int validate_hw2_last(long value, struct module *me) in validate_hw2_last() argument
100 me->name, value); in validate_hw2_last()
126 struct module *me) in apply_relocate_add() argument
188 if (!validate_hw2_last(value, me)) in apply_relocate_add()
199 if (!validate_hw2_last(value, me)) in apply_relocate_add()
214 " %#llx at %#llx (%p)\n", me->name, in apply_relocate_add()
227 me->name, (int) ELF_R_TYPE(rel[i].r_info)); in apply_relocate_add()
/arch/sh/kernel/
Dmodule.c41 struct module *me) in apply_relocate_add() argument
105 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
114 struct module *me) in module_finalize() argument
118 ret |= module_dwarf_finalize(hdr, sechdrs, me); in module_finalize()
/arch/powerpc/platforms/wsp/
Dwsp.c91 struct device_node *me; in wsp_halt() local
93 me = of_get_cpu_node(smp_processor_id(), NULL); in wsp_halt()
94 mine = scom_find_parent(me); in wsp_halt()
/arch/m32r/kernel/
Dmodule.c75 struct module *me) in apply_relocate_add() argument
149 me->name, relocation); in apply_relocate_add()
157 me->name, value); in apply_relocate_add()
181 me->name, relocation); in apply_relocate_add()
189 me->name, value); in apply_relocate_add()
198 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
/arch/mn10300/kernel/
Dmodule.c60 struct module *me) in apply_relocate_add() argument
96 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
146 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
152 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
/arch/score/kernel/
Dmodule.c32 struct module *me) in apply_relocate() argument
49 me->name, relindex, i); in apply_relocate()
59 me->name, relindex, i, rel->r_offset, in apply_relocate()
120 me->name, ELF32_R_TYPE(rel->r_info)); in apply_relocate()
/arch/m68k/kernel/
Dmodule.c26 struct module *me) in apply_relocate() argument
55 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate()
66 struct module *me) in apply_relocate_add() argument
95 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
/arch/um/kernel/
Dsmp.c107 int err, cpu, me = smp_processor_id(); in smp_prepare_cpus() local
113 set_cpu_online(me, true); in smp_prepare_cpus()
114 cpu_set(me, cpu_callin_map); in smp_prepare_cpus()
116 err = os_pipe(cpu_data[me].ipi_pipe, 1, 1); in smp_prepare_cpus()
120 os_set_fd_async(cpu_data[me].ipi_pipe[0]); in smp_prepare_cpus()
/arch/h8300/kernel/
Dmodule.c18 struct module *me) in apply_relocate_add() argument
66 me->name, ELF32_R_TYPE(rela[i].r_info)); in apply_relocate_add()
73 me->name, rela[i].r_offset); in apply_relocate_add()
/arch/sparc/kernel/
Dleon_smp.c112 int me = smp_processor_id(); in leon_configure_cache_smp() local
117 (unsigned int)cfg, (unsigned int)me); in leon_configure_cache_smp()
124 me); in leon_configure_cache_smp()
169 int me = smp_processor_id(); in leon_boot_cpus() local
174 printk(KERN_INFO "%d:(%d:%d) cpus mpirq at 0x%x\n", (unsigned int)me, in leon_boot_cpus()
178 leon_enable_irq_cpu(LEON3_IRQ_CROSS_CALL, me); in leon_boot_cpus()
179 leon_enable_irq_cpu(LEON3_IRQ_TICKER, me); in leon_boot_cpus()
180 leon_enable_irq_cpu(leon_ipi_irq, me); in leon_boot_cpus()
Dmodule.c86 struct module *me) in apply_relocate_add() argument
174 me->name, in apply_relocate_add()
208 struct module *me) in module_finalize() argument
211 jump_label_apply_nops(me); in module_finalize()
/arch/cris/kernel/
Dmodule.c49 struct module *me) in apply_relocate_add() argument
76 me->name, ELF32_R_TYPE(rela[i].r_info)); in apply_relocate_add()
/arch/openrisc/kernel/
Dmodule.c24 struct module *me) in apply_relocate_add() argument
66 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()
/arch/x86/ia32/
Dsys_ia32.c206 struct task_struct *me = current; in sys32_vm86_warning() local
207 static char lastcomm[sizeof(me->comm)]; in sys32_vm86_warning()
209 if (strncmp(lastcomm, me->comm, sizeof(lastcomm))) { in sys32_vm86_warning()
212 me->comm); in sys32_vm86_warning()
213 strncpy(lastcomm, me->comm, sizeof(lastcomm)); in sys32_vm86_warning()
/arch/alpha/lib/
Ddbg_stackcheck.S24 1: stq $31, -8($31) # oops me, damn it.
/arch/c6x/kernel/
Dmodule.c49 struct module *me) in apply_relocate_add() argument
117 me->name, ELF32_R_TYPE(rel[i].r_info)); in apply_relocate_add()

123