Home
last modified time | relevance | path

Searched refs:sighand_struct (Results 1 – 8 of 8) 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};
20 pub static mut INITIAL_SIGHAND: sighand_struct = sighand_struct {
35 (*pcb).sighand = &mut INITIAL_SIGHAND as *mut sighand_struct as usize in initial_proc_init_signal()
36 as *mut crate::include::bindings::bindings::sighand_struct; in initial_proc_init_signal()
Dfork.rs12 signal_types::{sigaction, sighand_struct, signal_struct, SigQueue},
32 let mut sig: &mut sighand_struct = Box::leak(Box::new(sighand_struct::default())); in process_copy_sighand()
33 if (sig as *mut sighand_struct) == null_mut() { in process_copy_sighand()
39 (*pcb).sighand = sig as *mut sighand_struct as usize in process_copy_sighand()
40 as *mut crate::include::bindings::bindings::sighand_struct; in process_copy_sighand()
113 let sighand = Box::from_raw((*pcb).sighand as *mut sighand_struct); in process_exit_signal()
116 (*pcb).sighand = 0 as *mut crate::include::bindings::bindings::sighand_struct; in process_exit_signal()
Dproc-types.h127 struct sighand_struct *sighand;
Dprocess.c48 extern struct sighand_struct INITIAL_SIGHAND;
/DragonOS-0.1.3/kernel/src/ipc/
Dsignal_types.rs229 pub struct sighand_struct { struct
235 impl Default for sighand_struct { implementation
438 impl FFIBind2Rust<crate::include::bindings::bindings::sighand_struct> for sighand_struct { implementation
440 src: *mut crate::include::bindings::bindings::sighand_struct, in convert_mut() argument
445 src: *const crate::include::bindings::bindings::sighand_struct, in convert_ref() argument
Dsignal.rs31 sighand_struct, siginfo, signal_struct, sigpending, sigset_clear, sigset_del, sigset_delmask,
196 ) -> Option<&'a mut sighand_struct> { in lock_process_sighand() argument
199 let sighand_ptr = sighand_struct::convert_mut(unsafe { &mut *pcb.sighand }); in lock_process_sighand()
209 let ret = unsafe { ((*pcb).sighand as *mut sighand_struct).as_mut() }; in lock_process_sighand()
380 sighand_struct::convert_ref(pcb.sighand).unwrap().action[(sig as usize) - 1] in sig_fatal()
475 let sighand: &mut sighand_struct; in get_signal_to_deliver()
478 let _tmp = sighand_struct::convert_mut(current_pcb().sighand); in get_signal_to_deliver()
498 let hand = sighand_struct::convert_mut(current_pcb().sighand).unwrap(); in get_signal_to_deliver()
1041 let lock: &mut spinlock_t = &mut sighand_struct::convert_mut(pcb.sighand).unwrap().siglock; in set_current_sig_blocked()
/DragonOS-0.1.3/kernel/src/include/DragonOS/
Dsignal.h130 struct sighand_struct struct
/DragonOS-0.1.3/docs/community/ChangeLog/V0.1.x/
DV0.1.1.md196 del: 删除sighand_struct的wqh, 待将来有需要时,替换成rust版本的