Lines Matching full:location

43 static int apply_r_mips_none(struct module *me, u32 *location,  in apply_r_mips_none()  argument
49 static int apply_r_mips_32(struct module *me, u32 *location, in apply_r_mips_32() argument
52 *location = base + v; in apply_r_mips_32()
57 static int apply_r_mips_26(struct module *me, u32 *location, in apply_r_mips_26() argument
66 if ((v & 0xf0000000) != (((unsigned long)location + 4) & 0xf0000000)) { in apply_r_mips_26()
72 *location = (*location & ~0x03ffffff) | in apply_r_mips_26()
78 static int apply_r_mips_hi16(struct module *me, u32 *location, in apply_r_mips_hi16() argument
84 *location = (*location & 0xffff0000) | in apply_r_mips_hi16()
98 n->addr = (Elf_Addr *)location; in apply_r_mips_hi16()
117 static int apply_r_mips_lo16(struct module *me, u32 *location, in apply_r_mips_lo16() argument
125 *location = (*location & 0xffff0000) | (v & 0xffff); in apply_r_mips_lo16()
176 *location = insnlo; in apply_r_mips_lo16()
189 static int apply_r_mips_pc(struct module *me, u32 *location, u32 base, in apply_r_mips_pc() argument
206 offset += ((long)v - (long)location) >> 2; in apply_r_mips_pc()
215 *location = (*location & ~mask) | (offset & mask); in apply_r_mips_pc()
220 static int apply_r_mips_pc16(struct module *me, u32 *location, in apply_r_mips_pc16() argument
223 return apply_r_mips_pc(me, location, base, v, 16); in apply_r_mips_pc16()
226 static int apply_r_mips_pc21(struct module *me, u32 *location, in apply_r_mips_pc21() argument
229 return apply_r_mips_pc(me, location, base, v, 21); in apply_r_mips_pc21()
232 static int apply_r_mips_pc26(struct module *me, u32 *location, in apply_r_mips_pc26() argument
235 return apply_r_mips_pc(me, location, base, v, 26); in apply_r_mips_pc26()
238 static int apply_r_mips_64(struct module *me, u32 *location, in apply_r_mips_64() argument
244 *(Elf_Addr *)location = v; in apply_r_mips_64()
249 static int apply_r_mips_higher(struct module *me, u32 *location, in apply_r_mips_higher() argument
255 *location = (*location & 0xffff0000) | in apply_r_mips_higher()
261 static int apply_r_mips_highest(struct module *me, u32 *location, in apply_r_mips_highest() argument
267 *location = (*location & 0xffff0000) | in apply_r_mips_highest()
276 * @location: the address at which the reloc is to be applied
277 * @base: the existing value at location for REL-style; 0 for RELA-style
288 typedef int (*reloc_handler)(struct module *me, u32 *location,
316 u32 *location, base; in __apply_relocate() local
330 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in __apply_relocate()
364 base = *location; in __apply_relocate()
368 err = handler(me, location, base, v, rela); in __apply_relocate()