Searched refs:ALL_PROCESS (Results 1 – 1 of 1) sorted by relevance
86 static ALL_PROCESS: SpinLock<Option<HashMap<Pid, Arc<ProcessControlBlock>>>> = SpinLock::new(None); variable131 ALL_PROCESS.lock_irqsave().replace(HashMap::new()); in init()206 return ALL_PROCESS.lock_irqsave().as_ref()?.get(&pid).cloned(); in find()219 ALL_PROCESS in add_pcb()460 ALL_PROCESS.lock_irqsave().as_mut().unwrap().remove(&pid); in release()