Lines Matching refs:ksig
146 get_sigframe(struct ksignal *ksig, struct pt_regs *regs, size_t frame_size) in get_sigframe() argument
149 unsigned long sp = sigsp(regs->r1, ksig); in get_sigframe()
154 static int setup_rt_frame(struct ksignal *ksig, sigset_t *set, in setup_rt_frame() argument
158 int err = 0, sig = ksig->sig; in setup_rt_frame()
163 frame = get_sigframe(ksig, regs, sizeof(*frame)); in setup_rt_frame()
168 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in setup_rt_frame()
169 err |= copy_siginfo_to_user(&frame->info, &ksig->info); in setup_rt_frame()
219 regs->pc = (unsigned long)ksig->ka.sa.sa_handler; in setup_rt_frame()
259 handle_signal(struct ksignal *ksig, struct pt_regs *regs) in handle_signal() argument
265 ret = setup_rt_frame(ksig, oldset, regs); in handle_signal()
267 signal_setup_done(ret, ksig, test_thread_flag(TIF_SINGLESTEP)); in handle_signal()
281 struct ksignal ksig; in do_signal() local
289 if (get_signal(&ksig)) { in do_signal()
292 handle_restart(regs, &ksig.ka, 1); in do_signal()
293 handle_signal(&ksig, regs); in do_signal()