Lines Matching full:thread

60 		/* Kernel thread */  in __ret_from_fork()
92 dst->thread.kfpu_flags = 0; in arch_dup_task_struct()
99 * refers to the source thread. in arch_dup_task_struct()
101 dst->thread.ri_cb = NULL; in arch_dup_task_struct()
102 dst->thread.gs_cb = NULL; in arch_dup_task_struct()
103 dst->thread.gs_bc_cb = NULL; in arch_dup_task_struct()
120 p->thread.ksp = (unsigned long) frame; in copy_thread()
121 /* Save access registers to new thread structure. */ in copy_thread()
122 save_access_regs(&p->thread.acrs[0]); in copy_thread()
125 memset(&p->thread.per_user, 0, sizeof(p->thread.per_user)); in copy_thread()
126 memset(&p->thread.per_event, 0, sizeof(p->thread.per_event)); in copy_thread()
128 p->thread.per_flags = 0; in copy_thread()
129 /* Initialize per thread user and system timer values */ in copy_thread()
130 p->thread.user_timer = 0; in copy_thread()
131 p->thread.guest_timer = 0; in copy_thread()
132 p->thread.system_timer = 0; in copy_thread()
133 p->thread.hardirq_timer = 0; in copy_thread()
134 p->thread.softirq_timer = 0; in copy_thread()
135 p->thread.last_break = 1; in copy_thread()
147 /* kernel thread */ in copy_thread()
171 p->thread.acrs[0] = (unsigned int)tls; in copy_thread()
173 p->thread.acrs[0] = (unsigned int)(tls >> 32); in copy_thread()
174 p->thread.acrs[1] = (unsigned int)tls; in copy_thread()
188 current->thread.ufpu.fpc = 0; in execve_tail()
195 save_kernel_fpu_regs(&prev->thread); in __switch_to()
196 save_access_regs(&prev->thread.acrs[0]); in __switch_to()
197 save_ri_cb(prev->thread.ri_cb); in __switch_to()
198 save_gs_cb(prev->thread.gs_cb); in __switch_to()
200 restore_kernel_fpu_regs(&next->thread); in __switch_to()
201 restore_access_regs(&next->thread.acrs[0]); in __switch_to()
202 restore_ri_cb(next->thread.ri_cb, prev->thread.ri_cb); in __switch_to()
203 restore_gs_cb(next->thread.gs_cb); in __switch_to()