Lines Matching refs:tsk
103 static void do_signal(struct task_struct *tsk) in do_signal() argument
110 BUG_ON(tsk != current); in do_signal()
115 check_syscall_restart(tsk->thread.regs, &ksig.ka, ksig.sig > 0); in do_signal()
120 tsk->thread.regs->trap = 0; in do_signal()
130 if (tsk->thread.hw_brk.address && tsk->thread.hw_brk.type) in do_signal()
131 __set_breakpoint(&tsk->thread.hw_brk); in do_signal()
134 thread_change_pc(tsk, tsk->thread.regs); in do_signal()
138 ret = handle_rt_signal32(&ksig, oldset, tsk); in do_signal()
140 ret = handle_signal32(&ksig, oldset, tsk); in do_signal()
142 ret = handle_rt_signal64(&ksig, oldset, tsk); in do_signal()
145 tsk->thread.regs->trap = 0; in do_signal()
172 unsigned long get_tm_stackpointer(struct task_struct *tsk) in get_tm_stackpointer() argument
197 BUG_ON(tsk != current); in get_tm_stackpointer()
199 if (MSR_TM_ACTIVE(tsk->thread.regs->msr)) { in get_tm_stackpointer()
201 if (MSR_TM_TRANSACTIONAL(tsk->thread.regs->msr)) in get_tm_stackpointer()
202 return tsk->thread.ckpt_regs.gpr[1]; in get_tm_stackpointer()
205 return tsk->thread.regs->gpr[1]; in get_tm_stackpointer()