Home
last modified time | relevance | path

Searched defs:thread_struct (Results 1 – 25 of 34) sorted by relevance

12

/arch/score/include/asm/
Dprocessor.h50 struct thread_struct { struct
51 unsigned long reg0, reg2, reg3;
52 unsigned long reg12, reg13, reg14, reg15, reg16;
53 unsigned long reg17, reg18, reg19, reg20, reg21;
55 unsigned long cp0_psr;
56 unsigned long cp0_ema; /* Last user fault */
57 unsigned long cp0_badvaddr; /* Last user fault */
58 unsigned long cp0_baduaddr; /* Last kernel fault accessing USEG */
59 unsigned long error_code;
60 unsigned long trap_no;
[all …]
/arch/powerpc/include/asm/
Dprocessor.h203 struct thread_struct { struct
204 unsigned long ksp; /* Kernel stack pointer */
207 unsigned long ksp_vsid;
209 struct pt_regs *regs; /* Pointer to saved register state */
210 mm_segment_t fs; /* for get_fs() validation */
213 unsigned long normsave[8] ____cacheline_aligned;
216 void *pgdir; /* root of page-table tree */
217 unsigned long ksp_limit; /* if ksp <= ksp_limit stack overflow */
220 struct debug_reg debug;
221 struct thread_fp_state fp_state;
[all …]
/arch/m68k/include/asm/
Dprocessor.h83 struct thread_struct { struct
84 unsigned long ksp; /* kernel stack pointer */
85 unsigned long usp; /* user stack pointer */
86 unsigned short sr; /* saved status register */
87 unsigned short fs; /* saved fs (sfc, dfc) */
88 unsigned long crp[2]; /* cpu root pointer */
89 unsigned long esp0; /* points to SR of stack frame */
90 unsigned long faddr; /* info about last fault */
91 int signo, code;
92 unsigned long fp[8*3];
[all …]
/arch/frv/include/asm/
Dprocessor.h42 struct thread_struct { struct
43 struct pt_regs *frame; /* [GR28] exception frame ptr for this thread */
44 struct task_struct *curr; /* [GR29] current pointer for this thread */
45 unsigned long sp; /* [GR1 ] kernel stack pointer */
46 unsigned long fp; /* [GR2 ] kernel frame pointer */
47 unsigned long lr; /* link register */
48 unsigned long pc; /* program counter */
49 unsigned long gr[12]; /* [GR16-GR27] */
50 unsigned long sched_lr; /* LR from schedule() */
52 union {
/arch/sparc/include/asm/
Dprocessor_32.h51 struct thread_struct { struct
52 struct pt_regs *kregs;
53 unsigned int _pad1;
56 unsigned long fork_kpsr __attribute__ ((aligned (8)));
57 unsigned long fork_kwim;
60 unsigned long float_regs[32] __attribute__ ((aligned (8)));
61 unsigned long fsr;
62 unsigned long fpqdepth;
63 struct fpq fpqueue[16];
64 unsigned long flags;
[all …]
/arch/c6x/include/asm/
Dprocessor.h54 struct thread_struct { struct
55 unsigned long long b15_14;
56 unsigned long long a15_14;
57 unsigned long long b13_12;
58 unsigned long long a13_12;
59 unsigned long long b11_10;
60 unsigned long long a11_10;
61 unsigned long long ricl_icl;
62 unsigned long usp; /* user stack pointer */
63 unsigned long pc; /* kernel pc */
[all …]
/arch/mips/include/asm/
Dprocessor.h254 struct thread_struct { struct
256 unsigned long reg16;
257 unsigned long reg17, reg18, reg19, reg20, reg21, reg22, reg23;
258 unsigned long reg29, reg30, reg31;
261 unsigned long cp0_status;
264 struct mips_fpu_struct fpu FPU_ALIGN;
266 atomic_t bd_emu_frame;
268 unsigned long bd_emu_branch_pc;
270 unsigned long bd_emu_cont_pc;
273 unsigned long emulated_fp;
[all …]
/arch/um/include/asm/
Dprocessor-generic.h21 struct thread_struct { struct
22 struct pt_regs regs;
23 struct pt_regs *segv_regs;
24 int singlestep_syscall;
25 void *fault_addr;
26 jmp_buf *fault_catcher;
27 struct task_struct *prev_sched;
28 struct arch_thread arch;
29 jmp_buf switch_buf;
30 struct {
[all …]
/arch/mn10300/include/asm/
Dprocessor.h95 struct thread_struct { struct
96 struct pt_regs *uregs; /* userspace register frame */
97 unsigned long pc; /* kernel PC */
98 unsigned long sp; /* kernel SP */
99 unsigned long a3; /* kernel FP */
100 unsigned long wchan;
101 unsigned long usp;
102 unsigned long fpu_flags;
105 struct fpu_state_struct fpu_state;
/arch/h8300/include/asm/
Dprocessor.h56 struct thread_struct { struct
57 unsigned long ksp; /* kernel stack pointer */
58 unsigned long usp; /* user stack pointer */
59 unsigned long ccr; /* saved status register */
60 unsigned long esp0; /* points to SR of stack frame */
61 struct {
64 } breakinfo;
/arch/blackfin/include/asm/
Dprocessor.h53 struct thread_struct { struct
54 unsigned long ksp; /* kernel stack pointer */
55 unsigned long usp; /* user stack pointer */
56 unsigned short seqstat; /* saved status register */
57 unsigned long esp0; /* points to SR of stack frame pt_regs */
58 unsigned long pc; /* instruction pointer */
59 void * debuggerinfo;
/arch/s390/include/asm/
Dprocessor.h112 struct thread_struct { struct
113 unsigned int acrs[NUM_ACRS];
114 unsigned long ksp; /* kernel stack pointer */
115 mm_segment_t mm_segment;
116 unsigned long gmap_addr; /* address of last gmap fault. */
117 unsigned int gmap_write_flag; /* gmap fault write indication */
118 unsigned int gmap_int_code; /* int code of last gmap fault */
119 unsigned int gmap_pfault; /* signal of a pending guest pfault */
120 struct per_regs per_user; /* User specified PER registers */
121 struct per_event per_event; /* Cause of the last PER trap */
[all …]
/arch/cris/include/arch-v32/arch/
Dprocessor.h16 struct thread_struct { struct
17 unsigned long ksp; /* Kernel stack pointer. */
18 unsigned long usp; /* User stack pointer. */
19 unsigned long ccs; /* Saved flags register. */
/arch/cris/include/arch-v10/arch/
Dprocessor.h20 struct thread_struct { struct
21 unsigned long ksp; /* kernel stack pointer */
22 unsigned long usp; /* user stack pointer */
23 unsigned long dccr; /* saved flag register */
/arch/sh/include/asm/
Dprocessor_64.h107 struct thread_struct { struct
108 unsigned long sp;
109 unsigned long pc;
112 unsigned long flags;
118 struct pt_regs *kregs;
122 struct pt_regs *uregs;
124 unsigned long address;
128 union thread_xstate *xstate;
138 unsigned char fpu_counter;
Dprocessor_32.h96 struct thread_struct { struct
98 unsigned long sp;
99 unsigned long pc;
102 unsigned long flags;
105 struct perf_event *ptrace_bps[HBP_NUM];
109 struct sh_dsp_struct dsp_status;
113 union thread_xstate *xstate;
123 unsigned char fpu_counter;
/arch/tile/include/asm/
Dprocessor.h93 struct thread_struct { struct
95 unsigned long ksp;
97 unsigned long pc;
99 unsigned long usp0;
101 pid_t creator_pid;
104 struct tile_dma_state tile_dma_state;
107 unsigned long ex_context[2];
109 unsigned long system_save[4];
111 unsigned long long interrupt_mask;
113 unsigned long intctrl_0;
[all …]
/arch/unicore32/include/asm/
Dprocessor.h42 struct thread_struct { struct
44 unsigned long address;
45 unsigned long trap_no;
46 unsigned long error_code;
48 struct debug_info debug;
/arch/xtensa/include/asm/
Dprocessor.h120 struct thread_struct { struct
123 unsigned long ra; /* kernel's a0: return address and window call size */
124 unsigned long sp; /* kernel's a1: stack pointer */
126 mm_segment_t current_ds; /* see uaccess.h for example uses */
130 unsigned long bad_vaddr; /* last user fault */
131 unsigned long bad_uaddr; /* last kernel fault accessing user space */
132 unsigned long error_code;
134 struct perf_event *ptrace_bp[XCHAL_NUM_IBREAK];
135 struct perf_event *ptrace_wp[XCHAL_NUM_DBREAK];
138 int align[0] __attribute__ ((aligned(16)));
/arch/m32r/include/asm/
Dprocessor.h85 struct thread_struct { struct
86 unsigned long address;
87 unsigned long trap_no; /* Trap number */
88 unsigned long error_code; /* Error code of trap */
89 unsigned long lr; /* saved pc */
90 unsigned long sp; /* user stack pointer */
91 struct debug_trap debug_trap;
/arch/microblaze/include/asm/
Dprocessor.h65 struct thread_struct { }; struct
107 struct thread_struct { struct
109 unsigned long ksp;
110 unsigned long ksp_limit; /* if ksp <= ksp_limit stack overflow */
111 void *pgdir; /* root of page-table tree */
112 struct pt_regs *regs; /* Pointer to saved register state */
/arch/nios2/include/asm/
Dprocessor.h51 struct thread_struct { struct
52 struct pt_regs *kregs;
55 unsigned long ksp;
56 unsigned long kpsr;
/arch/arm/include/asm/
Dprocessor.h39 struct thread_struct { struct
41 unsigned long address;
42 unsigned long trap_no;
43 unsigned long error_code;
45 struct debug_info debug;
/arch/arc/include/asm/
Dprocessor.h34 struct thread_struct { struct
35 unsigned long ksp; /* kernel mode stack pointer */
36 unsigned long callee_reg; /* pointer to callee regs */
37 unsigned long fault_address; /* dbls as brkpt holder as well */
39 struct arc_fpu fpu;
/arch/metag/include/asm/
Dprocessor.h77 struct thread_struct { struct
78 PTBICTX kernel_context;
80 unsigned int user_flags;
81 struct meta_fpu_context *fpu_context;
82 void __user *tls_ptr;
83 unsigned short int_depth;
84 unsigned short txdefr_failure;
85 struct meta_ext_context *dsp_context;

12