/arch/c6x/kernel/ |
D | asm-offsets.c | 16 OFFSET(REGS_A16, pt_regs, a16); in foo() 17 OFFSET(REGS_A17, pt_regs, a17); in foo() 18 OFFSET(REGS_A18, pt_regs, a18); in foo() 19 OFFSET(REGS_A19, pt_regs, a19); in foo() 20 OFFSET(REGS_A20, pt_regs, a20); in foo() 21 OFFSET(REGS_A21, pt_regs, a21); in foo() 22 OFFSET(REGS_A22, pt_regs, a22); in foo() 23 OFFSET(REGS_A23, pt_regs, a23); in foo() 24 OFFSET(REGS_A24, pt_regs, a24); in foo() 25 OFFSET(REGS_A25, pt_regs, a25); in foo() [all …]
|
/arch/sparc/kernel/ |
D | entry.h | 10 void handler_irq(int irq, struct pt_regs *regs); 14 void do_hw_interrupt(struct pt_regs *regs, unsigned long type); 15 void do_illegal_instruction(struct pt_regs *regs, unsigned long pc, 18 void do_priv_instruction(struct pt_regs *regs, unsigned long pc, 20 void do_memaccess_unaligned(struct pt_regs *regs, unsigned long pc, 22 void do_fpd_trap(struct pt_regs *regs, unsigned long pc, 24 void do_fpe_trap(struct pt_regs *regs, unsigned long pc, 26 void handle_tag_overflow(struct pt_regs *regs, unsigned long pc, 28 void handle_watchpoint(struct pt_regs *regs, unsigned long pc, 30 void handle_reg_access(struct pt_regs *regs, unsigned long pc, [all …]
|
D | kernel.h | 18 asmlinkage long sparc_clone(struct pt_regs *regs); 19 asmlinkage long sparc_fork(struct pt_regs *regs); 20 asmlinkage long sparc_vfork(struct pt_regs *regs); 38 asmlinkage void kernel_unaligned_trap(struct pt_regs *regs, unsigned int insn); 39 int handle_popc(u32 insn, struct pt_regs *regs); 40 void handle_lddfmna(struct pt_regs *regs, unsigned long sfar, unsigned long sfsr); 41 void handle_stdfmna(struct pt_regs *regs, unsigned long sfar, unsigned long sfsr); 44 void __irq_entry smp_call_function_client(int irq, struct pt_regs *regs); 45 void __irq_entry smp_call_function_single_client(int irq, struct pt_regs *regs); 46 void __irq_entry smp_penguin_jailcell(int irq, struct pt_regs *regs); [all …]
|
/arch/hexagon/kernel/ |
D | kgdb.c | 20 { " r0", GDB_SIZEOF_REG, offsetof(struct pt_regs, r00)}, 21 { " r1", GDB_SIZEOF_REG, offsetof(struct pt_regs, r01)}, 22 { " r2", GDB_SIZEOF_REG, offsetof(struct pt_regs, r02)}, 23 { " r3", GDB_SIZEOF_REG, offsetof(struct pt_regs, r03)}, 24 { " r4", GDB_SIZEOF_REG, offsetof(struct pt_regs, r04)}, 25 { " r5", GDB_SIZEOF_REG, offsetof(struct pt_regs, r05)}, 26 { " r6", GDB_SIZEOF_REG, offsetof(struct pt_regs, r06)}, 27 { " r7", GDB_SIZEOF_REG, offsetof(struct pt_regs, r07)}, 28 { " r8", GDB_SIZEOF_REG, offsetof(struct pt_regs, r08)}, 29 { " r9", GDB_SIZEOF_REG, offsetof(struct pt_regs, r09)}, [all …]
|
D | asm-offsets.c | 32 OFFSET(_PT_SYSCALL_NR, pt_regs, syscall_nr); in main() 33 OFFSET(_PT_GPUGP, pt_regs, gpugp); in main() 34 OFFSET(_PT_CS1CS0, pt_regs, cs1cs0); in main() 35 OFFSET(_PT_R3130, pt_regs, r3130); in main() 36 OFFSET(_PT_R2928, pt_regs, r2928); in main() 37 OFFSET(_PT_R2726, pt_regs, r2726); in main() 38 OFFSET(_PT_R2524, pt_regs, r2524); in main() 39 OFFSET(_PT_R2322, pt_regs, r2322); in main() 40 OFFSET(_PT_R2120, pt_regs, r2120); in main() 41 OFFSET(_PT_R1918, pt_regs, r1918); in main() [all …]
|
/arch/s390/kernel/ |
D | entry.h | 20 asmlinkage long do_syscall_trace_enter(struct pt_regs *regs); 21 asmlinkage void do_syscall_trace_exit(struct pt_regs *regs); 23 void do_protection_exception(struct pt_regs *regs); 24 void do_dat_exception(struct pt_regs *regs); 25 void do_secure_storage_access(struct pt_regs *regs); 26 void do_non_secure_storage_access(struct pt_regs *regs); 27 void do_secure_storage_violation(struct pt_regs *regs); 29 void addressing_exception(struct pt_regs *regs); 30 void data_exception(struct pt_regs *regs); 31 void default_trap_handler(struct pt_regs *regs); [all …]
|
/arch/csky/kernel/ |
D | asm-offsets.c | 34 DEFINE(PT_PC, offsetof(struct pt_regs, pc)); in main() 35 DEFINE(PT_ORIG_AO, offsetof(struct pt_regs, orig_a0)); in main() 36 DEFINE(PT_SR, offsetof(struct pt_regs, sr)); in main() 38 DEFINE(PT_A0, offsetof(struct pt_regs, a0)); in main() 39 DEFINE(PT_A1, offsetof(struct pt_regs, a1)); in main() 40 DEFINE(PT_A2, offsetof(struct pt_regs, a2)); in main() 41 DEFINE(PT_A3, offsetof(struct pt_regs, a3)); in main() 42 DEFINE(PT_REGS0, offsetof(struct pt_regs, regs[0])); in main() 43 DEFINE(PT_REGS1, offsetof(struct pt_regs, regs[1])); in main() 44 DEFINE(PT_REGS2, offsetof(struct pt_regs, regs[2])); in main() [all …]
|
/arch/arm64/include/asm/ |
D | exception.h | 29 asmlinkage void noinstr enter_el1_irq_or_nmi(struct pt_regs *regs); 30 asmlinkage void noinstr exit_el1_irq_or_nmi(struct pt_regs *regs); 33 void arm64_enter_nmi(struct pt_regs *regs); 34 void arm64_exit_nmi(struct pt_regs *regs); 35 void do_mem_abort(unsigned long far, unsigned int esr, struct pt_regs *regs); 36 void do_undefinstr(struct pt_regs *regs); 37 void do_bti(struct pt_regs *regs); 38 asmlinkage void bad_mode(struct pt_regs *regs, int reason, unsigned int esr); 40 struct pt_regs *regs); 41 void do_fpsimd_acc(unsigned int esr, struct pt_regs *regs); [all …]
|
/arch/x86/include/asm/ |
D | ptrace.h | 12 struct pt_regs { struct 56 struct pt_regs { argument 102 extern unsigned long profile_pc(struct pt_regs *regs); argument 105 convert_ip_to_linear(struct task_struct *child, struct pt_regs *regs); 106 extern void send_sigtrap(struct pt_regs *regs, int error_code, int si_code); 109 static inline unsigned long regs_return_value(struct pt_regs *regs) in regs_return_value() 114 static inline void regs_set_return_value(struct pt_regs *regs, unsigned long rc) in regs_set_return_value() 128 static __always_inline int user_mode(struct pt_regs *regs) in user_mode() 137 static inline int v8086_mode(struct pt_regs *regs) in v8086_mode() 146 static inline bool user_64bit_mode(struct pt_regs *regs) in user_64bit_mode() [all …]
|
/arch/powerpc/include/asm/ |
D | debug.h | 10 struct pt_regs; 14 extern int (*__debugger)(struct pt_regs *regs); 15 extern int (*__debugger_ipi)(struct pt_regs *regs); 16 extern int (*__debugger_bpt)(struct pt_regs *regs); 17 extern int (*__debugger_sstep)(struct pt_regs *regs); 18 extern int (*__debugger_iabr_match)(struct pt_regs *regs); 19 extern int (*__debugger_break_match)(struct pt_regs *regs); 20 extern int (*__debugger_fault_handler)(struct pt_regs *regs); 23 static inline int __NAME(struct pt_regs *regs) \ 39 static inline int debugger(struct pt_regs *regs) { return 0; } [all …]
|
D | asm-prototypes.h | 60 long machine_check_early(struct pt_regs *regs); 61 long hmi_exception_realmode(struct pt_regs *regs); 62 void SMIException(struct pt_regs *regs); 63 void handle_hmi_exception(struct pt_regs *regs); 64 void instruction_breakpoint_exception(struct pt_regs *regs); 65 void RunModeException(struct pt_regs *regs); 66 void single_step_exception(struct pt_regs *regs); 67 void program_check_exception(struct pt_regs *regs); 68 void alignment_exception(struct pt_regs *regs); 69 void StackOverflow(struct pt_regs *regs); [all …]
|
D | ptrace.h | 27 struct pt_regs struct 67 #define STACK_FRAME_WITH_PT_REGS (STACK_FRAME_OVERHEAD + sizeof(struct pt_regs)) argument 86 #define STACK_INT_FRAME_SIZE (sizeof(struct pt_regs) + \ 107 #define STACK_INT_FRAME_SIZE (sizeof(struct pt_regs) + STACK_FRAME_OVERHEAD) 118 static inline unsigned long instruction_pointer(struct pt_regs *regs) in instruction_pointer() 123 static inline void instruction_pointer_set(struct pt_regs *regs, in instruction_pointer_set() 129 static inline unsigned long user_stack_pointer(struct pt_regs *regs) in user_stack_pointer() 134 static inline unsigned long frame_pointer(struct pt_regs *regs) in frame_pointer() 140 extern unsigned long profile_pc(struct pt_regs *regs); 145 long do_syscall_trace_enter(struct pt_regs *regs); [all …]
|
/arch/nios2/kernel/ |
D | asm-offsets.c | 26 OFFSET(PT_ORIG_R2, pt_regs, orig_r2); in main() 27 OFFSET(PT_ORIG_R7, pt_regs, orig_r7); in main() 29 OFFSET(PT_R1, pt_regs, r1); in main() 30 OFFSET(PT_R2, pt_regs, r2); in main() 31 OFFSET(PT_R3, pt_regs, r3); in main() 32 OFFSET(PT_R4, pt_regs, r4); in main() 33 OFFSET(PT_R5, pt_regs, r5); in main() 34 OFFSET(PT_R6, pt_regs, r6); in main() 35 OFFSET(PT_R7, pt_regs, r7); in main() 36 OFFSET(PT_R8, pt_regs, r8); in main() [all …]
|
D | kgdb.c | 21 { "at", GDB_SIZEOF_REG, offsetof(struct pt_regs, r1) }, 22 { "r2", GDB_SIZEOF_REG, offsetof(struct pt_regs, r2) }, 23 { "r3", GDB_SIZEOF_REG, offsetof(struct pt_regs, r3) }, 24 { "r4", GDB_SIZEOF_REG, offsetof(struct pt_regs, r4) }, 25 { "r5", GDB_SIZEOF_REG, offsetof(struct pt_regs, r5) }, 26 { "r6", GDB_SIZEOF_REG, offsetof(struct pt_regs, r6) }, 27 { "r7", GDB_SIZEOF_REG, offsetof(struct pt_regs, r7) }, 28 { "r8", GDB_SIZEOF_REG, offsetof(struct pt_regs, r8) }, 29 { "r9", GDB_SIZEOF_REG, offsetof(struct pt_regs, r9) }, 30 { "r10", GDB_SIZEOF_REG, offsetof(struct pt_regs, r10) }, [all …]
|
/arch/arc/kernel/ |
D | asm-offsets.c | 48 DEFINE(PT_status32, offsetof(struct pt_regs, status32)); in main() 49 DEFINE(PT_event, offsetof(struct pt_regs, event)); in main() 50 DEFINE(PT_sp, offsetof(struct pt_regs, sp)); in main() 51 DEFINE(PT_r0, offsetof(struct pt_regs, r0)); in main() 52 DEFINE(PT_r1, offsetof(struct pt_regs, r1)); in main() 53 DEFINE(PT_r2, offsetof(struct pt_regs, r2)); in main() 54 DEFINE(PT_r3, offsetof(struct pt_regs, r3)); in main() 55 DEFINE(PT_r4, offsetof(struct pt_regs, r4)); in main() 56 DEFINE(PT_r5, offsetof(struct pt_regs, r5)); in main() 57 DEFINE(PT_r6, offsetof(struct pt_regs, r6)); in main() [all …]
|
/arch/arm64/kernel/ |
D | kgdb.c | 23 { "x0", 8, offsetof(struct pt_regs, regs[0])}, 24 { "x1", 8, offsetof(struct pt_regs, regs[1])}, 25 { "x2", 8, offsetof(struct pt_regs, regs[2])}, 26 { "x3", 8, offsetof(struct pt_regs, regs[3])}, 27 { "x4", 8, offsetof(struct pt_regs, regs[4])}, 28 { "x5", 8, offsetof(struct pt_regs, regs[5])}, 29 { "x6", 8, offsetof(struct pt_regs, regs[6])}, 30 { "x7", 8, offsetof(struct pt_regs, regs[7])}, 31 { "x8", 8, offsetof(struct pt_regs, regs[8])}, 32 { "x9", 8, offsetof(struct pt_regs, regs[9])}, [all …]
|
/arch/microblaze/kernel/ |
D | asm-offsets.c | 24 DEFINE(PT_SIZE, sizeof(struct pt_regs)); in main() 25 DEFINE(PT_MSR, offsetof(struct pt_regs, msr)); in main() 26 DEFINE(PT_EAR, offsetof(struct pt_regs, ear)); in main() 27 DEFINE(PT_ESR, offsetof(struct pt_regs, esr)); in main() 28 DEFINE(PT_FSR, offsetof(struct pt_regs, fsr)); in main() 29 DEFINE(PT_PC, offsetof(struct pt_regs, pc)); in main() 30 DEFINE(PT_R0, offsetof(struct pt_regs, r0)); in main() 31 DEFINE(PT_R1, offsetof(struct pt_regs, r1)); in main() 32 DEFINE(PT_R2, offsetof(struct pt_regs, r2)); in main() 33 DEFINE(PT_R3, offsetof(struct pt_regs, r3)); in main() [all …]
|
/arch/powerpc/kernel/ |
D | kgdb.c | 116 int kgdb_skipexception(int exception, struct pt_regs *regs) in kgdb_skipexception() 121 static int kgdb_debugger_ipi(struct pt_regs *regs) in kgdb_debugger_ipi() 135 static int kgdb_debugger(struct pt_regs *regs) in kgdb_debugger() 141 static int kgdb_handle_breakpoint(struct pt_regs *regs) in kgdb_handle_breakpoint() 155 static int kgdb_singlestep(struct pt_regs *regs) in kgdb_singlestep() 165 static int kgdb_iabr_match(struct pt_regs *regs) in kgdb_iabr_match() 175 static int kgdb_break_match(struct pt_regs *regs) in kgdb_break_match() 196 struct pt_regs *regs = (struct pt_regs *)(p->thread.ksp + in sleeping_thread_to_gdb_regs() 248 { "r0", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[0]) }, 249 { "r1", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[1]) }, [all …]
|
/arch/xtensa/kernel/ |
D | asm-offsets.c | 32 DEFINE(PT_PC, offsetof (struct pt_regs, pc)); in main() 33 DEFINE(PT_PS, offsetof (struct pt_regs, ps)); in main() 34 DEFINE(PT_DEPC, offsetof (struct pt_regs, depc)); in main() 35 DEFINE(PT_EXCCAUSE, offsetof (struct pt_regs, exccause)); in main() 36 DEFINE(PT_EXCVADDR, offsetof (struct pt_regs, excvaddr)); in main() 37 DEFINE(PT_DEBUGCAUSE, offsetof (struct pt_regs, debugcause)); in main() 38 DEFINE(PT_WMASK, offsetof (struct pt_regs, wmask)); in main() 39 DEFINE(PT_LBEG, offsetof (struct pt_regs, lbeg)); in main() 40 DEFINE(PT_LEND, offsetof (struct pt_regs, lend)); in main() 41 DEFINE(PT_LCOUNT, offsetof (struct pt_regs, lcount)); in main() [all …]
|
/arch/x86/kernel/ |
D | asm-offsets_32.c | 24 OFFSET(PT_EBX, pt_regs, bx); in foo() 25 OFFSET(PT_ECX, pt_regs, cx); in foo() 26 OFFSET(PT_EDX, pt_regs, dx); in foo() 27 OFFSET(PT_ESI, pt_regs, si); in foo() 28 OFFSET(PT_EDI, pt_regs, di); in foo() 29 OFFSET(PT_EBP, pt_regs, bp); in foo() 30 OFFSET(PT_EAX, pt_regs, ax); in foo() 31 OFFSET(PT_DS, pt_regs, ds); in foo() 32 OFFSET(PT_ES, pt_regs, es); in foo() 33 OFFSET(PT_FS, pt_regs, fs); in foo() [all …]
|
/arch/mips/kernel/ |
D | kgdb.c | 57 { "zero", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[0]) }, 58 { "at", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[1]) }, 59 { "v0", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[2]) }, 60 { "v1", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[3]) }, 61 { "a0", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[4]) }, 62 { "a1", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[5]) }, 63 { "a2", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[6]) }, 64 { "a3", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[7]) }, 65 { "t0", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[8]) }, 66 { "t1", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[9]) }, [all …]
|
/arch/parisc/kernel/ |
D | asm-offsets.c | 143 DEFINE(PT_PSW, offsetof(struct pt_regs, gr[ 0])); in main() 144 DEFINE(PT_GR1, offsetof(struct pt_regs, gr[ 1])); in main() 145 DEFINE(PT_GR2, offsetof(struct pt_regs, gr[ 2])); in main() 146 DEFINE(PT_GR3, offsetof(struct pt_regs, gr[ 3])); in main() 147 DEFINE(PT_GR4, offsetof(struct pt_regs, gr[ 4])); in main() 148 DEFINE(PT_GR5, offsetof(struct pt_regs, gr[ 5])); in main() 149 DEFINE(PT_GR6, offsetof(struct pt_regs, gr[ 6])); in main() 150 DEFINE(PT_GR7, offsetof(struct pt_regs, gr[ 7])); in main() 151 DEFINE(PT_GR8, offsetof(struct pt_regs, gr[ 8])); in main() 152 DEFINE(PT_GR9, offsetof(struct pt_regs, gr[ 9])); in main() [all …]
|
/arch/mips/include/asm/ |
D | branch.h | 16 extern int __isa_exception_epc(struct pt_regs *regs); 17 extern int __compute_return_epc(struct pt_regs *regs); 18 extern int __compute_return_epc_for_insn(struct pt_regs *regs, 20 extern int __microMIPS_compute_return_epc(struct pt_regs *regs); 21 extern int __MIPS16e_compute_return_epc(struct pt_regs *regs); 30 int isBranchInstr(struct pt_regs *regs, 33 extern int __mm_isBranchInstr(struct pt_regs *regs, 36 static inline int mm_isBranchInstr(struct pt_regs *regs, in mm_isBranchInstr() 45 static inline int delay_slot(struct pt_regs *regs) in delay_slot() 50 static inline void clear_delay_slot(struct pt_regs *regs) in clear_delay_slot() [all …]
|
/arch/csky/include/asm/ |
D | ptrace.h | 20 ({ (struct pt_regs *)((char *)current_thread_info() + THREAD_SIZE) - 1; }) 29 static inline void instruction_pointer_set(struct pt_regs *regs, in instruction_pointer_set() 36 #define MAX_REG_OFFSET offsetof(struct pt_regs, dcsr) 38 #define MAX_REG_OFFSET offsetof(struct pt_regs, regs[9]) 41 static inline bool in_syscall(struct pt_regs const *regs) in in_syscall() 46 static inline void forget_syscall(struct pt_regs *regs) in forget_syscall() 51 static inline unsigned long regs_return_value(struct pt_regs *regs) in regs_return_value() 56 static inline void regs_set_return_value(struct pt_regs *regs, in regs_set_return_value() 63 static inline unsigned long kernel_stack_pointer(struct pt_regs *regs) in kernel_stack_pointer() 68 static inline unsigned long frame_pointer(struct pt_regs *regs) in frame_pointer() [all …]
|
/arch/riscv/kernel/ |
D | kgdb.c | 58 static int get_step_address(struct pt_regs *regs, unsigned long *next_addr) in get_step_address() 139 static int do_single_step(struct pt_regs *regs) in do_single_step() 173 static void undo_single_step(struct pt_regs *regs) in undo_single_step() 189 {DBG_REG_RA, GDB_SIZEOF_REG, offsetof(struct pt_regs, ra)}, 190 {DBG_REG_SP, GDB_SIZEOF_REG, offsetof(struct pt_regs, sp)}, 191 {DBG_REG_GP, GDB_SIZEOF_REG, offsetof(struct pt_regs, gp)}, 192 {DBG_REG_TP, GDB_SIZEOF_REG, offsetof(struct pt_regs, tp)}, 193 {DBG_REG_T0, GDB_SIZEOF_REG, offsetof(struct pt_regs, t0)}, 194 {DBG_REG_T1, GDB_SIZEOF_REG, offsetof(struct pt_regs, t1)}, 195 {DBG_REG_T2, GDB_SIZEOF_REG, offsetof(struct pt_regs, t2)}, [all …]
|