Home
last modified time | relevance | path

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

/linux-6.15/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 Dftrace_dyn.c65 unsigned long pc = rec->ip + LOONGARCH_INSN_SIZE; in ftrace_find_callable_addr()
122 pc = rec->ip + LOONGARCH_INSN_SIZE; in ftrace_modify_call()
186 pc = rec->ip + LOONGARCH_INSN_SIZE; in ftrace_make_call()
202 pc = rec->ip + LOONGARCH_INSN_SIZE; in ftrace_make_nop()
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.c260 regs->csr_era += LOONGARCH_INSN_SIZE; in kgdb_loongarch_notify()
307 *next_addr = pc + LOONGARCH_INSN_SIZE; in get_step_address()
317 regs->regs[1] = pc + LOONGARCH_INSN_SIZE; in get_step_address()
372 regs->regs[rd] = pc + LOONGARCH_INSN_SIZE; in get_step_address()
H A Duprobes.c55 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.c613 regs->csr_era += LOONGARCH_INSN_SIZE; in bug_handler()
/linux-6.15/tools/objtool/arch/loongarch/
H A Ddecode.c293 if (maxlen < LOONGARCH_INSN_SIZE) in arch_decode_instruction()
296 insn->len = LOONGARCH_INSN_SIZE; in arch_decode_instruction()
330 if (len != LOONGARCH_INSN_SIZE) { in arch_nop_insn()
344 if (len != LOONGARCH_INSN_SIZE) { in arch_ret_insn()
/linux-6.15/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-6.15/tools/arch/loongarch/include/asm/
H A Dinst.h110 #define LOONGARCH_INSN_SIZE sizeof(union loongarch_instruction) macro
/linux-6.15/arch/loongarch/net/
H A Dbpf_jit.c448 offset = (long)&ex->fixup - (pc + LOONGARCH_INSN_SIZE); in add_exception_handler()
1332 ctx.offset[i] *= LOONGARCH_INSN_SIZE; in bpf_int_jit_compile()