Searched refs:thread_struct (Results 1 - 25 of 77) sorted by last modified time

1234

/linux-master/include/linux/
H A Dsched.h1561 struct thread_struct thread;
1564 * WARNING: on x86, 'thread_struct' contains a variable-sized
/linux-master/arch/x86/kernel/
H A Dsev.c553 struct thread_struct *t = &current->thread;
H A Dprocess_64.c374 static __always_inline void x86_pkru_load(struct thread_struct *prev,
375 struct thread_struct *next)
391 static __always_inline void x86_fsgsbase_load(struct thread_struct *prev,
392 struct thread_struct *next)
612 struct thread_struct *prev = &prev_p->thread;
613 struct thread_struct *next = &next_p->thread;
H A Dtraps.c535 struct thread_struct *t = &current->thread;
H A Dprocess_32.c157 struct thread_struct *prev = &prev_p->thread,
H A Dprocess.c118 struct thread_struct *t = &tsk->thread;
453 struct thread_struct *t = &current->thread;
/linux-master/arch/x86/kernel/fpu/
H A Dcore.c663 *offset = offsetof(struct thread_struct, fpu.__fpstate.regs);
/linux-master/arch/x86/include/asm/
H A Dvm86.h54 struct thread_struct *__t = (t); \
H A Dprocessor.h436 struct thread_struct { struct
492 * context switch. Store it in thread_struct to avoid a lookup in
H A Dswitch_to.h55 static inline void refresh_sysenter_cs(struct thread_struct *thread)
H A Delf.h156 static inline void elf_common_init(struct thread_struct *t,
H A Ddesc.h293 static inline void native_load_tls(struct thread_struct *t, unsigned int cpu)
/linux-master/arch/openrisc/include/asm/
H A Dprocessor.h46 struct thread_struct { struct
/linux-master/arch/x86/entry/vsyscall/
H A Dvsyscall_64.c102 struct thread_struct *thread = &current->thread;
/linux-master/arch/x86/xen/
H A Denlighten_pv.c582 static void load_TLS_descriptor(struct thread_struct *t,
602 static void xen_load_tls(struct thread_struct *t, unsigned int cpu)
/linux-master/arch/xtensa/include/asm/
H A Dprocessor.h153 struct thread_struct { struct
/linux-master/arch/arm64/kernel/
H A Dptrace.c204 * the thread_struct.
209 struct thread_struct *t = &tsk->thread;
/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/s390/include/asm/
H A Dprocessor.h158 struct thread_struct { struct
202 typedef struct thread_struct thread_struct; typedef in typeref:struct:thread_struct
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/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/powerpc/include/asm/
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/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...]
H A Dfpsimd.h102 static inline bool thread_sm_enabled(struct thread_struct *thread)
107 static inline bool thread_za_enabled(struct thread_struct *thread)
121 static inline void *sve_pffr(struct thread_struct *thread)
133 static inline void *thread_zt_state(struct thread_struct *thread)
/linux-master/arch/s390/kernel/
H A Dptrace.c45 struct thread_struct *thread = &task->thread;

Completed in 442 milliseconds

1234