Lines Matching refs:me
38 static int apply_r_mips_26(struct module *me, u32 *location, u32 base,
43 me->name);
49 me->name);
59 static int apply_r_mips_hi16(struct module *me, u32 *location, Elf_Addr v,
81 n->next = me->arch.r_mips_hi16_list;
82 me->arch.r_mips_hi16_list = n;
98 static int apply_r_mips_lo16(struct module *me, u32 *location,
113 if (me->arch.r_mips_hi16_list != NULL) {
114 l = me->arch.r_mips_hi16_list;
149 me->arch.r_mips_hi16_list = NULL;
163 me->arch.r_mips_hi16_list = NULL;
165 pr_err("module %s: dangerous R_MIPS_LO16 relocation\n", me->name);
170 static int apply_r_mips_pc(struct module *me, u32 *location, u32 base,
179 me->name, bits);
192 pr_err("module %s: relocation overflow\n", me->name);
201 static int apply_r_mips_pc16(struct module *me, u32 *location, u32 base,
204 return apply_r_mips_pc(me, location, base, v, 16);
207 static int apply_r_mips_pc21(struct module *me, u32 *location, u32 base,
210 return apply_r_mips_pc(me, location, base, v, 21);
213 static int apply_r_mips_pc26(struct module *me, u32 *location, u32 base,
216 return apply_r_mips_pc(me, location, base, v, 26);
254 * @me: the module to apply the reloc to
261 * relocation to the module @me. Relocs that may be found in either REL or RELA
268 static int reloc_handler(u32 type, struct module *me, u32 *location, u32 base,
278 return apply_r_mips_26(me, location, base, v);
280 return apply_r_mips_hi16(me, location, v, rela);
282 return apply_r_mips_lo16(me, location, base, v, rela);
284 return apply_r_mips_pc16(me, location, base, v);
286 return apply_r_mips_pc21(me, location, base, v);
288 return apply_r_mips_pc26(me, location, base, v);
296 pr_err("%s: Unknown relocation type %u\n", me->name, type);
305 struct module *me, bool rela)
323 me->arch.r_mips_hi16_list = NULL;
336 me->name, strtab + sym->st_name);
353 err = reloc_handler(type, me, location, base, v, rela);
367 if (me->arch.r_mips_hi16_list) {
368 free_relocation_chain(me->arch.r_mips_hi16_list);
369 me->arch.r_mips_hi16_list = NULL;
378 struct module *me)
380 return __apply_relocate(sechdrs, strtab, symindex, relsec, me, false);
386 struct module *me)
388 return __apply_relocate(sechdrs, strtab, symindex, relsec, me, true);
416 struct module *me)
422 jump_label_apply_nops(me);
424 INIT_LIST_HEAD(&me->arch.dbe_list);
428 me->arch.dbe_start = (void *)s->sh_addr;
429 me->arch.dbe_end = (void *)s->sh_addr + s->sh_size;
431 list_add(&me->arch.dbe_list, &dbe_list);