Home
last modified time | relevance | path

Searched refs:set_current (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/src/process/
H A Didle.rs66 rq.set_current(Arc::downgrade(&idle_pcb)); in init_idle()
/DragonOS/kernel/src/sched/
H A Dfair.rs440 pub fn set_current(&mut self, curr: Weak<FairSchedEntity>) { in set_current() method
652 self.set_current(Weak::default()); in update_min_vruntime()
1063 self.set_current(Weak::default()); in put_prev_entity()
1076 self.set_current(Arc::downgrade(se)); in set_next_entity()
1656 cfs.set_current(Weak::default()); in pick_task()
1755 cfs_rq.force_mut().set_current(Weak::default()); in pick_next_task()
H A Dmod.rs616 pub fn set_current(&mut self, pcb: Weak<ProcessControlBlock>) { in set_current() method
907 rq.set_current(Arc::downgrade(&next)); in __schedule()