Home
last modified time | relevance | path

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

1234

/openbmc/linux/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_area); in main()
[all …]
/openbmc/linux/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()
/openbmc/linux/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() argument
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, uw); in arch_thread_struct_whitelist()
[all …]
H A Dfpsimd.h77 static inline bool thread_sm_enabled(struct thread_struct *thread) in thread_sm_enabled()
82 static inline bool thread_za_enabled(struct thread_struct *thread) in thread_za_enabled()
96 static inline void *sve_pffr(struct thread_struct *thread) in sve_pffr()
108 static inline void *thread_zt_state(struct thread_struct *thread) in thread_zt_state()
/openbmc/linux/arch/powerpc/include/asm/
H 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);
H A Dswitch_to.h11 struct thread_struct;
19 extern struct task_struct *_switch(struct thread_struct *prev,
20 struct thread_struct *next);
/openbmc/linux/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()
/openbmc/u-boot/arch/arm/include/asm/
H A Dprocessor.h66 struct thread_struct { struct
89 static inline unsigned long thread_saved_pc(struct thread_struct *t) in thread_saved_pc() argument
94 static inline unsigned long thread_saved_fp(struct thread_struct *t) in thread_saved_fp()
/openbmc/linux/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()
/openbmc/u-boot/arch/microblaze/include/asm/
H A Dsystem.h32 struct thread_struct;
33 extern void *switch_thread (struct thread_struct *last,
34 struct thread_struct *next);
/openbmc/linux/arch/riscv/include/asm/
H A Dprocessor.h76 struct thread_struct { struct
91 *offset = offsetof(struct thread_struct, fstate); in arch_thread_struct_whitelist() argument
92 *size = sizeof_field(struct thread_struct, fstate); in arch_thread_struct_whitelist()
/openbmc/linux/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()
H A Dtls.c24 struct thread_struct *t = &current->thread; in get_free_idx()
88 struct thread_struct *t = &p->thread; in set_tls_desc()
246 struct thread_struct *t = &target->thread; in regset_tls_active()
H A Dprocess_64.c350 static __always_inline void x86_pkru_load(struct thread_struct *prev, in x86_pkru_load()
351 struct thread_struct *next) in x86_pkru_load()
367 static __always_inline void x86_fsgsbase_load(struct thread_struct *prev, in x86_fsgsbase_load()
368 struct thread_struct *next) in x86_fsgsbase_load()
563 struct thread_struct *prev = &prev_p->thread; in __switch_to()
564 struct thread_struct *next = &next_p->thread; in __switch_to()
/openbmc/linux/arch/s390/include/asm/
H A Dprocessor.h158 struct thread_struct { struct
203 typedef struct thread_struct thread_struct; argument
/openbmc/linux/arch/nios2/kernel/
H A Dasm-offsets.c21 OFFSET(THREAD_KSP, thread_struct, ksp); in main()
22 OFFSET(THREAD_KPSR, thread_struct, kpsr); in main()
/openbmc/linux/arch/x86/um/
H A 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()
/openbmc/linux/arch/arc/kernel/
H A Dasm-offsets.c23 DEFINE(THREAD_CALLEE_REG, offsetof(struct thread_struct, callee_reg)); in main()
25 offsetof(struct thread_struct, fault_address)); in main()
/openbmc/linux/arch/hexagon/include/asm/
H A Dswitch_to.h11 struct thread_struct;
H A Dprocessor.h26 struct thread_struct { struct
/openbmc/linux/arch/alpha/include/asm/
H A Dprocessor.h30 struct thread_struct { }; struct
/openbmc/linux/arch/nios2/include/asm/
H A Dprocessor.h45 struct thread_struct { struct
/openbmc/linux/arch/sparc/kernel/
H A Dasm-offsets.c25 offsetof(struct thread_struct, fork_kpsr)); in sparc32_foo()
/openbmc/linux/arch/openrisc/include/asm/
H A Dprocessor.h46 struct thread_struct { struct

1234