Home
last modified time | relevance | path

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

/linux-4.1.27/arch/powerpc/include/asm/
Dtm.h13 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);
Dswitch_to.h7 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()
Dprocessor.h209 struct thread_struct { struct
/linux-4.1.27/arch/frv/kernel/
Dasm-offsets.c88 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()
Dswitch_to.S46 # 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/
Dasm-offsets.c30 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/
Dasm-offsets.c80 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 …]
Dprocess.c355 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()
Dptrace.c581 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()
Dhw_breakpoint.c357 struct thread_struct *t = &tsk->thread; in flush_ptrace_hw_breakpoint()
/linux-4.1.27/arch/c6x/kernel/
Dasm-offsets.c89 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/
Dasm-offsets.c63 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()
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-4.1.27/arch/c6x/include/asm/
Dswitch_to.h19 struct thread_struct;
20 asmlinkage void *__switch_to(struct thread_struct *prev,
21 struct thread_struct *next,
Dprocessor.h54 struct thread_struct { struct
/linux-4.1.27/arch/sh/include/asm/
Dswitch_to_64.h13 struct thread_struct;
20 struct thread_struct *prev_thread,
22 struct thread_struct *next_thread);
Dprocessor_32.h96 struct thread_struct { struct
Dprocessor_64.h107 struct thread_struct { struct
/linux-4.1.27/arch/mn10300/include/asm/
Dswitch_to.h17 struct thread_struct;
36 struct task_struct *__switch_to(struct thread_struct *prev,
37 struct thread_struct *next,
Dprocessor.h96 struct thread_struct { struct
/linux-4.1.27/arch/arc/kernel/
Dasm-offsets.c25 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()
Dentry.S596 ; save location of saved Callee Regs @ thread_struct->callee
/linux-4.1.27/arch/frv/include/asm/
Dswitch_to.h23 struct task_struct *__switch_to(struct thread_struct *prev_thread,
24 struct thread_struct *next_thread,
Dprocessor.h42 struct thread_struct { struct
/linux-4.1.27/arch/blackfin/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_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/
Dprocess.c263 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/
Dioport.c25 struct thread_struct *t = &current->thread; in sys_ioperm()
99 struct thread_struct *t = &current->thread; in SYSCALL_DEFINE1()
Dtls.c21 struct thread_struct *t = &current->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()
Dprocess.c128 struct thread_struct *t = &me->thread; in exit_thread()
231 struct thread_struct *prev, *next; in __switch_to_xtra()
Dhw_breakpoint.c349 struct thread_struct *thread = &current->thread; in aout_dump_debugregs()
377 struct thread_struct *t = &tsk->thread; in flush_ptrace_hw_breakpoint()
Dptrace.c563 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()
Dprocess_64.c276 struct thread_struct *prev = &prev_p->thread; in __switch_to()
277 struct thread_struct *next = &next_p->thread; in __switch_to()
Dvsyscall_64.c97 struct thread_struct *thread = &current->thread; in write_ok_or_segv()
Dprocess_32.c244 struct thread_struct *prev = &prev_p->thread, in __switch_to()
/linux-4.1.27/arch/s390/include/asm/
Dprocessor.h87 struct thread_struct { struct
117 typedef struct thread_struct thread_struct; argument
/linux-4.1.27/arch/microblaze/include/asm/
Dprocessor.h65 struct thread_struct { }; struct
112 struct thread_struct { struct
/linux-4.1.27/arch/nios2/kernel/
Dasm-offsets.c34 OFFSET(THREAD_KSP, thread_struct, ksp); in main()
35 OFFSET(THREAD_KPSR, thread_struct, kpsr); in main()
/linux-4.1.27/arch/x86/um/
Dtls_32.c64 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/
Dswitch_to.h24 struct thread_struct;
Dprocessor.h45 struct thread_struct { struct
/linux-4.1.27/arch/tile/kernel/
Dprocess.c99 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()
Dhardwall.c578 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/
Dprocessor.h16 struct thread_struct { struct
/linux-4.1.27/arch/cris/include/arch-v10/arch/
Dprocessor.h20 struct thread_struct { struct
/linux-4.1.27/arch/sparc/kernel/
Dasm-offsets.c23 offsetof(struct thread_struct, fork_kpsr)); in sparc32_foo()
/linux-4.1.27/arch/alpha/include/asm/
Dprocessor.h39 struct thread_struct { }; struct
/linux-4.1.27/arch/tile/include/asm/
Dprocessor.h33 struct thread_struct;
93 struct thread_struct { struct
/linux-4.1.27/arch/openrisc/include/asm/
Dprocessor.h55 struct thread_struct { struct
/linux-4.1.27/arch/nios2/include/asm/
Dprocessor.h51 struct thread_struct { struct
/linux-4.1.27/arch/unicore32/include/asm/
Dprocessor.h42 struct thread_struct { struct
/linux-4.1.27/arch/um/include/asm/
Dprocessor-generic.h21 struct thread_struct { struct
/linux-4.1.27/arch/arc/include/asm/
Dprocessor.h34 struct thread_struct { struct
/linux-4.1.27/arch/cris/kernel/
Dasm-offsets.c43 #define ENTRY(entry) DEFINE(THREAD_ ## entry, offsetof(struct thread_struct, entry)) in main()
/linux-4.1.27/arch/score/include/asm/
Dprocessor.h50 struct thread_struct { struct
/linux-4.1.27/arch/microblaze/kernel/
Dasm-offsets.c82 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/
Dprocessor_32.h51 struct thread_struct { struct
Dprocessor_64.h65 struct thread_struct { struct
/linux-4.1.27/arch/m32r/include/asm/
Dprocessor.h85 struct thread_struct { struct
/linux-4.1.27/arch/arm/include/asm/
Dprocessor.h39 struct thread_struct { struct
/linux-4.1.27/arch/blackfin/include/asm/
Dprocessor.h53 struct thread_struct { struct
/linux-4.1.27/arch/avr32/include/asm/
Dprocessor.h113 struct thread_struct { struct
/linux-4.1.27/arch/arm64/include/asm/
Dprocessor.h79 struct thread_struct { struct
/linux-4.1.27/arch/m68k/include/asm/
Dprocessor.h83 struct thread_struct { struct
/linux-4.1.27/arch/x86/include/asm/
Dparavirt_types.h47 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);
Dprocessor.h491 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()
Delf.h171 static inline void elf_common_init(struct thread_struct *t, in elf_common_init()
Dparavirt.h23 struct thread_struct *thread) in load_sp0()
274 static inline void load_TLS(struct thread_struct *t, unsigned cpu) in load_TLS()
Ddesc.h245 static inline void native_load_tls(struct thread_struct *t, unsigned int cpu) in native_load_tls()
/linux-4.1.27/arch/hexagon/kernel/
Dasm-offsets.c102 OFFSET(_THREAD_STRUCT_SWITCH_SP, thread_struct, switch_sp); in main()
/linux-4.1.27/arch/xtensa/include/asm/
Dprocessor.h95 struct thread_struct { struct
/linux-4.1.27/arch/metag/include/asm/
Dprocessor.h77 struct thread_struct { struct
/linux-4.1.27/arch/sh/kernel/
Dprocess_32.c183 struct thread_struct *next_t = &next->thread; in __switch_to()
Dhw_breakpoint.c273 struct thread_struct *t = &tsk->thread; in flush_ptrace_hw_breakpoint()
Dptrace_32.c81 struct thread_struct *thread = &tsk->thread; in set_single_step()
/linux-4.1.27/arch/mips/include/asm/
Dprocessor.h250 struct thread_struct { struct
/linux-4.1.27/arch/parisc/include/asm/
Dprocessor.h126 struct thread_struct { struct
/linux-4.1.27/arch/um/kernel/
Dprocess.c159 p->thread = (struct thread_struct) INIT_THREAD; in copy_thread()
/linux-4.1.27/arch/x86/lguest/
Dboot.c362 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/
Denlighten.c677 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/
DChangeLog49 below its area, which is bad, as the area is in the thread_struct
/linux-4.1.27/arch/mips/kernel/
Dprocess.c422 struct thread_struct *t = &tsk->thread; in thread_saved_pc()
/linux-4.1.27/arch/ia64/include/asm/
Dprocessor.h275 struct thread_struct { struct
/linux-4.1.27/arch/s390/mm/
Dfault.c715 struct thread_struct *thread, *next; in pfault_cpu_notify()
/linux-4.1.27/arch/arm/kernel/
Dptrace.c425 struct thread_struct *t = &tsk->thread; in flush_ptrace_hw_breakpoint()
/linux-4.1.27/arch/powerpc/kvm/
Dbook3s_pr.c650 struct thread_struct *t = &current->thread; in kvmppc_giveup_ext()
713 struct thread_struct *t = &current->thread; in kvmppc_handle_ext()
/linux-4.1.27/arch/arm64/kernel/
Dptrace.c117 struct thread_struct *t = &tsk->thread; in flush_ptrace_hw_breakpoint()
/linux-4.1.27/arch/x86/kernel/cpu/
Dcommon.c1454 struct thread_struct *thread = &curr->thread; in cpu_init()
/linux-4.1.27/arch/s390/kernel/
Dptrace.c44 struct thread_struct *thread = &task->thread; in update_cr_regs()
/linux-4.1.27/arch/ia64/kernel/
Dperfmon.c3684 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/
Dsched.h1476 struct thread_struct thread;