/linux-6.12.1/arch/arm/probes/kprobes/ |
D | actions-thumb.c | 27 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 …]
|
D | actions-common.c | 64 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()
|
D | core.c | 215 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()
|
D | actions-arm.c | 72 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/ |
D | decode-arm.c | 56 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()
|
D | decode.h | 50 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()
|
D | decode-thumb.c | 847 regs->ARM_pc += 2; in thumb16_singlestep() 856 regs->ARM_pc += 4; in thumb32_singlestep()
|
/linux-6.12.1/arch/arm/kernel/ |
D | signal.c | 168 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()
|
D | kgdb.c | 38 { "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()
|
D | time.c | 48 if (!in_lock_functions(regs->ARM_pc)) in profile_pc() 49 return regs->ARM_pc; in profile_pc()
|
D | swp_emulate.c | 165 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()
|
D | stacktrace.c | 101 frame->pc = regs->ARM_pc; in unwind_frame() 169 regs->ARM_lr, regs->ARM_pc); in arch_stack_walk()
|
D | perf_callchain.c | 67 perf_callchain_store(entry, regs->ARM_pc); in perf_callchain_user()
|
/linux-6.12.1/arch/arm/probes/uprobes/ |
D | core.c | 39 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/ |
D | processor.h | 77 regs->ARM_pc = pc & ~1; /* pc */ \ 89 #define KSTK_EIP(tsk) task_pt_regs(tsk)->ARM_pc
|
D | perf_event.h | 19 (regs)->ARM_pc = (__ip); \
|
D | kexec.h | 47 : [_ARM_pc] "=r" (newregs->ARM_pc), in crash_setup_regs()
|
D | stacktrace.h | 42 frame->pc = regs->ARM_pc; in arm_get_current_stackframe()
|
D | ptrace.h | 93 #define instruction_pointer(regs) (regs)->ARM_pc
|
/linux-6.12.1/arch/arm/mm/ |
D | extable.c | 14 regs->ARM_pc = fixup->fixup; in fixup_exception()
|
D | alignment.c | 509 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/ |
D | vfpmodule.c | 317 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/ |
D | ptrace.h | 136 #define ARM_pc uregs[15] macro
|
/linux-6.12.1/arch/arm/nwfpe/ |
D | fpmodule.c | 140 __builtin_return_address(0), GET_USERREG()->ARM_pc); in float_raise()
|
/linux-6.12.1/samples/kprobes/ |
D | kprobe_example.c | 48 p->symbol_name, p->addr, (long)regs->ARM_pc, (long)regs->ARM_cpsr); in handler_pre()
|