Home
last modified time | relevance | path

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

/linux-4.4.14/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 …]
/linux-4.4.14/arch/powerpc/include/asm/
Dprocessor.h209 struct thread_struct { struct
210 unsigned long ksp; /* Kernel stack pointer */
213 unsigned long ksp_vsid;
215 struct pt_regs *regs; /* Pointer to saved register state */
216 mm_segment_t fs; /* for get_fs() validation */
219 unsigned long normsave[8] ____cacheline_aligned;
222 void *pgdir; /* root of page-table tree */
223 unsigned long ksp_limit; /* if ksp <= ksp_limit stack overflow */
226 struct debug_reg debug;
227 struct thread_fp_state fp_state;
[all …]
/linux-4.4.14/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 …]
/linux-4.4.14/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 …]
Dprocessor_64.h65 struct thread_struct { struct
71 int smp_lock_count;
72 unsigned int smp_lock_pc;
/linux-4.4.14/arch/mips/include/asm/
Dprocessor.h244 struct thread_struct { struct
246 unsigned long reg16;
247 unsigned long reg17, reg18, reg19, reg20, reg21, reg22, reg23;
248 unsigned long reg29, reg30, reg31;
251 unsigned long cp0_status;
254 struct mips_fpu_struct fpu FPU_ALIGN;
257 unsigned long emulated_fp;
259 cpumask_t user_cpus_allowed;
263 struct mips_dsp_state dsp;
266 union mips_watch_reg_state watch;
[all …]
/linux-4.4.14/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 …]
/linux-4.4.14/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 {
/linux-4.4.14/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 …]
/linux-4.4.14/arch/mn10300/include/asm/
Dprocessor.h96 struct thread_struct { struct
97 struct pt_regs *uregs; /* userspace register frame */
98 unsigned long pc; /* kernel PC */
99 unsigned long sp; /* kernel SP */
100 unsigned long a3; /* kernel FP */
101 unsigned long wchan;
102 unsigned long usp;
103 unsigned long fpu_flags;
106 struct fpu_state_struct fpu_state;
/linux-4.4.14/arch/s390/include/asm/
Dprocessor.h95 struct thread_struct { struct
96 struct fpu fpu; /* FP and VX register save area */
97 unsigned int acrs[NUM_ACRS];
98 unsigned long ksp; /* kernel stack pointer */
99 mm_segment_t mm_segment;
123 typedef struct thread_struct thread_struct; argument
/linux-4.4.14/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 …]
/linux-4.4.14/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;
/linux-4.4.14/arch/xtensa/include/asm/
Dprocessor.h122 struct thread_struct { struct
125 unsigned long ra; /* kernel's a0: return address and window call size */
126 unsigned long sp; /* kernel's a1: stack pointer */
128 mm_segment_t current_ds; /* see uaccess.h for example uses */
132 unsigned long bad_vaddr; /* last user fault */
133 unsigned long bad_uaddr; /* last kernel fault accessing user space */
134 unsigned long error_code;
136 unsigned long ibreak[XCHAL_NUM_IBREAK];
137 unsigned long dbreaka[XCHAL_NUM_DBREAK];
138 unsigned long dbreakc[XCHAL_NUM_DBREAK];
[all …]
/linux-4.4.14/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;
/linux-4.4.14/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;
/linux-4.4.14/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. */
/linux-4.4.14/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;
/linux-4.4.14/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;
/linux-4.4.14/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 */
/linux-4.4.14/arch/microblaze/include/asm/
Dprocessor.h65 struct thread_struct { }; struct
112 struct thread_struct { struct
114 unsigned long ksp;
115 unsigned long ksp_limit; /* if ksp <= ksp_limit stack overflow */
116 void *pgdir; /* root of page-table tree */
117 struct pt_regs *regs; /* Pointer to saved register state */
/linux-4.4.14/arch/arm64/include/asm/
Dprocessor.h79 struct thread_struct { struct
80 struct cpu_context cpu_context; /* cpu context */
81 unsigned long tp_value; /* TLS register */
83 unsigned long tp2_value;
85 struct fpsimd_state fpsimd_state;
86 unsigned long fault_address; /* fault info */
87 unsigned long fault_code; /* ESR_EL1 value */
88 struct debug_info debug; /* debugging */
/linux-4.4.14/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;
/linux-4.4.14/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;
/linux-4.4.14/arch/nios2/include/asm/
Dprocessor.h51 struct thread_struct { struct
52 struct pt_regs *kregs;
55 unsigned long ksp;
56 unsigned long kpsr;
/linux-4.4.14/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;
/linux-4.4.14/arch/x86/include/asm/
Dprocessor.h372 struct thread_struct { struct
374 struct desc_struct tls_array[GDT_ENTRY_TLS_ENTRIES];
375 unsigned long sp0;
376 unsigned long sp;
378 unsigned long sysenter_cs;
380 unsigned short es;
381 unsigned short ds;
382 unsigned short fsindex;
383 unsigned short gsindex;
386 unsigned long ip;
[all …]
/linux-4.4.14/arch/parisc/include/asm/
Dprocessor.h126 struct thread_struct { struct
127 struct pt_regs regs;
128 unsigned long task_size;
129 unsigned long map_base;
130 unsigned long flags;
/linux-4.4.14/arch/ia64/include/asm/
Dprocessor.h275 struct thread_struct { struct
276 __u32 flags; /* various thread flags (see IA64_THREAD_*) */
278 __u8 on_ustack; /* executing on user-stacks? */
279 __u8 pad[3];
280 __u64 ksp; /* kernel stack pointer */
281 __u64 map_base; /* base address for get_unmapped_area() */
282 __u64 rbs_bot; /* the base address for the RBS */
283 int last_fph_cpu; /* CPU that may hold the contents of f32-f127 */
286 void *pfm_context; /* pointer to detailed PMU context */
287 unsigned long pfm_needs_checking; /* when >0, pending perfmon work on kernel exit */
[all …]
/linux-4.4.14/arch/avr32/include/asm/
Dprocessor.h113 struct thread_struct { struct
114 struct cpu_context cpu_context;
115 unsigned long single_step_addr;
116 u16 single_step_insn;
/linux-4.4.14/arch/hexagon/include/asm/
Dprocessor.h45 struct thread_struct { struct
50 * initializes thread_struct argument
/linux-4.4.14/arch/openrisc/include/asm/
Dprocessor.h55 struct thread_struct { struct
/linux-4.4.14/arch/alpha/include/asm/
Dprocessor.h39 struct thread_struct { }; struct