/linux-4.1.27/arch/powerpc/include/asm/ |
D | tm.h | 13 extern void do_load_up_transact_fpu(struct thread_struct *thread); 14 extern void do_load_up_transact_altivec(struct thread_struct *thread); 18 extern void tm_reclaim(struct thread_struct *thread, 21 extern void tm_recheckpoint(struct thread_struct *thread, 24 extern void tm_save_sprs(struct thread_struct *thread); 25 extern void tm_restore_sprs(struct thread_struct *thread);
|
D | switch_to.h | 7 struct thread_struct; 15 struct thread_struct; 16 extern struct task_struct *_switch(struct thread_struct *prev, 17 struct thread_struct *next); 19 static inline void save_early_sprs(struct thread_struct *prev) in save_early_sprs() 27 static inline void save_early_sprs(struct thread_struct *prev) {} in save_early_sprs()
|
D | processor.h | 209 struct thread_struct { struct
|
/linux-4.1.27/arch/frv/kernel/ |
D | asm-offsets.c | 88 OFFSET(__THREAD_FRAME, thread_struct, frame); in foo() 89 OFFSET(__THREAD_CURR, thread_struct, curr); in foo() 90 OFFSET(__THREAD_SP, thread_struct, sp); in foo() 91 OFFSET(__THREAD_FP, thread_struct, fp); in foo() 92 OFFSET(__THREAD_LR, thread_struct, lr); in foo() 93 OFFSET(__THREAD_PC, thread_struct, pc); in foo() 94 OFFSET(__THREAD_GR16, thread_struct, gr[0]); in foo() 95 OFFSET(__THREAD_SCHED_LR, thread_struct, sched_lr); in foo() 96 OFFSET(__THREAD_FRAME0, thread_struct, frame0); in foo() 97 OFFSET(__THREAD_USER, thread_struct, user); in foo()
|
D | switch_to.S | 46 # struct task_struct *__switch_to(struct thread_struct *prev_thread, 47 # struct thread_struct *next_thread, 117 # - GR9 will point to the incoming thread_struct
|
/linux-4.1.27/arch/m68k/kernel/ |
D | asm-offsets.c | 30 DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp)); in main() 31 DEFINE(THREAD_USP, offsetof(struct thread_struct, usp)); in main() 32 DEFINE(THREAD_SR, offsetof(struct thread_struct, sr)); in main() 33 DEFINE(THREAD_FS, offsetof(struct thread_struct, fs)); in main() 34 DEFINE(THREAD_CRP, offsetof(struct thread_struct, crp)); in main() 35 DEFINE(THREAD_ESP0, offsetof(struct thread_struct, esp0)); in main() 36 DEFINE(THREAD_FPREG, offsetof(struct thread_struct, fp)); in main() 37 DEFINE(THREAD_FPCNTL, offsetof(struct thread_struct, fpcntl)); in main() 38 DEFINE(THREAD_FPSTATE, offsetof(struct thread_struct, fpstate)); in main()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | asm-offsets.c | 80 DEFINE(THREAD_DSCR, offsetof(struct thread_struct, dscr)); in main() 81 DEFINE(THREAD_DSCR_INHERIT, offsetof(struct thread_struct, dscr_inherit)); in main() 86 DEFINE(KSP_LIMIT, offsetof(struct thread_struct, ksp_limit)); in main() 89 DEFINE(KSP, offsetof(struct thread_struct, ksp)); in main() 90 DEFINE(PT_REGS, offsetof(struct thread_struct, regs)); in main() 92 DEFINE(THREAD_NORMSAVES, offsetof(struct thread_struct, normsave[0])); in main() 94 DEFINE(THREAD_FPEXC_MODE, offsetof(struct thread_struct, fpexc_mode)); in main() 95 DEFINE(THREAD_FPSTATE, offsetof(struct thread_struct, fp_state)); in main() 96 DEFINE(THREAD_FPSAVEAREA, offsetof(struct thread_struct, fp_save_area)); in main() 99 DEFINE(THREAD_VRSTATE, offsetof(struct thread_struct, vr_state)); in main() [all …]
|
D | process.c | 355 static void set_debug_reg_defaults(struct thread_struct *thread) in set_debug_reg_defaults() 423 static void set_debug_reg_defaults(struct thread_struct *thread) in set_debug_reg_defaults() 531 static void tm_reclaim_thread(struct thread_struct *thr, in tm_reclaim_thread() 601 struct thread_struct *thr = &tsk->thread; in tm_reclaim_task() 637 extern void __tm_recheckpoint(struct thread_struct *thread, 640 void tm_recheckpoint(struct thread_struct *thread, in tm_recheckpoint() 766 struct thread_struct *new_thread, *old_thread; in __switch_to() 1488 if (sp >= stack_page + sizeof(struct thread_struct) in valid_irq_stack() 1493 if (sp >= stack_page + sizeof(struct thread_struct) in valid_irq_stack() 1505 if (sp >= stack_page + sizeof(struct thread_struct) in validate_sp()
|
D | ptrace.c | 581 BUILD_BUG_ON(offsetof(struct thread_struct, acc) + sizeof(u64) != in evr_get() 582 offsetof(struct thread_struct, spefscr)); in evr_get() 604 BUILD_BUG_ON(offsetof(struct thread_struct, acc) + sizeof(u64) != in evr_set() 605 offsetof(struct thread_struct, spefscr)); in evr_set() 940 struct thread_struct *thread = &(task->thread); in ptrace_set_debugreg() 1374 struct thread_struct *thread = &(child->thread); in ppc_set_hwdebug() 1481 struct thread_struct *thread = &(child->thread); in ppc_del_hwdebug()
|
D | hw_breakpoint.c | 357 struct thread_struct *t = &tsk->thread; in flush_ptrace_hw_breakpoint()
|
/linux-4.1.27/arch/c6x/kernel/ |
D | asm-offsets.c | 89 OFFSET(THREAD_PC, thread_struct, pc); in foo() 90 OFFSET(THREAD_B15_14, thread_struct, b15_14); in foo() 91 OFFSET(THREAD_A15_14, thread_struct, a15_14); in foo() 92 OFFSET(THREAD_B13_12, thread_struct, b13_12); in foo() 93 OFFSET(THREAD_A13_12, thread_struct, a13_12); in foo() 94 OFFSET(THREAD_B11_10, thread_struct, b11_10); in foo() 95 OFFSET(THREAD_A11_10, thread_struct, a11_10); in foo() 96 OFFSET(THREAD_RICL_ICL, thread_struct, ricl_icl); in foo()
|
/linux-4.1.27/arch/mn10300/kernel/ |
D | asm-offsets.c | 63 OFFSET(THREAD_UREGS, thread_struct, uregs); in foo() 64 OFFSET(THREAD_PC, thread_struct, pc); in foo() 65 OFFSET(THREAD_SP, thread_struct, sp); in foo() 66 OFFSET(THREAD_A3, thread_struct, a3); in foo() 67 OFFSET(THREAD_USP, thread_struct, usp); in foo() 69 OFFSET(THREAD_FPU_FLAGS, thread_struct, fpu_flags); in foo() 70 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-4.1.27/arch/c6x/include/asm/ |
D | switch_to.h | 19 struct thread_struct; 20 asmlinkage void *__switch_to(struct thread_struct *prev, 21 struct thread_struct *next,
|
D | processor.h | 54 struct thread_struct { struct
|
/linux-4.1.27/arch/sh/include/asm/ |
D | switch_to_64.h | 13 struct thread_struct; 20 struct thread_struct *prev_thread, 22 struct thread_struct *next_thread);
|
D | processor_32.h | 96 struct thread_struct { struct
|
D | processor_64.h | 107 struct thread_struct { struct
|
/linux-4.1.27/arch/mn10300/include/asm/ |
D | switch_to.h | 17 struct thread_struct; 36 struct task_struct *__switch_to(struct thread_struct *prev, 37 struct thread_struct *next,
|
D | processor.h | 96 struct thread_struct { struct
|
/linux-4.1.27/arch/arc/kernel/ |
D | asm-offsets.c | 25 DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp)); in main() 26 DEFINE(THREAD_CALLEE_REG, offsetof(struct thread_struct, callee_reg)); in main() 28 offsetof(struct thread_struct, fault_address)); in main()
|
D | entry.S | 596 ; save location of saved Callee Regs @ thread_struct->callee
|
/linux-4.1.27/arch/frv/include/asm/ |
D | switch_to.h | 23 struct task_struct *__switch_to(struct thread_struct *prev_thread, 24 struct thread_struct *next_thread,
|
D | processor.h | 42 struct thread_struct { struct
|
/linux-4.1.27/arch/blackfin/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_SR, offsetof(struct thread_struct, seqstat)); in main() 40 DEFINE(PT_SR, offsetof(struct thread_struct, seqstat)); in main() 41 DEFINE(THREAD_ESP0, offsetof(struct thread_struct, esp0)); in main() 42 DEFINE(THREAD_PC, offsetof(struct thread_struct, pc)); in main()
|
/linux-4.1.27/arch/metag/kernel/ |
D | process.c | 263 static void alloc_fpu_context(struct thread_struct *thread) in alloc_fpu_context() 269 static void clear_fpu(struct thread_struct *thread) in clear_fpu() 276 static void clear_fpu(struct thread_struct *thread) in clear_fpu() 282 static void clear_dsp(struct thread_struct *thread) in clear_dsp() 296 static void clear_dsp(struct thread_struct *thread) in clear_dsp()
|
/linux-4.1.27/arch/x86/kernel/ |
D | ioport.c | 25 struct thread_struct *t = ¤t->thread; in sys_ioperm() 99 struct thread_struct *t = ¤t->thread; in SYSCALL_DEFINE1()
|
D | tls.c | 21 struct thread_struct *t = ¤t->thread; in get_free_idx() 85 struct thread_struct *t = &p->thread; in set_tls_desc() 203 struct thread_struct *t = &target->thread; in regset_tls_active()
|
D | process.c | 128 struct thread_struct *t = &me->thread; in exit_thread() 231 struct thread_struct *prev, *next; in __switch_to_xtra()
|
D | hw_breakpoint.c | 349 struct thread_struct *thread = ¤t->thread; in aout_dump_debugregs() 377 struct thread_struct *t = &tsk->thread; in flush_ptrace_hw_breakpoint()
|
D | ptrace.c | 563 struct thread_struct *thread = &(current->thread); in ptrace_triggered() 649 struct thread_struct *thread = &tsk->thread; in ptrace_write_dr7() 700 struct thread_struct *thread = &tsk->thread; in ptrace_get_debugreg() 719 struct thread_struct *t = &tsk->thread; in ptrace_set_breakpoint_addr() 758 struct thread_struct *thread = &tsk->thread; in ptrace_set_debugreg()
|
D | process_64.c | 276 struct thread_struct *prev = &prev_p->thread; in __switch_to() 277 struct thread_struct *next = &next_p->thread; in __switch_to()
|
D | vsyscall_64.c | 97 struct thread_struct *thread = ¤t->thread; in write_ok_or_segv()
|
D | process_32.c | 244 struct thread_struct *prev = &prev_p->thread, in __switch_to()
|
/linux-4.1.27/arch/s390/include/asm/ |
D | processor.h | 87 struct thread_struct { struct 117 typedef struct thread_struct thread_struct; argument
|
/linux-4.1.27/arch/microblaze/include/asm/ |
D | processor.h | 65 struct thread_struct { }; struct 112 struct thread_struct { struct
|
/linux-4.1.27/arch/nios2/kernel/ |
D | asm-offsets.c | 34 OFFSET(THREAD_KSP, thread_struct, ksp); in main() 35 OFFSET(THREAD_KPSR, thread_struct, kpsr); in main()
|
/linux-4.1.27/arch/x86/um/ |
D | tls_32.c | 64 struct thread_struct *t = &task->thread; in get_free_idx() 205 struct thread_struct *t = &task->thread; in set_tls_entry() 242 struct thread_struct *t = &task->thread; in get_tls_entry()
|
/linux-4.1.27/arch/hexagon/include/asm/ |
D | switch_to.h | 24 struct thread_struct;
|
D | processor.h | 45 struct thread_struct { struct
|
/linux-4.1.27/arch/tile/kernel/ |
D | process.c | 99 static void save_arch_state(struct thread_struct *t); 318 static void restore_tile_dma_state(struct thread_struct *t) in restore_tile_dma_state() 359 static void save_arch_state(struct thread_struct *t) in save_arch_state() 384 static void restore_arch_state(const struct thread_struct *t) in restore_arch_state()
|
D | hardwall.c | 578 struct thread_struct *ts = &p->thread; in hardwall_activate() 629 struct thread_struct *ts = &task->thread; in _hardwall_deactivate()
|
/linux-4.1.27/arch/cris/include/arch-v32/arch/ |
D | processor.h | 16 struct thread_struct { struct
|
/linux-4.1.27/arch/cris/include/arch-v10/arch/ |
D | processor.h | 20 struct thread_struct { struct
|
/linux-4.1.27/arch/sparc/kernel/ |
D | asm-offsets.c | 23 offsetof(struct thread_struct, fork_kpsr)); in sparc32_foo()
|
/linux-4.1.27/arch/alpha/include/asm/ |
D | processor.h | 39 struct thread_struct { }; struct
|
/linux-4.1.27/arch/tile/include/asm/ |
D | processor.h | 33 struct thread_struct; 93 struct thread_struct { struct
|
/linux-4.1.27/arch/openrisc/include/asm/ |
D | processor.h | 55 struct thread_struct { struct
|
/linux-4.1.27/arch/nios2/include/asm/ |
D | processor.h | 51 struct thread_struct { struct
|
/linux-4.1.27/arch/unicore32/include/asm/ |
D | processor.h | 42 struct thread_struct { struct
|
/linux-4.1.27/arch/um/include/asm/ |
D | processor-generic.h | 21 struct thread_struct { struct
|
/linux-4.1.27/arch/arc/include/asm/ |
D | processor.h | 34 struct thread_struct { struct
|
/linux-4.1.27/arch/cris/kernel/ |
D | asm-offsets.c | 43 #define ENTRY(entry) DEFINE(THREAD_ ## entry, offsetof(struct thread_struct, entry)) in main()
|
/linux-4.1.27/arch/score/include/asm/ |
D | processor.h | 50 struct thread_struct { struct
|
/linux-4.1.27/arch/microblaze/kernel/ |
D | asm-offsets.c | 82 DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp)); in main() 85 DEFINE(PGDIR, offsetof(struct thread_struct, pgdir)); in main()
|
/linux-4.1.27/arch/sparc/include/asm/ |
D | processor_32.h | 51 struct thread_struct { struct
|
D | processor_64.h | 65 struct thread_struct { struct
|
/linux-4.1.27/arch/m32r/include/asm/ |
D | processor.h | 85 struct thread_struct { struct
|
/linux-4.1.27/arch/arm/include/asm/ |
D | processor.h | 39 struct thread_struct { struct
|
/linux-4.1.27/arch/blackfin/include/asm/ |
D | processor.h | 53 struct thread_struct { struct
|
/linux-4.1.27/arch/avr32/include/asm/ |
D | processor.h | 113 struct thread_struct { struct
|
/linux-4.1.27/arch/arm64/include/asm/ |
D | processor.h | 79 struct thread_struct { struct
|
/linux-4.1.27/arch/m68k/include/asm/ |
D | processor.h | 83 struct thread_struct { struct
|
/linux-4.1.27/arch/x86/include/asm/ |
D | paravirt_types.h | 47 struct thread_struct; 130 void (*load_tls)(struct thread_struct *t, unsigned int cpu); 143 void (*load_sp0)(struct tss_struct *tss, struct thread_struct *t);
|
D | processor.h | 491 struct thread_struct { struct 569 native_load_sp0(struct tss_struct *tss, struct thread_struct *thread) in native_load_sp0() argument 605 struct thread_struct *thread) in load_sp0()
|
D | elf.h | 171 static inline void elf_common_init(struct thread_struct *t, in elf_common_init()
|
D | paravirt.h | 23 struct thread_struct *thread) in load_sp0() 274 static inline void load_TLS(struct thread_struct *t, unsigned cpu) in load_TLS()
|
D | desc.h | 245 static inline void native_load_tls(struct thread_struct *t, unsigned int cpu) in native_load_tls()
|
/linux-4.1.27/arch/hexagon/kernel/ |
D | asm-offsets.c | 102 OFFSET(_THREAD_STRUCT_SWITCH_SP, thread_struct, switch_sp); in main()
|
/linux-4.1.27/arch/xtensa/include/asm/ |
D | processor.h | 95 struct thread_struct { struct
|
/linux-4.1.27/arch/metag/include/asm/ |
D | processor.h | 77 struct thread_struct { struct
|
/linux-4.1.27/arch/sh/kernel/ |
D | process_32.c | 183 struct thread_struct *next_t = &next->thread; in __switch_to()
|
D | hw_breakpoint.c | 273 struct thread_struct *t = &tsk->thread; in flush_ptrace_hw_breakpoint()
|
D | ptrace_32.c | 81 struct thread_struct *thread = &tsk->thread; in set_single_step()
|
/linux-4.1.27/arch/mips/include/asm/ |
D | processor.h | 250 struct thread_struct { struct
|
/linux-4.1.27/arch/parisc/include/asm/ |
D | processor.h | 126 struct thread_struct { struct
|
/linux-4.1.27/arch/um/kernel/ |
D | process.c | 159 p->thread = (struct thread_struct) INIT_THREAD; in copy_thread()
|
/linux-4.1.27/arch/x86/lguest/ |
D | boot.c | 362 static void lguest_load_tls(struct thread_struct *t, unsigned int cpu) in lguest_load_tls() 1075 struct thread_struct *thread) in lguest_load_sp0()
|
/linux-4.1.27/arch/x86/xen/ |
D | enlighten.c | 677 static void load_TLS_descriptor(struct thread_struct *t, in load_TLS_descriptor() 697 static void xen_load_tls(struct thread_struct *t, unsigned int cpu) in xen_load_tls() 952 struct thread_struct *thread) in xen_load_sp0()
|
/linux-4.1.27/arch/arm/nwfpe/ |
D | ChangeLog | 49 below its area, which is bad, as the area is in the thread_struct
|
/linux-4.1.27/arch/mips/kernel/ |
D | process.c | 422 struct thread_struct *t = &tsk->thread; in thread_saved_pc()
|
/linux-4.1.27/arch/ia64/include/asm/ |
D | processor.h | 275 struct thread_struct { struct
|
/linux-4.1.27/arch/s390/mm/ |
D | fault.c | 715 struct thread_struct *thread, *next; in pfault_cpu_notify()
|
/linux-4.1.27/arch/arm/kernel/ |
D | ptrace.c | 425 struct thread_struct *t = &tsk->thread; in flush_ptrace_hw_breakpoint()
|
/linux-4.1.27/arch/powerpc/kvm/ |
D | book3s_pr.c | 650 struct thread_struct *t = ¤t->thread; in kvmppc_giveup_ext() 713 struct thread_struct *t = ¤t->thread; in kvmppc_handle_ext()
|
/linux-4.1.27/arch/arm64/kernel/ |
D | ptrace.c | 117 struct thread_struct *t = &tsk->thread; in flush_ptrace_hw_breakpoint()
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
D | common.c | 1454 struct thread_struct *thread = &curr->thread; in cpu_init()
|
/linux-4.1.27/arch/s390/kernel/ |
D | ptrace.c | 44 struct thread_struct *thread = &task->thread; in update_cr_regs()
|
/linux-4.1.27/arch/ia64/kernel/ |
D | perfmon.c | 3684 struct thread_struct *thread = NULL; in pfm_write_ibr_dbr() 4163 struct thread_struct *thread; in pfm_context_load() 6759 struct thread_struct *thread; in pfm_inherit()
|
/linux-4.1.27/include/linux/ |
D | sched.h | 1476 struct thread_struct thread;
|