Lines Matching refs:ksig
202 static void __user *get_sigframe(struct ksignal *ksig, struct pt_regs *regs, in get_sigframe() argument
212 if (ksig->ka.sa.sa_flags & SA_ONSTACK) in get_sigframe()
213 sp = sigsp(sp, ksig); in get_sigframe()
216 !(ksig->ka.sa.sa_flags & SA_RESTORER) && in get_sigframe()
217 ksig->ka.sa.sa_restorer) in get_sigframe()
218 sp = (unsigned long) ksig->ka.sa.sa_restorer; in get_sigframe()
233 int ia32_setup_frame(int sig, struct ksignal *ksig, in ia32_setup_frame() argument
251 frame = get_sigframe(ksig, regs, sizeof(*frame), &fp); in ia32_setup_frame()
253 if (ksig->ka.sa.sa_flags & SA_RESTORER) { in ia32_setup_frame()
254 restorer = ksig->ka.sa.sa_restorer; in ia32_setup_frame()
280 regs->ip = (unsigned long) ksig->ka.sa.sa_handler; in ia32_setup_frame()
299 int ia32_setup_rt_frame(int sig, struct ksignal *ksig, in ia32_setup_rt_frame() argument
319 frame = get_sigframe(ksig, regs, sizeof(*frame), &fp); in ia32_setup_rt_frame()
336 if (ksig->ka.sa.sa_flags & SA_RESTORER) in ia32_setup_rt_frame()
337 restorer = ksig->ka.sa.sa_restorer; in ia32_setup_rt_frame()
352 if (__copy_siginfo_to_user32(&frame->info, &ksig->info)) in ia32_setup_rt_frame()
357 regs->ip = (unsigned long) ksig->ka.sa.sa_handler; in ia32_setup_rt_frame()