Lines Matching refs:ksig
361 int setup_signal_stack_sc(unsigned long stack_top, struct ksignal *ksig, in setup_signal_stack_sc() argument
366 int err = 0, sig = ksig->sig; in setup_signal_stack_sc()
375 if (ksig->ka.sa.sa_flags & SA_RESTORER) in setup_signal_stack_sc()
376 restorer = ksig->ka.sa.sa_restorer; in setup_signal_stack_sc()
400 PT_REGS_IP(regs) = (unsigned long) ksig->ka.sa.sa_handler; in setup_signal_stack_sc()
407 int setup_signal_stack_si(unsigned long stack_top, struct ksignal *ksig, in setup_signal_stack_si() argument
412 int err = 0, sig = ksig->sig; in setup_signal_stack_si()
420 if (ksig->ka.sa.sa_flags & SA_RESTORER) in setup_signal_stack_si()
421 restorer = ksig->ka.sa.sa_restorer; in setup_signal_stack_si()
427 err |= copy_siginfo_to_user(&frame->info, &ksig->info); in setup_signal_stack_si()
446 PT_REGS_IP(regs) = (unsigned long) ksig->ka.sa.sa_handler; in setup_signal_stack_si()
489 int setup_signal_stack_si(unsigned long stack_top, struct ksignal *ksig, in setup_signal_stack_si() argument
493 int err = 0, sig = ksig->sig; in setup_signal_stack_si()
504 if (ksig->ka.sa.sa_flags & SA_SIGINFO) { in setup_signal_stack_si()
505 err |= copy_siginfo_to_user(&frame->info, &ksig->info); in setup_signal_stack_si()
533 if (ksig->ka.sa.sa_flags & SA_RESTORER) in setup_signal_stack_si()
534 err |= __put_user((void *)ksig->ka.sa.sa_restorer, in setup_signal_stack_si()
554 PT_REGS_IP(regs) = (unsigned long) ksig->ka.sa.sa_handler; in setup_signal_stack_si()