Home
last modified time | relevance | path

Searched refs:thread_struct (Results 1 - 25 of 161) sorted by relevance

1234567

/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dasm-offsets.c94 OFFSET(KSP_LIMIT, thread_struct, ksp_limit); in main()
96 OFFSET(RTAS_SP, thread_struct, rtas_sp); in main()
108 OFFSET(KSP, thread_struct, ksp); in main()
109 OFFSET(PT_REGS, thread_struct, regs); in main()
111 OFFSET(THREAD_NORMSAVES, thread_struct, normsave[0]); in main()
113 OFFSET(THREAD_FPEXC_MODE, thread_struct, fpexc_mode); in main()
114 OFFSET(THREAD_FPSTATE, thread_struct, fp_state.fpr); in main()
115 OFFSET(THREAD_FPSAVEAREA, thread_struct, fp_save_area); in main()
117 OFFSET(THREAD_LOAD_FP, thread_struct, load_fp); in main()
119 OFFSET(THREAD_VRSTATE, thread_struct, vr_stat in main()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A 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_are in main()
[all...]
/kernel/linux/linux-5.10/arch/m68k/kernel/
H A 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_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()
/kernel/linux/linux-6.6/arch/m68k/kernel/
H A 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()
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dprocessor.h147 struct thread_struct { struct
184 static inline unsigned int thread_get_vl(struct thread_struct *thread, in thread_get_vl()
190 static inline unsigned int thread_get_sve_vl(struct thread_struct *thread) in thread_get_sve_vl()
195 static inline unsigned int thread_get_sme_vl(struct thread_struct *thread) in thread_get_sme_vl()
200 static inline unsigned int thread_get_cur_vl(struct thread_struct *thread) in thread_get_cur_vl()
250 BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) != in arch_thread_struct_whitelist()
251 sizeof_field(struct thread_struct, uw.tp_value) + in arch_thread_struct_whitelist()
252 sizeof_field(struct thread_struct, uw.tp2_value) + in arch_thread_struct_whitelist()
253 sizeof_field(struct thread_struct, uw.fpsimd_state)); in arch_thread_struct_whitelist()
255 *offset = offsetof(struct thread_struct, u in arch_thread_struct_whitelist()
[all...]
/kernel/linux/linux-5.10/arch/c6x/kernel/
H A Dasm-offsets.c90 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()
/kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/
H A 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()
H A Dptrace-noadv.c86 struct thread_struct *thread = &task->thread; in ptrace_set_debugreg()
174 static int find_empty_ptrace_bp(struct thread_struct *thread) in find_empty_ptrace_bp()
186 static int find_empty_hw_brk(struct thread_struct *thread) in find_empty_hw_brk()
202 struct thread_struct *thread = &child->thread; in ppc_set_hwdebug()
276 struct thread_struct *thread = &child->thread; in ppc_del_hwdebug()
/kernel/linux/linux-6.6/arch/powerpc/kernel/ptrace/
H A 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()
H A 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()
/kernel/linux/linux-5.10/arch/c6x/include/asm/
H A Dswitch_to.h16 struct thread_struct;
17 asmlinkage void *__switch_to(struct thread_struct *prev,
18 struct thread_struct *next,
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dasm-offsets.c29 OFFSET(__THREAD_ksp, thread_struct, ksp); in main()
30 OFFSET(__THREAD_sysc_table, thread_struct, sys_call_table); in main()
31 OFFSET(__THREAD_last_break, thread_struct, last_break); in main()
32 OFFSET(__THREAD_FPU_fpc, thread_struct, fpu.fpc); in main()
33 OFFSET(__THREAD_FPU_regs, thread_struct, fpu.regs); in main()
34 OFFSET(__THREAD_per_cause, thread_struct, per_event.cause); in main()
35 OFFSET(__THREAD_per_address, thread_struct, per_event.address); in main()
36 OFFSET(__THREAD_per_paid, thread_struct, per_event.paid); in main()
37 OFFSET(__THREAD_trap_tdb, thread_struct, trap_tdb); in main()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Dprocessor.h130 struct thread_struct { struct
165 BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) != in arch_thread_struct_whitelist()
166 sizeof_field(struct thread_struct, uw.tp_value) + in arch_thread_struct_whitelist()
167 sizeof_field(struct thread_struct, uw.tp2_value) + in arch_thread_struct_whitelist()
168 sizeof_field(struct thread_struct, uw.fpsimd_state)); in arch_thread_struct_whitelist()
170 *offset = offsetof(struct thread_struct, uw); in arch_thread_struct_whitelist()
171 *size = sizeof_field(struct thread_struct, uw); in arch_thread_struct_whitelist()
188 /* Sync TPIDR_EL0 back to thread_struct for current */
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dpkeys.h174 extern void thread_pkey_regs_save(struct thread_struct *thread);
175 extern void thread_pkey_regs_restore(struct thread_struct *new_thread,
176 struct thread_struct *old_thread);
177 extern void thread_pkey_regs_init(struct thread_struct *thread);
H A Dswitch_to.h11 struct thread_struct;
19 extern struct task_struct *_switch(struct thread_struct *prev,
20 struct thread_struct *next);
/kernel/linux/linux-5.10/arch/h8300/kernel/
H A Dasm-offsets.c38 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()
/kernel/linux/linux-6.6/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);
/kernel/linux/linux-5.10/arch/csky/kernel/
H A Dasm-offsets.c21 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()
/kernel/linux/linux-6.6/arch/csky/kernel/
H A 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()
/kernel/linux/linux-5.10/arch/x86/kernel/
H A 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()
/kernel/linux/linux-5.10/arch/arc/kernel/
H A 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()
/kernel/linux/linux-6.6/arch/riscv/include/asm/
H A Dprocessor.h76 struct thread_struct { struct
91 *offset = offsetof(struct thread_struct, fstate); in arch_thread_struct_whitelist()
92 *size = sizeof_field(struct thread_struct, fstate); in arch_thread_struct_whitelist()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A 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()
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
H A Dprocessor.h54 /* thread_struct is gone. use thread_info instead. */
55 struct thread_struct { }; struct
89 struct thread_struct { struct
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
H A Dpkeys.c316 void thread_pkey_regs_save(struct thread_struct *thread) in thread_pkey_regs_save()
328 void thread_pkey_regs_restore(struct thread_struct *new_thread, in thread_pkey_regs_restore()
329 struct thread_struct *old_thread) in thread_pkey_regs_restore()
340 void thread_pkey_regs_init(struct thread_struct *thread) in thread_pkey_regs_init()

Completed in 8 milliseconds

1234567