| /arch/xtensa/include/asm/ |
| A D | ptrace.h | 85 # define instruction_pointer(regs) ((regs)->pc) macro 90 # define profile_pc(regs) instruction_pointer(regs) 94 in_lock_functions(instruction_pointer(regs)) ? \ 95 return_pointer(regs) : instruction_pointer(regs); \
|
| /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)
|
| /arch/m68k/include/asm/ |
| A D | ptrace.h | 15 #define instruction_pointer(regs) ((regs)->pc) macro 16 #define profile_pc(regs) instruction_pointer(regs)
|
| /arch/microblaze/include/asm/ |
| A D | ptrace.h | 14 #define instruction_pointer(regs) ((regs)->pc) macro 15 #define profile_pc(regs) instruction_pointer(regs)
|
| /arch/alpha/include/asm/ |
| A D | ptrace.h | 10 #define instruction_pointer(regs) ((regs)->pc) macro 11 #define profile_pc(regs) instruction_pointer(regs)
|
| /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
|
| /arch/nios2/include/asm/ |
| A D | ptrace.h | 68 #define instruction_pointer(regs) ((regs)->ra) macro 69 #define profile_pc(regs) instruction_pointer(regs)
|
| /arch/arm/include/asm/ |
| A D | ptrace.h | 93 #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)
|
| /arch/arm64/kernel/probes/ |
| A D | uprobes.c | 39 return instruction_pointer(regs); in uprobe_get_swbp_addr() 120 addr = instruction_pointer(regs); in arch_uprobe_skip_sstep() 190 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() 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()
|
| A D | kprobes.c | 281 BUG_ON(!instruction_pointer(regs)); in kprobe_fault_handler() 300 unsigned long addr = instruction_pointer(regs); in kprobe_brk_handler() 343 unsigned long addr = instruction_pointer(regs); in kprobe_ss_brk_handler()
|
| /arch/arc/include/asm/ |
| A D | ptrace.h | 107 #define instruction_pointer(regs) ((regs)->ret) macro 108 #define profile_pc(regs) instruction_pointer(regs) 149 instruction_pointer(regs) = val; in instruction_pointer_set()
|
| /arch/csky/include/asm/ |
| A D | ptrace.h | 24 #define instruction_pointer(regs) ((regs)->pc) macro 25 #define profile_pc(regs) instruction_pointer(regs)
|
| /arch/openrisc/include/asm/ |
| A D | ptrace.h | 103 static inline unsigned long instruction_pointer(struct pt_regs *regs) in instruction_pointer() function 115 #define profile_pc(regs) instruction_pointer(regs)
|
| /arch/loongarch/include/asm/ |
| A D | ptrace.h | 162 #define instruction_pointer(regs) ((regs)->csr_era) macro 163 #define profile_pc(regs) instruction_pointer(regs)
|
| /arch/riscv/include/asm/ |
| A D | ptrace.h | 72 static inline unsigned long instruction_pointer(struct pt_regs *regs) in instruction_pointer() function 82 #define profile_pc(regs) instruction_pointer(regs)
|
| /arch/arc/mm/ |
| A D | extable.c | 16 fixup = search_exception_tables(instruction_pointer(regs)); in fixup_exception()
|
| /arch/csky/kernel/probes/ |
| A D | uprobes.c | 21 return instruction_pointer(regs); in uprobe_get_swbp_addr() 93 addr = instruction_pointer(regs); in arch_uprobe_skip_sstep()
|
| 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()
|
| /arch/mips/include/asm/ |
| A D | ptrace.h | 158 #define instruction_pointer(regs) ((regs)->cp0_epc) macro 161 #define profile_pc(regs) instruction_pointer(regs)
|
| /arch/arm/mm/ |
| A D | extable.c | 12 fixup = search_exception_tables(instruction_pointer(regs)); in fixup_exception()
|
| /arch/sh/kernel/ |
| A D | traps.c | 164 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()
|
| /arch/sh/mm/ |
| A D | alignment.c | 103 (void *)instruction_pointer(regs), insn); in unaligned_fixups_notify() 108 (void *)instruction_pointer(regs), insn); in unaligned_fixups_notify()
|
| /arch/csky/kernel/ |
| A D | stacktrace.c | 24 pc = instruction_pointer(regs); in walk_stackframe() 68 pc = instruction_pointer(regs); in walk_stackframe()
|
| /arch/riscv/kernel/probes/ |
| A D | uprobes.c | 28 return instruction_pointer(regs); in uprobe_get_swbp_addr() 100 addr = instruction_pointer(regs); in arch_uprobe_skip_sstep()
|