| /linux/arch/powerpc/kernel/ |
| H A D | asm-offsets.c | 90 OFFSET(RTAS_SP, thread_struct, rtas_sp); in main() 102 OFFSET(KSP, thread_struct, ksp); in main() 103 OFFSET(PT_REGS, thread_struct, regs); in main() 105 OFFSET(THREAD_NORMSAVES, thread_struct, normsave[0]); in main() 108 OFFSET(THREAD_FPEXC_MODE, thread_struct, fpexc_mode); in main() 109 OFFSET(THREAD_FPSTATE, thread_struct, fp_state.fpr); in main() 110 OFFSET(THREAD_FPSAVEAREA, thread_struct, fp_save_area); in main() 113 OFFSET(THREAD_LOAD_FP, thread_struct, load_fp); in main() 115 OFFSET(THREAD_VRSTATE, thread_struct, vr_state.vr); in main() 116 OFFSET(THREAD_VRSAVEAREA, thread_struct, vr_save_area); in main() [all …]
|
| H A D | process.c | 690 static void set_debug_reg_defaults(struct thread_struct *thread) in set_debug_reg_defaults() 765 static void set_debug_reg_defaults(struct thread_struct *thread) in set_debug_reg_defaults() 931 static void tm_reclaim_thread(struct thread_struct *thr, uint8_t cause) in tm_reclaim_thread() 993 struct thread_struct *thr = &tsk->thread; in tm_reclaim_task() 1023 extern void __tm_recheckpoint(struct thread_struct *thread); 1025 void tm_recheckpoint(struct thread_struct *thread) in tm_recheckpoint() 1154 static inline void save_sprs(struct thread_struct *t) in save_sprs() 1226 static inline void restore_sprs(struct thread_struct *old_thread, in restore_sprs() 1227 struct thread_struct *new_thread) in restore_sprs() 1282 struct thread_struct *new_thread, *old_thread; in __switch_to()
|
| /linux/arch/m68k/kernel/ |
| H A D | asm-offsets.c | 32 DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp)); in main() 33 DEFINE(THREAD_USP, offsetof(struct thread_struct, usp)); in main() 34 DEFINE(THREAD_SR, offsetof(struct thread_struct, sr)); in main() 35 DEFINE(THREAD_FC, offsetof(struct thread_struct, fc)); in main() 36 DEFINE(THREAD_CRP, offsetof(struct thread_struct, crp)); in main() 37 DEFINE(THREAD_ESP0, offsetof(struct thread_struct, esp0)); in main() 38 DEFINE(THREAD_FPREG, offsetof(struct thread_struct, fp)); in main() 39 DEFINE(THREAD_FPCNTL, offsetof(struct thread_struct, fpcntl)); in main() 40 DEFINE(THREAD_FPSTATE, offsetof(struct thread_struct, fpstate)); in main()
|
| /linux/arch/arm64/include/asm/ |
| H A D | processor.h | 149 struct thread_struct { struct 204 static inline unsigned int thread_get_vl(struct thread_struct *thread, in thread_get_vl() argument 210 static inline unsigned int thread_get_sve_vl(struct thread_struct *thread) in thread_get_sve_vl() 215 static inline unsigned int thread_get_sme_vl(struct thread_struct *thread) in thread_get_sme_vl() 220 static inline unsigned int thread_get_cur_vl(struct thread_struct *thread) in thread_get_cur_vl() 270 BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) != in arch_thread_struct_whitelist() 271 sizeof_field(struct thread_struct, uw.tp_value) + in arch_thread_struct_whitelist() 272 sizeof_field(struct thread_struct, uw.tp2_value) + in arch_thread_struct_whitelist() 273 sizeof_field(struct thread_struct, uw.fpmr) + in arch_thread_struct_whitelist() 274 sizeof_field(struct thread_struct, uw.pad) + in arch_thread_struct_whitelist() [all …]
|
| /linux/arch/powerpc/include/asm/ |
| H A D | tm.h | 13 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 D | switch_to.h | 11 struct thread_struct; 19 extern struct task_struct *_switch(struct thread_struct *prev, 20 struct thread_struct *next);
|
| /linux/arch/powerpc/kernel/ptrace/ |
| H A D | ptrace-spe.c | 32 BUILD_BUG_ON(offsetof(struct thread_struct, acc) + sizeof(u64) != in evr_get() 33 offsetof(struct thread_struct, spefscr)); in evr_get() 51 BUILD_BUG_ON(offsetof(struct thread_struct, acc) + sizeof(u64) != in evr_set() 52 offsetof(struct thread_struct, spefscr)); in evr_set()
|
| H A D | ptrace-noadv.c | 82 struct thread_struct *thread = &task->thread; in ptrace_set_debugreg() 170 static int find_empty_ptrace_bp(struct thread_struct *thread) in find_empty_ptrace_bp() 182 static int find_empty_hw_brk(struct thread_struct *thread) in find_empty_hw_brk() 198 struct thread_struct *thread = &child->thread; in ppc_set_hwdebug() 272 struct thread_struct *thread = &child->thread; in ppc_del_hwdebug()
|
| /linux/arch/csky/kernel/ |
| H A D | asm-offsets.c | 21 DEFINE(THREAD_KSP, offsetof(struct thread_struct, sp)); in main() 22 DEFINE(THREAD_FESR, offsetof(struct thread_struct, user_fp.fesr)); in main() 23 DEFINE(THREAD_FCR, offsetof(struct thread_struct, user_fp.fcr)); in main() 24 DEFINE(THREAD_FPREG, offsetof(struct thread_struct, user_fp.vr)); in main()
|
| /linux/arch/x86/kernel/ |
| H A D | ioport.c | 39 struct thread_struct *t = &tsk->thread; in task_update_io_bitmap() 73 struct thread_struct *t = ¤t->thread; in ksys_ioperm() 181 struct thread_struct *t = ¤t->thread; in SYSCALL_DEFINE1()
|
| H A D | tls.c | 24 struct thread_struct *t = ¤t->thread; in get_free_idx() 88 struct thread_struct *t = &p->thread; in set_tls_desc() 246 struct thread_struct *t = &target->thread; in regset_tls_active()
|
| /linux/arch/riscv/include/asm/ |
| H A D | processor.h | 105 struct thread_struct { struct 131 *offset = offsetof(struct thread_struct, fstate); in arch_thread_struct_whitelist() argument 132 *size = sizeof_field(struct thread_struct, fstate); in arch_thread_struct_whitelist()
|
| /linux/arch/nios2/kernel/ |
| H A D | asm-offsets.c | 22 OFFSET(THREAD_KSP, thread_struct, ksp); in main() 23 OFFSET(THREAD_KPSR, thread_struct, kpsr); in main()
|
| /linux/arch/arc/kernel/ |
| H A D | asm-offsets.c | 24 DEFINE(THREAD_CALLEE_REG, offsetof(struct thread_struct, callee_reg)); in main() 26 offsetof(struct thread_struct, fault_address)); in main()
|
| /linux/arch/x86/um/ |
| H A D | tls_32.c | 62 struct thread_struct *t = &task->thread; in get_free_idx() 200 struct thread_struct *t = &task->thread; in set_tls_entry() 234 struct thread_struct *t = &task->thread; in get_tls_entry()
|
| /linux/arch/hexagon/include/asm/ |
| H A D | switch_to.h | 11 struct thread_struct;
|
| H A D | processor.h | 26 struct thread_struct { struct
|
| /linux/arch/alpha/include/asm/ |
| H A D | processor.h | 26 struct thread_struct { }; struct
|
| /linux/arch/nios2/include/asm/ |
| H A D | processor.h | 45 struct thread_struct { struct
|
| /linux/arch/openrisc/include/asm/ |
| H A D | processor.h | 46 struct thread_struct { struct
|
| /linux/arch/sparc/kernel/ |
| H A D | asm-offsets.c | 26 offsetof(struct thread_struct, fork_kpsr)); in sparc32_foo()
|
| /linux/arch/csky/include/asm/ |
| H A D | processor.h | 41 struct thread_struct { struct
|
| /linux/arch/um/include/asm/ |
| H A D | processor-generic.h | 22 struct thread_struct { struct
|
| /linux/arch/microblaze/kernel/ |
| H A D | asm-offsets.c | 81 DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp)); in main() 84 DEFINE(PGDIR, offsetof(struct thread_struct, pgdir)); in main()
|
| /linux/arch/x86/include/asm/ |
| H A D | vm86.h | 54 struct thread_struct *__t = (t); \
|