Lines Matching refs:ksig
129 static inline void __user *get_sigframe(struct ksignal *ksig, in get_sigframe() argument
136 sp = sigsp(sp, ksig); in get_sigframe()
149 static int setup_rt_frame(struct ksignal *ksig, sigset_t *set, in setup_rt_frame() argument
156 frame = get_sigframe(ksig, regs, sizeof(*frame)); in setup_rt_frame()
162 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in setup_rt_frame()
163 err |= copy_siginfo_to_user(&frame->info, &ksig->info); in setup_rt_frame()
191 regs->pc = (unsigned long)ksig->ka.sa.sa_handler; /* what we enter NOW */ in setup_rt_frame()
193 regs->gpr[3] = (unsigned long)ksig->sig; /* arg 1: signo */ in setup_rt_frame()
204 handle_signal(struct ksignal *ksig, struct pt_regs *regs) in handle_signal() argument
208 ret = setup_rt_frame(ksig, sigmask_to_save(), regs); in handle_signal()
210 signal_setup_done(ret, ksig, test_thread_flag(TIF_SINGLESTEP)); in handle_signal()
227 struct ksignal ksig; in do_signal() local
262 if (get_signal(&ksig)) { in do_signal()
267 && !(ksig.ka.sa.sa_flags & SA_RESTART))) { in do_signal()
273 handle_signal(&ksig, regs); in do_signal()