Home
last modified time | relevance | path

Searched refs:SignalNumber (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.3/kernel/src/ipc/
Dsignal.rs32 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()
68 if sig == SignalNumber::INVALID { in sys_kill()
107 sig: SignalNumber, in signal_kill_something_info() argument
122 sig: SignalNumber, in signal_kill_proc_info() argument
149 fn verify_signal(sig: SignalNumber) -> bool { in verify_signal()
162 sig: SignalNumber, in signal_send_sig_info() argument
228 sig: SignalNumber, in send_signal_locked() argument
257 sig: SignalNumber, in __send_signal_locked() argument
271 if sig == SignalNumber::SIGKILL || (pcb.flags & (PF_KTHREAD as u64)) != 0 { in __send_signal_locked()
[all …]
Dsignal_types.rs126 pub fn ignored(&self, _sig: SignalNumber) -> bool { in ignored()
193 pub fn new(sig: SignalNumber, _si_errno: i32, _si_code: si_code_val) -> Self { in new() argument
297 pub enum SignalNumber { enum
338 impl PartialEq for SignalNumber { implementation
339 fn eq(&self, other: &SignalNumber) -> bool { in eq()
344 impl From<i32> for SignalNumber { implementation
347 let ret: SignalNumber = unsafe { core::mem::transmute(value) }; in from()
351 return SignalNumber::INVALID; in from()
355 impl SignalNumber { impl
482 pub fn find(&self, sig: SignalNumber) -> (Option<&siginfo>, bool) { in find()
[all …]