Home
last modified time | relevance | path

Searched refs:signal_struct (Results 1 – 7 of 7) sorted by relevance

/DragonOS-0.1.3/kernel/src/process/
Dinitial_proc.rs10 use crate::ipc::signal_types::{sighand_struct, signal_struct, MAX_SIG_NUM};
14 pub static mut INITIAL_SIGNALS: signal_struct = signal_struct {
37 (*pcb).signal = &mut INITIAL_SIGNALS as *mut signal_struct as usize in initial_proc_init_signal()
38 as *mut crate::include::bindings::bindings::signal_struct; in initial_proc_init_signal()
Dfork.rs12 signal_types::{sigaction, sighand_struct, signal_struct, SigQueue},
88 let sig: &mut signal_struct = Box::leak(Box::new(signal_struct::default())); in process_copy_signal()
89 if (sig as *mut signal_struct) == null_mut() { in process_copy_signal()
95 (*pcb).signal = sig as *mut signal_struct as usize in process_copy_signal()
96 as *mut crate::include::bindings::bindings::signal_struct; in process_copy_signal()
128 let sig = Box::from_raw((*pcb).signal as *mut signal_struct); in process_exit_sighand()
130 (*pcb).signal = 0 as *mut crate::include::bindings::bindings::signal_struct; in process_exit_sighand()
Dproc-types.h126 struct signal_struct *signal;
Dprocess.c47 extern struct signal_struct INITIAL_SIGNALS;
/DragonOS-0.1.3/kernel/src/ipc/
Dsignal_types.rs41 pub struct signal_struct { struct
45 impl Default for signal_struct { implementation
374 impl FFIBind2Rust<crate::include::bindings::bindings::signal_struct> for signal_struct { implementation
376 src: *mut crate::include::bindings::bindings::signal_struct, in convert_mut() argument
381 src: *const crate::include::bindings::bindings::signal_struct, in convert_ref() argument
Dsignal.rs31 sighand_struct, siginfo, signal_struct, sigpending, sigset_clear, sigset_del, sigset_delmask,
315 let _signal: Option<&mut signal_struct> = signal_struct::convert_mut(pcb.signal); in complete_signal()
/DragonOS-0.1.3/kernel/src/include/DragonOS/
Dsignal.h121 struct signal_struct struct