Lines Matching refs:thread

37 		buf[i] = task->thread.TS_FPR(i);  in copy_fpr_to_user()
38 buf[i] = task->thread.fp_state.fpscr; in copy_fpr_to_user()
51 task->thread.TS_FPR(i) = buf[i]; in copy_fpr_from_user()
52 task->thread.fp_state.fpscr = buf[i]; in copy_fpr_from_user()
65 buf[i] = task->thread.fp_state.fpr[i][TS_VSRLOWOFFSET]; in copy_vsx_to_user()
78 task->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = buf[i]; in copy_vsx_from_user()
91 buf[i] = task->thread.TS_CKFPR(i); in copy_ckfpr_to_user()
92 buf[i] = task->thread.ckfp_state.fpscr; in copy_ckfpr_to_user()
105 task->thread.TS_CKFPR(i) = buf[i]; in copy_ckfpr_from_user()
106 task->thread.ckfp_state.fpscr = buf[i]; in copy_ckfpr_from_user()
119 buf[i] = task->thread.ckfp_state.fpr[i][TS_VSRLOWOFFSET]; in copy_ckvsx_to_user()
132 task->thread.ckfp_state.fpr[i][TS_VSRLOWOFFSET] = buf[i]; in copy_ckvsx_from_user()
140 return __copy_to_user(to, task->thread.fp_state.fpr, in copy_fpr_to_user()
147 return __copy_from_user(task->thread.fp_state.fpr, from, in copy_fpr_from_user()
155 return __copy_to_user(to, task->thread.ckfp_state.fpr, in copy_ckfpr_to_user()
162 return __copy_from_user(task->thread.ckfp_state.fpr, from, in copy_ckfpr_from_user()
270 check_syscall_restart(tsk->thread.regs, &ksig.ka, ksig.sig > 0); in do_signal()
275 set_trap_norestart(tsk->thread.regs); in do_signal()
288 if (tsk->thread.hw_brk[i].address && tsk->thread.hw_brk[i].type) in do_signal()
289 __set_breakpoint(i, &tsk->thread.hw_brk[i]); in do_signal()
294 thread_change_pc(tsk, tsk->thread.regs); in do_signal()
296 rseq_signal_deliver(&ksig, tsk->thread.regs); in do_signal()
307 set_trap_norestart(tsk->thread.regs); in do_signal()
322 BUG_ON(regs != current->thread.regs); in do_notify_resume()
358 unsigned long ret = tsk->thread.regs->gpr[1]; in get_tm_stackpointer()
363 if (MSR_TM_ACTIVE(tsk->thread.regs->msr)) { in get_tm_stackpointer()
366 if (MSR_TM_TRANSACTIONAL(tsk->thread.regs->msr)) in get_tm_stackpointer()
367 ret = tsk->thread.ckpt_regs.gpr[1]; in get_tm_stackpointer()
376 tsk->thread.regs->msr &= ~MSR_TS_MASK; in get_tm_stackpointer()