Lines Matching refs:ksig
165 static inline void *get_sigframe(struct ksignal *ksig, struct pt_regs *regs, in get_sigframe() argument
174 usp = sigsp(usp, ksig); in get_sigframe()
180 static int setup_rt_frame(struct ksignal *ksig, sigset_t *set, in setup_rt_frame() argument
186 frame = get_sigframe(ksig, regs, sizeof(*frame)); in setup_rt_frame()
188 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in setup_rt_frame()
189 err |= copy_siginfo_to_user(&frame->info, &ksig->info); in setup_rt_frame()
207 regs->r4 = (unsigned long) ksig->sig; in setup_rt_frame()
210 regs->ea = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame()
214 force_sigsegv(ksig->sig); in setup_rt_frame()
221 static void handle_signal(struct ksignal *ksig, struct pt_regs *regs) in handle_signal() argument
227 ret = setup_rt_frame(ksig, oldset, regs); in handle_signal()
229 signal_setup_done(ret, ksig, 0); in handle_signal()
236 struct ksignal ksig; in do_signal() local
267 if (get_signal(&ksig)) { in do_signal()
273 && !(ksig.ka.sa.sa_flags & SA_RESTART))) { in do_signal()
279 handle_signal(&ksig, regs); in do_signal()