Lines Matching refs:pcb
24 pub extern "C" fn process_copy_sighand(clone_flags: u64, pcb: *mut process_control_block) -> i32 { in process_copy_sighand()
40 (*pcb).sighand = sig as *mut sighand_struct as usize in process_copy_sighand()
74 flush_signal_handlers(pcb, false); in process_copy_sighand()
83 pub extern "C" fn process_copy_signal(clone_flags: u64, pcb: *mut process_control_block) -> i32 { in process_copy_signal()
96 (*pcb).signal = sig as *mut signal_struct as usize in process_copy_signal()
102 (*pcb).sig_pending.signal = 0; in process_copy_signal()
103 (*pcb).sig_pending.sigqueue = in process_copy_signal()
110 pub extern "C" fn process_exit_signal(pcb: *mut process_control_block) { in process_exit_signal()
114 let sighand = Box::from_raw((*pcb).sighand as *mut sighand_struct); in process_exit_signal()
117 (*pcb).sighand = 0 as *mut crate::include::bindings::bindings::sighand_struct; in process_exit_signal()
120 let queue = Box::from_raw((*pcb).sig_pending.sigqueue as *mut SigQueue); in process_exit_signal()
126 pub extern "C" fn process_exit_sighand(pcb: *mut process_control_block) { in process_exit_sighand()
129 let sig = Box::from_raw((*pcb).signal as *mut signal_struct); in process_exit_sighand()
131 (*pcb).signal = 0 as *mut crate::include::bindings::bindings::signal_struct; in process_exit_sighand()