Searched refs:thread_struct (Results 1 - 25 of 77) sorted by relevance

1234

/linux-master/arch/powerpc/include/asm/
H A Dtm.h13 extern void tm_reclaim(struct thread_struct *thread,
16 extern void tm_recheckpoint(struct thread_struct *thread);
17 extern void tm_save_sprs(struct thread_struct *thread);
18 extern void tm_restore_sprs(struct thread_struct *thread);
H A Dswitch_to.h11 struct thread_struct;
19 extern struct task_struct *_switch(struct thread_struct *prev,
20 struct thread_struct *next);
/linux-master/arch/hexagon/include/asm/
H A Dswitch_to.h11 struct thread_struct;
H A Dprocessor.h23 * thread_struct is supposed to be for context switch data.
26 struct thread_struct { struct
31 * initializes thread_struct
/linux-master/arch/powerpc/kernel/ptrace/
H A Dptrace-spe.c32 BUILD_BUG_ON(offsetof(struct thread_struct, acc) + sizeof(u64) !=
33 offsetof(struct thread_struct, spefscr));
51 BUILD_BUG_ON(offsetof(struct thread_struct, acc) + sizeof(u64) !=
52 offsetof(struct thread_struct, spefscr));
H A Dptrace-noadv.c82 struct thread_struct *thread = &task->thread;
170 static int find_empty_ptrace_bp(struct thread_struct *thread)
182 static int find_empty_hw_brk(struct thread_struct *thread)
198 struct thread_struct *thread = &child->thread;
272 struct thread_struct *thread = &child->thread;
/linux-master/arch/m68k/kernel/
H A Dasm-offsets.c31 DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp));
32 DEFINE(THREAD_USP, offsetof(struct thread_struct, usp));
33 DEFINE(THREAD_SR, offsetof(struct thread_struct, sr));
34 DEFINE(THREAD_FC, offsetof(struct thread_struct, fc));
35 DEFINE(THREAD_CRP, offsetof(struct thread_struct, crp));
36 DEFINE(THREAD_ESP0, offsetof(struct thread_struct, esp0));
37 DEFINE(THREAD_FPREG, offsetof(struct thread_struct, fp));
38 DEFINE(THREAD_FPCNTL, offsetof(struct thread_struct, fpcntl));
39 DEFINE(THREAD_FPSTATE, offsetof(struct thread_struct, fpstate));
/linux-master/arch/powerpc/kernel/
H A Dasm-offsets.c89 OFFSET(RTAS_SP, thread_struct, rtas_sp);
101 OFFSET(KSP, thread_struct, ksp);
102 OFFSET(PT_REGS, thread_struct, regs);
104 OFFSET(THREAD_NORMSAVES, thread_struct, normsave[0]);
107 OFFSET(THREAD_FPEXC_MODE, thread_struct, fpexc_mode);
108 OFFSET(THREAD_FPSTATE, thread_struct, fp_state.fpr);
109 OFFSET(THREAD_FPSAVEAREA, thread_struct, fp_save_area);
112 OFFSET(THREAD_LOAD_FP, thread_struct, load_fp);
114 OFFSET(THREAD_VRSTATE, thread_struct, vr_state.vr);
115 OFFSET(THREAD_VRSAVEAREA, thread_struct, vr_save_are
[all...]
/linux-master/arch/arm64/include/asm/
H A Dprocessor.h147 struct thread_struct { struct
189 static inline unsigned int thread_get_vl(struct thread_struct *thread,
195 static inline unsigned int thread_get_sve_vl(struct thread_struct *thread)
200 static inline unsigned int thread_get_sme_vl(struct thread_struct *thread)
205 static inline unsigned int thread_get_cur_vl(struct thread_struct *thread)
255 BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) !=
256 sizeof_field(struct thread_struct, uw.tp_value) +
257 sizeof_field(struct thread_struct, uw.tp2_value) +
258 sizeof_field(struct thread_struct, uw.fpmr) +
259 sizeof_field(struct thread_struct, u
[all...]
/linux-master/arch/alpha/include/asm/
H A Dprocessor.h30 struct thread_struct { }; struct
/linux-master/arch/riscv/include/asm/
H A Dprocessor.h113 struct thread_struct { struct
131 *offset = offsetof(struct thread_struct, fstate);
132 *size = sizeof_field(struct thread_struct, fstate);
/linux-master/arch/csky/kernel/
H A Dasm-offsets.c20 DEFINE(THREAD_KSP, offsetof(struct thread_struct, sp));
21 DEFINE(THREAD_FESR, offsetof(struct thread_struct, user_fp.fesr));
22 DEFINE(THREAD_FCR, offsetof(struct thread_struct, user_fp.fcr));
23 DEFINE(THREAD_FPREG, offsetof(struct thread_struct, user_fp.vr));
/linux-master/arch/nios2/include/asm/
H A Dprocessor.h45 struct thread_struct { struct
/linux-master/arch/openrisc/include/asm/
H A Dprocessor.h46 struct thread_struct { struct
/linux-master/arch/sparc/kernel/
H A Dasm-offsets.c25 offsetof(struct thread_struct, fork_kpsr));
/linux-master/arch/s390/include/asm/
H A Dfpu.h165 struct thread_struct *thread = &current->thread;
173 static __always_inline void __save_user_fpu_regs(struct thread_struct *thread, int flags)
181 struct thread_struct *thread = &current->thread;
194 struct thread_struct *thread = &current->thread;
252 static inline void save_kernel_fpu_regs(struct thread_struct *thread)
259 static inline void restore_kernel_fpu_regs(struct thread_struct *thread)
/linux-master/arch/x86/kernel/
H A Dioport.c38 struct thread_struct *t = &tsk->thread;
67 struct thread_struct *t = &current->thread;
175 struct thread_struct *t = &current->thread;
/linux-master/arch/nios2/kernel/
H A Dasm-offsets.c20 /* struct thread_struct */
21 OFFSET(THREAD_KSP, thread_struct, ksp);
22 OFFSET(THREAD_KPSR, thread_struct, kpsr);
/linux-master/arch/arc/kernel/
H A Dasm-offsets.c23 DEFINE(THREAD_CALLEE_REG, offsetof(struct thread_struct, callee_reg));
25 offsetof(struct thread_struct, fault_address));
/linux-master/arch/x86/include/asm/
H A Dvm86.h54 struct thread_struct *__t = (t); \
/linux-master/arch/microblaze/include/asm/
H A Dprocessor.h53 struct thread_struct { struct
/linux-master/arch/sparc/include/asm/
H A Dprocessor_32.h36 struct thread_struct { struct
/linux-master/arch/csky/include/asm/
H A Dprocessor.h41 struct thread_struct { struct
/linux-master/arch/arc/include/asm/
H A Dprocessor.h24 struct thread_struct { struct
/linux-master/arch/um/include/asm/
H A Dprocessor-generic.h22 struct thread_struct { struct

Completed in 229 milliseconds

1234