Lines Matching refs:ksig
266 get_sigframe(struct ksignal *ksig, unsigned long sp, size_t frame_size) in get_sigframe() argument
268 return (void __user *)((sigsp(sp, ksig) - frame_size) & -32ul); in get_sigframe()
329 setup_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs) in setup_frame() argument
335 frame = get_sigframe(ksig, oldsp, sizeof(*frame)); in setup_frame()
345 r26 = (unsigned long) ksig->ka.ka_restorer; in setup_frame()
360 regs->r27 = regs->pc = (unsigned long) ksig->ka.sa.sa_handler; in setup_frame()
361 regs->r16 = ksig->sig; /* a0: signal number */ in setup_frame()
374 setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs) in setup_rt_frame() argument
380 frame = get_sigframe(ksig, oldsp, sizeof(*frame)); in setup_rt_frame()
384 err |= copy_siginfo_to_user(&frame->info, &ksig->info); in setup_rt_frame()
399 r26 = (unsigned long) ksig->ka.ka_restorer; in setup_rt_frame()
414 regs->r27 = regs->pc = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame()
415 regs->r16 = ksig->sig; /* a0: signal number */ in setup_rt_frame()
433 handle_signal(struct ksignal *ksig, struct pt_regs *regs) in handle_signal() argument
438 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in handle_signal()
439 ret = setup_rt_frame(ksig, oldset, regs); in handle_signal()
441 ret = setup_frame(ksig, oldset, regs); in handle_signal()
443 signal_setup_done(ret, ksig, 0); in handle_signal()
487 struct ksignal ksig; in do_signal() local
490 if (get_signal(&ksig)) { in do_signal()
495 syscall_restart(r0, r19, regs, &ksig.ka); in do_signal()
496 handle_signal(&ksig, regs); in do_signal()