Home
last modified time | relevance | path

Searched refs:instruction_pointer (Results 1 – 25 of 120) sorted by relevance

12345

/linux-6.12.1/arch/xtensa/include/asm/ !
Dptrace.h88 # define instruction_pointer(regs) ((regs)->pc) macro
93 # define profile_pc(regs) instruction_pointer(regs)
97 in_lock_functions(instruction_pointer(regs)) ? \
98 return_pointer(regs) : instruction_pointer(regs); \
/linux-6.12.1/arch/hexagon/include/uapi/asm/ !
Dptrace.h27 #define instruction_pointer(regs) pt_elr(regs) macro
30 #define profile_pc(regs) instruction_pointer(regs)
/linux-6.12.1/arch/microblaze/include/asm/ !
Dptrace.h14 #define instruction_pointer(regs) ((regs)->pc) macro
15 #define profile_pc(regs) instruction_pointer(regs)
/linux-6.12.1/arch/m68k/include/asm/ !
Dptrace.h15 #define instruction_pointer(regs) ((regs)->pc) macro
16 #define profile_pc(regs) instruction_pointer(regs)
/linux-6.12.1/arch/sparc/include/asm/ !
Dptrace.h65 #define instruction_pointer(regs) ((regs)->tpc) macro
83 #define profile_pc(regs) instruction_pointer(regs)
144 #define instruction_pointer(regs) ((regs)->pc) macro
/linux-6.12.1/arch/alpha/include/asm/ !
Dptrace.h10 #define instruction_pointer(regs) ((regs)->pc) macro
11 #define profile_pc(regs) instruction_pointer(regs)
/linux-6.12.1/arch/arm/include/asm/ !
Dptrace.h93 #define instruction_pointer(regs) (regs)->ARM_pc macro
104 instruction_pointer(regs) = val; in instruction_pointer_set()
110 #define profile_pc(regs) instruction_pointer(regs)
/linux-6.12.1/arch/nios2/include/asm/ !
Dptrace.h68 #define instruction_pointer(regs) ((regs)->ra) macro
69 #define profile_pc(regs) instruction_pointer(regs)
/linux-6.12.1/arch/arm64/kernel/probes/ !
Duprobes.c31 return instruction_pointer(regs); in uprobe_get_swbp_addr()
112 addr = instruction_pointer(regs); in arch_uprobe_skip_sstep()
182 WARN_ON(utask && (instruction_pointer(regs) != utask->xol_vaddr + 4)); in uprobe_single_step_handler()
Dsimulate-insn.c102 instruction_pointer_set(regs, instruction_pointer(regs) + 4); in simulate_adr_adrp()
184 instruction_pointer_set(regs, instruction_pointer(regs) + 4); in simulate_ldr_literal()
197 instruction_pointer_set(regs, instruction_pointer(regs) + 4); in simulate_ldrsw_literal()
/linux-6.12.1/arch/arc/include/asm/ !
Dptrace.h107 #define instruction_pointer(regs) ((regs)->ret) macro
108 #define profile_pc(regs) instruction_pointer(regs)
149 instruction_pointer(regs) = val; in instruction_pointer_set()
/linux-6.12.1/arch/openrisc/include/asm/ !
Dptrace.h69 #define instruction_pointer(regs) ((regs)->pc) macro
72 #define profile_pc(regs) instruction_pointer(regs)
/linux-6.12.1/lib/ !
Dnmi_backtrace.c105 if (!READ_ONCE(backtrace_idle) && regs && cpu_in_idle(instruction_pointer(regs))) { in nmi_cpu_backtrace()
107 cpu, (void *)instruction_pointer(regs)); in nmi_cpu_backtrace()
Dsyscall.c27 info->data.instruction_pointer = instruction_pointer(regs); in collect_syscall()
/linux-6.12.1/arch/csky/include/asm/ !
Dptrace.h24 #define instruction_pointer(regs) ((regs)->pc) macro
25 #define profile_pc(regs) instruction_pointer(regs)
/linux-6.12.1/tools/testing/selftests/ptrace/ !
Dget_syscall_info.c169 ASSERT_TRUE(info.instruction_pointer) { in TEST()
197 ASSERT_TRUE(info.instruction_pointer) { in TEST()
237 ASSERT_TRUE(info.instruction_pointer) { in TEST()
/linux-6.12.1/arch/csky/kernel/probes/ !
Dsimulate-insn.c175 val = *(unsigned int *)(instruction_pointer(regs) + offset); in simulate_lrw16()
188 ((instruction_pointer(regs) + offset) & 0xfffffffc); in simulate_lrw32()
373 ((instruction_pointer(regs) + offset) & 0xfffffffc); in simulate_jmpi32()
385 ((instruction_pointer(regs) + offset) & 0xfffffffc); in simulate_jsri32()
Duprobes.c21 return instruction_pointer(regs); in uprobe_get_swbp_addr()
93 addr = instruction_pointer(regs); in arch_uprobe_skip_sstep()
/linux-6.12.1/arch/loongarch/include/asm/ !
Dptrace.h162 #define instruction_pointer(regs) ((regs)->csr_era) macro
163 #define profile_pc(regs) instruction_pointer(regs)
/linux-6.12.1/arch/riscv/include/asm/ !
Dptrace.h70 static inline unsigned long instruction_pointer(struct pt_regs *regs) in instruction_pointer() function
80 #define profile_pc(regs) instruction_pointer(regs)
/linux-6.12.1/arch/mips/include/asm/ !
Dptrace.h157 #define instruction_pointer(regs) ((regs)->cp0_epc) macro
160 #define profile_pc(regs) instruction_pointer(regs)
/linux-6.12.1/drivers/misc/ !
Dkgdbts.c314 ip = instruction_pointer(&kgdbts_regs); in check_and_rewind_pc()
355 instruction_pointer(&kgdbts_regs)); in check_single_step()
366 instruction_pointer(&kgdbts_regs) != addr) in check_single_step()
379 if (instruction_pointer(&kgdbts_regs) == addr) { in check_single_step()
381 instruction_pointer(&kgdbts_regs)); in check_single_step()
500 instruction_pointer(&kgdbts_regs)); in emul_sstep_put()
/linux-6.12.1/arch/sh/kernel/ !
Dtraps.c164 if (__kernel_text_address(instruction_pointer(regs))) { in BUILD_TRAP_HANDLER()
165 insn_size_t insn = *(insn_size_t *)instruction_pointer(regs); in BUILD_TRAP_HANDLER()
/linux-6.12.1/arch/sh/mm/ !
Dalignment.c103 (void *)instruction_pointer(regs), insn); in unaligned_fixups_notify()
108 (void *)instruction_pointer(regs), insn); in unaligned_fixups_notify()
/linux-6.12.1/arch/csky/kernel/ !
Dstacktrace.c24 pc = instruction_pointer(regs); in walk_stackframe()
68 pc = instruction_pointer(regs); in walk_stackframe()

12345