Lines Matching refs:ksig
554 void __user *get_sigframe(struct ksignal *ksig, struct pt_regs *regs, in get_sigframe() argument
572 sp = sigsp(sp, ksig); in get_sigframe()
707 static int setup_frame(void *sig_return, struct ksignal *ksig, in setup_frame() argument
713 frame = get_sigframe(ksig, regs, sizeof(*frame)); in setup_frame()
732 regs->regs[ 4] = ksig->sig; in setup_frame()
737 regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; in setup_frame()
746 static int setup_rt_frame(void *sig_return, struct ksignal *ksig, in setup_rt_frame() argument
752 frame = get_sigframe(ksig, regs, sizeof(*frame)); in setup_rt_frame()
757 err |= copy_siginfo_to_user(&frame->rs_info, &ksig->info); in setup_rt_frame()
779 regs->regs[ 4] = ksig->sig; in setup_rt_frame()
784 regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame()
807 static void handle_signal(struct ksignal *ksig, struct pt_regs *regs) in handle_signal() argument
829 if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { in handle_signal()
843 rseq_signal_deliver(ksig, regs); in handle_signal()
845 if (sig_uses_siginfo(&ksig->ka, abi)) in handle_signal()
847 ksig, regs, oldset); in handle_signal()
850 ksig, regs, oldset); in handle_signal()
852 signal_setup_done(ret, ksig, 0); in handle_signal()
857 struct ksignal ksig; in do_signal() local
859 if (get_signal(&ksig)) { in do_signal()
861 handle_signal(&ksig, regs); in do_signal()