/linux-6.1.9/arch/powerpc/kernel/ |
D | asm-offsets.c | 89 OFFSET(RTAS_SP, thread_struct, rtas_sp); in main() 101 OFFSET(KSP, thread_struct, ksp); in main() 102 OFFSET(PT_REGS, thread_struct, regs); in main() 104 OFFSET(THREAD_NORMSAVES, thread_struct, normsave[0]); in main() 107 OFFSET(THREAD_FPEXC_MODE, thread_struct, fpexc_mode); in main() 108 OFFSET(THREAD_FPSTATE, thread_struct, fp_state.fpr); in main() 109 OFFSET(THREAD_FPSAVEAREA, thread_struct, fp_save_area); in main() 112 OFFSET(THREAD_LOAD_FP, thread_struct, load_fp); in main() 114 OFFSET(THREAD_VRSTATE, thread_struct, vr_state.vr); in main() 115 OFFSET(THREAD_VRSAVEAREA, thread_struct, vr_save_area); in main() [all …]
|
/linux-6.1.9/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_FC, offsetof(struct thread_struct, fc)); 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-6.1.9/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 | 11 struct thread_struct; 19 extern struct task_struct *_switch(struct thread_struct *prev, 20 struct thread_struct *next);
|
/linux-6.1.9/arch/arm64/include/asm/ |
D | processor.h | 141 struct thread_struct { struct 177 static inline unsigned int thread_get_vl(struct thread_struct *thread, in thread_get_vl() argument 183 static inline unsigned int thread_get_sve_vl(struct thread_struct *thread) in thread_get_sve_vl() 188 static inline unsigned int thread_get_sme_vl(struct thread_struct *thread) in thread_get_sme_vl() 193 static inline unsigned int thread_get_cur_vl(struct thread_struct *thread) in thread_get_cur_vl() 243 BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) != in arch_thread_struct_whitelist() 244 sizeof_field(struct thread_struct, uw.tp_value) + in arch_thread_struct_whitelist() 245 sizeof_field(struct thread_struct, uw.tp2_value) + in arch_thread_struct_whitelist() 246 sizeof_field(struct thread_struct, uw.fpsimd_state)); in arch_thread_struct_whitelist() 248 *offset = offsetof(struct thread_struct, uw); in arch_thread_struct_whitelist() [all …]
|
D | fpsimd.h | 68 static inline bool thread_sm_enabled(struct thread_struct *thread) in thread_sm_enabled() 73 static inline bool thread_za_enabled(struct thread_struct *thread) in thread_za_enabled() 87 static inline void *sve_pffr(struct thread_struct *thread) in sve_pffr()
|
/linux-6.1.9/arch/powerpc/kernel/ptrace/ |
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()
|
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-6.1.9/arch/riscv/include/asm/ |
D | processor.h | 35 struct thread_struct { struct 48 *offset = offsetof(struct thread_struct, fstate); in arch_thread_struct_whitelist() argument 49 *size = sizeof_field(struct thread_struct, fstate); in arch_thread_struct_whitelist()
|
/linux-6.1.9/arch/csky/kernel/ |
D | asm-offsets.c | 20 DEFINE(THREAD_KSP, offsetof(struct thread_struct, sp)); in main() 21 DEFINE(THREAD_FESR, offsetof(struct thread_struct, user_fp.fesr)); in main() 22 DEFINE(THREAD_FCR, offsetof(struct thread_struct, user_fp.fcr)); in main() 23 DEFINE(THREAD_FPREG, offsetof(struct thread_struct, user_fp.vr)); in main()
|
/linux-6.1.9/arch/arc/kernel/ |
D | asm-offsets.c | 23 DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp)); in main() 24 DEFINE(THREAD_CALLEE_REG, offsetof(struct thread_struct, callee_reg)); in main() 26 offsetof(struct thread_struct, fault_address)); in main()
|
/linux-6.1.9/arch/x86/kernel/ |
D | ioport.c | 38 struct thread_struct *t = &tsk->thread; in task_update_io_bitmap() 67 struct thread_struct *t = ¤t->thread; in ksys_ioperm() 175 struct thread_struct *t = ¤t->thread; in SYSCALL_DEFINE1()
|
D | tls.c | 23 struct thread_struct *t = ¤t->thread; in get_free_idx() 87 struct thread_struct *t = &p->thread; in set_tls_desc() 245 struct thread_struct *t = &target->thread; in regset_tls_active()
|
D | process_64.c | 349 static __always_inline void x86_pkru_load(struct thread_struct *prev, in x86_pkru_load() 350 struct thread_struct *next) in x86_pkru_load() 366 static __always_inline void x86_fsgsbase_load(struct thread_struct *prev, in x86_fsgsbase_load() 367 struct thread_struct *next) in x86_fsgsbase_load() 560 struct thread_struct *prev = &prev_p->thread; in __switch_to() 561 struct thread_struct *next = &next_p->thread; in __switch_to()
|
/linux-6.1.9/arch/s390/include/asm/ |
D | processor.h | 108 struct thread_struct { struct 153 typedef struct thread_struct thread_struct; argument
|
/linux-6.1.9/arch/nios2/kernel/ |
D | asm-offsets.c | 21 OFFSET(THREAD_KSP, thread_struct, ksp); in main() 22 OFFSET(THREAD_KPSR, thread_struct, kpsr); in main()
|
/linux-6.1.9/arch/x86/um/ |
D | tls_32.c | 65 struct thread_struct *t = &task->thread; in get_free_idx() 203 struct thread_struct *t = &task->thread; in set_tls_entry() 238 struct thread_struct *t = &task->thread; in get_tls_entry()
|
/linux-6.1.9/arch/hexagon/include/asm/ |
D | switch_to.h | 11 struct thread_struct;
|
D | processor.h | 26 struct thread_struct { struct
|
/linux-6.1.9/arch/alpha/include/asm/ |
D | processor.h | 30 struct thread_struct { }; struct
|
/linux-6.1.9/arch/sparc/kernel/ |
D | asm-offsets.c | 25 offsetof(struct thread_struct, fork_kpsr)); in sparc32_foo()
|
/linux-6.1.9/arch/nios2/include/asm/ |
D | processor.h | 45 struct thread_struct { struct
|
/linux-6.1.9/arch/openrisc/include/asm/ |
D | processor.h | 46 struct thread_struct { struct
|
/linux-6.1.9/arch/x86/include/asm/ |
D | vm86.h | 54 struct thread_struct *__t = (t); \
|
/linux-6.1.9/arch/csky/include/asm/ |
D | processor.h | 41 struct thread_struct { struct
|