Home
last modified time | relevance | path

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

/linux/arch/loongarch/kernel/
H A Dinst.c43 regs->csr_era += LOONGARCH_INSN_SIZE; in simu_pc()
64 regs->regs[1] = pc + LOONGARCH_INSN_SIZE; in simu_branch()
76 regs->csr_era = pc + LOONGARCH_INSN_SIZE; in simu_branch()
82 regs->csr_era = pc + LOONGARCH_INSN_SIZE; in simu_branch()
94 regs->csr_era = pc + LOONGARCH_INSN_SIZE; in simu_branch()
100 regs->csr_era = pc + LOONGARCH_INSN_SIZE; in simu_branch()
106 regs->csr_era = pc + LOONGARCH_INSN_SIZE; in simu_branch()
112 regs->csr_era = pc + LOONGARCH_INSN_SIZE; in simu_branch()
118 regs->csr_era = pc + LOONGARCH_INSN_SIZE; in simu_branch()
124 regs->csr_era = pc + LOONGARCH_INSN_SIZE; in simu_branch()
[all …]
H A Dalternative.c13 #define MAX_PATCH_SIZE (((u8)(-1)) / LOONGARCH_INSN_SIZE)
210 nr_instr = a->instrlen / LOONGARCH_INSN_SIZE; in apply_alternatives()
211 nr_repl = a->replacementlen / LOONGARCH_INSN_SIZE; in apply_alternatives()
H A Dunwind_prologue.c87 return pc == (unsigned long)ftrace_call + LOONGARCH_INSN_SIZE; in fix_ftrace()
136 pc = state->pc - (state->first ? 0 : LOONGARCH_INSN_SIZE); in unwind_by_prologue()
H A Dkgdb.c259 regs->csr_era += LOONGARCH_INSN_SIZE; in kgdb_loongarch_notify()
306 *next_addr = pc + LOONGARCH_INSN_SIZE; in get_step_address()
316 regs->regs[1] = pc + LOONGARCH_INSN_SIZE; in get_step_address()
371 regs->regs[rd] = pc + LOONGARCH_INSN_SIZE; in get_step_address()
H A Duprobes.c60 instruction_pointer_set(regs, utask->vaddr + LOONGARCH_INSN_SIZE); in arch_uprobe_post_xol()
H A Dunwind_orc.c464 pc -= LOONGARCH_INSN_SIZE; in unwind_next_frame()
470 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.c612 regs->csr_era += LOONGARCH_INSN_SIZE; in bug_handler()
/linux/tools/objtool/arch/loongarch/
H A Ddecode.c296 if (maxlen < LOONGARCH_INSN_SIZE) in arch_decode_instruction()
299 insn->len = LOONGARCH_INSN_SIZE; in arch_decode_instruction()
333 if (len != LOONGARCH_INSN_SIZE) in arch_nop_insn()
345 if (len != LOONGARCH_INSN_SIZE) in arch_ret_insn()
/linux/arch/loongarch/include/asm/
H A Duprobes.h13 #define UPROBE_SWBP_INSN_SIZE LOONGARCH_INSN_SIZE
H A Dinst.h373 #define LOONGARCH_INSN_SIZE sizeof(union loongarch_instruction) macro
/linux/tools/arch/loongarch/include/asm/
H A Dinst.h110 #define LOONGARCH_INSN_SIZE sizeof(union loongarch_instruction) macro
/linux/arch/loongarch/net/
H A Dbpf_jit.c446 offset = (long)&ex->fixup - (pc + LOONGARCH_INSN_SIZE); in add_exception_handler()
1324 ctx.offset[i] *= LOONGARCH_INSN_SIZE; in bpf_int_jit_compile()