Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/ipc/
Dsignal.rs38 sigset_equal, sigset_t, SigQueue, SignalNumber, MAX_SIG_NUM, SA_ALL_FLAGS, SA_FLAG_DFL,
68 sig: SignalNumber, in signal_kill_something_info() argument
83 sig: SignalNumber, in signal_kill_proc_info() argument
110 fn verify_signal(sig: SignalNumber) -> bool { in verify_signal()
123 sig: SignalNumber, in signal_send_sig_info() argument
189 sig: SignalNumber, in send_signal_locked() argument
218 sig: SignalNumber, in __send_signal_locked() argument
232 if sig == SignalNumber::SIGKILL || (pcb.flags & (PF_KTHREAD as u64)) != 0 { in __send_signal_locked()
262 fn complete_signal(sig: SignalNumber, pcb: &mut process_control_block, pt: PidType) { in complete_signal() argument
302 signal_wake_up(pcb, sig == SignalNumber::SIGKILL); in complete_signal()
[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 { implementation
483 pub fn find(&self, sig: SignalNumber) -> (Option<&siginfo>, bool) { in find()
[all …]
Dsyscall.rs18 SignalNumber, __siginfo_union, __siginfo_union_data, si_code_val, sigaction,
45 let sig = SignalNumber::from(sig); in kill()
46 if sig == SignalNumber::INVALID { in kill()
152 let sig = SignalNumber::from(sig as i32); in sigaction()
154 if sig == SignalNumber::INVALID { in sigaction()