Home
last modified time | relevance | path

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

1234

/linux/arch/powerpc/kernel/
A Dasm-offsets.c101 OFFSET(KSP, thread_struct, ksp); in main()
127 OFFSET(SRR0, thread_struct, srr0); in main()
129 OFFSET(DAR, thread_struct, dar); in main()
132 OFFSET(THR0, thread_struct, r0); in main()
133 OFFSET(THR3, thread_struct, r3); in main()
134 OFFSET(THR4, thread_struct, r4); in main()
135 OFFSET(THR5, thread_struct, r5); in main()
136 OFFSET(THR6, thread_struct, r6); in main()
137 OFFSET(THR8, thread_struct, r8); in main()
138 OFFSET(THR9, thread_struct, r9); in main()
[all …]
A Dprocess.c695 static void set_debug_reg_defaults(struct thread_struct *thread) in set_debug_reg_defaults()
770 static void set_debug_reg_defaults(struct thread_struct *thread) in set_debug_reg_defaults()
904 static void tm_reclaim_thread(struct thread_struct *thr, uint8_t cause) in tm_reclaim_thread()
966 struct thread_struct *thr = &tsk->thread; in tm_reclaim_task()
996 extern void __tm_recheckpoint(struct thread_struct *thread);
998 void tm_recheckpoint(struct thread_struct *thread) in tm_recheckpoint()
1127 static inline void save_sprs(struct thread_struct *t) in save_sprs()
1159 static inline void restore_sprs(struct thread_struct *old_thread, in restore_sprs()
1160 struct thread_struct *new_thread) in restore_sprs()
1207 struct thread_struct *new_thread, *old_thread; in __switch_to()
/linux/arch/m68k/kernel/
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()
/linux/arch/powerpc/include/asm/
A 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);
A Dswitch_to.h11 struct thread_struct;
19 extern struct task_struct *_switch(struct thread_struct *prev,
20 struct thread_struct *next);
/linux/arch/arm64/include/asm/
A Dprocessor.h139 struct thread_struct { struct
172 static inline unsigned int thread_get_vl(struct thread_struct *thread, in thread_get_vl() argument
178 static inline unsigned int thread_get_sve_vl(struct thread_struct *thread) in thread_get_sve_vl()
220 BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) != in arch_thread_struct_whitelist()
221 sizeof_field(struct thread_struct, uw.tp_value) + in arch_thread_struct_whitelist()
222 sizeof_field(struct thread_struct, uw.tp2_value) + in arch_thread_struct_whitelist()
223 sizeof_field(struct thread_struct, uw.fpsimd_state)); in arch_thread_struct_whitelist()
225 *offset = offsetof(struct thread_struct, uw); in arch_thread_struct_whitelist()
226 *size = sizeof_field(struct thread_struct, uw); in arch_thread_struct_whitelist()
/linux/arch/powerpc/kernel/ptrace/
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()
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()
/linux/arch/riscv/include/asm/
A Dprocessor.h31 struct thread_struct { struct
44 *offset = offsetof(struct thread_struct, fstate); in arch_thread_struct_whitelist() argument
45 *size = sizeof_field(struct thread_struct, fstate); in arch_thread_struct_whitelist()
/linux/arch/csky/kernel/
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()
/linux/arch/h8300/kernel/
A Dasm-offsets.c37 OFFSET(THREAD_KSP, thread_struct, ksp); in main()
38 OFFSET(THREAD_USP, thread_struct, usp); in main()
39 OFFSET(THREAD_CCR, thread_struct, ccr); in main()
/linux/arch/arc/kernel/
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()
/linux/arch/x86/kernel/
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()
A 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()
559 struct thread_struct *prev = &prev_p->thread; in __switch_to()
560 struct thread_struct *next = &next_p->thread; in __switch_to()
A 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()
/linux/arch/s390/include/asm/
A Dprocessor.h107 struct thread_struct { struct
152 typedef struct thread_struct thread_struct; typedef
/linux/arch/nios2/kernel/
A Dasm-offsets.c21 OFFSET(THREAD_KSP, thread_struct, ksp); in main()
22 OFFSET(THREAD_KPSR, thread_struct, kpsr); in main()
/linux/arch/x86/um/
A Dtls_32.c65 struct thread_struct *t = &task->thread; in get_free_idx()
206 struct thread_struct *t = &task->thread; in set_tls_entry()
241 struct thread_struct *t = &task->thread; in get_tls_entry()
/linux/arch/hexagon/include/asm/
A Dswitch_to.h11 struct thread_struct;
A Dprocessor.h26 struct thread_struct { struct
/linux/arch/microblaze/kernel/
A Dasm-offsets.c80 DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp)); in main()
83 DEFINE(PGDIR, offsetof(struct thread_struct, pgdir)); in main()
/linux/arch/sparc/kernel/
A Dasm-offsets.c25 offsetof(struct thread_struct, fork_kpsr)); in sparc32_foo()
/linux/arch/openrisc/include/asm/
A Dprocessor.h46 struct thread_struct { struct
/linux/arch/alpha/include/asm/
A Dprocessor.h34 struct thread_struct { }; struct
/linux/arch/nios2/include/asm/
A Dprocessor.h45 struct thread_struct { struct

Completed in 27 milliseconds

1234