Home
last modified time | relevance | path

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

1234

/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.h10 struct thread_struct;
18 extern struct task_struct *_switch(struct thread_struct *prev,
19 struct thread_struct *next);
Dpkeys.h205 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);
/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()
/arch/c6x/include/asm/
Dswitch_to.h16 struct thread_struct;
17 asmlinkage void *__switch_to(struct thread_struct *prev,
18 struct thread_struct *next,
/arch/sh/include/asm/
Dswitch_to_64.h10 struct thread_struct;
17 struct thread_struct *prev_thread,
19 struct thread_struct *next_thread);
/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()
/arch/powerpc/kernel/
Dasm-offsets.c91 OFFSET(KSP_LIMIT, thread_struct, ksp_limit); in main()
93 OFFSET(RTAS_SP, thread_struct, rtas_sp); in main()
105 OFFSET(KSP, thread_struct, ksp); in main()
106 OFFSET(PT_REGS, thread_struct, regs); in main()
108 OFFSET(THREAD_NORMSAVES, thread_struct, normsave[0]); in main()
110 OFFSET(THREAD_FPEXC_MODE, thread_struct, fpexc_mode); in main()
111 OFFSET(THREAD_FPSTATE, thread_struct, fp_state.fpr); in main()
112 OFFSET(THREAD_FPSAVEAREA, thread_struct, fp_save_area); in main()
114 OFFSET(THREAD_LOAD_FP, thread_struct, load_fp); in main()
116 OFFSET(THREAD_VRSTATE, thread_struct, vr_state.vr); in main()
[all …]
/arch/arm64/include/asm/
Dprocessor.h128 struct thread_struct { struct
160 BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) != in arch_thread_struct_whitelist() argument
161 sizeof_field(struct thread_struct, uw.tp_value) + in arch_thread_struct_whitelist()
162 sizeof_field(struct thread_struct, uw.tp2_value) + in arch_thread_struct_whitelist()
163 sizeof_field(struct thread_struct, uw.fpsimd_state)); in arch_thread_struct_whitelist()
165 *offset = offsetof(struct thread_struct, uw); in arch_thread_struct_whitelist()
166 *size = sizeof_field(struct thread_struct, uw); in arch_thread_struct_whitelist()
/arch/csky/kernel/
Dasm-offsets.c21 DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp)); in main()
22 DEFINE(THREAD_SR, offsetof(struct thread_struct, sr)); in main()
23 DEFINE(THREAD_FESR, offsetof(struct thread_struct, user_fp.fesr)); in main()
24 DEFINE(THREAD_FCR, offsetof(struct thread_struct, user_fp.fcr)); in main()
25 DEFINE(THREAD_FPREG, offsetof(struct thread_struct, user_fp.vr)); in main()
/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()
/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()
/arch/arc/kernel/
Dasm-offsets.c22 DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp)); in main()
23 DEFINE(THREAD_CALLEE_REG, offsetof(struct thread_struct, callee_reg)); in main()
25 offsetof(struct thread_struct, fault_address)); in main()
/arch/microblaze/include/asm/
Dprocessor.h58 struct thread_struct { }; struct
92 struct thread_struct { struct
/arch/x86/kernel/
Dioport.c29 struct thread_struct *t = &current->thread; in ksys_ioperm()
119 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()
/arch/hexagon/include/asm/
Dswitch_to.h11 struct thread_struct;
Dprocessor.h26 struct thread_struct { struct
/arch/nios2/kernel/
Dasm-offsets.c21 OFFSET(THREAD_KSP, thread_struct, ksp); in main()
22 OFFSET(THREAD_KPSR, thread_struct, kpsr); in main()
/arch/s390/include/asm/
Dprocessor.h113 struct thread_struct { struct
158 typedef struct thread_struct thread_struct; argument
/arch/powerpc/mm/book3s64/
Dpkeys.c273 void thread_pkey_regs_save(struct thread_struct *thread) in thread_pkey_regs_save()
286 void thread_pkey_regs_restore(struct thread_struct *new_thread, in thread_pkey_regs_restore()
287 struct thread_struct *old_thread) in thread_pkey_regs_restore()
300 void thread_pkey_regs_init(struct thread_struct *thread) in thread_pkey_regs_init()
/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()
/arch/openrisc/include/asm/
Dprocessor.h46 struct thread_struct { struct
/arch/sparc/kernel/
Dasm-offsets.c25 offsetof(struct thread_struct, fork_kpsr)); in sparc32_foo()
/arch/alpha/include/asm/
Dprocessor.h34 struct thread_struct { }; struct

1234