Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/arch/powerpc/kernel/
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_state.vr); in main()
[all …]
/kernel/linux/linux-5.10/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_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-5.10/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);
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);
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/c6x/kernel/
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/
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.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-5.10/arch/arm64/include/asm/
Dprocessor.h130 struct thread_struct { struct
165 BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) != in arch_thread_struct_whitelist() argument
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()
/kernel/linux/linux-5.10/arch/c6x/include/asm/
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/
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/h8300/kernel/
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-5.10/arch/csky/kernel/
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-5.10/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()
/kernel/linux/linux-5.10/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()
251 struct thread_struct *t = &target->thread; in regset_tls_active()
Dprocess_64.c342 static __always_inline void x86_fsgsbase_load(struct thread_struct *prev, in x86_fsgsbase_load()
343 struct thread_struct *next) in x86_fsgsbase_load()
536 struct thread_struct *prev = &prev_p->thread; in __switch_to()
537 struct thread_struct *next = &next_p->thread; in __switch_to()
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
Dprocessor.h55 struct thread_struct { }; struct
89 struct thread_struct { struct
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
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()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dprocessor.h110 struct thread_struct { struct
155 typedef struct thread_struct thread_struct; argument
/kernel/linux/linux-5.10/arch/nios2/kernel/
Dasm-offsets.c21 OFFSET(THREAD_KSP, thread_struct, ksp); in main()
22 OFFSET(THREAD_KPSR, thread_struct, kpsr); in main()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/hexagon/include/asm/
Dswitch_to.h11 struct thread_struct;
Dprocessor.h26 struct thread_struct { struct
/kernel/linux/linux-5.10/arch/openrisc/include/asm/
Dprocessor.h46 struct thread_struct { struct

1234