Lines Matching refs:ksig
28 static void __user *get_sigframe(struct ksignal *ksig, struct pt_regs *regs, in get_sigframe() argument
31 unsigned long sp = sigsp(regs->r29, ksig); in get_sigframe()
96 static int setup_rt_frame(struct ksignal *ksig, sigset_t *set, in setup_rt_frame() argument
103 frame = get_sigframe(ksig, regs, sizeof(struct rt_sigframe)); in setup_rt_frame()
108 if (copy_siginfo_to_user(&frame->info, &ksig->info)) in setup_rt_frame()
125 | (unsigned long long)ksig->sig; in setup_rt_frame()
129 pt_set_elr(regs, (unsigned long)ksig->ka.sa.sa_handler); in setup_rt_frame()
137 static void handle_signal(struct ksignal *ksig, struct pt_regs *regs) in handle_signal() argument
154 if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { in handle_signal()
174 ret = setup_rt_frame(ksig, sigmask_to_save(), regs); in handle_signal()
176 signal_setup_done(ret, ksig, test_thread_flag(TIF_SINGLESTEP)); in handle_signal()
184 struct ksignal ksig; in do_signal() local
189 if (get_signal(&ksig)) { in do_signal()
190 handle_signal(&ksig, regs); in do_signal()