Home
last modified time | relevance | path

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

/linux/arch/loongarch/kernel/
H A Dinst.c45 regs->csr_era += LOONGARCH_INSN_SIZE; in simu_pc()
66 regs->regs[1] = pc + LOONGARCH_INSN_SIZE; in simu_branch()
78 regs->csr_era = pc + LOONGARCH_INSN_SIZE; in simu_branch()
84 regs->csr_era = pc + LOONGARCH_INSN_SIZE; in simu_branch()
96 regs->csr_era = pc + LOONGARCH_INSN_SIZE; in simu_branch()
102 regs->csr_era = pc + LOONGARCH_INSN_SIZE; in simu_branch()
108 regs->csr_era = pc + LOONGARCH_INSN_SIZE; in simu_branch()
114 regs->csr_era = pc + LOONGARCH_INSN_SIZE; in simu_branch()
120 regs->csr_era = pc + LOONGARCH_INSN_SIZE; in simu_branch()
126 regs->csr_era = pc + LOONGARCH_INSN_SIZE; in simu_branch()
[all …]
H A Dalternative.c14 #define MAX_PATCH_SIZE (((u8)(-1)) / LOONGARCH_INSN_SIZE)
211 nr_instr = a->instrlen / LOONGARCH_INSN_SIZE; in apply_alternatives()
212 nr_repl = a->replacementlen / LOONGARCH_INSN_SIZE; in apply_alternatives()
H A Duprobes.c55 instruction_pointer_set(regs, utask->vaddr + LOONGARCH_INSN_SIZE); in arch_uprobe_post_xol()
H A Dunwind_orc.c465 pc -= LOONGARCH_INSN_SIZE; in unwind_next_frame()
471 pc -= LOONGARCH_INSN_SIZE; in unwind_next_frame()
H A Dkprobes.c17 p->ainsn.restore = (unsigned long)p->addr + LOONGARCH_INSN_SIZE; in arch_prepare_ss_slot()
H A Dtraps.c619 regs->csr_era += LOONGARCH_INSN_SIZE; in bug_handler()
/linux/arch/loongarch/include/asm/
H A Duprobes.h13 #define UPROBE_SWBP_INSN_SIZE LOONGARCH_INSN_SIZE
H A Dinst.h383 #define LOONGARCH_INSN_SIZE sizeof(union loongarch_instruction) macro
/linux/arch/loongarch/net/
H A Dbpf_jit.c681 fixup_offset = (long)&ex->fixup - (pc + LOONGARCH_INSN_SIZE); in add_exception_handler()
1586 ip = image + LOONGARCH_INSN_SIZE; in bpf_arch_text_poke()
2166 return ret < 0 ? ret : ret * LOONGARCH_INSN_SIZE; in arch_bpf_trampoline_size()
2297 ctx.offset[i] *= LOONGARCH_INSN_SIZE; in bpf_int_jit_compile()