Home
last modified time | relevance | path

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

12

/Linux-v5.4/arch/powerpc/include/asm/
Dprocessor.h144 struct thread_struct { struct
145 unsigned long ksp; /* Kernel stack pointer */
148 unsigned long ksp_vsid;
150 struct pt_regs *regs; /* Pointer to saved register state */
151 mm_segment_t addr_limit; /* for get_fs() validation */
154 unsigned long normsave[8] ____cacheline_aligned;
157 void *pgdir; /* root of page-table tree */
158 unsigned long ksp_limit; /* if ksp <= ksp_limit stack overflow */
160 unsigned long rtas_sp; /* stack pointer for when in RTAS */
164 unsigned long kuap; /* opened segments for user access */
[all …]
/Linux-v5.4/arch/s390/include/asm/
Dprocessor.h113 struct thread_struct { struct
114 unsigned int acrs[NUM_ACRS];
115 unsigned long ksp; /* kernel stack pointer */
116 unsigned long user_timer; /* task cputime in user space */
117 unsigned long guest_timer; /* task cputime in kvm guest */
118 unsigned long system_timer; /* task cputime in kernel space */
119 unsigned long hardirq_timer; /* task cputime in hardirq context */
120 unsigned long softirq_timer; /* task cputime in softirq context */
121 unsigned long sys_call_table; /* system call table address */
122 mm_segment_t mm_segment;
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/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 …]
/Linux-v5.4/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;
255 struct mips_fpu_struct fpu FPU_ALIGN;
258 atomic_t bd_emu_frame;
260 unsigned long bd_emu_branch_pc;
262 unsigned long bd_emu_cont_pc;
265 unsigned long emulated_fp;
[all …]
/Linux-v5.4/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;
/Linux-v5.4/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-v5.4/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;
/Linux-v5.4/arch/sh/include/asm/
Dprocessor_64.h89 struct thread_struct { struct
90 unsigned long sp;
91 unsigned long pc;
94 unsigned long flags;
100 struct pt_regs *kregs;
104 struct pt_regs *uregs;
106 unsigned long address;
110 union thread_xstate *xstate;
120 unsigned char fpu_counter;
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-v5.4/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)));
/Linux-v5.4/arch/riscv/include/asm/
Dprocessor.h29 struct thread_struct { struct
31 unsigned long ra;
32 unsigned long sp; /* Kernel mode stack */
33 unsigned long s[12]; /* s[0]: frame pointer */
34 struct __riscv_d_ext_state fstate;
/Linux-v5.4/arch/microblaze/include/asm/
Dprocessor.h58 struct thread_struct { }; struct
92 struct thread_struct { struct
94 unsigned long ksp;
95 unsigned long ksp_limit; /* if ksp <= ksp_limit stack overflow */
96 void *pgdir; /* root of page-table tree */
97 struct pt_regs *regs; /* Pointer to saved register state */
/Linux-v5.4/arch/arm64/include/asm/
Dprocessor.h125 struct thread_struct { struct
126 struct cpu_context cpu_context; /* cpu context */
155 BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) != in arch_thread_struct_whitelist() argument
/Linux-v5.4/arch/unicore32/include/asm/
Dprocessor.h33 struct thread_struct { struct
35 unsigned long address;
36 unsigned long trap_no;
37 unsigned long error_code;
39 struct debug_info debug;
/Linux-v5.4/arch/arc/include/asm/
Dprocessor.h38 struct thread_struct { struct
39 unsigned long ksp; /* kernel mode stack pointer */
40 unsigned long callee_reg; /* pointer to callee regs */
41 unsigned long fault_address; /* dbls as brkpt holder as well */
43 struct arc_fpu fpu;
46 struct eznps_dp dp;
/Linux-v5.4/arch/arm/include/asm/
Dprocessor.h30 struct thread_struct { struct
40 * Everything usercopied to/from thread_struct is statically-sized, so argument
/Linux-v5.4/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;
/Linux-v5.4/arch/x86/include/asm/
Dprocessor.h440 struct thread_struct { struct
442 struct desc_struct tls_array[GDT_ENTRY_TLS_ENTRIES];
444 unsigned long sp0;
446 unsigned long sp;
448 unsigned long sysenter_cs;
450 unsigned short es;
451 unsigned short ds;
452 unsigned short fsindex;
453 unsigned short gsindex;
457 unsigned long fsbase;
[all …]
/Linux-v5.4/arch/nios2/include/asm/
Dprocessor.h45 struct thread_struct { struct
46 struct pt_regs *kregs;
49 unsigned long ksp;
50 unsigned long kpsr;
/Linux-v5.4/arch/csky/include/asm/
Dprocessor.h43 struct thread_struct { struct
44 unsigned long ksp; /* kernel stack pointer */
45 unsigned long sr; /* saved status register */
/Linux-v5.4/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;
/Linux-v5.4/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 */
285 void *pfm_context; /* pointer to detailed PMU context */
286 unsigned long pfm_needs_checking; /* when >0, pending perfmon work on kernel exit */
[all …]
/Linux-v5.4/arch/hexagon/include/asm/
Dprocessor.h26 struct thread_struct { struct
31 * initializes thread_struct argument

12