/Linux-v4.19/arch/m68k/kernel/ |
D | asm-offsets.c | 31 DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp)); in main() 32 DEFINE(THREAD_USP, offsetof(struct thread_struct, usp)); in main() 33 DEFINE(THREAD_SR, offsetof(struct thread_struct, sr)); in main() 34 DEFINE(THREAD_FS, offsetof(struct thread_struct, fs)); in main() 35 DEFINE(THREAD_CRP, offsetof(struct thread_struct, crp)); in main() 36 DEFINE(THREAD_ESP0, offsetof(struct thread_struct, esp0)); in main() 37 DEFINE(THREAD_FPREG, offsetof(struct thread_struct, fp)); in main() 38 DEFINE(THREAD_FPCNTL, offsetof(struct thread_struct, fpcntl)); in main() 39 DEFINE(THREAD_FPSTATE, offsetof(struct thread_struct, fpstate)); in main()
|
/Linux-v4.19/arch/powerpc/include/asm/ |
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);
|
D | switch_to.h | 10 struct thread_struct; 18 extern struct task_struct *_switch(struct thread_struct *prev, 19 struct thread_struct *next);
|
D | pkeys.h | 205 extern void thread_pkey_regs_save(struct thread_struct *thread); 206 extern void thread_pkey_regs_restore(struct thread_struct *new_thread, 207 struct thread_struct *old_thread); 208 extern void thread_pkey_regs_init(struct thread_struct *thread);
|
/Linux-v4.19/arch/arm64/include/asm/ |
D | processor.h | 108 struct thread_struct { struct 135 BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) != in arch_thread_struct_whitelist() argument 136 sizeof_field(struct thread_struct, uw.tp_value) + in arch_thread_struct_whitelist() 137 sizeof_field(struct thread_struct, uw.tp2_value) + in arch_thread_struct_whitelist() 138 sizeof_field(struct thread_struct, uw.fpsimd_state)); in arch_thread_struct_whitelist() 140 *offset = offsetof(struct thread_struct, uw); in arch_thread_struct_whitelist() 141 *size = sizeof_field(struct thread_struct, uw); in arch_thread_struct_whitelist()
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | asm-offsets.c | 90 OFFSET(KSP_LIMIT, thread_struct, ksp_limit); in main() 97 OFFSET(KSP, thread_struct, ksp); in main() 98 OFFSET(PT_REGS, thread_struct, regs); in main() 100 OFFSET(THREAD_NORMSAVES, thread_struct, normsave[0]); in main() 102 OFFSET(THREAD_FPEXC_MODE, thread_struct, fpexc_mode); in main() 103 OFFSET(THREAD_FPSTATE, thread_struct, fp_state.fpr); in main() 104 OFFSET(THREAD_FPSAVEAREA, thread_struct, fp_save_area); in main() 106 OFFSET(THREAD_LOAD_FP, thread_struct, load_fp); in main() 108 OFFSET(THREAD_VRSTATE, thread_struct, vr_state.vr); in main() 109 OFFSET(THREAD_VRSAVEAREA, thread_struct, vr_save_area); in main() [all …]
|
D | process.c | 652 static void set_debug_reg_defaults(struct thread_struct *thread) in set_debug_reg_defaults() 727 static void set_debug_reg_defaults(struct thread_struct *thread) in set_debug_reg_defaults() 870 static void tm_reclaim_thread(struct thread_struct *thr, uint8_t cause) in tm_reclaim_thread() 932 struct thread_struct *thr = &tsk->thread; in tm_reclaim_task() 962 extern void __tm_recheckpoint(struct thread_struct *thread); 964 void tm_recheckpoint(struct thread_struct *thread) in tm_recheckpoint() 1092 static inline void save_sprs(struct thread_struct *t) in save_sprs() 1122 static inline void restore_sprs(struct thread_struct *old_thread, in restore_sprs() 1123 struct thread_struct *new_thread) in restore_sprs() 1171 struct thread_struct *new_thread, *old_thread; in __switch_to() [all …]
|
/Linux-v4.19/arch/c6x/kernel/ |
D | asm-offsets.c | 90 OFFSET(THREAD_PC, thread_struct, pc); in foo() 91 OFFSET(THREAD_B15_14, thread_struct, b15_14); in foo() 92 OFFSET(THREAD_A15_14, thread_struct, a15_14); in foo() 93 OFFSET(THREAD_B13_12, thread_struct, b13_12); in foo() 94 OFFSET(THREAD_A13_12, thread_struct, a13_12); in foo() 95 OFFSET(THREAD_B11_10, thread_struct, b11_10); in foo() 96 OFFSET(THREAD_A11_10, thread_struct, a11_10); in foo() 97 OFFSET(THREAD_RICL_ICL, thread_struct, ricl_icl); in foo()
|
/Linux-v4.19/arch/c6x/include/asm/ |
D | switch_to.h | 19 struct thread_struct; 20 asmlinkage void *__switch_to(struct thread_struct *prev, 21 struct thread_struct *next,
|
/Linux-v4.19/arch/sh/include/asm/ |
D | switch_to_64.h | 13 struct thread_struct; 20 struct thread_struct *prev_thread, 22 struct thread_struct *next_thread);
|
/Linux-v4.19/arch/s390/kernel/ |
D | asm-offsets.c | 28 OFFSET(__THREAD_ksp, thread_struct, ksp); in main() 29 OFFSET(__THREAD_sysc_table, thread_struct, sys_call_table); in main() 30 OFFSET(__THREAD_last_break, thread_struct, last_break); in main() 31 OFFSET(__THREAD_FPU_fpc, thread_struct, fpu.fpc); in main() 32 OFFSET(__THREAD_FPU_regs, thread_struct, fpu.regs); in main() 33 OFFSET(__THREAD_per_cause, thread_struct, per_event.cause); in main() 34 OFFSET(__THREAD_per_address, thread_struct, per_event.address); in main() 35 OFFSET(__THREAD_per_paid, thread_struct, per_event.paid); in main() 36 OFFSET(__THREAD_trap_tdb, thread_struct, trap_tdb); in main()
|
/Linux-v4.19/arch/h8300/kernel/ |
D | asm-offsets.c | 38 OFFSET(THREAD_KSP, thread_struct, ksp); in main() 39 OFFSET(THREAD_USP, thread_struct, usp); in main() 40 OFFSET(THREAD_CCR, thread_struct, ccr); in main()
|
/Linux-v4.19/arch/arc/kernel/ |
D | asm-offsets.c | 25 DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp)); in main() 26 DEFINE(THREAD_CALLEE_REG, offsetof(struct thread_struct, callee_reg)); in main() 28 offsetof(struct thread_struct, fault_address)); in main()
|
/Linux-v4.19/arch/microblaze/include/asm/ |
D | processor.h | 64 struct thread_struct { }; struct 104 struct thread_struct { struct
|
/Linux-v4.19/arch/powerpc/mm/ |
D | pkeys.c | 267 void thread_pkey_regs_save(struct thread_struct *thread) in thread_pkey_regs_save() 280 void thread_pkey_regs_restore(struct thread_struct *new_thread, in thread_pkey_regs_restore() 281 struct thread_struct *old_thread) in thread_pkey_regs_restore() 294 void thread_pkey_regs_init(struct thread_struct *thread) in thread_pkey_regs_init()
|
/Linux-v4.19/arch/x86/kernel/ |
D | ioport.c | 28 struct thread_struct *t = ¤t->thread; in ksys_ioperm() 117 struct thread_struct *t = ¤t->thread; in SYSCALL_DEFINE1()
|
D | tls.c | 22 struct thread_struct *t = ¤t->thread; in get_free_idx() 86 struct thread_struct *t = &p->thread; in set_tls_desc() 246 struct thread_struct *t = &target->thread; in regset_tls_active()
|
D | process.c | 107 struct thread_struct *t = &tsk->thread; in exit_thread() 256 struct thread_struct *prev, in switch_to_bitmap() 257 struct thread_struct *next, in switch_to_bitmap() 425 struct thread_struct *prev, *next; in __switch_to_xtra()
|
/Linux-v4.19/arch/s390/include/asm/ |
D | processor.h | 118 struct thread_struct { struct 163 typedef struct thread_struct thread_struct; typedef
|
/Linux-v4.19/arch/nios2/kernel/ |
D | asm-offsets.c | 34 OFFSET(THREAD_KSP, thread_struct, ksp); in main() 35 OFFSET(THREAD_KPSR, thread_struct, kpsr); in main()
|
/Linux-v4.19/arch/x86/um/ |
D | tls_32.c | 65 struct thread_struct *t = &task->thread; in get_free_idx() 206 struct thread_struct *t = &task->thread; in set_tls_entry() 243 struct thread_struct *t = &task->thread; in get_tls_entry()
|
/Linux-v4.19/arch/hexagon/include/asm/ |
D | switch_to.h | 24 struct thread_struct;
|
D | processor.h | 42 struct thread_struct { struct
|
/Linux-v4.19/arch/sparc/kernel/ |
D | asm-offsets.c | 25 offsetof(struct thread_struct, fork_kpsr)); in sparc32_foo()
|
/Linux-v4.19/arch/alpha/include/asm/ |
D | processor.h | 40 struct thread_struct { }; struct
|