Home
last modified time | relevance | path

Searched refs:ARM_pc (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.12.1/arch/arm/probes/kprobes/
Dactions-thumb.c27 unsigned long pc = regs->ARM_pc; in t32_simulate_table_branch()
40 regs->ARM_pc = pc + 2 * halfwords; in t32_simulate_table_branch()
56 unsigned long pc = regs->ARM_pc; in t32_simulate_cond_branch()
64 regs->ARM_pc = pc + (offset * 2); in t32_simulate_cond_branch()
81 unsigned long pc = regs->ARM_pc; in t32_simulate_branch()
94 regs->ARM_lr = regs->ARM_pc | 1; in t32_simulate_branch()
102 regs->ARM_pc = pc + (offset * 2); in t32_simulate_branch()
109 unsigned long addr = regs->ARM_pc & ~3; in t32_simulate_ldr_literal()
161 unsigned long pc = regs->ARM_pc & ~3; in t32_emulate_ldrdstrd()
241 unsigned long pc = regs->ARM_pc; in t32_emulate_rd8pc16_noflags()
[all …]
Dactions-common.c64 unsigned long addr = regs->ARM_pc - 4; in simulate_stm1_pc()
66 regs->ARM_pc = (long)addr + str_pc_offset; in simulate_stm1_pc()
68 regs->ARM_pc = (long)addr + 4; in simulate_stm1_pc()
76 load_write_pc(regs->ARM_pc, regs); in simulate_ldm1_pc()
123 load_write_pc(regs->ARM_pc, regs); in emulate_ldm_r3_15()
Dcore.c215 regs->ARM_pc += 4; in singlestep_skip()
217 regs->ARM_pc += 2; in singlestep_skip()
219 regs->ARM_pc += 4; in singlestep_skip()
250 p = get_kprobe((kprobe_opcode_t *)(regs->ARM_pc | 1)); in kprobe_handler()
252 p = get_kprobe((kprobe_opcode_t *)regs->ARM_pc); in kprobe_handler()
255 p = get_kprobe((kprobe_opcode_t *)regs->ARM_pc); in kprobe_handler()
346 regs->ARM_pc = (long)cur->addr; in kprobe_fault_handler()
Dactions-arm.c72 unsigned long pc = regs->ARM_pc + 4; in emulate_ldrdstrd()
101 unsigned long pc = regs->ARM_pc + 4; in emulate_ldr()
131 unsigned long rtpc = regs->ARM_pc - 4 + str_pc_offset; in emulate_str()
132 unsigned long rnpc = regs->ARM_pc + 4; in emulate_str()
158 unsigned long pc = regs->ARM_pc + 4; in emulate_rd12rn16rm0rs8_rwflags()
/linux-6.12.1/arch/arm/probes/
Ddecode-arm.c56 long iaddr = (long) regs->ARM_pc - 4; in simulate_bbl()
62 regs->ARM_pc = iaddr + 8 + disp; in simulate_bbl()
68 long iaddr = (long) regs->ARM_pc - 4; in simulate_blx1()
72 regs->ARM_pc = iaddr + 8 + disp + ((insn >> 23) & 0x2); in simulate_blx1()
83 regs->ARM_lr = (long) regs->ARM_pc; in simulate_blx2bx()
85 regs->ARM_pc = rmv & ~0x1; in simulate_blx2bx()
703 regs->ARM_pc += 4; in arm_singlestep()
Ddecode.h50 regs->ARM_pc = pcv; in bx_write_pc()
73 regs->ARM_pc = pcv; in load_write_pc()
101 regs->ARM_pc = pcv; in alu_write_pc()
Ddecode-thumb.c847 regs->ARM_pc += 2; in thumb16_singlestep()
856 regs->ARM_pc += 4; in thumb32_singlestep()
/linux-6.12.1/arch/arm/kernel/
Dsignal.c168 regs->ARM_pc = context.arm_pc; in restore_sigframe()
273 .arm_pc = regs->ARM_pc, in setup_sigframe()
438 regs->ARM_pc = handler; in setup_return()
547 continue_addr = regs->ARM_pc; in do_signal()
564 regs->ARM_pc = restart_addr; in do_signal()
580 if (unlikely(restart) && regs->ARM_pc == restart_addr) { in do_signal()
586 regs->ARM_pc = continue_addr; in do_signal()
593 if (unlikely(restart) && regs->ARM_pc == restart_addr) { in do_signal()
594 regs->ARM_pc = continue_addr; in do_signal()
Dkgdb.c38 { "pc", 4, offsetof(struct pt_regs, ARM_pc)},
105 regs->ARM_pc = pc; in kgdb_arch_set_pc()
130 linux_regs->ARM_pc = addr; in kgdb_arch_handle_exception()
132 linux_regs->ARM_pc += 4; in kgdb_arch_handle_exception()
Dtime.c48 if (!in_lock_functions(regs->ARM_pc)) in profile_pc()
49 return regs->ARM_pc; in profile_pc()
Dswp_emulate.c165 perf_sw_event(PERF_COUNT_SW_EMULATION_FAULTS, 1, regs, regs->ARM_pc); in swp_handler()
173 regs->ARM_pc += 4; in swp_handler()
213 regs->ARM_pc += 4; in swp_handler()
Dstacktrace.c101 frame->pc = regs->ARM_pc; in unwind_frame()
169 regs->ARM_lr, regs->ARM_pc); in arch_stack_walk()
Dperf_callchain.c67 perf_callchain_store(entry, regs->ARM_pc); in perf_callchain_user()
/linux-6.12.1/arch/arm/probes/uprobes/
Dcore.c39 regs->ARM_pc += 4; in arch_uprobe_ignore()
142 regs->ARM_pc = utask->xol_vaddr; in arch_uprobe_pre_xol()
154 regs->ARM_pc = utask->vaddr + 4; in arch_uprobe_post_xol()
/linux-6.12.1/arch/arm/include/asm/
Dprocessor.h77 regs->ARM_pc = pc & ~1; /* pc */ \
89 #define KSTK_EIP(tsk) task_pt_regs(tsk)->ARM_pc
Dperf_event.h19 (regs)->ARM_pc = (__ip); \
Dkexec.h47 : [_ARM_pc] "=r" (newregs->ARM_pc), in crash_setup_regs()
Dstacktrace.h42 frame->pc = regs->ARM_pc; in arm_get_current_stackframe()
Dptrace.h93 #define instruction_pointer(regs) (regs)->ARM_pc
/linux-6.12.1/arch/arm/mm/
Dextable.c14 regs->ARM_pc = fixup->fixup; in fixup_exception()
Dalignment.c509 regs->ARM_pc += correction; in do_alignment_ldmstm()
579 regs->ARM_pc -= correction; in do_alignment_ldmstm()
583 regs->ARM_pc -= correction; in do_alignment_ldmstm()
851 regs->ARM_pc += isize; in do_alignment()
931 regs->ARM_pc -= isize; in do_alignment()
/linux-6.12.1/arch/arm/vfp/
Dvfpmodule.c317 perf_sw_event(PERF_COUNT_SW_EMULATION_FAULTS, 1, regs, regs->ARM_pc); in vfp_emulate_instruction()
365 regs->ARM_pc -= 4; in VFP_bounce()
771 bounce: regs->ARM_pc += 4; in vfp_support_entry()
880 regs->ARM_pc += 4; in vfp_detect()
/linux-6.12.1/arch/arm/include/uapi/asm/
Dptrace.h136 #define ARM_pc uregs[15] macro
/linux-6.12.1/arch/arm/nwfpe/
Dfpmodule.c140 __builtin_return_address(0), GET_USERREG()->ARM_pc); in float_raise()
/linux-6.12.1/samples/kprobes/
Dkprobe_example.c48 p->symbol_name, p->addr, (long)regs->ARM_pc, (long)regs->ARM_cpsr); in handler_pre()

12