Lines Matching refs:thread
203 struct thread_info *thread = current_thread_info(); in flush_thread() local
208 memset(thread->used_cp, 0, sizeof(thread->used_cp)); in flush_thread()
209 memset(&tsk->thread.debug, 0, sizeof(struct debug_info)); in flush_thread()
210 memset(&thread->fpstate, 0, sizeof(union fp_state)); in flush_thread()
214 thread_notify(THREAD_NOTIFY_FLUSH, thread); in flush_thread()
227 struct thread_info *thread = task_thread_info(p); in copy_thread() local
230 memset(&thread->cpu_context, 0, sizeof(struct cpu_context_save)); in copy_thread()
239 thread->cpu_domain = get_domain(); in copy_thread()
249 thread->cpu_context.r4 = stk_sz; in copy_thread()
250 thread->cpu_context.r5 = stack_start; in copy_thread()
253 thread->cpu_context.pc = (unsigned long)ret_from_fork; in copy_thread()
254 thread->cpu_context.sp = (unsigned long)childregs; in copy_thread()
259 thread->tp_value[0] = childregs->ARM_r3; in copy_thread()
260 thread->tp_value[1] = get_tpuser(); in copy_thread()
262 thread_notify(THREAD_NOTIFY_COPY, thread); in copy_thread()
281 struct thread_info *thread = current_thread_info(); in dump_fpu() local
282 int used_math = thread->used_cp[1] | thread->used_cp[2]; in dump_fpu()
285 memcpy(fp, &thread->fpstate.soft, sizeof (*fp)); in dump_fpu()