Searched refs:alt_ptr (Results 1 – 2 of 2) sorted by relevance
104 void riscv_alternative_fix_offsets(void *alt_ptr, unsigned int len, in riscv_alternative_fix_offsets() argument111 u32 insn = riscv_instruction_at(alt_ptr + i * sizeof(u32)); in riscv_alternative_fix_offsets()119 u32 insn2 = riscv_instruction_at(alt_ptr + (i + 1) * sizeof(u32)); in riscv_alternative_fix_offsets()128 riscv_alternative_fix_auipc_jalr(alt_ptr + i * sizeof(u32), in riscv_alternative_fix_offsets()137 if ((alt_ptr + i * sizeof(u32) + imm) >= alt_ptr && in riscv_alternative_fix_offsets()138 (alt_ptr + i * sizeof(u32) + imm) < (alt_ptr + len)) in riscv_alternative_fix_offsets()141 riscv_alternative_fix_jal(alt_ptr + i * sizeof(u32), in riscv_alternative_fix_offsets()
37 void riscv_alternative_fix_offsets(void *alt_ptr, unsigned int len,