Home
last modified time | relevance | path

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

123

/linux-2.6.39/arch/m68k/kernel/
Dasm-offsets_no.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()
Dasm-offsets_mm.c33 DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp)); in main()
34 DEFINE(THREAD_USP, offsetof(struct thread_struct, usp)); in main()
35 DEFINE(THREAD_SR, offsetof(struct thread_struct, sr)); in main()
36 DEFINE(THREAD_FS, offsetof(struct thread_struct, fs)); in main()
37 DEFINE(THREAD_CRP, offsetof(struct thread_struct, crp)); in main()
38 DEFINE(THREAD_ESP0, offsetof(struct thread_struct, esp0)); in main()
39 DEFINE(THREAD_FPREG, offsetof(struct thread_struct, fp)); in main()
40 DEFINE(THREAD_FPCNTL, offsetof(struct thread_struct, fpcntl)); in main()
41 DEFINE(THREAD_FPSTATE, offsetof(struct thread_struct, fpstate)); in main()
/linux-2.6.39/arch/frv/kernel/
Dasm-offsets.c90 OFFSET(__THREAD_FRAME, thread_struct, frame); in foo()
91 OFFSET(__THREAD_CURR, thread_struct, curr); in foo()
92 OFFSET(__THREAD_SP, thread_struct, sp); in foo()
93 OFFSET(__THREAD_FP, thread_struct, fp); in foo()
94 OFFSET(__THREAD_LR, thread_struct, lr); in foo()
95 OFFSET(__THREAD_PC, thread_struct, pc); in foo()
96 OFFSET(__THREAD_GR16, thread_struct, gr[0]); in foo()
97 OFFSET(__THREAD_SCHED_LR, thread_struct, sched_lr); in foo()
98 OFFSET(__THREAD_FRAME0, thread_struct, frame0); in foo()
99 OFFSET(__THREAD_USER, thread_struct, user); in foo()
/linux-2.6.39/arch/mn10300/kernel/
Dasm-offsets.c65 OFFSET(THREAD_UREGS, thread_struct, uregs); in foo()
66 OFFSET(THREAD_PC, thread_struct, pc); in foo()
67 OFFSET(THREAD_SP, thread_struct, sp); in foo()
68 OFFSET(THREAD_A3, thread_struct, a3); in foo()
69 OFFSET(THREAD_USP, thread_struct, usp); in foo()
71 OFFSET(THREAD_FPU_FLAGS, thread_struct, fpu_flags); in foo()
72 OFFSET(THREAD_FPU_STATE, thread_struct, fpu_state); in foo()
Dswitch_to.S26 # struct task_struct *__switch_to(struct thread_struct *prev,
27 # struct thread_struct *next,
133 # back in (A1 points to the new thread_struct).
173 # Restore the return value (the previous thread_struct pointer)
/linux-2.6.39/arch/powerpc/kernel/
Dasm-offsets.c81 DEFINE(KSP, offsetof(struct thread_struct, ksp)); in main()
82 DEFINE(KSP_LIMIT, offsetof(struct thread_struct, ksp_limit)); in main()
83 DEFINE(PT_REGS, offsetof(struct thread_struct, regs)); in main()
84 DEFINE(THREAD_FPEXC_MODE, offsetof(struct thread_struct, fpexc_mode)); in main()
85 DEFINE(THREAD_FPR0, offsetof(struct thread_struct, fpr[0])); in main()
86 DEFINE(THREAD_FPSCR, offsetof(struct thread_struct, fpscr)); in main()
88 DEFINE(THREAD_VR0, offsetof(struct thread_struct, vr[0])); in main()
89 DEFINE(THREAD_VRSAVE, offsetof(struct thread_struct, vrsave)); in main()
90 DEFINE(THREAD_VSCR, offsetof(struct thread_struct, vscr)); in main()
91 DEFINE(THREAD_USED_VR, offsetof(struct thread_struct, used_vr)); in main()
[all …]
Dptrace.c342 BUILD_BUG_ON(offsetof(struct thread_struct, fpscr) != in fpr_get()
343 offsetof(struct thread_struct, TS_FPR(32))); in fpr_get()
370 BUILD_BUG_ON(offsetof(struct thread_struct, fpscr) != in fpr_set()
371 offsetof(struct thread_struct, TS_FPR(32))); in fpr_set()
407 BUILD_BUG_ON(offsetof(struct thread_struct, vscr) != in vr_get()
408 offsetof(struct thread_struct, vr[32])); in vr_get()
438 BUILD_BUG_ON(offsetof(struct thread_struct, vscr) != in vr_set()
439 offsetof(struct thread_struct, vr[32])); in vr_set()
544 BUILD_BUG_ON(offsetof(struct thread_struct, acc) + sizeof(u64) != in evr_get()
545 offsetof(struct thread_struct, spefscr)); in evr_get()
[all …]
Dprocess.c297 static void set_debug_reg_defaults(struct thread_struct *thread) in set_debug_reg_defaults()
324 static void prime_debug_regs(struct thread_struct *thread) in prime_debug_regs()
349 static void switch_booke_debug_regs(struct thread_struct *new_thread) in switch_booke_debug_regs()
357 static void set_debug_reg_defaults(struct thread_struct *thread) in set_debug_reg_defaults()
395 struct thread_struct *new_thread, *old_thread; in __switch_to()
1058 if (sp >= stack_page + sizeof(struct thread_struct) in valid_irq_stack()
1063 if (sp >= stack_page + sizeof(struct thread_struct) in valid_irq_stack()
1075 if (sp >= stack_page + sizeof(struct thread_struct) in validate_sp()
/linux-2.6.39/arch/sh/include/asm/
Dsystem_64.h21 struct thread_struct;
23 struct thread_struct *prev_thread,
25 struct thread_struct *next_thread);
/linux-2.6.39/arch/mn10300/include/asm/
Dsystem.h40 struct thread_struct;
43 struct task_struct *__switch_to(struct thread_struct *prev,
44 struct thread_struct *next,
/linux-2.6.39/arch/h8300/kernel/
Dasm-offsets.c37 DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp)); in main()
38 DEFINE(THREAD_USP, offsetof(struct thread_struct, usp)); in main()
39 DEFINE(THREAD_CCR, offsetof(struct thread_struct, ccr)); in main()
/linux-2.6.39/arch/blackfin/kernel/
Dasm-offsets.c36 DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp)); in main()
37 DEFINE(THREAD_USP, offsetof(struct thread_struct, usp)); in main()
38 DEFINE(THREAD_SR, offsetof(struct thread_struct, seqstat)); in main()
39 DEFINE(PT_SR, offsetof(struct thread_struct, seqstat)); in main()
40 DEFINE(THREAD_ESP0, offsetof(struct thread_struct, esp0)); in main()
41 DEFINE(THREAD_PC, offsetof(struct thread_struct, pc)); in main()
/linux-2.6.39/arch/frv/include/asm/
Dsystem.h19 struct thread_struct;
27 struct task_struct *__switch_to(struct thread_struct *prev_thread,
28 struct thread_struct *next_thread,
/linux-2.6.39/arch/s390/include/asm/
Dprocessor.h76 struct thread_struct { struct
89 typedef struct thread_struct thread_struct; argument
/linux-2.6.39/arch/x86/kernel/
Dioport.c25 struct thread_struct *t = &current->thread; in sys_ioperm()
99 struct thread_struct *t = &current->thread; in sys_iopl()
Dtls.c22 struct thread_struct *t = &current->thread; in get_free_idx()
34 struct thread_struct *t = &p->thread; in set_tls_desc()
153 struct thread_struct *t = &target->thread; in regset_tls_active()
/linux-2.6.39/arch/microblaze/include/asm/
Dprocessor.h63 struct thread_struct { }; struct
115 struct thread_struct { struct
/linux-2.6.39/arch/um/sys-i386/
Dtls.c63 struct thread_struct *t = &task->thread; in get_free_idx()
204 struct thread_struct *t = &task->thread; in set_tls_entry()
241 struct thread_struct *t = &task->thread; in get_tls_entry()
/linux-2.6.39/arch/sparc/kernel/
Dasm-offsets.c21 offsetof(struct thread_struct, fork_kpsr)); in sparc32_foo()
/linux-2.6.39/arch/tile/include/asm/
Dprocessor.h32 struct thread_struct;
81 struct thread_struct { struct
/linux-2.6.39/arch/powerpc/include/asm/
Dsystem.h213 struct thread_struct;
214 extern struct task_struct *_switch(struct thread_struct *prev,
215 struct thread_struct *next);
/linux-2.6.39/arch/cris/include/arch-v32/arch/
Dprocessor.h16 struct thread_struct { struct
/linux-2.6.39/arch/cris/include/arch-v10/arch/
Dprocessor.h20 struct thread_struct { struct
/linux-2.6.39/arch/tile/kernel/
Dprocess.c171 static void save_arch_state(struct thread_struct *t);
370 static void restore_tile_dma_state(struct thread_struct *t) in restore_tile_dma_state()
411 static void save_arch_state(struct thread_struct *t) in save_arch_state()
440 static void restore_arch_state(const struct thread_struct *t) in restore_arch_state()
/linux-2.6.39/arch/alpha/include/asm/
Dprocessor.h39 struct thread_struct { }; struct

123