Lines Matching full:place

34 static u64 do_reloc(enum aarch64_reloc_op reloc_op, __le32 *place, u64 val)  in do_reloc()  argument
40 return val - (u64)place; in do_reloc()
42 return (val & ~0xfff) - ((u64)place & ~0xfff); in do_reloc()
51 static int reloc_data(enum aarch64_reloc_op op, void *place, u64 val, int len) in reloc_data() argument
53 s64 sval = do_reloc(op, place, val); in reloc_data()
56 * The ELF psABI for AArch64 documents the 16-bit and 32-bit place in reloc_data()
69 *(s16 *)place = sval; in reloc_data()
85 *(s32 *)place = sval; in reloc_data()
101 *(s64 *)place = sval; in reloc_data()
115 static int reloc_insn_movw(enum aarch64_reloc_op op, __le32 *place, u64 val, in reloc_insn_movw() argument
120 u32 insn = le32_to_cpu(*place); in reloc_insn_movw()
122 sval = do_reloc(op, place, val); in reloc_insn_movw()
148 *place = cpu_to_le32(insn); in reloc_insn_movw()
156 static int reloc_insn_imm(enum aarch64_reloc_op op, __le32 *place, u64 val, in reloc_insn_imm() argument
161 u32 insn = le32_to_cpu(*place); in reloc_insn_imm()
164 sval = do_reloc(op, place, val); in reloc_insn_imm()
173 *place = cpu_to_le32(insn); in reloc_insn_imm()
192 __le32 *place, u64 val) in reloc_insn_adrp() argument
196 if (!is_forbidden_offset_for_adrp(place)) in reloc_insn_adrp()
197 return reloc_insn_imm(RELOC_OP_PAGE, place, val, 12, 21, in reloc_insn_adrp()
201 if (!reloc_insn_imm(RELOC_OP_PREL, place, val & ~0xfff, 0, 21, in reloc_insn_adrp()
203 insn = le32_to_cpu(*place); in reloc_insn_adrp()
207 val = module_emit_veneer_for_adrp(mod, sechdrs, place, val & ~0xfff); in reloc_insn_adrp()
210 insn = aarch64_insn_gen_branch_imm((u64)place, val, in reloc_insn_adrp()
214 *place = cpu_to_le32(insn); in reloc_insn_adrp()