Lines Matching refs:ksig
341 static int setup_frame(struct ksignal *ksig, sigset_t *set, in setup_frame() argument
345 int err = 0, sig = ksig->sig; in setup_frame()
351 if ((ksig->ka.sa.sa_flags & SA_ONSTACK) != 0 && sas_ss_flags(sp) == 0) { in setup_frame()
364 if (ksig->ka.sa.sa_flags & SA_SIGINFO) { in setup_frame()
365 err |= copy_siginfo_to_user(&frame->info, &ksig->info); in setup_frame()
376 if (ksig->ka.sa.sa_flags & SA_RESTORER) { in setup_frame()
377 ra = (unsigned long)ksig->ka.sa.sa_restorer; in setup_frame()
398 start_thread(regs, (unsigned long) ksig->ka.sa.sa_handler, in setup_frame()
435 struct ksignal ksig; in do_signal() local
439 if (get_signal(&ksig)) { in do_signal()
455 if (!(ksig.ka.sa.sa_flags & SA_RESTART)) { in do_signal()
474 ret = setup_frame(&ksig, sigmask_to_save(), regs); in do_signal()
475 signal_setup_done(ret, &ksig, 0); in do_signal()