Lines Matching refs:thread
184 struct thread_info *thread = current_thread_info(); in flush_thread() local
189 memset(thread->used_cp, 0, sizeof(thread->used_cp)); in flush_thread()
190 memset(&tsk->thread.debug, 0, sizeof(struct debug_info)); in flush_thread()
191 memset(&thread->fpstate, 0, sizeof(union fp_state)); in flush_thread()
195 thread_notify(THREAD_NOTIFY_FLUSH, thread); in flush_thread()
208 struct thread_info *thread = task_thread_info(p); in copy_thread() local
211 memset(&thread->cpu_context, 0, sizeof(struct cpu_context_save)); in copy_thread()
220 thread->cpu_context.r4 = stk_sz; in copy_thread()
221 thread->cpu_context.r5 = stack_start; in copy_thread()
224 thread->cpu_context.pc = (unsigned long)ret_from_fork; in copy_thread()
225 thread->cpu_context.sp = (unsigned long)childregs; in copy_thread()
230 thread->tp_value[0] = childregs->ARM_r3; in copy_thread()
231 thread->tp_value[1] = get_tpuser(); in copy_thread()
233 thread_notify(THREAD_NOTIFY_COPY, thread); in copy_thread()
252 struct thread_info *thread = current_thread_info(); in dump_fpu() local
253 int used_math = thread->used_cp[1] | thread->used_cp[2]; in dump_fpu()
256 memcpy(fp, &thread->fpstate.soft, sizeof (*fp)); in dump_fpu()