Lines Matching refs:ksig
254 static int setup_frame32(struct ksignal *ksig, sigset_t *set, in setup_frame32() argument
257 int sig = ksig->sig; in setup_frame32()
271 frame = get_sigframe(&ksig->ka, regs, frame_size); in setup_frame32()
303 if (ksig->ka.sa.sa_flags & SA_RESTORER) { in setup_frame32()
305 ksig->ka.sa.sa_restorer | PSW32_ADDR_AMODE; in setup_frame32()
317 regs->psw.addr = (__force __u64) ksig->ka.sa.sa_handler; in setup_frame32()
335 static int setup_rt_frame32(struct ksignal *ksig, sigset_t *set, in setup_rt_frame32() argument
356 frame = get_sigframe(&ksig->ka, regs, frame_size); in setup_rt_frame32()
366 if (ksig->ka.sa.sa_flags & SA_RESTORER) { in setup_rt_frame32()
368 ksig->ka.sa.sa_restorer | PSW32_ADDR_AMODE; in setup_rt_frame32()
374 if (copy_siginfo_to_user32(&frame->info, &ksig->info)) in setup_rt_frame32()
396 regs->psw.addr = (__u64 __force) ksig->ka.sa.sa_handler; in setup_rt_frame32()
398 regs->gprs[2] = ksig->sig; in setup_rt_frame32()
409 void handle_signal32(struct ksignal *ksig, sigset_t *oldset, in handle_signal32() argument
415 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in handle_signal32()
416 ret = setup_rt_frame32(ksig, oldset, regs); in handle_signal32()
418 ret = setup_frame32(ksig, oldset, regs); in handle_signal32()
420 signal_setup_done(ret, ksig, test_thread_flag(TIF_SINGLE_STEP)); in handle_signal32()