Lines Matching refs:location

44 static int apply_r_mips_none(struct module *me, u32 *location,  in apply_r_mips_none()  argument
50 static int apply_r_mips_32(struct module *me, u32 *location, in apply_r_mips_32() argument
53 *location = base + v; in apply_r_mips_32()
58 static int apply_r_mips_26(struct module *me, u32 *location, in apply_r_mips_26() argument
67 if ((v & 0xf0000000) != (((unsigned long)location + 4) & 0xf0000000)) { in apply_r_mips_26()
73 *location = (*location & ~0x03ffffff) | in apply_r_mips_26()
79 static int apply_r_mips_hi16(struct module *me, u32 *location, in apply_r_mips_hi16() argument
85 *location = (*location & 0xffff0000) | in apply_r_mips_hi16()
99 n->addr = (Elf_Addr *)location; in apply_r_mips_hi16()
118 static int apply_r_mips_lo16(struct module *me, u32 *location, in apply_r_mips_lo16() argument
126 *location = (*location & 0xffff0000) | (v & 0xffff); in apply_r_mips_lo16()
177 *location = insnlo; in apply_r_mips_lo16()
190 static int apply_r_mips_pc(struct module *me, u32 *location, u32 base, in apply_r_mips_pc() argument
207 offset += ((long)v - (long)location) >> 2; in apply_r_mips_pc()
216 *location = (*location & ~mask) | (offset & mask); in apply_r_mips_pc()
221 static int apply_r_mips_pc16(struct module *me, u32 *location, in apply_r_mips_pc16() argument
224 return apply_r_mips_pc(me, location, base, v, 16); in apply_r_mips_pc16()
227 static int apply_r_mips_pc21(struct module *me, u32 *location, in apply_r_mips_pc21() argument
230 return apply_r_mips_pc(me, location, base, v, 21); in apply_r_mips_pc21()
233 static int apply_r_mips_pc26(struct module *me, u32 *location, in apply_r_mips_pc26() argument
236 return apply_r_mips_pc(me, location, base, v, 26); in apply_r_mips_pc26()
239 static int apply_r_mips_64(struct module *me, u32 *location, in apply_r_mips_64() argument
245 *(Elf_Addr *)location = v; in apply_r_mips_64()
250 static int apply_r_mips_higher(struct module *me, u32 *location, in apply_r_mips_higher() argument
256 *location = (*location & 0xffff0000) | in apply_r_mips_higher()
262 static int apply_r_mips_highest(struct module *me, u32 *location, in apply_r_mips_highest() argument
268 *location = (*location & 0xffff0000) | in apply_r_mips_highest()
289 typedef int (*reloc_handler)(struct module *me, u32 *location,
317 u32 *location, base; in __apply_relocate() local
331 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in __apply_relocate()
365 base = *location; in __apply_relocate()
369 err = handler(me, location, base, v, rela); in __apply_relocate()