Home
last modified time | relevance | path

Searched refs:LOONGARCH_INSN_SIZE (Results 1 – 14 of 14) 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 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.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 Dunwind_prologue.c88 return pc == (unsigned long)ftrace_call + LOONGARCH_INSN_SIZE; in fix_ftrace()
137 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.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.c614 regs->csr_era += LOONGARCH_INSN_SIZE; in bug_handler()
/linux/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/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.c491 offset = (long)&ex->fixup - (pc + LOONGARCH_INSN_SIZE); in add_exception_handler()
1748 return ret < 0 ? ret : round_up(ret * LOONGARCH_INSN_SIZE, PAGE_SIZE); in arch_bpf_trampoline_size()
1894 ctx.offset[i] *= LOONGARCH_INSN_SIZE; in bpf_int_jit_compile()