Home
last modified time | relevance | path

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

/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/arch/s390/include/asm/
Dprocessor.h159 struct thread_struct { struct
160 unsigned int acrs[NUM_ACRS];
161 unsigned long ksp; /* kernel stack pointer */
162 unsigned long user_timer; /* task cputime in user space */
163 unsigned long guest_timer; /* task cputime in kvm guest */
164 unsigned long system_timer; /* task cputime in kernel space */
165 unsigned long hardirq_timer; /* task cputime in hardirq context */
166 unsigned long softirq_timer; /* task cputime in softirq context */
167 const sys_call_ptr_t *sys_call_table; /* system call table address */
168 unsigned long gmap_addr; /* address of last gmap fault. */
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/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];
Dprocessor_64.h52 struct thread_struct { struct
58 int smp_lock_count;
59 unsigned int smp_lock_pc;
/linux-6.6.21/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 …]
/linux-6.6.21/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
/linux-6.6.21/arch/riscv/include/asm/
Dprocessor.h76 struct thread_struct { struct
91 *offset = offsetof(struct thread_struct, fstate); in arch_thread_struct_whitelist() argument
/linux-6.6.21/arch/x86/include/asm/
Dprocessor.h414 struct thread_struct { struct
416 struct desc_struct tls_array[GDT_ENTRY_TLS_ENTRIES];
418 unsigned long sp0;
420 unsigned long sp;
422 unsigned long sysenter_cs;
424 unsigned short es;
425 unsigned short ds;
426 unsigned short fsindex;
427 unsigned short gsindex;
431 unsigned long fsbase;
[all …]
/linux-6.6.21/arch/sh/include/asm/
Dprocessor_32.h91 struct thread_struct { struct
93 unsigned long sp;
94 unsigned long pc;
97 unsigned long flags;
100 struct perf_event *ptrace_bps[HBP_NUM];
104 struct sh_dsp_struct dsp_status;
108 union thread_xstate *xstate;
118 unsigned char fpu_counter;
/linux-6.6.21/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 */
/linux-6.6.21/arch/arc/include/asm/
Dprocessor.h24 struct thread_struct { struct
25 unsigned long callee_reg; /* pointer to callee regs */
26 unsigned long fault_address; /* dbls as brkpt holder as well */
28 struct dsp_callee_regs dsp;
31 struct arc_fpu fpu;
/linux-6.6.21/arch/arm/include/asm/
Dprocessor.h31 struct thread_struct { struct
41 * Everything usercopied to/from thread_struct is statically-sized, so argument
/linux-6.6.21/arch/nios2/include/asm/
Dprocessor.h45 struct thread_struct { struct
46 struct pt_regs *kregs;
49 unsigned long ksp;
50 unsigned long kpsr;
/linux-6.6.21/arch/xtensa/include/asm/
Dprocessor.h153 struct thread_struct { struct
156 unsigned long ra; /* kernel's a0: return address and window call size */
157 unsigned long sp; /* kernel's a1: stack pointer */
160 struct perf_event *ptrace_bp[XCHAL_NUM_IBREAK];
161 struct perf_event *ptrace_wp[XCHAL_NUM_DBREAK];
164 int align[0] __attribute__ ((aligned(16)));
/linux-6.6.21/arch/csky/include/asm/
Dprocessor.h41 struct thread_struct { struct
42 unsigned long sp; /* kernel stack pointer */
43 unsigned long trap_no; /* saved status register */
/linux-6.6.21/arch/parisc/include/asm/
Dprocessor.h105 struct thread_struct { struct
106 struct pt_regs regs;
107 unsigned long task_size;
108 unsigned long map_base;
109 unsigned long flags;
/linux-6.6.21/arch/ia64/include/asm/
Dprocessor.h270 struct thread_struct { struct
271 __u32 flags; /* various thread flags (see IA64_THREAD_*) */
273 __u8 on_ustack; /* executing on user-stacks? */
274 __u8 pad[3];
275 __u64 ksp; /* kernel stack pointer */
276 __u64 map_base; /* base address for get_unmapped_area() */
277 __u64 rbs_bot; /* the base address for the RBS */
278 int last_fph_cpu; /* CPU that may hold the contents of f32-f127 */
279 unsigned long dbr[IA64_NUM_DBG_REGS];
280 unsigned long ibr[IA64_NUM_DBG_REGS];
[all …]
/linux-6.6.21/arch/hexagon/include/asm/
Dprocessor.h26 struct thread_struct { struct
31 * initializes thread_struct argument
/linux-6.6.21/arch/alpha/include/asm/
Dprocessor.h30 struct thread_struct { }; struct
/linux-6.6.21/arch/openrisc/include/asm/
Dprocessor.h46 struct thread_struct { struct