Home
last modified time | relevance | path

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

/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-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-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 …]
Dprocessor_64.h56 struct thread_struct { struct
62 int smp_lock_count;
63 unsigned int smp_lock_pc;
/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-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/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-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/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-5.10/arch/sh/include/asm/
Dprocessor_32.h90 struct thread_struct { struct
92 unsigned long sp;
93 unsigned long pc;
96 unsigned long flags;
99 struct perf_event *ptrace_bps[HBP_NUM];
103 struct sh_dsp_struct dsp_status;
107 union thread_xstate *xstate;
117 unsigned char fpu_counter;
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dprocessor.h31 struct thread_struct { struct
41 * Everything usercopied to/from thread_struct is statically-sized, so argument
/kernel/linux/linux-5.10/arch/nds32/include/asm/
Dprocessor.h32 struct thread_struct { struct
33 struct cpu_context cpu_context; /* cpu context */
35 unsigned long address;
36 unsigned long trap_no;
37 unsigned long error_code;
39 struct fpu_struct fpu;
/kernel/linux/linux-5.10/arch/nios2/include/asm/
Dprocessor.h45 struct thread_struct { struct
46 struct pt_regs *kregs;
49 unsigned long ksp;
50 unsigned long kpsr;
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dprocessor.h485 struct thread_struct { struct
487 struct desc_struct tls_array[GDT_ENTRY_TLS_ENTRIES];
489 unsigned long sp0;
491 unsigned long sp;
493 unsigned long sysenter_cs;
495 unsigned short es;
496 unsigned short ds;
497 unsigned short fsindex;
498 unsigned short gsindex;
502 unsigned long fsbase;
[all …]
/kernel/linux/linux-5.10/arch/csky/include/asm/
Dprocessor.h43 struct thread_struct { struct
44 unsigned long sp; /* kernel stack pointer */
45 unsigned long trap_no; /* saved status register */
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dprocessor.h114 struct thread_struct { struct
115 struct pt_regs regs;
116 unsigned long task_size;
117 unsigned long map_base;
118 unsigned long flags;
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Dprocessor.h274 struct thread_struct { struct
275 __u32 flags; /* various thread flags (see IA64_THREAD_*) */
277 __u8 on_ustack; /* executing on user-stacks? */
278 __u8 pad[3];
279 __u64 ksp; /* kernel stack pointer */
280 __u64 map_base; /* base address for get_unmapped_area() */
281 __u64 rbs_bot; /* the base address for the RBS */
282 int last_fph_cpu; /* CPU that may hold the contents of f32-f127 */
283 unsigned long dbr[IA64_NUM_DBG_REGS];
284 unsigned long ibr[IA64_NUM_DBG_REGS];
[all …]
/kernel/linux/linux-5.10/arch/hexagon/include/asm/
Dprocessor.h26 struct thread_struct { struct
31 * initializes thread_struct argument
/kernel/linux/linux-5.10/arch/openrisc/include/asm/
Dprocessor.h46 struct thread_struct { struct
/kernel/linux/linux-5.10/arch/alpha/include/asm/
Dprocessor.h34 struct thread_struct { }; struct