Lines Matching refs:ksig
153 get_sigframe(struct ksignal *ksig, struct pt_regs *regs, size_t frame_size) in get_sigframe() argument
155 return (void __user *)((sigsp(rdusp(), ksig) - frame_size) & -8UL); in get_sigframe()
158 static int setup_rt_frame(struct ksignal *ksig, sigset_t *set, in setup_rt_frame() argument
165 frame = get_sigframe(ksig, regs, sizeof(*frame)); in setup_rt_frame()
170 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in setup_rt_frame()
171 err |= copy_siginfo_to_user(&frame->info, &ksig->info); in setup_rt_frame()
184 if (ksig->ka.sa.sa_flags & SA_RESTORER) in setup_rt_frame()
185 ret = (unsigned char *)(ksig->ka.sa.sa_restorer); in setup_rt_frame()
200 regs->pc = (unsigned long)ksig->ka.sa.sa_handler; in setup_rt_frame()
201 regs->er0 = ksig->sig; in setup_rt_frame()
243 handle_signal(struct ksignal *ksig, struct pt_regs *regs) in handle_signal() argument
249 handle_restart(regs, &ksig->ka); in handle_signal()
251 ret = setup_rt_frame(ksig, oldset, regs); in handle_signal()
253 signal_setup_done(ret, ksig, 0); in handle_signal()
263 struct ksignal ksig; in do_signal() local
267 if (get_signal(&ksig)) { in do_signal()
269 handle_signal(&ksig, regs); in do_signal()