Lines Matching refs:thread
213 struct thread_info *thread = current_thread_info(); in flush_thread() local
216 memset(thread->used_cp, 0, sizeof(thread->used_cp)); in flush_thread()
217 memset(&tsk->thread.debug, 0, sizeof(struct debug_info)); in flush_thread()
219 memset(&thread->fpstate, 0, sizeof(struct fp_state)); in flush_thread()
234 struct thread_info *thread = task_thread_info(p); in copy_thread() local
237 memset(&thread->cpu_context, 0, sizeof(struct cpu_context_save)); in copy_thread()
238 thread->cpu_context.sp = (unsigned long)childregs; in copy_thread()
240 thread->cpu_context.pc = (unsigned long)ret_from_kernel_thread; in copy_thread()
241 thread->cpu_context.r4 = stack_start; in copy_thread()
242 thread->cpu_context.r5 = stk_sz; in copy_thread()
245 thread->cpu_context.pc = (unsigned long)ret_from_fork; in copy_thread()
271 struct thread_info *thread = current_thread_info(); in dump_fpu() local
272 int used_math = thread->used_cp[1] | thread->used_cp[2]; in dump_fpu()
276 memcpy(fp, &thread->fpstate, sizeof(*fp)); in dump_fpu()