Home
last modified time | relevance | path

Searched refs:pt_regs (Results 1 – 25 of 1210) sorted by relevance

12345678910>>...49

/linux/arch/sparc/kernel/
A Dentry.h90 void do_fpieee(struct pt_regs *regs);
91 void do_fpother(struct pt_regs *regs);
92 void do_tof(struct pt_regs *regs);
93 void do_div0(struct pt_regs *regs);
101 void do_privop(struct pt_regs *regs);
102 void do_privact(struct pt_regs *regs);
103 void do_cee(struct pt_regs *regs);
107 void do_ill_tl1(struct pt_regs *regs);
111 void do_paw(struct pt_regs *regs);
113 void do_vaw(struct pt_regs *regs);
[all …]
A Dkernel.h18 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);
39 int handle_popc(u32 insn, struct pt_regs *regs);
60 void do_sigreturn32(struct pt_regs *regs);
61 asmlinkage void do_rt_sigreturn32(struct pt_regs *regs);
62 void do_signal32(struct pt_regs * regs);
108 void smp4m_percpu_timer_interrupt(struct pt_regs *regs);
162 asmlinkage void do_sigreturn(struct pt_regs *regs);
163 asmlinkage void do_rt_sigreturn(struct pt_regs *regs);
[all …]
/linux/arch/hexagon/kernel/
A Dkgdb.c20 { " 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)},
110 struct pt_regs *thread_regs; in sleeping_thread_to_gdb_regs()
[all …]
A Dasm-offsets.c33 OFFSET(_PT_GPUGP, pt_regs, gpugp); 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()
42 OFFSET(_PT_R1716, pt_regs, r1716); in main()
43 OFFSET(_PT_R1514, pt_regs, r1514); in main()
[all …]
/linux/arch/arm64/include/asm/
A Dexception.h34 asmlinkage void handle_bad_stack(struct pt_regs *regs);
37 asmlinkage void el1t_64_irq_handler(struct pt_regs *regs);
38 asmlinkage void el1t_64_fiq_handler(struct pt_regs *regs);
56 asmlinkage void call_on_irq_stack(struct pt_regs *regs,
57 void (*func)(struct pt_regs *));
61 void do_undefinstr(struct pt_regs *regs);
62 void do_bti(struct pt_regs *regs);
64 struct pt_regs *regs);
72 void do_el0_svc(struct pt_regs *regs);
73 void do_el0_svc_compat(struct pt_regs *regs);
[all …]
/linux/arch/csky/kernel/
A Dasm-offsets.c33 DEFINE(PT_PC, offsetof(struct pt_regs, pc)); in main()
35 DEFINE(PT_SR, offsetof(struct pt_regs, sr)); in main()
37 DEFINE(PT_A0, offsetof(struct pt_regs, a0)); in main()
38 DEFINE(PT_A1, offsetof(struct pt_regs, a1)); in main()
39 DEFINE(PT_A2, offsetof(struct pt_regs, a2)); in main()
40 DEFINE(PT_A3, offsetof(struct pt_regs, a3)); in main()
51 DEFINE(PT_R15, offsetof(struct pt_regs, lr)); in main()
69 DEFINE(PT_RHI, offsetof(struct pt_regs, rhi)); in main()
70 DEFINE(PT_RLO, offsetof(struct pt_regs, rlo)); in main()
72 DEFINE(PT_USP, offsetof(struct pt_regs, usp)); in main()
[all …]
/linux/arch/arm64/kernel/
A Dkgdb.c24 { "x0", 8, offsetof(struct pt_regs, regs[0])},
25 { "x1", 8, offsetof(struct pt_regs, regs[1])},
26 { "x2", 8, offsetof(struct pt_regs, regs[2])},
27 { "x3", 8, offsetof(struct pt_regs, regs[3])},
28 { "x4", 8, offsetof(struct pt_regs, regs[4])},
29 { "x5", 8, offsetof(struct pt_regs, regs[5])},
30 { "x6", 8, offsetof(struct pt_regs, regs[6])},
55 { "sp", 8, offsetof(struct pt_regs, sp)},
56 { "pc", 8, offsetof(struct pt_regs, pc)},
177 struct pt_regs *linux_regs) in kgdb_arch_handle_exception()
[all …]
A Dentry-common.c249 void (*handler)(struct pt_regs *)) in do_interrupt_handler() argument
251 struct pt_regs *old_regs = set_irq_regs(regs); in do_interrupt_handler()
261 extern void (*handle_arch_irq)(struct pt_regs *);
262 extern void (*handle_arch_fiq)(struct pt_regs *);
362 static void noinstr el1_undef(struct pt_regs *regs) in el1_undef()
425 void (*handler)(struct pt_regs *)) in __el1_pnmi() argument
433 void (*handler)(struct pt_regs *)) in __el1_irq() argument
453 void (*handler)(struct pt_regs *)) in el1_interrupt() argument
572 static void noinstr el0_bti(struct pt_regs *regs) in el0_bti()
599 static void noinstr el0_svc(struct pt_regs *regs) in el0_svc()
[all …]
/linux/arch/x86/include/asm/
A Dptrace.h12 struct pt_regs { struct
59 struct pt_regs { argument
347 offsetof(struct pt_regs, ax), in regs_get_kernel_argument()
348 offsetof(struct pt_regs, dx), in regs_get_kernel_argument()
349 offsetof(struct pt_regs, cx), in regs_get_kernel_argument()
352 offsetof(struct pt_regs, di), in regs_get_kernel_argument()
353 offsetof(struct pt_regs, si), in regs_get_kernel_argument()
354 offsetof(struct pt_regs, dx), in regs_get_kernel_argument()
355 offsetof(struct pt_regs, cx), in regs_get_kernel_argument()
356 offsetof(struct pt_regs, r8), in regs_get_kernel_argument()
[all …]
/linux/arch/microblaze/kernel/
A Dasm-offsets.c24 DEFINE(PT_SIZE, sizeof(struct pt_regs)); 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()
34 DEFINE(PT_R4, offsetof(struct pt_regs, r4)); in main()
35 DEFINE(PT_R5, offsetof(struct pt_regs, r5)); in main()
36 DEFINE(PT_R6, offsetof(struct pt_regs, r6)); in main()
37 DEFINE(PT_R7, offsetof(struct pt_regs, r7)); in main()
[all …]
/linux/arch/powerpc/kernel/
A Dkgdb.c116 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()
314 { "pc", GDB_SIZEOF_REG, offsetof(struct pt_regs, nip) },
383 struct pt_regs *linux_regs) in kgdb_arch_handle_exception()
[all …]
/linux/arch/parisc/kernel/
A Dasm-offsets.c127 DEFINE(PT_PSW, offsetof(struct pt_regs, gr[ 0])); in main()
128 DEFINE(PT_GR1, offsetof(struct pt_regs, gr[ 1])); in main()
129 DEFINE(PT_GR2, offsetof(struct pt_regs, gr[ 2])); in main()
130 DEFINE(PT_GR3, offsetof(struct pt_regs, gr[ 3])); in main()
203 DEFINE(PT_CR27, offsetof(struct pt_regs, cr27)); in main()
205 DEFINE(PT_KSP, offsetof(struct pt_regs, ksp)); in main()
206 DEFINE(PT_KPC, offsetof(struct pt_regs, kpc)); in main()
207 DEFINE(PT_SAR, offsetof(struct pt_regs, sar)); in main()
208 DEFINE(PT_IIR, offsetof(struct pt_regs, iir)); in main()
209 DEFINE(PT_ISR, offsetof(struct pt_regs, isr)); in main()
[all …]
/linux/arch/xtensa/kernel/
A Dasm-offsets.c32 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()
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()
42 DEFINE(PT_SAR, offsetof (struct pt_regs, sar)); in main()
47 DEFINE(PT_AREG, offsetof (struct pt_regs, areg[0])); in main()
48 DEFINE(PT_AREG0, offsetof (struct pt_regs, areg[0])); in main()
[all …]
/linux/arch/mips/kernel/
A Dkgdb.c57 { "at", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[1]) },
58 { "v0", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[2]) },
59 { "v1", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[3]) },
60 { "a0", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[4]) },
61 { "a1", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[5]) },
62 { "a2", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[6]) },
89 { "lo", GDB_SIZEOF_REG, offsetof(struct pt_regs, lo) },
90 { "hi", GDB_SIZEOF_REG, offsetof(struct pt_regs, hi) },
290 struct pt_regs *regs = args->regs; in kgdb_mips_notify()
325 struct pt_regs *regs, long err, int trap, int sig) in kgdb_ll_trap()
[all …]
/linux/arch/arc/kernel/
A Dasm-offsets.c50 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()
69 DEFINE(SZ_PT_REGS, sizeof(struct pt_regs)); in main()
72 OFFSET(PT_r12, pt_regs, r12); in main()
73 OFFSET(PT_r30, pt_regs, r30); in main()
76 OFFSET(PT_r58, pt_regs, r58); in main()
77 OFFSET(PT_r59, pt_regs, r59); in main()
[all …]
/linux/arch/nios2/kernel/
A Dasm-offsets.c29 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()
37 OFFSET(PT_R9, pt_regs, r9); in main()
44 OFFSET(PT_EA, pt_regs, ea); in main()
[all …]
A Dkgdb.c21 { "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) },
46 { "gp", GDB_SIZEOF_REG, offsetof(struct pt_regs, gp) },
[all …]
/linux/arch/riscv/include/asm/
A Dptrace.h15 struct pt_regs { struct
124 int do_syscall_trace_enter(struct pt_regs *regs);
125 void do_syscall_trace_exit(struct pt_regs *regs);
160 offsetof(struct pt_regs, a0), in regs_get_kernel_argument()
161 offsetof(struct pt_regs, a1), in regs_get_kernel_argument()
162 offsetof(struct pt_regs, a2), in regs_get_kernel_argument()
163 offsetof(struct pt_regs, a3), in regs_get_kernel_argument()
164 offsetof(struct pt_regs, a4), in regs_get_kernel_argument()
165 offsetof(struct pt_regs, a5), in regs_get_kernel_argument()
166 offsetof(struct pt_regs, a6), in regs_get_kernel_argument()
[all …]
/linux/include/linux/
A Dentry-common.h76 static __always_inline void arch_check_user_regs(struct pt_regs *regs);
121 void enter_from_user_mode(struct pt_regs *regs);
138 void syscall_enter_from_user_mode_prepare(struct pt_regs *regs);
225 static inline void arch_exit_to_user_mode_work(struct pt_regs *regs,
229 static inline void arch_exit_to_user_mode_work(struct pt_regs *regs, in arch_exit_to_user_mode_work()
334 void syscall_exit_to_user_mode_work(struct pt_regs *regs);
365 void syscall_exit_to_user_mode(struct pt_regs *regs);
378 void irqentry_enter_from_user_mode(struct pt_regs *regs);
393 void irqentry_exit_to_user_mode(struct pt_regs *regs);
450 irqentry_state_t noinstr irqentry_enter(struct pt_regs *regs);
[all …]
/linux/arch/powerpc/include/asm/
A Dptrace.h28 struct pt_regs struct
119 #define STACK_INT_FRAME_SIZE (sizeof(struct pt_regs) + \
153 extern unsigned long profile_pc(struct pt_regs *regs);
158 long do_syscall_trace_enter(struct pt_regs *regs);
159 void do_syscall_trace_leave(struct pt_regs *regs);
242 static inline bool trap_is_scv(struct pt_regs *regs) in trap_is_scv()
252 static inline bool trap_is_syscall(struct pt_regs *regs) in trap_is_syscall()
257 static inline bool trap_norestart(struct pt_regs *regs) in trap_norestart()
268 static inline int is_syscall_success(struct pt_regs *regs) in is_syscall_success()
276 static inline long regs_return_value(struct pt_regs *regs) in regs_return_value()
[all …]
A Ddebug.h10 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 …]
/linux/arch/riscv/kernel/
A Dkgdb.c139 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)},
239 int dbg_set_reg(int regno, void *mem, struct pt_regs *regs) in dbg_set_reg()
300 struct pt_regs *regs) in kgdb_arch_handle_exception()
[all …]
/linux/arch/ia64/kernel/
A Dasm-offsets.c27 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()
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()
91 DEFINE(IA64_PT_REGS_PR_OFFSET, offsetof (struct pt_regs, pr)); in foo()
92 DEFINE(IA64_PT_REGS_B0_OFFSET, offsetof (struct pt_regs, b0)); in foo()
94 DEFINE(IA64_PT_REGS_R1_OFFSET, offsetof (struct pt_regs, r1)); in foo()
100 DEFINE(IA64_PT_REGS_R2_OFFSET, offsetof (struct pt_regs, r2)); in foo()
101 DEFINE(IA64_PT_REGS_R3_OFFSET, offsetof (struct pt_regs, r3)); in foo()
[all …]
/linux/arch/x86/lib/
A Dinsn-eval.c421 offsetof(struct pt_regs, ax), in get_reg_offset()
422 offsetof(struct pt_regs, cx), in get_reg_offset()
423 offsetof(struct pt_regs, dx), in get_reg_offset()
424 offsetof(struct pt_regs, bx), in get_reg_offset()
425 offsetof(struct pt_regs, sp), in get_reg_offset()
426 offsetof(struct pt_regs, bp), in get_reg_offset()
427 offsetof(struct pt_regs, si), in get_reg_offset()
428 offsetof(struct pt_regs, di), in get_reg_offset()
430 offsetof(struct pt_regs, r8), in get_reg_offset()
431 offsetof(struct pt_regs, r9), in get_reg_offset()
[all …]
/linux/arch/x86/kernel/
A Dasm-offsets_32.c24 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 …]

Completed in 54 milliseconds

12345678910>>...49