/linux-2.6.39/arch/m68k/kernel/ |
D | asm-offsets_no.c | 31 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()
|
D | asm-offsets_mm.c | 33 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/ |
D | asm-offsets.c | 90 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/ |
D | asm-offsets.c | 65 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()
|
D | switch_to.S | 26 # 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/ |
D | asm-offsets.c | 81 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 …]
|
D | ptrace.c | 342 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 …]
|
D | process.c | 297 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/ |
D | system_64.h | 21 struct thread_struct; 23 struct thread_struct *prev_thread, 25 struct thread_struct *next_thread);
|
/linux-2.6.39/arch/mn10300/include/asm/ |
D | system.h | 40 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/ |
D | asm-offsets.c | 37 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/ |
D | asm-offsets.c | 36 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/ |
D | system.h | 19 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/ |
D | processor.h | 76 struct thread_struct { struct 89 typedef struct thread_struct thread_struct; argument
|
/linux-2.6.39/arch/x86/kernel/ |
D | ioport.c | 25 struct thread_struct *t = ¤t->thread; in sys_ioperm() 99 struct thread_struct *t = ¤t->thread; in sys_iopl()
|
D | tls.c | 22 struct thread_struct *t = ¤t->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/ |
D | processor.h | 63 struct thread_struct { }; struct 115 struct thread_struct { struct
|
/linux-2.6.39/arch/um/sys-i386/ |
D | tls.c | 63 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/ |
D | asm-offsets.c | 21 offsetof(struct thread_struct, fork_kpsr)); in sparc32_foo()
|
/linux-2.6.39/arch/tile/include/asm/ |
D | processor.h | 32 struct thread_struct; 81 struct thread_struct { struct
|
/linux-2.6.39/arch/powerpc/include/asm/ |
D | system.h | 213 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/ |
D | processor.h | 16 struct thread_struct { struct
|
/linux-2.6.39/arch/cris/include/arch-v10/arch/ |
D | processor.h | 20 struct thread_struct { struct
|
/linux-2.6.39/arch/tile/kernel/ |
D | process.c | 171 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/ |
D | processor.h | 39 struct thread_struct { }; struct
|