Lines Matching refs:ksig
247 static inline void __user *get_sigframe(struct ksignal *ksig, in get_sigframe() argument
251 unsigned long sp = sigsp(regs->sp, ksig); in get_sigframe()
269 setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs) in setup_rt_frame() argument
275 sf = get_sigframe(ksig, regs, sizeof(struct rt_sigframe)); in setup_rt_frame()
294 if (unlikely(ksig->ka.sa.sa_flags & SA_SIGINFO)) { in setup_rt_frame()
295 err |= copy_siginfo_to_user(&sf->info, &ksig->info); in setup_rt_frame()
316 regs->r0 = ksig->sig; in setup_rt_frame()
319 regs->ret = (unsigned long)ksig->ka.sa.sa_handler; in setup_rt_frame()
325 if(!(ksig->ka.sa.sa_flags & SA_RESTORER)) in setup_rt_frame()
328 regs->blink = (unsigned long)ksig->ka.sa.sa_restorer; in setup_rt_frame()
390 handle_signal(struct ksignal *ksig, struct pt_regs *regs) in handle_signal() argument
396 failed = setup_rt_frame(ksig, oldset, regs); in handle_signal()
398 signal_setup_done(failed, ksig, 0); in handle_signal()
403 struct ksignal ksig; in do_signal() local
408 if (test_thread_flag(TIF_SIGPENDING) && get_signal(&ksig)) { in do_signal()
410 arc_restart_syscall(&ksig.ka, regs); in do_signal()
413 handle_signal(&ksig, regs); in do_signal()