Home
last modified time | relevance | path

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

12

/kernel/linux/linux-6.6/arch/powerpc/include/asm/
Dprocessor.h133 struct thread_struct { struct
134 unsigned long ksp; /* Kernel stack pointer */
137 unsigned long ksp_vsid;
139 struct pt_regs *regs; /* Pointer to saved register state */
142 unsigned long normsave[8] ____cacheline_aligned;
145 void *pgdir; /* root of page-table tree */
147 unsigned long rtas_sp; /* stack pointer for when in RTAS */
150 unsigned long kuap; /* opened segments for user access */
152 unsigned long srr0;
153 unsigned long srr1;
[all …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dprocessor.h140 struct thread_struct { struct
141 unsigned long ksp; /* Kernel stack pointer */
144 unsigned long ksp_vsid;
146 struct pt_regs *regs; /* Pointer to saved register state */
149 unsigned long normsave[8] ____cacheline_aligned;
152 void *pgdir; /* root of page-table tree */
153 unsigned long ksp_limit; /* if ksp <= ksp_limit stack overflow */
155 unsigned long rtas_sp; /* stack pointer for when in RTAS */
159 unsigned long kuap; /* opened segments for user access */
162 unsigned long srr0;
[all …]
/kernel/linux/linux-6.6/arch/loongarch/include/asm/
Dprocessor.h110 struct thread_struct { struct
112 unsigned long reg01, reg03, reg22; /* ra sp fp */
113 unsigned long reg23, reg24, reg25, reg26; /* s0-s3 */
114 unsigned long reg27, reg28, reg29, reg30, reg31; /* s4-s8 */
117 unsigned long sched_ra;
118 unsigned long sched_cfa;
121 unsigned long csr_prmd;
122 unsigned long csr_crmd;
123 unsigned long csr_euen;
124 unsigned long csr_ecfg;
[all …]
/kernel/linux/linux-5.10/arch/loongarch/include/asm/
Dprocessor.h117 struct thread_struct { struct
119 unsigned long reg01, reg03, reg22; /* ra sp fp */
120 unsigned long reg23, reg24, reg25, reg26; /* s0-s3 */
121 unsigned long reg27, reg28, reg29, reg30, reg31; /* s4-s8 */
124 unsigned long sched_ra;
125 unsigned long sched_cfa;
128 unsigned long csr_prmd;
129 unsigned long csr_crmd;
130 unsigned long csr_euen;
131 unsigned long csr_ecfg;
[all …]
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dprocessor.h110 struct thread_struct { struct
111 unsigned int acrs[NUM_ACRS];
112 unsigned long ksp; /* kernel stack pointer */
113 unsigned long user_timer; /* task cputime in user space */
114 unsigned long guest_timer; /* task cputime in kvm guest */
115 unsigned long system_timer; /* task cputime in kernel space */
116 unsigned long hardirq_timer; /* task cputime in hardirq context */
117 unsigned long softirq_timer; /* task cputime in softirq context */
118 unsigned long sys_call_table; /* system call table address */
119 mm_segment_t mm_segment;
[all …]
/kernel/linux/linux-6.6/arch/s390/include/asm/
Dprocessor.h158 struct thread_struct { struct
159 unsigned int acrs[NUM_ACRS];
160 unsigned long ksp; /* kernel stack pointer */
161 unsigned long user_timer; /* task cputime in user space */
162 unsigned long guest_timer; /* task cputime in kvm guest */
163 unsigned long system_timer; /* task cputime in kernel space */
164 unsigned long hardirq_timer; /* task cputime in hardirq context */
165 unsigned long softirq_timer; /* task cputime in softirq context */
166 const sys_call_ptr_t *sys_call_table; /* system call table address */
167 unsigned long gmap_addr; /* address of last gmap fault. */
[all …]
/kernel/linux/linux-6.6/arch/mips/include/asm/
Dprocessor.h229 struct thread_struct { struct
231 unsigned long reg16;
232 unsigned long reg17, reg18, reg19, reg20, reg21, reg22, reg23;
233 unsigned long reg29, reg30, reg31;
236 unsigned long cp0_status;
240 struct mips_fpu_struct fpu FPU_ALIGN;
242 atomic_t bd_emu_frame;
244 unsigned long bd_emu_branch_pc;
246 unsigned long bd_emu_cont_pc;
250 unsigned long emulated_fp;
[all …]
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dprocessor.h78 struct thread_struct { struct
79 unsigned long ksp; /* kernel stack pointer */
80 unsigned long usp; /* user stack pointer */
81 unsigned short sr; /* saved status register */
82 unsigned short fs; /* saved fs (sfc, dfc) */
83 unsigned long crp[2]; /* cpu root pointer */
84 unsigned long esp0; /* points to SR of stack frame */
85 unsigned long faddr; /* info about last fault */
86 int signo, code;
87 unsigned long fp[8*3];
[all …]
/kernel/linux/linux-5.10/arch/c6x/include/asm/
Dprocessor.h40 struct thread_struct { struct
41 unsigned long long b15_14;
42 unsigned long long a15_14;
43 unsigned long long b13_12;
44 unsigned long long a13_12;
45 unsigned long long b11_10;
46 unsigned long long a11_10;
47 unsigned long long ricl_icl;
48 unsigned long usp; /* user stack pointer */
49 unsigned long pc; /* kernel pc */
[all …]
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dprocessor.h246 struct thread_struct { struct
248 unsigned long reg16;
249 unsigned long reg17, reg18, reg19, reg20, reg21, reg22, reg23;
250 unsigned long reg29, reg30, reg31;
253 unsigned long cp0_status;
257 struct mips_fpu_struct fpu FPU_ALIGN;
259 atomic_t bd_emu_frame;
261 unsigned long bd_emu_branch_pc;
263 unsigned long bd_emu_cont_pc;
267 unsigned long emulated_fp;
[all …]
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dprocessor_32.h40 struct thread_struct { struct
41 struct pt_regs *kregs;
42 unsigned int _pad1;
45 unsigned long fork_kpsr __attribute__ ((aligned (8)));
46 unsigned long fork_kwim;
49 unsigned long float_regs[32] __attribute__ ((aligned (8)));
50 unsigned long fsr;
51 unsigned long fpqdepth;
52 struct fpq fpqueue[16];
53 unsigned long flags;
[all …]
/kernel/linux/linux-6.6/arch/m68k/include/asm/
Dprocessor.h103 struct thread_struct { struct
104 unsigned long ksp; /* kernel stack pointer */
105 unsigned long usp; /* user stack pointer */
106 unsigned short sr; /* saved status register */
107 unsigned short fc; /* saved fc (sfc, dfc) */
108 unsigned long crp[2]; /* cpu root pointer */
109 unsigned long esp0; /* points to SR of stack frame */
110 unsigned long faddr; /* info about last fault */
111 int signo, code;
112 unsigned long fp[8*3];
[all …]
/kernel/linux/linux-6.6/arch/sparc/include/asm/
Dprocessor_32.h36 struct thread_struct { struct
37 struct pt_regs *kregs;
38 unsigned int _pad1;
41 unsigned long fork_kpsr __attribute__ ((aligned (8)));
42 unsigned long fork_kwim;
45 unsigned long float_regs[32] __attribute__ ((aligned (8)));
46 unsigned long fsr;
47 unsigned long fpqdepth;
48 struct fpq fpqueue[16];
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/arch/um/include/asm/
Dprocessor-generic.h22 struct thread_struct { struct
23 struct pt_regs regs;
24 struct pt_regs *segv_regs;
25 int singlestep_syscall;
26 void *fault_addr;
27 jmp_buf *fault_catcher;
28 struct task_struct *prev_sched;
29 struct arch_thread arch;
30 jmp_buf switch_buf;
31 struct {
[all …]
/kernel/linux/linux-6.6/arch/riscv/include/asm/
Dprocessor.h76 struct thread_struct { struct
91 *offset = offsetof(struct thread_struct, fstate); in arch_thread_struct_whitelist() argument
/kernel/linux/linux-6.6/arch/arm64/include/asm/
Dprocessor.h147 struct thread_struct { struct
148 struct cpu_context cpu_context; /* cpu context */
155 struct {
159 } uw;
184 static inline unsigned int thread_get_vl(struct thread_struct *thread, in thread_get_vl() argument
/kernel/linux/linux-5.10/arch/h8300/include/asm/
Dprocessor.h51 struct thread_struct { struct
52 unsigned long ksp; /* kernel stack pointer */
53 unsigned long usp; /* user stack pointer */
54 unsigned long ccr; /* saved status register */
55 unsigned long esp0; /* points to SR of stack frame */
56 struct {
59 } breakinfo;
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dprocessor.h130 struct thread_struct { struct
131 struct cpu_context cpu_context; /* cpu context */
161 static inline void arch_thread_struct_whitelist(unsigned long *offset, in arch_thread_struct_whitelist() argument
165 BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) != in arch_thread_struct_whitelist() argument
/kernel/linux/linux-5.10/arch/xtensa/include/asm/
Dprocessor.h139 struct thread_struct { struct
142 unsigned long ra; /* kernel's a0: return address and window call size */
143 unsigned long sp; /* kernel's a1: stack pointer */
145 mm_segment_t current_ds; /* see uaccess.h for example uses */
149 unsigned long bad_vaddr; /* last user fault */
150 unsigned long bad_uaddr; /* last kernel fault accessing user space */
151 unsigned long error_code;
153 struct perf_event *ptrace_bp[XCHAL_NUM_IBREAK];
154 struct perf_event *ptrace_wp[XCHAL_NUM_DBREAK];
157 int align[0] __attribute__ ((aligned(16)));
/kernel/linux/linux-5.10/arch/arc/include/asm/
Dprocessor.h24 struct thread_struct { struct
25 unsigned long ksp; /* kernel mode stack pointer */
26 unsigned long callee_reg; /* pointer to callee regs */
27 unsigned long fault_address; /* dbls as brkpt holder as well */
29 struct dsp_callee_regs dsp;
32 struct arc_fpu fpu;
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Dprocessor.h31 struct thread_struct { struct
33 unsigned long ra;
34 unsigned long sp; /* Kernel mode stack */
35 unsigned long s[12]; /* s[0]: frame pointer */
36 struct __riscv_d_ext_state fstate;
/kernel/linux/linux-6.6/arch/x86/include/asm/
Dprocessor.h430 struct thread_struct { struct
432 struct desc_struct tls_array[GDT_ENTRY_TLS_ENTRIES];
434 unsigned long sp0;
436 unsigned long sp;
438 unsigned long sysenter_cs;
440 unsigned short es;
441 unsigned short ds;
442 unsigned short fsindex;
443 unsigned short gsindex;
447 unsigned long fsbase;
[all …]
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
Dprocessor.h55 struct thread_struct { }; struct
89 struct thread_struct { struct
91 unsigned long ksp;
92 unsigned long ksp_limit; /* if ksp <= ksp_limit stack overflow */
93 void *pgdir; /* root of page-table tree */
94 struct pt_regs *regs; /* Pointer to saved register state */
/kernel/linux/linux-6.6/arch/microblaze/include/asm/
Dprocessor.h53 struct thread_struct { struct
55 unsigned long ksp;
56 unsigned long ksp_limit; /* if ksp <= ksp_limit stack overflow */
57 void *pgdir; /* root of page-table tree */
58 struct pt_regs *regs; /* Pointer to saved register state */

12