Lines Matching refs:ksig

265 get_sigframe(struct ksignal *ksig, unsigned long sp, size_t frame_size)  in get_sigframe()  argument
267 return (void __user *)((sigsp(sp, ksig) - frame_size) & -32ul); in get_sigframe()
328 setup_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs) in setup_frame() argument
334 frame = get_sigframe(ksig, oldsp, sizeof(*frame)); in setup_frame()
344 r26 = (unsigned long) ksig->ka.ka_restorer; in setup_frame()
359 regs->r27 = regs->pc = (unsigned long) ksig->ka.sa.sa_handler; in setup_frame()
360 regs->r16 = ksig->sig; /* a0: signal number */ in setup_frame()
373 setup_rt_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs) in setup_rt_frame() argument
379 frame = get_sigframe(ksig, oldsp, sizeof(*frame)); in setup_rt_frame()
383 err |= copy_siginfo_to_user(&frame->info, &ksig->info); in setup_rt_frame()
398 r26 = (unsigned long) ksig->ka.ka_restorer; in setup_rt_frame()
413 regs->r27 = regs->pc = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame()
414 regs->r16 = ksig->sig; /* a0: signal number */ in setup_rt_frame()
432 handle_signal(struct ksignal *ksig, struct pt_regs *regs) in handle_signal() argument
437 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in handle_signal()
438 ret = setup_rt_frame(ksig, oldset, regs); in handle_signal()
440 ret = setup_frame(ksig, oldset, regs); in handle_signal()
442 signal_setup_done(ret, ksig, 0); in handle_signal()
486 struct ksignal ksig; in do_signal() local
489 if (get_signal(&ksig)) { in do_signal()
494 syscall_restart(r0, r19, regs, &ksig.ka); in do_signal()
495 handle_signal(&ksig, regs); in do_signal()