Lines Matching refs:SignalNumber
32 sigset_equal, sigset_init, sigset_t, SigQueue, SignalNumber, MAX_SIG_NUM, SA_ALL_FLAGS,
66 let sig: SignalNumber = SignalNumber::from(regs.r9 as i32); in sys_kill()
67 if sig == SignalNumber::INVALID { in sys_kill()
99 fn signal_kill_something_info(sig: SignalNumber, info: Option<&mut siginfo>, pid: pid_t) -> i32 { in signal_kill_something_info() argument
110 fn signal_kill_proc_info(sig: SignalNumber, info: Option<&mut siginfo>, pid: pid_t) -> i32 { in signal_kill_proc_info() argument
134 fn verify_signal(sig: SignalNumber) -> bool { in verify_signal()
147 sig: SignalNumber, in signal_send_sig_info() argument
213 sig: SignalNumber, in send_signal_locked() argument
242 sig: SignalNumber, in __send_signal_locked() argument
257 if sig == SignalNumber::SIGKILL || (pcb.flags & (PF_KTHREAD as u64)) != 0 { in __send_signal_locked()
272 fn complete_signal(sig: SignalNumber, pcb: &mut process_control_block, pt: PidType) { in complete_signal() argument
312 signal_wake_up(pcb, sig == SignalNumber::SIGKILL); in complete_signal()
320 fn wants_signal(sig: SignalNumber, pcb: &process_control_block) -> bool { in wants_signal() argument
331 if sig == SignalNumber::SIGKILL { in wants_signal()
349 fn sig_fatal(pcb: &process_control_block, sig: SignalNumber) -> bool { in sig_fatal()
416 if sig_number == SignalNumber::INVALID { in do_signal()
440 SignalNumber, in get_signal_to_deliver() argument
464 if sig_number == SignalNumber::INVALID { in get_signal_to_deliver()
502 fn dequeue_signal(sig_mask: &mut sigset_t) -> (SignalNumber, Option<siginfo>) { in dequeue_signal() argument
511 if sig != SignalNumber::INVALID { in dequeue_signal()
531 fn next_signal(pending: &sigpending, sig_mask: &sigset_t) -> SignalNumber { in next_signal() argument
532 let mut sig = SignalNumber::INVALID; in next_signal()
540 sig = SignalNumber::from(ffz(!x) + 1); in next_signal()
560 fn collect_signal(sig: SignalNumber, pending: &mut sigpending) -> siginfo { in collect_signal() argument
590 sig: SignalNumber, in handle_signal() argument
608 sig: SignalNumber, in setup_frame() argument
668 if sig == SignalNumber::SIGSEGV { in setup_frame()
834 let sig = SignalNumber::from(regs.r8 as i32); in sys_sigaction()
836 if sig == SignalNumber::INVALID { in sys_sigaction()
882 sig: SignalNumber, in do_sigaction() argument
932 sigmask(SignalNumber::SIGKILL) | sigmask(SignalNumber::SIGSTOP), in do_sigaction()
962 pub fn sigmask(sig: SignalNumber) -> u64 { in sigmask()
981 process_do_exit(SignalNumber::SIGSEGV as u64); in sys_rt_sigreturn()
993 process_do_exit(SignalNumber::SIGSEGV as u64); in sys_rt_sigreturn()
1004 sigmask(SignalNumber::SIGKILL) | sigmask(SignalNumber::SIGSTOP), in set_current_sig_blocked()