Lines Matching refs:thread

305 	struct thread_info *thread = task_thread_info(tsk);  in ptrace_getwmmxregs()  local
307 if (!test_ti_thread_flag(thread, TIF_USING_IWMMXT)) in ptrace_getwmmxregs()
309 iwmmxt_task_disable(thread); /* force it to ram */ in ptrace_getwmmxregs()
310 return copy_to_user(ufp, &thread->fpstate.iwmmxt, IWMMXT_SIZE) in ptrace_getwmmxregs()
319 struct thread_info *thread = task_thread_info(tsk); in ptrace_setwmmxregs() local
321 if (!test_ti_thread_flag(thread, TIF_USING_IWMMXT)) in ptrace_setwmmxregs()
323 iwmmxt_task_release(thread); /* force a reload */ in ptrace_setwmmxregs()
324 return copy_from_user(&thread->fpstate.iwmmxt, ufp, IWMMXT_SIZE) in ptrace_setwmmxregs()
336 struct thread_info *thread = task_thread_info(tsk); in ptrace_getcrunchregs() local
338 crunch_task_disable(thread); /* force it to ram */ in ptrace_getcrunchregs()
339 return copy_to_user(ufp, &thread->crunchstate, CRUNCH_SIZE) in ptrace_getcrunchregs()
348 struct thread_info *thread = task_thread_info(tsk); in ptrace_setcrunchregs() local
350 crunch_task_release(thread); /* force a reload */ in ptrace_setcrunchregs()
351 return copy_from_user(&thread->crunchstate, ufp, CRUNCH_SIZE) in ptrace_setcrunchregs()
395 if (current->thread.debug.hbp[i] == bp) in ptrace_hbptriggered()
415 memset(tsk->thread.debug.hbp, 0, sizeof(tsk->thread.debug.hbp)); in clear_ptrace_hw_breakpoint()
425 struct thread_struct *t = &tsk->thread; in flush_ptrace_hw_breakpoint()
489 bp = tsk->thread.debug.hbp[idx]; in ptrace_gethbpregs()
545 bp = tsk->thread.debug.hbp[idx]; in ptrace_sethbpregs()
552 tsk->thread.debug.hbp[idx] = bp; in ptrace_sethbpregs()
633 struct thread_info *thread = task_thread_info(target); in fpa_set() local
635 thread->used_cp[1] = thread->used_cp[2] = 1; in fpa_set()
638 &thread->fpstate, in fpa_set()
671 struct thread_info *thread = task_thread_info(target); in vfp_get() local
672 struct vfp_hard_struct const *vfp = &thread->vfpstate.hard; in vfp_get()
676 vfp_sync_hwstate(thread); in vfp_get()
708 struct thread_info *thread = task_thread_info(target); in vfp_set() local
713 vfp_sync_hwstate(thread); in vfp_set()
714 new_vfp = thread->vfpstate.hard; in vfp_set()
736 thread->vfpstate.hard = new_vfp; in vfp_set()
737 vfp_flush_hwstate(thread); in vfp_set()