Lines Matching refs:me
56 static int apply_r_mips_none(struct module *me, u32 *location, in apply_r_mips_none() argument
62 static int apply_r_mips_32(struct module *me, u32 *location, in apply_r_mips_32() argument
70 static int apply_r_mips_26(struct module *me, u32 *location, in apply_r_mips_26() argument
75 me->name); in apply_r_mips_26()
81 me->name); in apply_r_mips_26()
91 static int apply_r_mips_hi16(struct module *me, u32 *location, in apply_r_mips_hi16() argument
113 n->next = me->arch.r_mips_hi16_list; in apply_r_mips_hi16()
114 me->arch.r_mips_hi16_list = n; in apply_r_mips_hi16()
130 static int apply_r_mips_lo16(struct module *me, u32 *location, in apply_r_mips_lo16() argument
145 if (me->arch.r_mips_hi16_list != NULL) { in apply_r_mips_lo16()
146 l = me->arch.r_mips_hi16_list; in apply_r_mips_lo16()
181 me->arch.r_mips_hi16_list = NULL; in apply_r_mips_lo16()
195 me->arch.r_mips_hi16_list = NULL; in apply_r_mips_lo16()
197 pr_err("module %s: dangerous R_MIPS_LO16 relocation\n", me->name); in apply_r_mips_lo16()
202 static int apply_r_mips_pc(struct module *me, u32 *location, u32 base, in apply_r_mips_pc() argument
211 me->name, bits); in apply_r_mips_pc()
224 pr_err("module %s: relocation overflow\n", me->name); in apply_r_mips_pc()
233 static int apply_r_mips_pc16(struct module *me, u32 *location, in apply_r_mips_pc16() argument
236 return apply_r_mips_pc(me, location, base, v, 16); in apply_r_mips_pc16()
239 static int apply_r_mips_pc21(struct module *me, u32 *location, in apply_r_mips_pc21() argument
242 return apply_r_mips_pc(me, location, base, v, 21); in apply_r_mips_pc21()
245 static int apply_r_mips_pc26(struct module *me, u32 *location, in apply_r_mips_pc26() argument
248 return apply_r_mips_pc(me, location, base, v, 26); in apply_r_mips_pc26()
251 static int apply_r_mips_64(struct module *me, u32 *location, in apply_r_mips_64() argument
262 static int apply_r_mips_higher(struct module *me, u32 *location, in apply_r_mips_higher() argument
274 static int apply_r_mips_highest(struct module *me, u32 *location, in apply_r_mips_highest() argument
301 typedef int (*reloc_handler)(struct module *me, u32 *location,
321 struct module *me, bool rela) in __apply_relocate() argument
340 me->arch.r_mips_hi16_list = NULL; in __apply_relocate()
353 me->name, strtab + sym->st_name); in __apply_relocate()
366 me->name, type); in __apply_relocate()
381 err = handler(me, location, base, v, rela); in __apply_relocate()
395 if (me->arch.r_mips_hi16_list) { in __apply_relocate()
396 free_relocation_chain(me->arch.r_mips_hi16_list); in __apply_relocate()
397 me->arch.r_mips_hi16_list = NULL; in __apply_relocate()
406 struct module *me) in apply_relocate() argument
408 return __apply_relocate(sechdrs, strtab, symindex, relsec, me, false); in apply_relocate()
414 struct module *me) in apply_relocate_add() argument
416 return __apply_relocate(sechdrs, strtab, symindex, relsec, me, true); in apply_relocate_add()
444 struct module *me) in module_finalize() argument
450 jump_label_apply_nops(me); in module_finalize()
452 INIT_LIST_HEAD(&me->arch.dbe_list); in module_finalize()
456 me->arch.dbe_start = (void *)s->sh_addr; in module_finalize()
457 me->arch.dbe_end = (void *)s->sh_addr + s->sh_size; in module_finalize()
459 list_add(&me->arch.dbe_list, &dbe_list); in module_finalize()