Lines Matching refs:pcb
20 let pcb = ProcessManager::current_pcb(); in proc_set_tty() localVariable
23 ctrl.pgid = Some(pcb.pid()); in proc_set_tty()
24 ctrl.session = Some(pcb.pid()); in proc_set_tty()
26 assert!(pcb.sig_info_irqsave().tty().is_none()); in proc_set_tty()
28 let mut singal = pcb.sig_info_mut(); in proc_set_tty()
35 let pcb = ProcessManager::current_pcb(); in tty_check_change() localVariable
37 if pcb.sig_info_irqsave().tty().is_none() in tty_check_change()
38 || !Arc::ptr_eq(&pcb.sig_info_irqsave().tty().unwrap(), &tty) in tty_check_change()
47 let pgid = pcb.pid(); in tty_check_change()
51 if pcb in tty_check_change()
55 || pcb.sig_struct_irqsave().handlers[sig as usize].is_ignore() in tty_check_change()