Home
last modified time | relevance | path

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

/linux-6.12.1/arch/loongarch/kernel/
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 …]
Dftrace_dyn.c65 unsigned long pc = rec->ip + LOONGARCH_INSN_SIZE; in ftrace_find_callable_addr()
123 pc = rec->ip + LOONGARCH_INSN_SIZE; in ftrace_modify_call()
187 pc = rec->ip + LOONGARCH_INSN_SIZE; in ftrace_make_call()
203 pc = rec->ip + LOONGARCH_INSN_SIZE; in ftrace_make_nop()
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()
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()
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()
Duprobes.c60 instruction_pointer_set(regs, utask->vaddr + LOONGARCH_INSN_SIZE); in arch_uprobe_post_xol()
Dunwind_orc.c464 pc -= LOONGARCH_INSN_SIZE; in unwind_next_frame()
470 pc -= LOONGARCH_INSN_SIZE; in unwind_next_frame()
Dkprobes.c17 p->ainsn.restore = (unsigned long)p->addr + LOONGARCH_INSN_SIZE; in arch_prepare_ss_slot()
Dtraps.c609 regs->csr_era += LOONGARCH_INSN_SIZE; in bug_handler()
/linux-6.12.1/tools/objtool/arch/loongarch/
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-6.12.1/arch/loongarch/include/asm/
Duprobes.h13 #define UPROBE_SWBP_INSN_SIZE LOONGARCH_INSN_SIZE
Dinst.h373 #define LOONGARCH_INSN_SIZE sizeof(union loongarch_instruction) macro
/linux-6.12.1/tools/arch/loongarch/include/asm/
Dinst.h110 #define LOONGARCH_INSN_SIZE sizeof(union loongarch_instruction) macro
/linux-6.12.1/arch/loongarch/net/
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()