Lines Matching refs:signr

580 	int signr;  in get_signal_to_deliver()  local
584 signr = dequeue_signal(&current->blocked, infop); in get_signal_to_deliver()
587 if (!signr) in get_signal_to_deliver()
590 if ((current->ptrace & PT_PTRACED) && signr != SIGKILL) { in get_signal_to_deliver()
592 current->exit_code = signr; in get_signal_to_deliver()
598 if (!(signr = current->exit_code)) in get_signal_to_deliver()
603 if (signr == SIGSTOP) in get_signal_to_deliver()
607 if (signr != infop->si_signo) { in get_signal_to_deliver()
608 infop->si_signo = signr; in get_signal_to_deliver()
616 if (sigismember(&current->blocked, signr)) { in get_signal_to_deliver()
617 send_sig_info(signr, infop, current); in get_signal_to_deliver()
622 ka = &current->sig->action[signr-1]; in get_signal_to_deliver()
624 if (signr != SIGCHLD) in get_signal_to_deliver()
633 int exit_code = signr; in get_signal_to_deliver()
639 switch (signr) { in get_signal_to_deliver()
650 current->exit_code = signr; in get_signal_to_deliver()
659 if (do_coredump(signr, regs)) in get_signal_to_deliver()
664 sig_exit(signr, exit_code, infop); in get_signal_to_deliver()
668 return signr; in get_signal_to_deliver()
682 int signr; in do_signal() local
689 signr = get_signal_to_deliver(&info, regs); in do_signal()
691 ka = (signr == 0)? NULL: &current->sig->action[signr-1]; in do_signal()
696 if (signr == 0 || (ka->sa.sa_flags & SA_RESTART)) in do_signal()
700 if (signr > 0) { in do_signal()
716 if (signr == 0) in do_signal()
728 handle_rt_signal(signr, ka, &info, oldset, regs, newsp); in do_signal()
730 handle_signal(signr, ka, &info, oldset, regs, newsp); in do_signal()
738 sigaddset(&current->blocked, signr); in do_signal()