Lines Matching refs:pcb
23 pub extern "C" fn process_copy_sighand(clone_flags: u64, pcb: *mut process_control_block) -> i32 { in process_copy_sighand()
39 (*pcb).sighand = sig as *mut sighand_struct as usize in process_copy_sighand()
73 flush_signal_handlers(pcb, false); in process_copy_sighand()
82 pub extern "C" fn process_copy_signal(clone_flags: u64, pcb: *mut process_control_block) -> i32 { in process_copy_signal()
95 (*pcb).signal = sig as *mut signal_struct as usize in process_copy_signal()
101 (*pcb).sig_pending.signal = 0; in process_copy_signal()
102 (*pcb).sig_pending.sigqueue = in process_copy_signal()
109 pub extern "C" fn process_exit_signal(pcb: *mut process_control_block) { in process_exit_signal()
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()
119 let queue = Box::from_raw((*pcb).sig_pending.sigqueue as *mut SigQueue); in process_exit_signal()
125 pub extern "C" fn process_exit_sighand(pcb: *mut process_control_block) { in process_exit_sighand()
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()