/linux/arch/xtensa/include/asm/ |
A D | ptrace.h | 89 # define instruction_pointer(regs) ((regs)->pc) macro 94 # define profile_pc(regs) instruction_pointer(regs) 98 in_lock_functions(instruction_pointer(regs)) ? \ 99 return_pointer(regs) : instruction_pointer(regs); \
|
/linux/arch/sparc/include/asm/ |
A D | ptrace.h | 65 #define instruction_pointer(regs) ((regs)->tpc) macro 83 #define profile_pc(regs) instruction_pointer(regs) 144 #define instruction_pointer(regs) ((regs)->pc) macro
|
/linux/arch/arm/include/asm/ |
A D | ptrace.h | 91 #define instruction_pointer(regs) (regs)->ARM_pc macro 102 instruction_pointer(regs) = val; in instruction_pointer_set() 108 #define profile_pc(regs) instruction_pointer(regs)
|
/linux/arch/arc/include/asm/ |
A D | ptrace.h | 113 #define instruction_pointer(regs) ((regs)->ret) macro 114 #define profile_pc(regs) instruction_pointer(regs) 155 instruction_pointer(regs) = val; in instruction_pointer_set()
|
/linux/arch/hexagon/include/uapi/asm/ |
A D | ptrace.h | 27 #define instruction_pointer(regs) pt_elr(regs) macro 30 #define profile_pc(regs) instruction_pointer(regs)
|
/linux/arch/m68k/include/asm/ |
A D | ptrace.h | 15 #define instruction_pointer(regs) ((regs)->pc) macro 16 #define profile_pc(regs) instruction_pointer(regs)
|
/linux/arch/microblaze/include/asm/ |
A D | ptrace.h | 14 #define instruction_pointer(regs) ((regs)->pc) macro 15 #define profile_pc(regs) instruction_pointer(regs)
|
/linux/arch/alpha/include/asm/ |
A D | ptrace.h | 10 #define instruction_pointer(regs) ((regs)->pc) macro 11 #define profile_pc(regs) instruction_pointer(regs)
|
/linux/arch/nds32/mm/ |
A D | fault.c | 133 !search_exception_tables(instruction_pointer(regs))) in do_page_fault() 145 !search_exception_tables(instruction_pointer(regs))) in do_page_fault() 282 search_exception_tables(instruction_pointer(regs))) != in do_page_fault() 285 instruction_pointer(regs) = entry->fixup; in do_page_fault()
|
/linux/arch/arm64/kernel/probes/ |
A D | uprobes.c | 31 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()
|
A D | simulate-insn.c | 102 instruction_pointer_set(regs, instruction_pointer(regs) + 4); in simulate_adr_adrp() 186 instruction_pointer_set(regs, instruction_pointer(regs) + 4); in simulate_ldr_literal() 201 instruction_pointer_set(regs, instruction_pointer(regs) + 4); in simulate_ldrsw_literal()
|
/linux/arch/h8300/include/asm/ |
A D | ptrace.h | 24 #define instruction_pointer(regs) ((regs)->pc) macro 25 #define profile_pc(regs) instruction_pointer(regs)
|
/linux/arch/nios2/include/asm/ |
A D | ptrace.h | 68 #define instruction_pointer(regs) ((regs)->ra) macro 69 #define profile_pc(regs) instruction_pointer(regs)
|
/linux/arch/nds32/include/asm/ |
A D | ptrace.h | 73 #define instruction_pointer(regs) ((regs)->ipc) macro 74 #define profile_pc(regs) instruction_pointer(regs)
|
/linux/arch/openrisc/include/asm/ |
A D | ptrace.h | 69 #define instruction_pointer(regs) ((regs)->pc) macro 72 #define profile_pc(regs) instruction_pointer(regs)
|
/linux/tools/testing/selftests/ptrace/ |
A D | get_syscall_info.c | 169 ASSERT_TRUE(info.instruction_pointer) { in TEST() 197 ASSERT_TRUE(info.instruction_pointer) { in TEST() 237 ASSERT_TRUE(info.instruction_pointer) { in TEST()
|
/linux/arch/csky/include/asm/ |
A D | ptrace.h | 24 #define instruction_pointer(regs) ((regs)->pc) macro 25 #define profile_pc(regs) instruction_pointer(regs)
|
/linux/lib/ |
A D | nmi_backtrace.c | 103 if (!READ_ONCE(backtrace_idle) && regs && cpu_in_idle(instruction_pointer(regs))) { in nmi_cpu_backtrace() 105 cpu, (void *)instruction_pointer(regs)); in nmi_cpu_backtrace()
|
A D | syscall.c | 27 info->data.instruction_pointer = instruction_pointer(regs); in collect_syscall()
|
/linux/arch/csky/kernel/probes/ |
A D | simulate-insn.c | 175 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()
|
A D | uprobes.c | 21 return instruction_pointer(regs); in uprobe_get_swbp_addr() 92 addr = instruction_pointer(regs); in arch_uprobe_skip_sstep()
|
/linux/arch/ia64/include/asm/ |
A D | ptrace.h | 53 # define instruction_pointer(regs) ((regs)->cr_iip + ia64_psr(regs)->ri) macro 83 unsigned long __ip = instruction_pointer(regs); \
|
/linux/drivers/misc/ |
A D | kgdbts.c | 314 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/arch/mips/include/asm/ |
A D | ptrace.h | 156 #define instruction_pointer(regs) ((regs)->cp0_epc) macro 157 #define profile_pc(regs) instruction_pointer(regs)
|
/linux/arch/riscv/include/asm/ |
A D | ptrace.h | 67 static inline unsigned long instruction_pointer(struct pt_regs *regs) in instruction_pointer() function 77 #define profile_pc(regs) instruction_pointer(regs)
|