Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/ipc/
Dsignal.rs38 sigset_equal, sigset_init, sigset_t, SigQueue, SignalNumber, MAX_SIG_NUM, SA_ALL_FLAGS,
72 let sig: SignalNumber = SignalNumber::from(regs.r9 as i32); in sys_kill()
74 if sig == SignalNumber::INVALID { in sys_kill()
113 sig: SignalNumber, in signal_kill_something_info() argument
128 sig: SignalNumber, in signal_kill_proc_info() argument
155 fn verify_signal(sig: SignalNumber) -> bool { in verify_signal()
168 sig: SignalNumber, in signal_send_sig_info() argument
234 sig: SignalNumber, in send_signal_locked() argument
263 sig: SignalNumber, in __send_signal_locked() argument
277 if sig == SignalNumber::SIGKILL || (pcb.flags & (PF_KTHREAD as u64)) != 0 { in __send_signal_locked()
[all …]
Dsignal_types.rs127 pub fn ignored(&self, _sig: SignalNumber) -> bool { in ignored()
194 pub fn new(sig: SignalNumber, _si_errno: i32, _si_code: si_code_val) -> Self { in new() argument
298 pub enum SignalNumber { enum
339 impl PartialEq for SignalNumber { implementation
340 fn eq(&self, other: &SignalNumber) -> bool { in eq()
345 impl From<i32> for SignalNumber { implementation
348 let ret: SignalNumber = unsafe { core::mem::transmute(value) }; in from()
352 return SignalNumber::INVALID; in from()
356 impl SignalNumber { impl
483 pub fn find(&self, sig: SignalNumber) -> (Option<&siginfo>, bool) { in find()
[all …]