Lines Matching refs:ksig
113 static inline void __user *get_sigframe(struct ksignal *ksig, in get_sigframe() argument
128 sp = sigsp(sp, ksig) - framesize; in get_sigframe()
137 setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs) in setup_rt_frame() argument
142 frame = get_sigframe(ksig, regs, sizeof(*frame)); in setup_rt_frame()
146 err |= copy_siginfo_to_user(&frame->info, &ksig->info); in setup_rt_frame()
168 regs->pc = (unsigned long)ksig->ka.sa.sa_handler; in setup_rt_frame()
170 regs->a0 = ksig->sig; /* a0: signal number */ in setup_rt_frame()
177 static void handle_signal(struct ksignal *ksig, struct pt_regs *regs) in handle_signal() argument
182 rseq_signal_deliver(ksig, regs); in handle_signal()
197 if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { in handle_signal()
210 ret = setup_rt_frame(ksig, oldset, regs); in handle_signal()
212 signal_setup_done(ret, ksig, 0); in handle_signal()
217 struct ksignal ksig; in do_signal() local
219 if (get_signal(&ksig)) { in do_signal()
221 handle_signal(&ksig, regs); in do_signal()