Home
last modified time | relevance | path

Searched refs:thread_struct (Results 1 – 25 of 78) sorted by relevance

1234

/linux-6.1.9/arch/powerpc/kernel/
Dasm-offsets.c89 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/
Dasm-offsets.c31 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/
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);
Dswitch_to.h11 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/
Dprocessor.h141 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 …]
Dfpsimd.h68 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/
Dptrace-spe.c32 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()
Dptrace-noadv.c82 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/
Dprocessor.h35 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/
Dasm-offsets.c20 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/
Dasm-offsets.c23 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/
Dioport.c38 struct thread_struct *t = &tsk->thread; in task_update_io_bitmap()
67 struct thread_struct *t = &current->thread; in ksys_ioperm()
175 struct thread_struct *t = &current->thread; in SYSCALL_DEFINE1()
Dtls.c23 struct thread_struct *t = &current->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()
Dprocess_64.c349 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/
Dprocessor.h108 struct thread_struct { struct
153 typedef struct thread_struct thread_struct; argument
/linux-6.1.9/arch/nios2/kernel/
Dasm-offsets.c21 OFFSET(THREAD_KSP, thread_struct, ksp); in main()
22 OFFSET(THREAD_KPSR, thread_struct, kpsr); in main()
/linux-6.1.9/arch/x86/um/
Dtls_32.c65 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/
Dswitch_to.h11 struct thread_struct;
Dprocessor.h26 struct thread_struct { struct
/linux-6.1.9/arch/alpha/include/asm/
Dprocessor.h30 struct thread_struct { }; struct
/linux-6.1.9/arch/sparc/kernel/
Dasm-offsets.c25 offsetof(struct thread_struct, fork_kpsr)); in sparc32_foo()
/linux-6.1.9/arch/nios2/include/asm/
Dprocessor.h45 struct thread_struct { struct
/linux-6.1.9/arch/openrisc/include/asm/
Dprocessor.h46 struct thread_struct { struct
/linux-6.1.9/arch/x86/include/asm/
Dvm86.h54 struct thread_struct *__t = (t); \
/linux-6.1.9/arch/csky/include/asm/
Dprocessor.h41 struct thread_struct { struct

1234