Home
last modified time | relevance | path

Searched refs:loc_new (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/arch/mips/kernel/
Drelocate.c73 static int __init apply_r_mips_64_rel(u32 *loc_orig, u32 *loc_new, long offset) in apply_r_mips_64_rel() argument
75 *(u64 *)loc_new += offset; in apply_r_mips_64_rel()
80 static int __init apply_r_mips_32_rel(u32 *loc_orig, u32 *loc_new, long offset) in apply_r_mips_32_rel() argument
82 *loc_new += offset; in apply_r_mips_32_rel()
87 static int __init apply_r_mips_26_rel(u32 *loc_orig, u32 *loc_new, long offset) in apply_r_mips_26_rel() argument
103 if ((target_addr & 0xf0000000) != ((unsigned long)loc_new & 0xf0000000)) { in apply_r_mips_26_rel()
108 target_addr -= (unsigned long)loc_new & ~0x03ffffff; in apply_r_mips_26_rel()
111 *loc_new = (*loc_new & ~0x03ffffff) | (target_addr & 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
124 *loc_new = (insn & ~0xffff) | ((target >> 16) & 0xffff); in apply_r_mips_hi16_rel()
[all …]