Lines Matching refs:ksig
553 void __user *get_sigframe(struct ksignal *ksig, struct pt_regs *regs, in get_sigframe() argument
578 sp = sigsp(sp, ksig); in get_sigframe()
713 static int setup_frame(void *sig_return, struct ksignal *ksig, in setup_frame() argument
719 frame = get_sigframe(ksig, regs, sizeof(*frame)); in setup_frame()
738 regs->regs[ 4] = ksig->sig; in setup_frame()
743 regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; in setup_frame()
752 static int setup_rt_frame(void *sig_return, struct ksignal *ksig, in setup_rt_frame() argument
757 frame = get_sigframe(ksig, regs, sizeof(*frame)); in setup_rt_frame()
762 if (copy_siginfo_to_user(&frame->rs_info, &ksig->info)) in setup_rt_frame()
787 regs->regs[ 4] = ksig->sig; in setup_rt_frame()
792 regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame()
815 static void handle_signal(struct ksignal *ksig, struct pt_regs *regs) in handle_signal() argument
837 if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { in handle_signal()
851 rseq_signal_deliver(ksig, regs); in handle_signal()
853 if (sig_uses_siginfo(&ksig->ka, abi)) in handle_signal()
855 ksig, regs, oldset); in handle_signal()
858 ksig, regs, oldset); in handle_signal()
860 signal_setup_done(ret, ksig, 0); in handle_signal()
865 struct ksignal ksig; in do_signal() local
867 if (get_signal(&ksig)) { in do_signal()
869 handle_signal(&ksig, regs); in do_signal()