/Linux-v5.4/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 …]
|
/Linux-v5.4/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 | 33 asmlinkage void kernel_unaligned_trap(struct pt_regs *regs, unsigned int insn); 34 int handle_popc(u32 insn, struct pt_regs *regs); 35 void handle_lddfmna(struct pt_regs *regs, unsigned long sfar, unsigned long sfsr); 36 void handle_stdfmna(struct pt_regs *regs, unsigned long sfar, unsigned long sfsr); 39 void __irq_entry smp_call_function_client(int irq, struct pt_regs *regs); 40 void __irq_entry smp_call_function_single_client(int irq, struct pt_regs *regs); 41 void __irq_entry smp_penguin_jailcell(int irq, struct pt_regs *regs); 42 void __irq_entry smp_receive_signal_client(int irq, struct pt_regs *regs); 45 void __irq_entry smp_kgdb_capture_client(int irq, struct pt_regs *regs); 55 void do_sigreturn32(struct pt_regs *regs); [all …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/arch/s390/kernel/ |
D | entry.h | 22 asmlinkage long do_syscall_trace_enter(struct pt_regs *regs); 23 asmlinkage void do_syscall_trace_exit(struct pt_regs *regs); 25 void do_protection_exception(struct pt_regs *regs); 26 void do_dat_exception(struct pt_regs *regs); 28 void addressing_exception(struct pt_regs *regs); 29 void data_exception(struct pt_regs *regs); 30 void default_trap_handler(struct pt_regs *regs); 31 void divide_exception(struct pt_regs *regs); 32 void execute_exception(struct pt_regs *regs); 33 void hfp_divide_exception(struct pt_regs *regs); [all …]
|
/Linux-v5.4/arch/csky/kernel/ |
D | asm-offsets.c | 35 DEFINE(PT_PC, offsetof(struct pt_regs, pc)); in main() 36 DEFINE(PT_ORIG_AO, offsetof(struct pt_regs, orig_a0)); in main() 37 DEFINE(PT_SR, offsetof(struct pt_regs, sr)); in main() 39 DEFINE(PT_A0, offsetof(struct pt_regs, a0)); in main() 40 DEFINE(PT_A1, offsetof(struct pt_regs, a1)); in main() 41 DEFINE(PT_A2, offsetof(struct pt_regs, a2)); in main() 42 DEFINE(PT_A3, offsetof(struct pt_regs, a3)); in main() 43 DEFINE(PT_REGS0, offsetof(struct pt_regs, regs[0])); in main() 44 DEFINE(PT_REGS1, offsetof(struct pt_regs, regs[1])); in main() 45 DEFINE(PT_REGS2, offsetof(struct pt_regs, regs[2])); in main() [all …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/arch/unicore32/kernel/ |
D | asm-offsets.c | 49 DEFINE(S_R0, offsetof(struct pt_regs, UCreg_00)); in main() 50 DEFINE(S_R1, offsetof(struct pt_regs, UCreg_01)); in main() 51 DEFINE(S_R2, offsetof(struct pt_regs, UCreg_02)); in main() 52 DEFINE(S_R3, offsetof(struct pt_regs, UCreg_03)); in main() 53 DEFINE(S_R4, offsetof(struct pt_regs, UCreg_04)); in main() 54 DEFINE(S_R5, offsetof(struct pt_regs, UCreg_05)); in main() 55 DEFINE(S_R6, offsetof(struct pt_regs, UCreg_06)); in main() 56 DEFINE(S_R7, offsetof(struct pt_regs, UCreg_07)); in main() 57 DEFINE(S_R8, offsetof(struct pt_regs, UCreg_08)); in main() 58 DEFINE(S_R9, offsetof(struct pt_regs, UCreg_09)); in main() [all …]
|
/Linux-v5.4/arch/x86/include/asm/ |
D | ptrace.h | 12 struct pt_regs { struct 56 struct pt_regs { argument 100 extern unsigned long profile_pc(struct pt_regs *regs); argument 103 convert_ip_to_linear(struct task_struct *child, struct pt_regs *regs); 104 extern void send_sigtrap(struct pt_regs *regs, int error_code, int si_code); 107 static inline unsigned long regs_return_value(struct pt_regs *regs) in regs_return_value() 112 static inline void regs_set_return_value(struct pt_regs *regs, unsigned long rc) in regs_set_return_value() 126 static inline int user_mode(struct pt_regs *regs) in user_mode() 135 static inline int v8086_mode(struct pt_regs *regs) in v8086_mode() 144 static inline bool user_64bit_mode(struct pt_regs *regs) in user_64bit_mode() [all …]
|
D | traps.h | 64 dotraplinkage void do_divide_error(struct pt_regs *regs, long error_code); 65 dotraplinkage void do_debug(struct pt_regs *regs, long error_code); 66 dotraplinkage void do_nmi(struct pt_regs *regs, long error_code); 67 dotraplinkage void do_int3(struct pt_regs *regs, long error_code); 68 dotraplinkage void do_overflow(struct pt_regs *regs, long error_code); 69 dotraplinkage void do_bounds(struct pt_regs *regs, long error_code); 70 dotraplinkage void do_invalid_op(struct pt_regs *regs, long error_code); 71 dotraplinkage void do_device_not_available(struct pt_regs *regs, long error_code); 72 dotraplinkage void do_coprocessor_segment_overrun(struct pt_regs *regs, long error_code); 73 dotraplinkage void do_invalid_TSS(struct pt_regs *regs, long error_code); [all …]
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | kgdb.c | 115 int kgdb_skipexception(int exception, struct pt_regs *regs) in kgdb_skipexception() 120 static int kgdb_debugger_ipi(struct pt_regs *regs) in kgdb_debugger_ipi() 134 static int kgdb_debugger(struct pt_regs *regs) in kgdb_debugger() 140 static int kgdb_handle_breakpoint(struct pt_regs *regs) in kgdb_handle_breakpoint() 154 static int kgdb_singlestep(struct pt_regs *regs) in kgdb_singlestep() 164 static int kgdb_iabr_match(struct pt_regs *regs) in kgdb_iabr_match() 174 static int kgdb_break_match(struct pt_regs *regs) in kgdb_break_match() 195 struct pt_regs *regs = (struct pt_regs *)(p->thread.ksp + in sleeping_thread_to_gdb_regs() 247 { "r0", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[0]) }, 248 { "r1", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[1]) }, [all …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/arch/arc/kernel/ |
D | asm-offsets.c | 47 DEFINE(PT_status32, offsetof(struct pt_regs, status32)); in main() 48 DEFINE(PT_event, offsetof(struct pt_regs, event)); in main() 49 DEFINE(PT_sp, offsetof(struct pt_regs, sp)); in main() 50 DEFINE(PT_r0, offsetof(struct pt_regs, r0)); in main() 51 DEFINE(PT_r1, offsetof(struct pt_regs, r1)); in main() 52 DEFINE(PT_r2, offsetof(struct pt_regs, r2)); in main() 53 DEFINE(PT_r3, offsetof(struct pt_regs, r3)); in main() 54 DEFINE(PT_r4, offsetof(struct pt_regs, r4)); in main() 55 DEFINE(PT_r5, offsetof(struct pt_regs, r5)); in main() 56 DEFINE(PT_r6, offsetof(struct pt_regs, r6)); in main() [all …]
|
/Linux-v5.4/arch/x86/kernel/ |
D | asm-offsets_32.c | 27 OFFSET(PT_EBX, pt_regs, bx); in foo() 28 OFFSET(PT_ECX, pt_regs, cx); in foo() 29 OFFSET(PT_EDX, pt_regs, dx); in foo() 30 OFFSET(PT_ESI, pt_regs, si); in foo() 31 OFFSET(PT_EDI, pt_regs, di); in foo() 32 OFFSET(PT_EBP, pt_regs, bp); in foo() 33 OFFSET(PT_EAX, pt_regs, ax); in foo() 34 OFFSET(PT_DS, pt_regs, ds); in foo() 35 OFFSET(PT_ES, pt_regs, es); in foo() 36 OFFSET(PT_FS, pt_regs, fs); in foo() [all …]
|
/Linux-v5.4/arch/ia64/kernel/ |
D | asm-offsets.c | 27 DEFINE(IA64_PT_REGS_SIZE, sizeof (struct pt_regs)); in foo() 74 DEFINE(IA64_PT_REGS_B6_OFFSET, offsetof (struct pt_regs, b6)); in foo() 75 DEFINE(IA64_PT_REGS_B7_OFFSET, offsetof (struct pt_regs, b7)); in foo() 76 DEFINE(IA64_PT_REGS_AR_CSD_OFFSET, offsetof (struct pt_regs, ar_csd)); in foo() 77 DEFINE(IA64_PT_REGS_AR_SSD_OFFSET, offsetof (struct pt_regs, ar_ssd)); in foo() 78 DEFINE(IA64_PT_REGS_R8_OFFSET, offsetof (struct pt_regs, r8)); in foo() 79 DEFINE(IA64_PT_REGS_R9_OFFSET, offsetof (struct pt_regs, r9)); in foo() 80 DEFINE(IA64_PT_REGS_R10_OFFSET, offsetof (struct pt_regs, r10)); in foo() 81 DEFINE(IA64_PT_REGS_R11_OFFSET, offsetof (struct pt_regs, r11)); in foo() 82 DEFINE(IA64_PT_REGS_CR_IPSR_OFFSET, offsetof (struct pt_regs, cr_ipsr)); in foo() [all …]
|
/Linux-v5.4/arch/x86/lib/ |
D | insn-eval.c | 133 if (regoff == offsetof(struct pt_regs, di) && is_string_insn(insn)) in check_seg_overrides() 156 static int resolve_default_seg(struct insn *insn, struct pt_regs *regs, int off) in resolve_default_seg() 175 case offsetof(struct pt_regs, ax): in resolve_default_seg() 176 case offsetof(struct pt_regs, cx): in resolve_default_seg() 177 case offsetof(struct pt_regs, dx): in resolve_default_seg() 185 case offsetof(struct pt_regs, bx): in resolve_default_seg() 186 case offsetof(struct pt_regs, si): in resolve_default_seg() 189 case offsetof(struct pt_regs, di): in resolve_default_seg() 194 case offsetof(struct pt_regs, bp): in resolve_default_seg() 195 case offsetof(struct pt_regs, sp): in resolve_default_seg() [all …]
|
/Linux-v5.4/arch/arm/kernel/ |
D | kgdb.c | 23 { "r0", 4, offsetof(struct pt_regs, ARM_r0)}, 24 { "r1", 4, offsetof(struct pt_regs, ARM_r1)}, 25 { "r2", 4, offsetof(struct pt_regs, ARM_r2)}, 26 { "r3", 4, offsetof(struct pt_regs, ARM_r3)}, 27 { "r4", 4, offsetof(struct pt_regs, ARM_r4)}, 28 { "r5", 4, offsetof(struct pt_regs, ARM_r5)}, 29 { "r6", 4, offsetof(struct pt_regs, ARM_r6)}, 30 { "r7", 4, offsetof(struct pt_regs, ARM_r7)}, 31 { "r8", 4, offsetof(struct pt_regs, ARM_r8)}, 32 { "r9", 4, offsetof(struct pt_regs, ARM_r9)}, [all …]
|