Home
last modified time | relevance | path

Searched refs:worker_private (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/process/
H A Dkthread.rs386 let mut worker_private = pcb.worker_private(); in stop() localVariable
388 worker_private.is_some(), in stop()
392 worker_private in stop()
400 drop(worker_private); in stop()
433 let worker_private = pcb.worker_private(); in should_stop() localVariable
435 worker_private.is_some(), in should_stop()
439 return worker_private in should_stop()
454 let mut worker_private_guard = current_pcb.worker_private(); in kthread_daemon()
455 let worker_private = WorkerPrivate::KernelThread(KernelThreadPcbPrivate::new()); in kthread_daemon() localVariable
456 *worker_private_guard = Some(worker_private); in kthread_daemon()
H A Dmod.rs624 worker_private: SpinLock<Option<WorkerPrivate>>, field
740 worker_private: SpinLock::new(None), in do_create_pcb()
890 pub fn worker_private(&self) -> SpinLockGuard<Option<WorkerPrivate>> { in worker_private() method
891 return self.worker_private.lock(); in worker_private()
H A Dfork.rs403 *pcb.worker_private() = in copy_process()
/DragonOS/kernel/src/init/
H A Dinitial_kthread.rs73 current_pcb.worker_private().take(); in switch_to_user()