Home
last modified time | relevance | path

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

/linux-5.19.10/arch/riscv/kvm/
Dvcpu_exit.c66 #define INSN_LEN(insn) (INSN_IS_16BIT(insn) ? 2 : 4) macro
148 vcpu->arch.guest_context.sepc += INSN_LEN(insn); in system_opcode_insn()
202 insn_len = (htinst & BIT(1)) ? INSN_LEN(insn) : 2; in emulate_load()
216 insn_len = INSN_LEN(insn); in emulate_load()
315 insn_len = (htinst & BIT(1)) ? INSN_LEN(insn) : 2; in emulate_store()
329 insn_len = INSN_LEN(insn); in emulate_store()
/linux-5.19.10/arch/riscv/kernel/
Dtraps_misaligned.c85 #define INSN_LEN(insn) ((((insn) & 0x3) < 0x3) ? 2 : 4) macro
318 regs->epc = epc + INSN_LEN(insn); in handle_misaligned_load()
367 regs->epc = epc + INSN_LEN(insn); in handle_misaligned_store()