Lines Matching refs:ksig
261 static void __user *get_sigframe(struct ksignal *ksig, struct pt_regs *regs, unsigned long framesiz… in get_sigframe() argument
276 sp = sigsp(sp, ksig) - framesize; in get_sigframe()
351 static int setup_frame32(struct ksignal *ksig, struct pt_regs *regs, in setup_frame32() argument
374 get_sigframe(ksig, regs, sigframe_size); in setup_frame32()
381 force_sigsegv(ksig->sig); in setup_frame32()
457 regs->u_regs[UREG_I0] = ksig->sig; in setup_frame32()
462 regs->tpc = (unsigned long) ksig->ka.sa.sa_handler; in setup_frame32()
470 if (ksig->ka.ka_restorer) { in setup_frame32()
471 regs->u_regs[UREG_I7] = (unsigned long)ksig->ka.ka_restorer; in setup_frame32()
486 static int setup_rt_frame32(struct ksignal *ksig, struct pt_regs *regs, in setup_rt_frame32() argument
508 get_sigframe(ksig, regs, sigframe_size); in setup_rt_frame32()
515 force_sigsegv(ksig->sig); in setup_rt_frame32()
562 err |= copy_siginfo_to_user32(&sf->info, &ksig->info); in setup_rt_frame32()
589 regs->u_regs[UREG_I0] = ksig->sig; in setup_rt_frame32()
594 regs->tpc = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame32()
602 if (ksig->ka.ka_restorer) in setup_rt_frame32()
603 regs->u_regs[UREG_I7] = (unsigned long)ksig->ka.ka_restorer; in setup_rt_frame32()
622 static inline void handle_signal32(struct ksignal *ksig, in handle_signal32() argument
628 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in handle_signal32()
629 err = setup_rt_frame32(ksig, regs, oldset); in handle_signal32()
631 err = setup_frame32(ksig, regs, oldset); in handle_signal32()
633 signal_setup_done(err, ksig, 0); in handle_signal32()
663 struct ksignal ksig; in do_signal32() local
666 bool has_handler = get_signal(&ksig); in do_signal32()
676 syscall_restart32(orig_i0, regs, &ksig.ka.sa); in do_signal32()
677 handle_signal32(&ksig, regs); in do_signal32()