Searched refs:worker_private (Results 1 – 4 of 4) sorted by relevance
375 let mut worker_private = pcb.worker_private(); in stop() localVariable377 worker_private.is_some(), in stop()381 worker_private in stop()389 drop(worker_private); in stop()422 let worker_private = pcb.worker_private(); in should_stop() localVariable424 worker_private.is_some(), in should_stop()428 return worker_private in should_stop()444 let mut worker_private_guard = current_pcb.worker_private(); in kthread_daemon()445 let worker_private = WorkerPrivate::KernelThread(KernelThreadPcbPrivate::new()); in kthread_daemon() localVariable446 *worker_private_guard = Some(worker_private); in kthread_daemon()
551 worker_private: SpinLock<Option<WorkerPrivate>>, field636 worker_private: SpinLock::new(None), in do_create_pcb()771 pub fn worker_private(&self) -> SpinLockGuard<Option<WorkerPrivate>> { in worker_private() method772 return self.worker_private.lock(); in worker_private()
367 *pcb.worker_private() = in copy_process()
577 current_pcb.worker_private().take(); in arch_switch_to_user()