Searched refs:LOONGARCH_INSN_SIZE (Results 1 – 14 of 14) sorted by relevance
45 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 …]
65 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()
14 #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()
88 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()
260 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()
55 instruction_pointer_set(regs, utask->vaddr + LOONGARCH_INSN_SIZE); in arch_uprobe_post_xol()
465 pc -= LOONGARCH_INSN_SIZE; in unwind_next_frame()471 pc -= LOONGARCH_INSN_SIZE; in unwind_next_frame()
17 p->ainsn.restore = (unsigned long)p->addr + LOONGARCH_INSN_SIZE; in arch_prepare_ss_slot()
614 regs->csr_era += LOONGARCH_INSN_SIZE; in bug_handler()
293 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()
13 #define UPROBE_SWBP_INSN_SIZE LOONGARCH_INSN_SIZE
373 #define LOONGARCH_INSN_SIZE sizeof(union loongarch_instruction) macro
110 #define LOONGARCH_INSN_SIZE sizeof(union loongarch_instruction) macro
491 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()