Home
last modified time | relevance | path

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

/DragonOS-0.1.2/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()
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()
[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 { implementation
482 pub fn find(&self, sig: SignalNumber) -> (Option<&siginfo>, bool) { in find()
[all …]