Lines Matching refs:loc_orig
73 static int __init apply_r_mips_64_rel(u32 *loc_orig, u32 *loc_new, long offset) in apply_r_mips_64_rel() argument
80 static int __init apply_r_mips_32_rel(u32 *loc_orig, u32 *loc_new, long offset) in apply_r_mips_32_rel() argument
87 static int __init apply_r_mips_26_rel(u32 *loc_orig, u32 *loc_new, long offset) in apply_r_mips_26_rel() argument
89 unsigned long target_addr = (*loc_orig) & 0x03ffffff; in apply_r_mips_26_rel()
98 target_addr += (unsigned long)loc_orig & ~0x03ffffff; in apply_r_mips_26_rel()
117 static int __init apply_r_mips_hi16_rel(u32 *loc_orig, u32 *loc_new, long offset) in apply_r_mips_hi16_rel() argument
119 unsigned long insn = *loc_orig; in apply_r_mips_hi16_rel()
138 u32 *loc_orig; in do_relocations() local
149 loc_orig = (void *)(kbase_old + ((*r & 0x00ffffff) << 2)); in do_relocations()
150 loc_new = RELOCATED(loc_orig); in do_relocations()
155 type, loc_orig); in do_relocations()
159 res = reloc_handlers_rel[type](loc_orig, loc_new, offset); in do_relocations()