Home
last modified time | relevance | path

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

12345678910>>...42

/arch/c6x/kernel/
Dasm-offsets.c15 OFFSET(REGS_A16, pt_regs, a16); in foo()
16 OFFSET(REGS_A17, pt_regs, a17); in foo()
17 OFFSET(REGS_A18, pt_regs, a18); in foo()
18 OFFSET(REGS_A19, pt_regs, a19); in foo()
19 OFFSET(REGS_A20, pt_regs, a20); in foo()
20 OFFSET(REGS_A21, pt_regs, a21); in foo()
21 OFFSET(REGS_A22, pt_regs, a22); in foo()
22 OFFSET(REGS_A23, pt_regs, a23); in foo()
23 OFFSET(REGS_A24, pt_regs, a24); in foo()
24 OFFSET(REGS_A25, pt_regs, a25); in foo()
[all …]
/arch/sparc/kernel/
Dentry.h9 void handler_irq(int irq, struct pt_regs *regs);
13 void do_hw_interrupt(struct pt_regs *regs, unsigned long type);
14 void do_illegal_instruction(struct pt_regs *regs, unsigned long pc,
17 void do_priv_instruction(struct pt_regs *regs, unsigned long pc,
19 void do_memaccess_unaligned(struct pt_regs *regs, unsigned long pc,
21 void do_fpd_trap(struct pt_regs *regs, unsigned long pc,
23 void do_fpe_trap(struct pt_regs *regs, unsigned long pc,
25 void handle_tag_overflow(struct pt_regs *regs, unsigned long pc,
27 void handle_watchpoint(struct pt_regs *regs, unsigned long pc,
29 void handle_reg_access(struct pt_regs *regs, unsigned long pc,
[all …]
Dkernel.h32 asmlinkage void kernel_unaligned_trap(struct pt_regs *regs, unsigned int insn);
33 int handle_popc(u32 insn, struct pt_regs *regs);
34 void handle_lddfmna(struct pt_regs *regs, unsigned long sfar, unsigned long sfsr);
35 void handle_stdfmna(struct pt_regs *regs, unsigned long sfar, unsigned long sfsr);
38 void __irq_entry smp_call_function_client(int irq, struct pt_regs *regs);
39 void __irq_entry smp_call_function_single_client(int irq, struct pt_regs *regs);
40 void __irq_entry smp_new_mmu_context_version_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);
[all …]
/arch/s390/kernel/
Dentry.h21 asmlinkage long do_syscall_trace_enter(struct pt_regs *regs);
22 asmlinkage void do_syscall_trace_exit(struct pt_regs *regs);
26 void do_protection_exception(struct pt_regs *regs);
27 void do_dat_exception(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);
32 void divide_exception(struct pt_regs *regs);
33 void execute_exception(struct pt_regs *regs);
34 void hfp_divide_exception(struct pt_regs *regs);
[all …]
/arch/hexagon/kernel/
Dkgdb.c32 { " r0", GDB_SIZEOF_REG, offsetof(struct pt_regs, r00)},
33 { " r1", GDB_SIZEOF_REG, offsetof(struct pt_regs, r01)},
34 { " r2", GDB_SIZEOF_REG, offsetof(struct pt_regs, r02)},
35 { " r3", GDB_SIZEOF_REG, offsetof(struct pt_regs, r03)},
36 { " r4", GDB_SIZEOF_REG, offsetof(struct pt_regs, r04)},
37 { " r5", GDB_SIZEOF_REG, offsetof(struct pt_regs, r05)},
38 { " r6", GDB_SIZEOF_REG, offsetof(struct pt_regs, r06)},
39 { " r7", GDB_SIZEOF_REG, offsetof(struct pt_regs, r07)},
40 { " r8", GDB_SIZEOF_REG, offsetof(struct pt_regs, r08)},
41 { " r9", GDB_SIZEOF_REG, offsetof(struct pt_regs, r09)},
[all …]
Dasm-offsets.c46 OFFSET(_PT_SYSCALL_NR, pt_regs, syscall_nr); in main()
47 OFFSET(_PT_GPUGP, pt_regs, gpugp); in main()
48 OFFSET(_PT_CS1CS0, pt_regs, cs1cs0); in main()
49 OFFSET(_PT_R3130, pt_regs, r3130); in main()
50 OFFSET(_PT_R2928, pt_regs, r2928); in main()
51 OFFSET(_PT_R2726, pt_regs, r2726); in main()
52 OFFSET(_PT_R2524, pt_regs, r2524); in main()
53 OFFSET(_PT_R2322, pt_regs, r2322); in main()
54 OFFSET(_PT_R2120, pt_regs, r2120); in main()
55 OFFSET(_PT_R1918, pt_regs, r1918); in main()
[all …]
/arch/blackfin/kernel/
Dasm-offsets.c46 DEFINE(PT_ORIG_R0, offsetof(struct pt_regs, orig_r0)); in main()
47 DEFINE(PT_ORIG_P0, offsetof(struct pt_regs, orig_p0)); in main()
48 DEFINE(PT_ORIG_PC, offsetof(struct pt_regs, orig_pc)); in main()
49 DEFINE(PT_R0, offsetof(struct pt_regs, r0)); in main()
50 DEFINE(PT_R1, offsetof(struct pt_regs, r1)); in main()
51 DEFINE(PT_R2, offsetof(struct pt_regs, r2)); in main()
52 DEFINE(PT_R3, offsetof(struct pt_regs, r3)); in main()
53 DEFINE(PT_R4, offsetof(struct pt_regs, r4)); in main()
54 DEFINE(PT_R5, offsetof(struct pt_regs, r5)); in main()
55 DEFINE(PT_R6, offsetof(struct pt_regs, r6)); in main()
[all …]
/arch/arm64/kernel/
Dkgdb.c28 { "x0", 8, offsetof(struct pt_regs, regs[0])},
29 { "x1", 8, offsetof(struct pt_regs, regs[1])},
30 { "x2", 8, offsetof(struct pt_regs, regs[2])},
31 { "x3", 8, offsetof(struct pt_regs, regs[3])},
32 { "x4", 8, offsetof(struct pt_regs, regs[4])},
33 { "x5", 8, offsetof(struct pt_regs, regs[5])},
34 { "x6", 8, offsetof(struct pt_regs, regs[6])},
35 { "x7", 8, offsetof(struct pt_regs, regs[7])},
36 { "x8", 8, offsetof(struct pt_regs, regs[8])},
37 { "x9", 8, offsetof(struct pt_regs, regs[9])},
[all …]
/arch/powerpc/include/asm/
Ddebug.h9 struct pt_regs;
15 extern int (*__debugger)(struct pt_regs *regs);
16 extern int (*__debugger_ipi)(struct pt_regs *regs);
17 extern int (*__debugger_bpt)(struct pt_regs *regs);
18 extern int (*__debugger_sstep)(struct pt_regs *regs);
19 extern int (*__debugger_iabr_match)(struct pt_regs *regs);
20 extern int (*__debugger_break_match)(struct pt_regs *regs);
21 extern int (*__debugger_fault_handler)(struct pt_regs *regs);
24 static inline int __NAME(struct pt_regs *regs) \
40 static inline int debugger(struct pt_regs *regs) { return 0; }
[all …]
/arch/xtensa/kernel/
Dasm-offsets.c31 DEFINE(PT_PC, offsetof (struct pt_regs, pc)); in main()
32 DEFINE(PT_PS, offsetof (struct pt_regs, ps)); in main()
33 DEFINE(PT_DEPC, offsetof (struct pt_regs, depc)); in main()
34 DEFINE(PT_EXCCAUSE, offsetof (struct pt_regs, exccause)); in main()
35 DEFINE(PT_EXCVADDR, offsetof (struct pt_regs, excvaddr)); in main()
36 DEFINE(PT_DEBUGCAUSE, offsetof (struct pt_regs, debugcause)); in main()
37 DEFINE(PT_WMASK, offsetof (struct pt_regs, wmask)); in main()
38 DEFINE(PT_LBEG, offsetof (struct pt_regs, lbeg)); in main()
39 DEFINE(PT_LEND, offsetof (struct pt_regs, lend)); in main()
40 DEFINE(PT_LCOUNT, offsetof (struct pt_regs, lcount)); in main()
[all …]
/arch/unicore32/kernel/
Dasm-offsets.c53 DEFINE(S_R0, offsetof(struct pt_regs, UCreg_00)); in main()
54 DEFINE(S_R1, offsetof(struct pt_regs, UCreg_01)); in main()
55 DEFINE(S_R2, offsetof(struct pt_regs, UCreg_02)); in main()
56 DEFINE(S_R3, offsetof(struct pt_regs, UCreg_03)); in main()
57 DEFINE(S_R4, offsetof(struct pt_regs, UCreg_04)); in main()
58 DEFINE(S_R5, offsetof(struct pt_regs, UCreg_05)); in main()
59 DEFINE(S_R6, offsetof(struct pt_regs, UCreg_06)); in main()
60 DEFINE(S_R7, offsetof(struct pt_regs, UCreg_07)); in main()
61 DEFINE(S_R8, offsetof(struct pt_regs, UCreg_08)); in main()
62 DEFINE(S_R9, offsetof(struct pt_regs, UCreg_09)); in main()
[all …]
/arch/tile/kernel/
Dkgdb.c29 { "r0", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[0])},
30 { "r1", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[1])},
31 { "r2", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[2])},
32 { "r3", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[3])},
33 { "r4", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[4])},
34 { "r5", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[5])},
35 { "r6", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[6])},
36 { "r7", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[7])},
37 { "r8", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[8])},
38 { "r9", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[9])},
[all …]
/arch/x86/include/asm/
Dtraps.h58 dotraplinkage void do_divide_error(struct pt_regs *, long);
59 dotraplinkage void do_debug(struct pt_regs *, long);
60 dotraplinkage void do_nmi(struct pt_regs *, long);
61 dotraplinkage void do_int3(struct pt_regs *, long);
62 dotraplinkage void do_overflow(struct pt_regs *, long);
63 dotraplinkage void do_bounds(struct pt_regs *, long);
64 dotraplinkage void do_invalid_op(struct pt_regs *, long);
65 dotraplinkage void do_device_not_available(struct pt_regs *, long);
66 dotraplinkage void do_coprocessor_segment_overrun(struct pt_regs *, long);
67 dotraplinkage void do_invalid_TSS(struct pt_regs *, long);
[all …]
Dkmemcheck.h8 bool kmemcheck_active(struct pt_regs *regs);
10 void kmemcheck_show(struct pt_regs *regs);
11 void kmemcheck_hide(struct pt_regs *regs);
13 bool kmemcheck_fault(struct pt_regs *regs,
15 bool kmemcheck_trap(struct pt_regs *regs);
17 static inline bool kmemcheck_active(struct pt_regs *regs) in kmemcheck_active()
22 static inline void kmemcheck_show(struct pt_regs *regs) in kmemcheck_show()
26 static inline void kmemcheck_hide(struct pt_regs *regs) in kmemcheck_hide()
30 static inline bool kmemcheck_fault(struct pt_regs *regs, in kmemcheck_fault()
36 static inline bool kmemcheck_trap(struct pt_regs *regs) in kmemcheck_trap()
Dptrace.h11 struct pt_regs { struct
33 struct pt_regs { argument
70 extern unsigned long profile_pc(struct pt_regs *regs); argument
74 convert_ip_to_linear(struct task_struct *child, struct pt_regs *regs);
75 extern void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs,
79 extern unsigned long syscall_trace_enter_phase1(struct pt_regs *, u32 arch);
80 extern long syscall_trace_enter_phase2(struct pt_regs *, u32 arch,
83 extern long syscall_trace_enter(struct pt_regs *);
84 extern void syscall_trace_leave(struct pt_regs *);
86 static inline unsigned long regs_return_value(struct pt_regs *regs) in regs_return_value()
[all …]
/arch/microblaze/kernel/
Dasm-offsets.c24 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/
Dkgdb.c114 int kgdb_skipexception(int exception, struct pt_regs *regs) in kgdb_skipexception()
119 static int kgdb_call_nmi_hook(struct pt_regs *regs) in kgdb_call_nmi_hook()
133 static int kgdb_debugger(struct pt_regs *regs) in kgdb_debugger()
139 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()
191 static int kgdb_iabr_match(struct pt_regs *regs) in kgdb_iabr_match()
201 static int kgdb_break_match(struct pt_regs *regs) in kgdb_break_match()
222 struct pt_regs *regs = (struct pt_regs *)(p->thread.ksp + in sleeping_thread_to_gdb_regs()
274 { "r0", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[0]) },
275 { "r1", GDB_SIZEOF_REG, offsetof(struct pt_regs, gpr[1]) },
[all …]
/arch/score/kernel/
Dasm-offsets.c36 OFFSET(PT_R0, pt_regs, regs[0]); in output_ptreg_defines()
37 OFFSET(PT_R1, pt_regs, regs[1]); in output_ptreg_defines()
38 OFFSET(PT_R2, pt_regs, regs[2]); in output_ptreg_defines()
39 OFFSET(PT_R3, pt_regs, regs[3]); in output_ptreg_defines()
40 OFFSET(PT_R4, pt_regs, regs[4]); in output_ptreg_defines()
41 OFFSET(PT_R5, pt_regs, regs[5]); in output_ptreg_defines()
42 OFFSET(PT_R6, pt_regs, regs[6]); in output_ptreg_defines()
43 OFFSET(PT_R7, pt_regs, regs[7]); in output_ptreg_defines()
44 OFFSET(PT_R8, pt_regs, regs[8]); in output_ptreg_defines()
45 OFFSET(PT_R9, pt_regs, regs[9]); in output_ptreg_defines()
[all …]
/arch/mn10300/kernel/
Dasm-offsets.c33 OFFSET(REG_D0, pt_regs, d0); in foo()
34 OFFSET(REG_D1, pt_regs, d1); in foo()
35 OFFSET(REG_D2, pt_regs, d2); in foo()
36 OFFSET(REG_D3, pt_regs, d3); in foo()
37 OFFSET(REG_A0, pt_regs, a0); in foo()
38 OFFSET(REG_A1, pt_regs, a1); in foo()
39 OFFSET(REG_A2, pt_regs, a2); in foo()
40 OFFSET(REG_A3, pt_regs, a3); in foo()
41 OFFSET(REG_E0, pt_regs, e0); in foo()
42 OFFSET(REG_E1, pt_regs, e1); in foo()
[all …]
/arch/mips/kernel/
Dkgdb.c56 { "zero", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[0]) },
57 { "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]) },
63 { "a3", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[7]) },
64 { "t0", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[8]) },
65 { "t1", GDB_SIZEOF_REG, offsetof(struct pt_regs, regs[9]) },
[all …]
/arch/s390/include/asm/
Dmathemu.h12 extern int math_emu_b3(__u8 *, struct pt_regs *);
13 extern int math_emu_ed(__u8 *, struct pt_regs *);
16 extern int math_emu_std(__u8 *, struct pt_regs *);
17 extern int math_emu_ld(__u8 *, struct pt_regs *);
18 extern int math_emu_ste(__u8 *, struct pt_regs *);
19 extern int math_emu_le(__u8 *, struct pt_regs *);
20 extern int math_emu_lfpc(__u8 *, struct pt_regs *);
21 extern int math_emu_stfpc(__u8 *, struct pt_regs *);
22 extern int math_emu_srnm(__u8 *, struct pt_regs *);
/arch/tile/include/asm/
Dtraps.h22 void do_page_fault(struct pt_regs *, int fault_num,
25 void do_async_page_fault(struct pt_regs *);
40 struct intvec_state do_page_fault_ics(struct pt_regs *regs, int fault_num,
46 void do_trap(struct pt_regs *, int fault_num, unsigned long reason);
50 void do_timer_interrupt(struct pt_regs *, int fault_num);
53 void hv_message_intr(struct pt_regs *, int intnum);
56 void tile_dev_intr(struct pt_regs *, int intnum);
60 void do_hardwall_trap(struct pt_regs *, int fault_num);
64 void do_breakpoint(struct pt_regs *, int fault_num);
69 void gx_singlestep_handle(struct pt_regs *, int fault_num);
[all …]
/arch/mips/include/asm/
Dbranch.h16 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 extern int __mm_isBranchInstr(struct pt_regs *regs,
33 static inline int mm_isBranchInstr(struct pt_regs *regs, in mm_isBranchInstr()
42 static inline int delay_slot(struct pt_regs *regs) in delay_slot()
47 static inline void clear_delay_slot(struct pt_regs *regs) in clear_delay_slot()
52 static inline void set_delay_slot(struct pt_regs *regs) in set_delay_slot()
[all …]
/arch/parisc/kernel/
Dasm-offsets.c156 DEFINE(PT_PSW, offsetof(struct pt_regs, gr[ 0])); in main()
157 DEFINE(PT_GR1, offsetof(struct pt_regs, gr[ 1])); in main()
158 DEFINE(PT_GR2, offsetof(struct pt_regs, gr[ 2])); in main()
159 DEFINE(PT_GR3, offsetof(struct pt_regs, gr[ 3])); in main()
160 DEFINE(PT_GR4, offsetof(struct pt_regs, gr[ 4])); in main()
161 DEFINE(PT_GR5, offsetof(struct pt_regs, gr[ 5])); in main()
162 DEFINE(PT_GR6, offsetof(struct pt_regs, gr[ 6])); in main()
163 DEFINE(PT_GR7, offsetof(struct pt_regs, gr[ 7])); in main()
164 DEFINE(PT_GR8, offsetof(struct pt_regs, gr[ 8])); in main()
165 DEFINE(PT_GR9, offsetof(struct pt_regs, gr[ 9])); in main()
[all …]
/arch/metag/include/asm/
Dptrace.h13 struct pt_regs { struct
24 ((struct pt_regs *)(task_stack_page(task) + \ argument
28 ((struct pt_regs *)((char *)current_thread_info() + \
31 int syscall_trace_enter(struct pt_regs *regs);
32 void syscall_trace_leave(struct pt_regs *regs);
35 int metag_gp_regs_copyout(const struct pt_regs *regs,
39 int metag_gp_regs_copyin(struct pt_regs *regs,
43 int metag_cb_regs_copyout(const struct pt_regs *regs,
47 int metag_cb_regs_copyin(struct pt_regs *regs,
51 int metag_rp_state_copyout(const struct pt_regs *regs,
[all …]

12345678910>>...42