Lines Matching refs:location
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
65 *location = base + v; in apply_r_mips_32()
70 static int apply_r_mips_26(struct module *me, u32 *location, in apply_r_mips_26() argument
79 if ((v & 0xf0000000) != (((unsigned long)location + 4) & 0xf0000000)) { in apply_r_mips_26()
85 *location = (*location & ~0x03ffffff) | in apply_r_mips_26()
91 static int apply_r_mips_hi16(struct module *me, u32 *location, in apply_r_mips_hi16() argument
97 *location = (*location & 0xffff0000) | in apply_r_mips_hi16()
111 n->addr = (Elf_Addr *)location; in apply_r_mips_hi16()
130 static int apply_r_mips_lo16(struct module *me, u32 *location, in apply_r_mips_lo16() argument
138 *location = (*location & 0xffff0000) | (v & 0xffff); in apply_r_mips_lo16()
189 *location = insnlo; 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
219 offset += ((long)v - (long)location) >> 2; in apply_r_mips_pc()
228 *location = (*location & ~mask) | (offset & mask); 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
257 *(Elf_Addr *)location = v; in apply_r_mips_64()
262 static int apply_r_mips_higher(struct module *me, u32 *location, in apply_r_mips_higher() argument
268 *location = (*location & 0xffff0000) | in apply_r_mips_higher()
274 static int apply_r_mips_highest(struct module *me, u32 *location, in apply_r_mips_highest() argument
280 *location = (*location & 0xffff0000) | in apply_r_mips_highest()
301 typedef int (*reloc_handler)(struct module *me, u32 *location,
329 u32 *location, base; in __apply_relocate() local
343 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in __apply_relocate()
377 base = *location; in __apply_relocate()
381 err = handler(me, location, base, v, rela); in __apply_relocate()